summaryrefslogtreecommitdiffstats
path: root/Project/BusForm.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-12 18:49:00 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-12 18:49:00 -0300
commit1088617b8f1c31af3ad6a87f9934f7a55240b3a2 (patch)
tree922d0e070c7ef3351dc166340b77485dd5b814f3 /Project/BusForm.h
parentd5c3a7c9c375f683f5b66a19caf28299af89ef65 (diff)
downloadPSP.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.h16
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