summaryrefslogtreecommitdiffstats
path: root/Project/SyncMachineForm.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-10-27 17:26:24 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-10-27 17:26:24 -0200
commit02c5a1d22a078c132aca40ea14b95800dd8257e9 (patch)
tree39f576cc3c66931c3448b85833a5f048a40b7802 /Project/SyncMachineForm.h
parent0e3a45462bf8ce31be988679fd380baeecfb1b95 (diff)
downloadPSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.tar.gz
PSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.tar.xz
PSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.zip
All elements forms implemented
Diffstat (limited to 'Project/SyncMachineForm.h')
-rw-r--r--Project/SyncMachineForm.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Project/SyncMachineForm.h b/Project/SyncMachineForm.h
new file mode 100644
index 0000000..04d8e82
--- /dev/null
+++ b/Project/SyncMachineForm.h
@@ -0,0 +1,31 @@
+#ifndef SYNCMACHINEFORM_H
+#define SYNCMACHINEFORM_H
+
+#include "ElementForm.h"
+
+class GeneratorStabForm;
+class SyncGenerator;
+class SyncMotor;
+
+class SyncMachineForm : public SyncMachineFormBase
+{
+ public:
+ SyncMachineForm(wxWindow* parent, SyncGenerator* syncGenerator);
+ SyncMachineForm(wxWindow* parent, SyncMotor* syncMotor);
+ virtual ~SyncMachineForm();
+
+ protected:
+ virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); };
+ virtual void OnCheckMaxReactive(wxCommandEvent& event);
+ virtual void OnCheckMinReactive(wxCommandEvent& event);
+ virtual void OnOKButtonClick(wxCommandEvent& event);
+ virtual void OnStabilityButtonClick(wxCommandEvent& event);
+
+ virtual bool ValidateData();
+ virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
+
+ SyncGenerator* m_syncGenerator;
+ SyncMotor* m_syncMotor;
+ wxWindow* m_parent;
+};
+#endif // SYNCMACHINEFORM_H