diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-04-26 17:52:32 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-04-26 17:52:32 -0300 |
commit | 2b02ef22cc5f2025b09b700f1cb6e1cec94d80f6 (patch) | |
tree | 4aba955355f4b98138e2f38c58223f51bf4d697b /Project/FrequencyResponseForm.h | |
parent | a40d5a405d60b4e429f6f578dcfe3c33ab5ad81a (diff) | |
download | PSP.git-2b02ef22cc5f2025b09b700f1cb6e1cec94d80f6.tar.gz PSP.git-2b02ef22cc5f2025b09b700f1cb6e1cec94d80f6.tar.xz PSP.git-2b02ef22cc5f2025b09b700f1cb6e1cec94d80f6.zip |
Power quality fully implemented
A formal filter element must be implemented in future
Diffstat (limited to 'Project/FrequencyResponseForm.h')
-rw-r--r-- | Project/FrequencyResponseForm.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Project/FrequencyResponseForm.h b/Project/FrequencyResponseForm.h new file mode 100644 index 0000000..0a192a7 --- /dev/null +++ b/Project/FrequencyResponseForm.h @@ -0,0 +1,36 @@ +#ifndef FREQUENCYRESPONSEFORM_H +#define FREQUENCYRESPONSEFORM_H +#include "PropertiesFormBase.h" + +class Bus; + +class FrequencyResponseForm : public FrequencyResponseFormBase +{ + public: + FrequencyResponseForm(wxWindow* parent); + FrequencyResponseForm(wxWindow* parent, + std::vector<Bus*> busList, + int injCurrentBus, + double initFreq, + double endFreq, + double stepFreq); + virtual ~FrequencyResponseForm(); + + double GetEndFreq() const { return m_endFreq; } + double GetInitFreq() const { return m_initFreq; } + double GetStepFreq() const { return m_stepFreq; } + int GetInjBusNumber() { return m_injBusNumber; } + + protected: + virtual void OnCancelButtonClick(wxCommandEvent& event); + virtual void OnRunButtonClick(wxCommandEvent& event); + + std::vector<Bus*> m_busList; + wxWindow* m_parent; + int m_injBusNumber = 0; + + double m_initFreq = 0.0; + double m_endFreq = 1500.0; + double m_stepFreq = 1.0; +}; +#endif // FREQUENCYRESPONSEFORM_H |