diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-09 16:32:21 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-09 16:32:21 -0200 |
commit | ac671068f32849807728b4c2844a4cda995a73c8 (patch) | |
tree | 077fdde43d69c248f518fc22978796d8f16e03f3 /Project/TextForm.cpp | |
parent | 416a289beb034951cbf926778e14d42900e3d78e (diff) | |
download | PSP.git-ac671068f32849807728b4c2844a4cda995a73c8.tar.gz PSP.git-ac671068f32849807728b4c2844a4cda995a73c8.tar.xz PSP.git-ac671068f32849807728b4c2844a4cda995a73c8.zip |
Text implemented
Diffstat (limited to 'Project/TextForm.cpp')
-rw-r--r-- | Project/TextForm.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Project/TextForm.cpp b/Project/TextForm.cpp index c4f9ea1..148847a 100644 --- a/Project/TextForm.cpp +++ b/Project/TextForm.cpp @@ -162,10 +162,10 @@ void TextForm::OnTypeChoiceSelected(wxCommandEvent& event) m_text->SetDataType(DATA_NAME); } break; case 1: { - m_text->SetDataType(DATA_PF_ACTIVE); + m_text->SetDataType(DATA_ACTIVE_POWER); } break; case 2: { - m_text->SetDataType(DATA_PF_REACTIVE); + m_text->SetDataType(DATA_REACTIVE_POWER); } break; } } break; @@ -176,7 +176,7 @@ void TextForm::OnTypeChoiceSelected(wxCommandEvent& event) m_text->SetDataType(DATA_NAME); } break; case 1: { - m_text->SetDataType(DATA_PF_REACTIVE); + m_text->SetDataType(DATA_REACTIVE_POWER); } break; } } break; @@ -562,7 +562,7 @@ bool TextForm::LoadChoices() case DATA_NAME: { m_choiceTextType->SetSelection(0); } break; - case DATA_PF_ACTIVE: { + case DATA_ACTIVE_POWER: { m_choiceTextType->SetSelection(1); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -581,7 +581,7 @@ bool TextForm::LoadChoices() break; } } break; - case DATA_PF_REACTIVE: { + case DATA_REACTIVE_POWER: { m_choiceTextType->SetSelection(2); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -610,7 +610,7 @@ bool TextForm::LoadChoices() case DATA_NAME: { m_choiceTextType->SetSelection(0); } break; - case DATA_PF_REACTIVE: { + case DATA_REACTIVE_POWER: { m_choiceTextType->SetSelection(1); } break; @@ -624,7 +624,7 @@ bool TextForm::LoadChoices() case DATA_NAME: { m_choiceTextType->SetSelection(0); } break; - case DATA_PF_REACTIVE: { + case DATA_REACTIVE_POWER: { m_choiceTextType->SetSelection(1); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -653,7 +653,7 @@ bool TextForm::LoadChoices() case DATA_NAME: { m_choiceTextType->SetSelection(0); } break; - case DATA_PF_ACTIVE: { + case DATA_ACTIVE_POWER: { m_choiceTextType->SetSelection(1); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -672,7 +672,7 @@ bool TextForm::LoadChoices() break; } } break; - case DATA_PF_REACTIVE: { + case DATA_REACTIVE_POWER: { m_choiceTextType->SetSelection(2); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -701,7 +701,7 @@ bool TextForm::LoadChoices() case DATA_NAME: { m_choiceTextType->SetSelection(0); } break; - case DATA_PF_ACTIVE: { + case DATA_ACTIVE_POWER: { m_choiceTextType->SetSelection(1); switch(m_text->GetUnit()) { case UNIT_PU: { @@ -720,7 +720,7 @@ bool TextForm::LoadChoices() break; } } break; - case DATA_PF_REACTIVE: { + case DATA_REACTIVE_POWER: { m_choiceTextType->SetSelection(2); switch(m_text->GetUnit()) { case UNIT_PU: { |