summaryrefslogtreecommitdiffstats
path: root/Project/HarmCurrentForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-04-25 01:25:41 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-04-25 01:25:41 -0300
commit2771fff79ac9c3c09b70f4668e7142b2e944d1f2 (patch)
treec55b0780b0da2ac270df16c5b92d7fc243ea0756 /Project/HarmCurrentForm.h
parentfdb50c49b323edf16ce72c7ee2c678aa1ac99777 (diff)
downloadPSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.tar.gz
PSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.tar.xz
PSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.zip
Matpower Importer and power quality calculation
Power quality in implementation
Diffstat (limited to 'Project/HarmCurrentForm.h')
-rw-r--r--Project/HarmCurrentForm.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Project/HarmCurrentForm.h b/Project/HarmCurrentForm.h
new file mode 100644
index 0000000..87def26
--- /dev/null
+++ b/Project/HarmCurrentForm.h
@@ -0,0 +1,25 @@
+#ifndef HARMCURRENTFORM_H
+#define HARMCURRENTFORM_H
+#include "ElementFormBase.h"
+
+class HarmCurrent;
+
+class HarmCurrentForm : public HarmCurrentFormBase
+{
+ public:
+ HarmCurrentForm(wxWindow* parent, HarmCurrent* harmCurrent);
+ virtual ~HarmCurrentForm();
+ virtual bool ValidateData();
+ virtual void SortList();
+
+ protected:
+ virtual void OnAddButtonClick(wxCommandEvent& event);
+ virtual void OnRemoveButtonClick(wxCommandEvent& event);
+ virtual void OnCancelButtonClick(wxCommandEvent& event);
+ virtual void OnOKButtonClick(wxCommandEvent& event);
+
+ wxWindow* m_parent;
+ HarmCurrent* m_harmCurrent = NULL;
+ int m_maxID = 0;
+};
+#endif // HARMCURRENTFORM_H