summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorStabForm.h
blob: 6d9e6dcb413dd60c2bbd43f4770699d3e7553cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef GENERATORSTABFORM_H
#define GENERATORSTABFORM_H

#include "ElementForm.h"

class SwitchingForm;
class SyncGenerator;

class GeneratorStabForm : public GeneratorStabFormBase
{
public:
    GeneratorStabForm(wxWindow* parent, SyncGenerator* syncGenerator);
    virtual ~GeneratorStabForm();
	
protected:
    virtual void UseAVRClick(wxCommandEvent& event);
    virtual void UseSGClick(wxCommandEvent& event);
    virtual void OnCancelButtonClick(wxCommandEvent& event);
    virtual void OnEditAVRButtonClick(wxCommandEvent& event);
    virtual void OnOKButtonClick(wxCommandEvent& event);
    virtual void OnSpeedGovernorButtonClick(wxCommandEvent& event);
    virtual void OnSwitchingButtonClick(wxCommandEvent& event);
	
	virtual bool ValidateData();
	
	SyncGenerator* m_syncGenerator = NULL;
	wxWindow* m_parent = NULL;
};
#endif // GENERATORSTABFORM_H