diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-03 17:09:24 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-03 17:09:24 -0300 |
commit | 726686c9b378f3a727ded52226b13a760cba1e6c (patch) | |
tree | 941150985ee1823041024ce50bc812303d30868e /Project/SyncMotor.cpp | |
parent | 077270f0294d236c6047d850703c5d011cb4b711 (diff) | |
download | PSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.tar.gz PSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.tar.xz PSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.zip |
Inductor under implementation
Ind motor, sync condenser and load implemented
Diffstat (limited to 'Project/SyncMotor.cpp')
-rw-r--r-- | Project/SyncMotor.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Project/SyncMotor.cpp b/Project/SyncMotor.cpp new file mode 100644 index 0000000..08399d2 --- /dev/null +++ b/Project/SyncMotor.cpp @@ -0,0 +1,22 @@ +#include "SyncMotor.h" + +SyncMotor::SyncMotor() : Machines() +{ +} + +SyncMotor::~SyncMotor() +{ +} + +void SyncMotor::DrawSymbol() const +{ + DrawArc(m_position, 12, 30, 330, 10, GL_LINE_STRIP); +} + +bool SyncMotor::GetContextMenu(wxMenu& menu) +{ + menu.Append(ID_EDIT_SYNCMOTOR, _("Edit Synchronous Condenser")); + menu.Append(ID_ROTATE, _("Rotate")); + menu.Append(ID_DELETE, _("Delete")); + return true; +} |