From 726686c9b378f3a727ded52226b13a760cba1e6c Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Sat, 3 Sep 2016 17:09:24 -0300 Subject: Inductor under implementation Ind motor, sync condenser and load implemented --- Project/SyncMotor.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Project/SyncMotor.cpp (limited to 'Project/SyncMotor.cpp') 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; +} -- cgit