diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-12 18:49:00 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-12 18:49:00 -0300 |
commit | 1088617b8f1c31af3ad6a87f9934f7a55240b3a2 (patch) | |
tree | 922d0e070c7ef3351dc166340b77485dd5b814f3 /Project/BusForm.h | |
parent | d5c3a7c9c375f683f5b66a19caf28299af89ef65 (diff) | |
download | PSP.git-1088617b8f1c31af3ad6a87f9934f7a55240b3a2.tar.gz PSP.git-1088617b8f1c31af3ad6a87f9934f7a55240b3a2.tar.xz PSP.git-1088617b8f1c31af3ad6a87f9934f7a55240b3a2.zip |
Bus form under implementation [2]
Diffstat (limited to 'Project/BusForm.h')
-rw-r--r-- | Project/BusForm.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Project/BusForm.h b/Project/BusForm.h index 39ab009..33b8caf 100644 --- a/Project/BusForm.h +++ b/Project/BusForm.h @@ -1,14 +1,28 @@ #ifndef BUSFORM_H #define BUSFORM_H + #include "ElementForm.h" +class Bus; class BusForm : public BusFormBase { public: - BusForm(wxWindow* parent); + BusForm(wxWindow* parent, Bus* bus); virtual ~BusForm(); protected: + virtual void OnFaultTypeChoice(wxCommandEvent& event); + virtual void OnControlledVoltageClick(wxCommandEvent& event); + virtual void OnInsertFaultClick(wxCommandEvent& event); + virtual void OnInsertStabFaultClick(wxCommandEvent& event); + virtual void OnNominalVoltageChoice(wxCommandEvent& event); virtual void OnButtonCancelClick(wxCommandEvent& event); virtual void OnButtonOKClick(wxCommandEvent& event); + virtual void EnableCtrlVoltageFields(bool enable = true); + virtual void EnableFaultFields(bool enable = true); + virtual void EnableStabFaultFields(bool enable = true); + virtual void UpdateChoiceBoxes(); + + Bus* m_bus; + wxWindow* m_parent; }; #endif // BUSFORM_H |