summaryrefslogtreecommitdiffstats
path: root/Project/TextForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-22 20:17:41 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-22 20:17:41 -0300
commitf995850b38916b38718b84f4b82948479a81855a (patch)
treedb1f4f79f2d47383451869ce214dc416b0174dac /Project/TextForm.cpp
parent30181ca0ae73f5f7f1856ac289db8fcf849c9a84 (diff)
downloadPSP.git-f995850b38916b38718b84f4b82948479a81855a.tar.gz
PSP.git-f995850b38916b38718b84f4b82948479a81855a.tar.xz
PSP.git-f995850b38916b38718b84f4b82948479a81855a.zip
Events implemented
Effects on adimittance matrix and elements: ->Fault on bus; ->Generation/Load switching; ->Branch switching.
Diffstat (limited to 'Project/TextForm.cpp')
-rw-r--r--Project/TextForm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Project/TextForm.cpp b/Project/TextForm.cpp
index b33c64b..6c3304f 100644
--- a/Project/TextForm.cpp
+++ b/Project/TextForm.cpp
@@ -773,7 +773,7 @@ void TextForm::ElementTypeChoice()
case TYPE_BUS: {
for(int i = 0; i < (int)m_allElements.GetBusList().size(); i++) {
Bus* bus = m_allElements.GetBusList()[i];
- arrayString.Add(bus->GetEletricalData().name);
+ arrayString.Add(bus->GetElectricalData().name);
}
} break;
case TYPE_SYNC_GENERATOR: {
@@ -1004,8 +1004,8 @@ void TextForm::DataTypeChoice()
Bus* bus1 = static_cast<Bus*>(line->GetParentList()[0]);
Bus* bus2 = static_cast<Bus*>(line->GetParentList()[1]);
- wxString bus1Name = bus1->GetEletricalData().name;
- wxString bus2Name = bus2->GetEletricalData().name;
+ wxString bus1Name = bus1->GetElectricalData().name;
+ wxString bus2Name = bus2->GetElectricalData().name;
m_choiceTextFromBus->Append(bus1Name);
m_choiceTextFromBus->Append(bus2Name);
@@ -1026,8 +1026,8 @@ void TextForm::DataTypeChoice()
Bus* bus1 = static_cast<Bus*>(transformer->GetParentList()[0]);
Bus* bus2 = static_cast<Bus*>(transformer->GetParentList()[1]);
- wxString bus1Name = bus1->GetEletricalData().name;
- wxString bus2Name = bus2->GetEletricalData().name;
+ wxString bus1Name = bus1->GetElectricalData().name;
+ wxString bus2Name = bus2->GetElectricalData().name;
m_choiceTextFromBus->Append(bus1Name);
m_choiceTextFromBus->Append(bus2Name);