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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
|
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: ElementForm.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////
#ifndef PSP_PROJECT_ELEMENTFORM_BASE_CLASSES_H
#define PSP_PROJECT_ELEMENTFORM_BASE_CLASSES_H
#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/notebook.h>
#include <wx/panel.h>
#include <wx/imaglist.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/choice.h>
#include <wx/arrstr.h>
#include <wx/checkbox.h>
#include <wx/button.h>
#include <wx/statbox.h>
#include <wx/statline.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif
#ifdef WXC_FROM_DIP
#undef WXC_FROM_DIP
#endif
#if wxVERSION_NUMBER >= 3100
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
#else
#define WXC_FROM_DIP(x) x
#endif
class BusFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextNomVoltage;
wxTextCtrl* m_textCtrlNomVoltage;
wxChoice* m_choiceNomVoltage;
wxCheckBox* m_checkBoxCtrlVoltage;
wxTextCtrl* m_textCtrlCtrlVoltage;
wxChoice* m_choiceCtrlVoltage;
wxCheckBox* m_checkBoxSlackBus;
wxPanel* m_panelFault;
wxCheckBox* m_checkBoxFault;
wxStaticText* m_staticTextFaultType;
wxChoice* m_choiceFaultType;
wxStaticText* m_staticTextFaultPlace;
wxChoice* m_choiceFaultPlace;
wxStaticText* m_staticTextFaultResistance;
wxTextCtrl* m_textCtrlFaultResistance;
wxStaticText* m_staticTextPU_1;
wxStaticText* m_staticTextReactance;
wxTextCtrl* m_textCtrlFaultReactance;
wxStaticText* m_staticTextPU_2;
wxPanel* m_panelStability;
wxCheckBox* m_checkBoxPlotData;
wxCheckBox* m_checkBoxStabFault;
wxStaticText* m_staticTextStabFaultTime;
wxTextCtrl* m_textCtrlStabFaultTime;
wxStaticText* m_staticTextS_1;
wxStaticText* m_staticTextStabFaultLength;
wxTextCtrl* m_textCtrlStabFaultLength;
wxStaticText* m_staticTextS_2;
wxStaticText* m_staticTextStabFaultResistance;
wxTextCtrl* m_textCtrlStabFaultResistance;
wxStaticText* m_staticTextPU_3;
wxStaticText* m_staticTextStabFaultReactance;
wxTextCtrl* m_textCtrlStabFaultReactance;
wxStaticText* m_staticTextPU_4;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnNominalVoltageChoice(wxCommandEvent& event) { event.Skip(); }
virtual void OnControlledVoltageClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnInsertFaultClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnFaultTypeChoice(wxCommandEvent& event) { event.Skip(); }
virtual void OnInsertStabFaultClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextName() { return m_staticTextName; }
wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
wxStaticText* GetStaticTextNomVoltage() { return m_staticTextNomVoltage; }
wxTextCtrl* GetTextCtrlNomVoltage() { return m_textCtrlNomVoltage; }
wxChoice* GetChoiceNomVoltage() { return m_choiceNomVoltage; }
wxCheckBox* GetCheckBoxCtrlVoltage() { return m_checkBoxCtrlVoltage; }
wxTextCtrl* GetTextCtrlCtrlVoltage() { return m_textCtrlCtrlVoltage; }
wxChoice* GetChoiceCtrlVoltage() { return m_choiceCtrlVoltage; }
wxCheckBox* GetCheckBoxSlackBus() { return m_checkBoxSlackBus; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxCheckBox* GetCheckBoxFault() { return m_checkBoxFault; }
wxStaticText* GetStaticTextFaultType() { return m_staticTextFaultType; }
wxChoice* GetChoiceFaultType() { return m_choiceFaultType; }
wxStaticText* GetStaticTextFaultPlace() { return m_staticTextFaultPlace; }
wxChoice* GetChoiceFaultPlace() { return m_choiceFaultPlace; }
wxStaticText* GetStaticTextFaultResistance() { return m_staticTextFaultResistance; }
wxTextCtrl* GetTextCtrlFaultResistance() { return m_textCtrlFaultResistance; }
wxStaticText* GetStaticTextPU_1() { return m_staticTextPU_1; }
wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
wxTextCtrl* GetTextCtrlFaultReactance() { return m_textCtrlFaultReactance; }
wxStaticText* GetStaticTextPU_2() { return m_staticTextPU_2; }
wxPanel* GetPanelFault() { return m_panelFault; }
wxCheckBox* GetCheckBoxPlotData() { return m_checkBoxPlotData; }
wxCheckBox* GetCheckBoxStabFault() { return m_checkBoxStabFault; }
wxStaticText* GetStaticTextStabFaultTime() { return m_staticTextStabFaultTime; }
wxTextCtrl* GetTextCtrlStabFaultTime() { return m_textCtrlStabFaultTime; }
wxStaticText* GetStaticTextS_1() { return m_staticTextS_1; }
wxStaticText* GetStaticTextStabFaultLength() { return m_staticTextStabFaultLength; }
wxTextCtrl* GetTextCtrlStabFaultLength() { return m_textCtrlStabFaultLength; }
wxStaticText* GetStaticTextS_2() { return m_staticTextS_2; }
wxStaticText* GetStaticTextStabFaultResistance() { return m_staticTextStabFaultResistance; }
wxTextCtrl* GetTextCtrlStabFaultResistance() { return m_textCtrlStabFaultResistance; }
wxStaticText* GetStaticTextPU_3() { return m_staticTextPU_3; }
wxStaticText* GetStaticTextStabFaultReactance() { return m_staticTextStabFaultReactance; }
wxTextCtrl* GetTextCtrlStabFaultReactance() { return m_textCtrlStabFaultReactance; }
wxStaticText* GetStaticTextPU_4() { return m_staticTextPU_4; }
wxPanel* GetPanelStability() { return m_panelStability; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
BusFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Bus"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
virtual ~BusFormBase();
};
class GeneratorFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextNominalPower;
wxTextCtrl* m_textCtrlnominalPower;
wxChoice* m_choiceNominalPower;
wxStaticText* m_staticTextActivePower;
wxTextCtrl* m_textCtrlActivePower;
wxChoice* m_choiceActivePower;
wxStaticText* m_staticTextReactivePower;
wxTextCtrl* m_textCtrlReactivePower;
wxChoice* m_choiceReactivePower;
wxCheckBox* m_checkBoxMaxReactive;
wxTextCtrl* m_textCtrlMaxRectivePower;
wxChoice* m_choiceMaxRectivePower;
wxCheckBox* m_checkBoxMinReactive;
wxTextCtrl* m_textCtrlMinRectivePower;
wxChoice* m_choiceMinRectivePower;
wxCheckBox* m_checkBoxUseMachinePower;
wxPanel* m_panelFault;
wxStaticText* m_staticTextPosResistance;
wxTextCtrl* m_textCtrlPosResistance;
wxStaticText* m_staticTextPosReactance;
wxTextCtrl* m_textCtrlPosReactance;
wxStaticText* m_staticTextNegResistance;
wxTextCtrl* m_textCtrlNegResistance;
wxStaticText* m_staticTextNegReactance;
wxTextCtrl* m_textCtrlNegReactance;
wxStaticText* m_staticTextZeroResistance;
wxTextCtrl* m_textCtrlZeroResistance;
wxStaticText* m_staticTextZeroReactance;
wxTextCtrl* m_textCtrlZeroReactance;
wxStaticText* m_staticTextGrdResistance;
wxTextCtrl* m_textCtrlGrdResistance;
wxStaticText* m_staticTextGrdReactance;
wxTextCtrl* m_textCtrlGrdReactance;
wxCheckBox* m_checkBoxGroundNeutral;
wxButton* m_buttonStab;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnCheckMaxReactive(wxCommandEvent& event) { event.Skip(); }
virtual void OnCheckMinReactive(wxCommandEvent& event) { event.Skip(); }
virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextName() { return m_staticTextName; }
wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
wxTextCtrl* GetTextCtrlnominalPower() { return m_textCtrlnominalPower; }
wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
wxStaticText* GetStaticTextActivePower() { return m_staticTextActivePower; }
wxTextCtrl* GetTextCtrlActivePower() { return m_textCtrlActivePower; }
wxChoice* GetChoiceActivePower() { return m_choiceActivePower; }
wxStaticText* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
wxCheckBox* GetCheckBoxMaxReactive() { return m_checkBoxMaxReactive; }
wxTextCtrl* GetTextCtrlMaxRectivePower() { return m_textCtrlMaxRectivePower; }
wxChoice* GetChoiceMaxRectivePower() { return m_choiceMaxRectivePower; }
wxCheckBox* GetCheckBoxMinReactive() { return m_checkBoxMinReactive; }
wxTextCtrl* GetTextCtrlMinRectivePower() { return m_textCtrlMinRectivePower; }
wxChoice* GetChoiceMinRectivePower() { return m_choiceMinRectivePower; }
wxCheckBox* GetCheckBoxUseMachinePower() { return m_checkBoxUseMachinePower; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxStaticText* GetStaticTextPosResistance() { return m_staticTextPosResistance; }
wxTextCtrl* GetTextCtrlPosResistance() { return m_textCtrlPosResistance; }
wxStaticText* GetStaticTextPosReactance() { return m_staticTextPosReactance; }
wxTextCtrl* GetTextCtrlPosReactance() { return m_textCtrlPosReactance; }
wxStaticText* GetStaticTextNegResistance() { return m_staticTextNegResistance; }
wxTextCtrl* GetTextCtrlNegResistance() { return m_textCtrlNegResistance; }
wxStaticText* GetStaticTextNegReactance() { return m_staticTextNegReactance; }
wxTextCtrl* GetTextCtrlNegReactance() { return m_textCtrlNegReactance; }
wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
wxStaticText* GetStaticTextGrdResistance() { return m_staticTextGrdResistance; }
wxTextCtrl* GetTextCtrlGrdResistance() { return m_textCtrlGrdResistance; }
wxStaticText* GetStaticTextGrdReactance() { return m_staticTextGrdReactance; }
wxTextCtrl* GetTextCtrlGrdReactance() { return m_textCtrlGrdReactance; }
wxCheckBox* GetCheckBoxGroundNeutral() { return m_checkBoxGroundNeutral; }
wxPanel* GetPanelFault() { return m_panelFault; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonStab() { return m_buttonStab; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
GeneratorFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Generator"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
virtual ~GeneratorFormBase();
};
class GeneratorStabFormBase : public wxDialog
{
protected:
wxCheckBox* m_checkBoxPlotSyncMachine;
wxStaticText* m_staticTextInertia;
wxTextCtrl* m_textCtrlInertia;
wxStaticText* m_staticTextS_1;
wxStaticText* m_staticTextDamping;
wxTextCtrl* m_textCtrlDamping;
wxStaticText* m_staticTextPU_1;
wxCheckBox* m_checkBoxUseAVR;
wxButton* m_buttonEditAVR;
wxCheckBox* m_checkBoxUseSG;
wxButton* m_buttonEditSG;
wxStaticLine* m_staticLine_1;
wxStaticText* m_staticTextRa;
wxTextCtrl* m_textCtrlRa;
wxStaticText* m_staticTextPU_2;
wxStaticText* m_staticTextXp;
wxTextCtrl* m_textCtrlXp;
wxStaticText* m_staticTextPU_9;
wxStaticText* m_staticTextSat;
wxTextCtrl* m_textCtrlSat;
wxStaticText* m_staticTextPU_10;
wxStaticText* m_staticTextSyncXd;
wxTextCtrl* m_textCtrlSyncXd;
wxStaticText* m_staticTextPU_3;
wxStaticText* m_staticTextSyncXq;
wxTextCtrl* m_textCtrlSyncXq;
wxStaticText* m_staticTextPU_4;
wxStaticText* m_staticTextTranXd;
wxTextCtrl* m_textCtrlTranXd;
wxStaticText* m_staticTextPU_5;
wxStaticText* m_staticTextTranXq;
wxTextCtrl* m_textCtrlTranXq;
wxStaticText* m_staticTextPU_6;
wxStaticText* m_staticTextTranTd0;
wxTextCtrl* m_textCtrlTranTd0;
wxStaticText* m_staticTextS_2;
wxStaticText* m_staticTextTranTq0;
wxTextCtrl* m_textCtrlTranTq0;
wxStaticText* m_staticTextS_3;
wxStaticText* m_staticTextSubXd;
wxTextCtrl* m_textCtrlSubXd;
wxStaticText* m_staticTextPU_7;
wxStaticText* m_staticTextSubXq;
wxTextCtrl* m_textCtrlSubXq;
wxStaticText* m_staticTextPU_8;
wxStaticText* m_staticTextSubTd0;
wxTextCtrl* m_textCtrlSubTd0;
wxStaticText* m_staticTextS_4;
wxStaticText* m_staticTextSubTq0;
wxTextCtrl* m_textCtrlSubTq0;
wxStaticText* m_staticTextS_5;
wxButton* m_buttonSwitching;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void UseAVRClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnEditAVRButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void UseSGClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnSpeedGovernorButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnSwitchingButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxCheckBox* GetCheckBoxPlotSyncMachine() { return m_checkBoxPlotSyncMachine; }
wxStaticText* GetStaticTextInertia() { return m_staticTextInertia; }
wxTextCtrl* GetTextCtrlInertia() { return m_textCtrlInertia; }
wxStaticText* GetStaticTextS_1() { return m_staticTextS_1; }
wxStaticText* GetStaticTextDamping() { return m_staticTextDamping; }
wxTextCtrl* GetTextCtrlDamping() { return m_textCtrlDamping; }
wxStaticText* GetStaticTextPU_1() { return m_staticTextPU_1; }
wxCheckBox* GetCheckBoxUseAVR() { return m_checkBoxUseAVR; }
wxButton* GetButtonEditAVR() { return m_buttonEditAVR; }
wxCheckBox* GetCheckBoxUseSG() { return m_checkBoxUseSG; }
wxButton* GetButtonEditSG() { return m_buttonEditSG; }
wxStaticLine* GetStaticLine_1() { return m_staticLine_1; }
wxStaticText* GetStaticTextRa() { return m_staticTextRa; }
wxTextCtrl* GetTextCtrlRa() { return m_textCtrlRa; }
wxStaticText* GetStaticTextPU_2() { return m_staticTextPU_2; }
wxStaticText* GetStaticTextXp() { return m_staticTextXp; }
wxTextCtrl* GetTextCtrlXp() { return m_textCtrlXp; }
wxStaticText* GetStaticTextPU_9() { return m_staticTextPU_9; }
wxStaticText* GetStaticTextSat() { return m_staticTextSat; }
wxTextCtrl* GetTextCtrlSat() { return m_textCtrlSat; }
wxStaticText* GetStaticTextPU_10() { return m_staticTextPU_10; }
wxStaticText* GetStaticTextSyncXd() { return m_staticTextSyncXd; }
wxTextCtrl* GetTextCtrlSyncXd() { return m_textCtrlSyncXd; }
wxStaticText* GetStaticTextPU_3() { return m_staticTextPU_3; }
wxStaticText* GetStaticTextSyncXq() { return m_staticTextSyncXq; }
wxTextCtrl* GetTextCtrlSyncXq() { return m_textCtrlSyncXq; }
wxStaticText* GetStaticTextPU_4() { return m_staticTextPU_4; }
wxStaticText* GetStaticTextTranXd() { return m_staticTextTranXd; }
wxTextCtrl* GetTextCtrlTranXd() { return m_textCtrlTranXd; }
wxStaticText* GetStaticTextPU_5() { return m_staticTextPU_5; }
wxStaticText* GetStaticTextTranXq() { return m_staticTextTranXq; }
wxTextCtrl* GetTextCtrlTranXq() { return m_textCtrlTranXq; }
wxStaticText* GetStaticTextPU_6() { return m_staticTextPU_6; }
wxStaticText* GetStaticTextTranTd0() { return m_staticTextTranTd0; }
wxTextCtrl* GetTextCtrlTranTd0() { return m_textCtrlTranTd0; }
wxStaticText* GetStaticTextS_2() { return m_staticTextS_2; }
wxStaticText* GetStaticTextTranTq0() { return m_staticTextTranTq0; }
wxTextCtrl* GetTextCtrlTranTq0() { return m_textCtrlTranTq0; }
wxStaticText* GetStaticTextS_3() { return m_staticTextS_3; }
wxStaticText* GetStaticTextSubXd() { return m_staticTextSubXd; }
wxTextCtrl* GetTextCtrlSubXd() { return m_textCtrlSubXd; }
wxStaticText* GetStaticTextPU_7() { return m_staticTextPU_7; }
wxStaticText* GetStaticTextSubXq() { return m_staticTextSubXq; }
wxTextCtrl* GetTextCtrlSubXq() { return m_textCtrlSubXq; }
wxStaticText* GetStaticTextPU_8() { return m_staticTextPU_8; }
wxStaticText* GetStaticTextSubTd0() { return m_staticTextSubTd0; }
wxTextCtrl* GetTextCtrlSubTd0() { return m_textCtrlSubTd0; }
wxStaticText* GetStaticTextS_4() { return m_staticTextS_4; }
wxStaticText* GetStaticTextSubTq0() { return m_staticTextSubTq0; }
wxTextCtrl* GetTextCtrlSubTq0() { return m_textCtrlSubTq0; }
wxStaticText* GetStaticTextS_5() { return m_staticTextS_5; }
wxButton* GetButtonSwitching() { return m_buttonSwitching; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
GeneratorStabFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Generator: Stability"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
virtual ~GeneratorStabFormBase();
};
#endif
|