summaryrefslogtreecommitdiffstats
path: root/Project/IOControlForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IOControlForm.cpp')
-rw-r--r--Project/IOControlForm.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Project/IOControlForm.cpp b/Project/IOControlForm.cpp
index 583e534..592c5be 100644
--- a/Project/IOControlForm.cpp
+++ b/Project/IOControlForm.cpp
@@ -59,6 +59,25 @@ IOControlForm::IOControlForm(wxWindow* parent, IOControl* ioControl) : IOControl
if(m_ioControl->GetValue() == IOControl::OUT_MEC_POWER) outChoiceNumber = (int)m_outputFlags.size() - 1;
}
+ if(ioFlags & IOControl::IN_INITIAL_MEC_POWER) {
+ m_choiceOutput->Append(_("Initial mechanical power"));
+ m_outputFlags.push_back(IOControl::IN_INITIAL_MEC_POWER);
+ if(m_ioControl->GetValue() == IOControl::IN_INITIAL_MEC_POWER) outChoiceNumber = (int)m_outputFlags.size() - 1;
+ }
+
+ if(ioFlags & IOControl::IN_INITIAL_TERMINAL_VOLTAGE) {
+ m_choiceOutput->Append(_("Initial terminal voltage"));
+ m_outputFlags.push_back(IOControl::IN_INITIAL_TERMINAL_VOLTAGE);
+ if(m_ioControl->GetValue() == IOControl::IN_INITIAL_TERMINAL_VOLTAGE)
+ outChoiceNumber = (int)m_outputFlags.size() - 1;
+ }
+
+ if(ioFlags & IOControl::IN_INITIAL_VELOCITY) {
+ m_choiceOutput->Append(_("Initial velocity"));
+ m_outputFlags.push_back(IOControl::IN_INITIAL_VELOCITY);
+ if(m_ioControl->GetValue() == IOControl::IN_INITIAL_VELOCITY) outChoiceNumber = (int)m_outputFlags.size() - 1;
+ }
+
if(inChoiceNumber != -1) {
m_choiceInput->SetSelection(inChoiceNumber);
m_checkBoxInput->SetValue(true);