diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-09 22:17:10 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-09 22:17:10 -0300 |
commit | eea796f53f5d9dc1444a620713b3326f04b73339 (patch) | |
tree | 2cc6cd35c3dfa718c26b7f5de9dcee913fb93028 /Project/IOControl.cpp | |
parent | aa2378020ee0bbfd041681cfdbe62a8d028687f3 (diff) | |
download | PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.tar.gz PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.tar.xz PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.zip |
Divider control element implemented
Abstract class math operations implemented
Divider need to be redesigned
Expor/import divider functions implemented but supressed
Diffstat (limited to 'Project/IOControl.cpp')
-rw-r--r-- | Project/IOControl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Project/IOControl.cpp b/Project/IOControl.cpp index aef7944..44cbf8e 100644 --- a/Project/IOControl.cpp +++ b/Project/IOControl.cpp @@ -166,11 +166,11 @@ wxString IOControl::GenerateText() } break; case IN_ACTIVE_POWER: { m_ioNodeType = Node::NODE_OUT; - return _("Pe"); + return _("P"); } break; case IN_REACTIVE_POWER: { m_ioNodeType = Node::NODE_OUT; - return _("Qe"); + return _("Q"); } break; case OUT_FIELD_VOLTAGE: { m_ioNodeType = Node::NODE_IN; @@ -196,6 +196,10 @@ wxString IOControl::GenerateText() m_ioNodeType = Node::NODE_OUT; return capDelta + omega; } break; + case IN_DELTA_ACTIVE_POWER: { + m_ioNodeType = Node::NODE_OUT; + return capDelta + _("P"); + } break; } return ""; } |