diff options
Diffstat (limited to 'Project/SyncMachineForm.h')
-rw-r--r-- | Project/SyncMachineForm.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Project/SyncMachineForm.h b/Project/SyncMachineForm.h new file mode 100644 index 0000000..05ddcc3 --- /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 = NULL; + SyncMotor* m_syncMotor = NULL; + wxWindow* m_parent; +}; +#endif // SYNCMACHINEFORM_H |