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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
|
//////////////////////////////////////////////////////////////////////
// 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/arrstr.h>
#include <wx/artprov.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/imaglist.h>
#include <wx/listctrl.h>
#include <wx/notebook.h>
#include <wx/panel.h>
//#include <wx/propgrid/advprops.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/property.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/statline.h>
#include <wx/stattext.h>
#include <wx/stc/stc.h>
#include <wx/textctrl.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/xrc/xmlres.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/toplevel.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;
wxPanel* m_panelPowerQuality;
wxCheckBox* m_checkBoxPlotPQData;
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; }
wxCheckBox* GetCheckBoxPlotPQData() { return m_checkBoxPlotPQData; }
wxPanel* GetPanelPowerQuality() { return m_panelPowerQuality; }
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 SyncMachineFormBase : 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; }
SyncMachineFormBase(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 ~SyncMachineFormBase();
};
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_staticTextOCFreq;
wxTextCtrl* m_textCtrlOCFreq;
wxStaticText* m_staticTextHz_1;
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* GetStaticTextOCFreq() { return m_staticTextOCFreq; }
wxTextCtrl* GetTextCtrlOCFreq() { return m_textCtrlOCFreq; }
wxStaticText* GetStaticTextHz_1() { return m_staticTextHz_1; }
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();
};
class LineFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextNominalVoltage;
wxStaticText* m_staticTextNominalVoltageValue;
wxStaticText* m_staticTextNominalPower;
wxTextCtrl* m_textCtrlNominalPower;
wxChoice* m_choiceNominalPower;
wxStaticText* m_staticTextResistance;
wxTextCtrl* m_textCtrlResistance;
wxChoice* m_choiceResistance;
wxStaticText* m_staticTextReactance;
wxTextCtrl* m_textCtrlReactance;
wxChoice* m_choiceReactance;
wxStaticText* m_staticTextSusceptance;
wxTextCtrl* m_textCtrlSusceptance;
wxChoice* m_choiceSusceptance;
wxStaticText* m_staticTextLineSize;
wxTextCtrl* m_textCtrlLineSize;
wxStaticText* m_staticTextKM;
wxCheckBox* m_checkUseLinePower;
wxPanel* m_panelFault;
wxStaticText* m_staticTextZeroResistance;
wxTextCtrl* m_textCtrlZeroResistance;
wxStaticText* m_staticTextZeroReactance;
wxTextCtrl* m_textCtrlZeroReactance;
wxStaticText* m_staticTextZeroSusceptance;
wxTextCtrl* m_textCtrlZeroSusceptance;
wxButton* m_buttonStability;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
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* GetStaticTextNominalVoltage() { return m_staticTextNominalVoltage; }
wxStaticText* GetStaticTextNominalVoltageValue() { return m_staticTextNominalVoltageValue; }
wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
wxTextCtrl* GetTextCtrlNominalPower() { return m_textCtrlNominalPower; }
wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
wxStaticText* GetStaticTextResistance() { return m_staticTextResistance; }
wxTextCtrl* GetTextCtrlResistance() { return m_textCtrlResistance; }
wxChoice* GetChoiceResistance() { return m_choiceResistance; }
wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
wxTextCtrl* GetTextCtrlReactance() { return m_textCtrlReactance; }
wxChoice* GetChoiceReactance() { return m_choiceReactance; }
wxStaticText* GetStaticTextSusceptance() { return m_staticTextSusceptance; }
wxTextCtrl* GetTextCtrlSusceptance() { return m_textCtrlSusceptance; }
wxChoice* GetChoiceSusceptance() { return m_choiceSusceptance; }
wxStaticText* GetStaticTextLineSize() { return m_staticTextLineSize; }
wxTextCtrl* GetTextCtrlLineSize() { return m_textCtrlLineSize; }
wxStaticText* GetStaticTextKM() { return m_staticTextKM; }
wxCheckBox* GetCheckUseLinePower() { return m_checkUseLinePower; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
wxStaticText* GetStaticTextZeroSusceptance() { return m_staticTextZeroSusceptance; }
wxTextCtrl* GetTextCtrlZeroSusceptance() { return m_textCtrlZeroSusceptance; }
wxPanel* GetPanelFault() { return m_panelFault; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonStability() { return m_buttonStability; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
LineFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Line"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~LineFormBase();
};
class TransformerFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextNominalVoltage;
wxStaticText* m_staticTextNominalVoltageValue;
wxStaticText* m_staticTextBaseVoltage;
wxChoice* m_choiceBaseVoltage;
wxStaticText* m_staticTextNominalPower;
wxTextCtrl* m_textCtrlNominalPower;
wxChoice* m_choiceNominalPower;
wxStaticText* m_staticTextResistance;
wxTextCtrl* m_textCtrlResistance;
wxChoice* m_choiceResistance;
wxStaticText* m_staticTextReactance;
wxTextCtrl* m_textCtrlReactance;
wxChoice* m_choiceReactance;
wxStaticLine* m_staticLine_1;
wxStaticText* m_staticTextConnection;
wxChoice* m_choiceConnection;
wxStaticText* m_staticTextTurnsRatio;
wxTextCtrl* m_textCtrlTurnRatio;
wxStaticText* m_staticTextPhaseShift;
wxTextCtrl* m_textCtrlPhaseShift;
wxStaticText* m_staticTextDeg;
wxCheckBox* m_checkUseTransformerPower;
wxPanel* m_panelFault;
wxStaticText* m_staticTextZeroResistance;
wxTextCtrl* m_textCtrlZeroResistance;
wxStaticText* m_staticTextZeroReactance;
wxTextCtrl* m_textCtrlZeroReactance;
wxStaticText* m_staticTextPrimResistance;
wxTextCtrl* m_textCtrlPrimResistance;
wxStaticText* m_staticTextPrimReactance;
wxTextCtrl* m_textCtrlPrimReactance;
wxStaticText* m_staticTextSecResistance;
wxTextCtrl* m_textCtrlSecResistance;
wxStaticText* m_staticTextSecReactance;
wxTextCtrl* m_textCtrlSecReactance;
wxButton* m_buttonStability;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
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* GetStaticTextNominalVoltage() { return m_staticTextNominalVoltage; }
wxStaticText* GetStaticTextNominalVoltageValue() { return m_staticTextNominalVoltageValue; }
wxStaticText* GetStaticTextBaseVoltage() { return m_staticTextBaseVoltage; }
wxChoice* GetChoiceBaseVoltage() { return m_choiceBaseVoltage; }
wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
wxTextCtrl* GetTextCtrlNominalPower() { return m_textCtrlNominalPower; }
wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
wxStaticText* GetStaticTextResistance() { return m_staticTextResistance; }
wxTextCtrl* GetTextCtrlResistance() { return m_textCtrlResistance; }
wxChoice* GetChoiceResistance() { return m_choiceResistance; }
wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
wxTextCtrl* GetTextCtrlReactance() { return m_textCtrlReactance; }
wxChoice* GetChoiceReactance() { return m_choiceReactance; }
wxStaticLine* GetStaticLine_1() { return m_staticLine_1; }
wxStaticText* GetStaticTextConnection() { return m_staticTextConnection; }
wxChoice* GetChoiceConnection() { return m_choiceConnection; }
wxStaticText* GetStaticTextTurnsRatio() { return m_staticTextTurnsRatio; }
wxTextCtrl* GetTextCtrlTurnRatio() { return m_textCtrlTurnRatio; }
wxStaticText* GetStaticTextPhaseShift() { return m_staticTextPhaseShift; }
wxTextCtrl* GetTextCtrlPhaseShift() { return m_textCtrlPhaseShift; }
wxStaticText* GetStaticTextDeg() { return m_staticTextDeg; }
wxCheckBox* GetCheckUseTransformerPower() { return m_checkUseTransformerPower; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
wxStaticText* GetStaticTextPrimResistance() { return m_staticTextPrimResistance; }
wxTextCtrl* GetTextCtrlPrimResistance() { return m_textCtrlPrimResistance; }
wxStaticText* GetStaticTextPrimReactance() { return m_staticTextPrimReactance; }
wxTextCtrl* GetTextCtrlPrimReactance() { return m_textCtrlPrimReactance; }
wxStaticText* GetStaticTextSecResistance() { return m_staticTextSecResistance; }
wxTextCtrl* GetTextCtrlSecResistance() { return m_textCtrlSecResistance; }
wxStaticText* GetStaticTextSecReactance() { return m_staticTextSecReactance; }
wxTextCtrl* GetTextCtrlSecReactance() { return m_textCtrlSecReactance; }
wxPanel* GetPanelFault() { return m_panelFault; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonStability() { return m_buttonStability; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
TransformerFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Transformer"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~TransformerFormBase();
};
class LoadFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextActivePower;
wxTextCtrl* m_textCtrlActivePower;
wxChoice* m_choiceActivePower;
wxStaticText* m_staticTextReactivePower;
wxTextCtrl* m_textCtrlReactivePower;
wxChoice* m_choiceReactivePower;
wxStaticText* m_staticTextType;
wxChoice* m_choiceType;
wxPanel* m_panelStability;
wxCheckBox* m_checkBoxPlotData;
wxCheckBox* m_checkBoxUseCompLoad;
wxStaticText* m_staticTextActivePowerImp;
wxTextCtrl* m_textCtrlActivePowerImp;
wxStaticText* m_staticTextPerc_1;
wxStaticText* m_staticTextActivePowerCur;
wxTextCtrl* m_textCtrlActivePowerCur;
wxStaticText* m_staticTextPerc_2;
wxStaticText* m_staticTextActivePowerPow;
wxTextCtrl* m_textCtrlActivePowerPow;
wxStaticText* m_staticTextPerc_3;
wxStaticText* m_staticTextReactivePowerImp;
wxTextCtrl* m_textCtrlReactivePowerImp;
wxStaticText* m_staticTextPerc_4;
wxStaticText* m_staticTextReactivePowerCur;
wxTextCtrl* m_textCtrlReactivePowerCur;
wxStaticText* m_staticTextPerc_5;
wxStaticText* m_staticTextReactivePowerPow;
wxTextCtrl* m_textCtrlReactivePowerPow;
wxStaticText* m_staticTextPerc_6;
wxButton* m_buttonStabButton;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnCheckBoxCompLoadClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnOnButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextName() { return m_staticTextName; }
wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
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; }
wxStaticText* GetStaticTextType() { return m_staticTextType; }
wxChoice* GetChoiceType() { return m_choiceType; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxCheckBox* GetCheckBoxPlotData() { return m_checkBoxPlotData; }
wxCheckBox* GetCheckBoxUseCompLoad() { return m_checkBoxUseCompLoad; }
wxStaticText* GetStaticTextActivePowerImp() { return m_staticTextActivePowerImp; }
wxTextCtrl* GetTextCtrlActivePowerImp() { return m_textCtrlActivePowerImp; }
wxStaticText* GetStaticTextPerc_1() { return m_staticTextPerc_1; }
wxStaticText* GetStaticTextActivePowerCur() { return m_staticTextActivePowerCur; }
wxTextCtrl* GetTextCtrlActivePowerCur() { return m_textCtrlActivePowerCur; }
wxStaticText* GetStaticTextPerc_2() { return m_staticTextPerc_2; }
wxStaticText* GetStaticTextActivePowerPow() { return m_staticTextActivePowerPow; }
wxTextCtrl* GetTextCtrlActivePowerPow() { return m_textCtrlActivePowerPow; }
wxStaticText* GetStaticTextPerc_3() { return m_staticTextPerc_3; }
wxStaticText* GetStaticTextReactivePowerImp() { return m_staticTextReactivePowerImp; }
wxTextCtrl* GetTextCtrlReactivePowerImp() { return m_textCtrlReactivePowerImp; }
wxStaticText* GetStaticTextPerc_4() { return m_staticTextPerc_4; }
wxStaticText* GetStaticTextReactivePowerCur() { return m_staticTextReactivePowerCur; }
wxTextCtrl* GetTextCtrlReactivePowerCur() { return m_textCtrlReactivePowerCur; }
wxStaticText* GetStaticTextPerc_5() { return m_staticTextPerc_5; }
wxStaticText* GetStaticTextReactivePowerPow() { return m_staticTextReactivePowerPow; }
wxTextCtrl* GetTextCtrlReactivePowerPow() { return m_textCtrlReactivePowerPow; }
wxStaticText* GetStaticTextPerc_6() { return m_staticTextPerc_6; }
wxPanel* GetPanelStability() { return m_panelStability; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonStabButton() { return m_buttonStabButton; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
LoadFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Load"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~LoadFormBase();
};
class ReactiveShuntElementFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxStaticText* m_staticTextReactivePower;
wxTextCtrl* m_textCtrlReactivePower;
wxChoice* m_choiceReactivePower;
wxButton* m_buttonStabButton;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
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* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonStabButton() { return m_buttonStabButton; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
ReactiveShuntElementFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Reactive shunt element"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~ReactiveShuntElementFormBase();
};
class SwitchingFormBase : public wxDialog
{
protected:
wxPropertyGridManager* m_pgMgrSwitchingsProp;
wxPGProperty* m_pgPropTitle;
wxPGProperty* m_pgPropType;
wxPGProperty* m_pgPropTime;
wxButton* m_buttonInsert;
wxButton* m_buttonRemove;
wxButton* m_buttonUp;
wxButton* m_buttonDown;
wxStaticText* m_staticTextSwList;
wxListCtrl* m_listCtrlSwitchings;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnChangeProperties(wxPropertyGridEvent& event) { event.Skip(); }
virtual void OnInsertButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnRemoveButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnUpButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnDownButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnSelectItem(wxListEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxPropertyGridManager* GetPgMgrSwitchingsProp() { return m_pgMgrSwitchingsProp; }
wxButton* GetButtonInsert() { return m_buttonInsert; }
wxButton* GetButtonRemove() { return m_buttonRemove; }
wxButton* GetButtonUp() { return m_buttonUp; }
wxButton* GetButtonDown() { return m_buttonDown; }
wxStaticText* GetStaticTextSwList() { return m_staticTextSwList; }
wxListCtrl* GetListCtrlSwitchings() { return m_listCtrlSwitchings; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
SwitchingFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Switching"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~SwitchingFormBase();
};
class IndMotorFormBase : 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_checkBoxComputeQ;
wxCheckBox* m_checkBoxUseMachinePower;
wxPanel* m_panelStability;
wxCheckBox* m_checkBoxPlotIndMachine;
wxStaticText* m_staticTextInertia;
wxTextCtrl* m_textCtrlInertia;
wxStaticText* m_staticTextS_1;
wxStaticText* m_staticTextStatorResistence;
wxTextCtrl* m_textCtrlStatorResistence;
wxStaticText* m_staticTextPU_1;
wxStaticText* m_staticTextStatorReactance;
wxTextCtrl* m_textCtrlStatorReactance;
wxStaticText* m_staticTextPU_2;
wxStaticText* m_staticTextRotorResistence;
wxTextCtrl* m_textCtrlRotorResistence;
wxStaticText* m_staticTextPU_3;
wxStaticText* m_staticTextRotorReactance;
wxTextCtrl* m_textCtrlRotorReactance;
wxStaticText* m_staticTextPU_4;
wxStaticText* m_staticTextMagnetizingReactance;
wxTextCtrl* m_textCtrlMagnetizingReactance;
wxStaticText* m_staticTextPU_5;
wxCheckBox* m_checkBoxUseKf;
wxTextCtrl* m_textCtrlKf;
wxStaticText* m_staticTextLoadCharacteristic;
wxTextCtrl* m_textCtrlA;
wxStaticText* m_staticTextPlus;
wxTextCtrl* m_textCtrlB;
wxStaticText* m_staticTextw;
wxTextCtrl* m_textCtrlC;
wxStaticText* m_staticTextw2;
wxButton* m_buttonSwitchingButton;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnCalcQInPFClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCheckboxUseCageFactorClick(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* GetCheckBoxComputeQ() { return m_checkBoxComputeQ; }
wxCheckBox* GetCheckBoxUseMachinePower() { return m_checkBoxUseMachinePower; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxCheckBox* GetCheckBoxPlotIndMachine() { return m_checkBoxPlotIndMachine; }
wxStaticText* GetStaticTextInertia() { return m_staticTextInertia; }
wxTextCtrl* GetTextCtrlInertia() { return m_textCtrlInertia; }
wxStaticText* GetStaticTextS_1() { return m_staticTextS_1; }
wxStaticText* GetStaticTextStatorResistence() { return m_staticTextStatorResistence; }
wxTextCtrl* GetTextCtrlStatorResistence() { return m_textCtrlStatorResistence; }
wxStaticText* GetStaticTextPU_1() { return m_staticTextPU_1; }
wxStaticText* GetStaticTextStatorReactance() { return m_staticTextStatorReactance; }
wxTextCtrl* GetTextCtrlStatorReactance() { return m_textCtrlStatorReactance; }
wxStaticText* GetStaticTextPU_2() { return m_staticTextPU_2; }
wxStaticText* GetStaticTextRotorResistence() { return m_staticTextRotorResistence; }
wxTextCtrl* GetTextCtrlRotorResistence() { return m_textCtrlRotorResistence; }
wxStaticText* GetStaticTextPU_3() { return m_staticTextPU_3; }
wxStaticText* GetStaticTextRotorReactance() { return m_staticTextRotorReactance; }
wxTextCtrl* GetTextCtrlRotorReactance() { return m_textCtrlRotorReactance; }
wxStaticText* GetStaticTextPU_4() { return m_staticTextPU_4; }
wxStaticText* GetStaticTextMagnetizingReactance() { return m_staticTextMagnetizingReactance; }
wxTextCtrl* GetTextCtrlMagnetizingReactance() { return m_textCtrlMagnetizingReactance; }
wxStaticText* GetStaticTextPU_5() { return m_staticTextPU_5; }
wxCheckBox* GetCheckBoxUseKf() { return m_checkBoxUseKf; }
wxTextCtrl* GetTextCtrlKf() { return m_textCtrlKf; }
wxStaticText* GetStaticTextLoadCharacteristic() { return m_staticTextLoadCharacteristic; }
wxTextCtrl* GetTextCtrlA() { return m_textCtrlA; }
wxStaticText* GetStaticTextPlus() { return m_staticTextPlus; }
wxTextCtrl* GetTextCtrlB() { return m_textCtrlB; }
wxStaticText* GetStaticTextw() { return m_staticTextw; }
wxTextCtrl* GetTextCtrlC() { return m_textCtrlC; }
wxStaticText* GetStaticTextw2() { return m_staticTextw2; }
wxPanel* GetPanelStability() { return m_panelStability; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonSwitchingButton() { return m_buttonSwitchingButton; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
IndMotorFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Motor"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~IndMotorFormBase();
};
class TextFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextElement;
wxChoice* m_choiceElement;
wxStaticText* m_staticTextName;
wxChoice* m_choiceName;
wxStaticText* m_staticTextType;
wxChoice* m_choiceTextType;
wxStaticText* m_staticTextFromBus;
wxChoice* m_choiceTextFromBus;
wxStaticText* m_staticTextToBus;
wxChoice* m_choiceTextToBus;
wxStaticText* m_staticTextUnit;
wxChoice* m_choiceTextUnit;
wxStaticText* m_staticTextDecimal;
wxTextCtrl* m_textCtrlDecimal;
wxStaticText* m_staticTextPreview;
wxTextCtrl* m_textCtrlPreview;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnElementChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnNameChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnTypeChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnFromBusChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnToBusChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnUnitChoiceSelected(wxCommandEvent& event) { event.Skip(); }
virtual void OnTextEnter(wxCommandEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextElement() { return m_staticTextElement; }
wxChoice* GetChoiceElement() { return m_choiceElement; }
wxStaticText* GetStaticTextName() { return m_staticTextName; }
wxChoice* GetChoiceName() { return m_choiceName; }
wxStaticText* GetStaticTextType() { return m_staticTextType; }
wxChoice* GetChoiceTextType() { return m_choiceTextType; }
wxStaticText* GetStaticTextFromBus() { return m_staticTextFromBus; }
wxChoice* GetChoiceTextFromBus() { return m_choiceTextFromBus; }
wxStaticText* GetStaticTextToBus() { return m_staticTextToBus; }
wxChoice* GetChoiceTextToBus() { return m_choiceTextToBus; }
wxStaticText* GetStaticTextUnit() { return m_staticTextUnit; }
wxChoice* GetChoiceTextUnit() { return m_choiceTextUnit; }
wxStaticText* GetStaticTextDecimal() { return m_staticTextDecimal; }
wxTextCtrl* GetTextCtrlDecimal() { return m_textCtrlDecimal; }
wxStaticText* GetStaticTextPreview() { return m_staticTextPreview; }
wxTextCtrl* GetTextCtrlPreview() { return m_textCtrlPreview; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
TextFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Text"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~TextFormBase();
};
class TransferFunctionFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextNumerator;
wxTextCtrl* m_textCtrlNumerator;
wxStaticText* m_staticTextDenominator;
wxTextCtrl* m_textCtrlDenominator;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextNumerator() { return m_staticTextNumerator; }
wxTextCtrl* GetTextCtrlNumerator() { return m_textCtrlNumerator; }
wxStaticText* GetStaticTextDenominator() { return m_staticTextDenominator; }
wxTextCtrl* GetTextCtrlDenominator() { return m_textCtrlDenominator; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
TransferFunctionFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Transfer function"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~TransferFunctionFormBase();
};
class SumFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextSigns;
wxTextCtrl* m_textCtrlSigns;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextSigns() { return m_staticTextSigns; }
wxTextCtrl* GetTextCtrlSigns() { return m_textCtrlSigns; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
SumFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Sum"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~SumFormBase();
};
class LimiterFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextUpLimiter;
wxTextCtrl* m_textCtrlUpLimit;
wxStaticText* m_staticTextLowLimit;
wxTextCtrl* m_textCtrlLowLimit;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; }
wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; }
wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; }
wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
LimiterFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Limiter"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~LimiterFormBase();
};
class RateLimiterFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextUpLimiter;
wxTextCtrl* m_textCtrlUpLimit;
wxStaticText* m_staticTextLowLimit;
wxTextCtrl* m_textCtrlLowLimit;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; }
wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; }
wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; }
wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
RateLimiterFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Rate limiter"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~RateLimiterFormBase();
};
class ExponentialFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextExp;
wxStaticText* m_staticTextAValue;
wxTextCtrl* m_textCtrlAValue;
wxStaticText* m_staticTextBValue;
wxTextCtrl* m_textCtrlBValue;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextExp() { return m_staticTextExp; }
wxStaticText* GetStaticTextAValue() { return m_staticTextAValue; }
wxTextCtrl* GetTextCtrlAValue() { return m_textCtrlAValue; }
wxStaticText* GetStaticTextBValue() { return m_staticTextBValue; }
wxTextCtrl* GetTextCtrlBValue() { return m_textCtrlBValue; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
ExponentialFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Exponential"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~ExponentialFormBase();
};
class ConstantFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextValue;
wxTextCtrl* m_textCtrlValue;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextValue() { return m_staticTextValue; }
wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
ConstantFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Constant"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~ConstantFormBase();
};
class GainFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextValue;
wxTextCtrl* m_textCtrlValue;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextValue() { return m_staticTextValue; }
wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
GainFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Gain"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~GainFormBase();
};
class IOControlFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxCheckBox* m_checkBoxInput;
wxChoice* m_choiceInput;
wxCheckBox* m_checkBoxOutput;
wxChoice* m_choiceOutput;
wxButton* m_buttonOK;
wxButton* m_ButtonCancel;
protected:
virtual void OnInputChecked(wxCommandEvent& event) { event.Skip(); }
virtual void OnOutputChecked(wxCommandEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxCheckBox* GetCheckBoxInput() { return m_checkBoxInput; }
wxChoice* GetChoiceInput() { return m_choiceInput; }
wxCheckBox* GetCheckBoxOutput() { return m_checkBoxOutput; }
wxChoice* GetChoiceOutput() { return m_choiceOutput; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_ButtonCancel; }
IOControlFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Input / Output"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~IOControlFormBase();
};
class MathExpressionFormBase : public wxDialog
{
protected:
wxNotebook* m_notebook;
wxPanel* m_panelGeneral;
wxStaticText* m_staticTextVariables;
wxTextCtrl* m_textCtrlVariables;
wxStyledTextCtrl* m_stcMathExpr;
wxStaticText* m_staticTextCheckStatus;
wxButton* m_buttonCheck;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnTextUpdate(wxCommandEvent& event) { event.Skip(); }
virtual void OnTextEnter(wxCommandEvent& event) { event.Skip(); }
virtual void OnLeftClickDown(wxMouseEvent& event) { event.Skip(); }
virtual void OnCheckButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextVariables() { return m_staticTextVariables; }
wxTextCtrl* GetTextCtrlVariables() { return m_textCtrlVariables; }
wxStyledTextCtrl* GetStcMathExpr() { return m_stcMathExpr; }
wxPanel* GetPanelGeneral() { return m_panelGeneral; }
wxNotebook* GetNotebook() { return m_notebook; }
wxStaticText* GetStaticTextCheckStatus() { return m_staticTextCheckStatus; }
wxButton* GetButtonCheck() { return m_buttonCheck; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
MathExpressionFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Math expression"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~MathExpressionFormBase();
};
class HarmCurrentFormBase : public wxDialog
{
protected:
wxStaticText* m_staticTextName;
wxTextCtrl* m_textCtrlName;
wxPropertyGridManager* m_pgMgrHarmCurrentProp;
wxPGProperty* m_pgPropTitle;
wxPGProperty* m_pgPropHarmOrder;
wxPGProperty* m_pgPropHarmCurrent;
wxPGProperty* m_pgPropUnit;
wxPGProperty* m_pgPropHarmAngle;
wxButton* m_buttonInsert;
wxButton* m_buttonRemove;
wxStaticText* m_staticTextHarmCurrentList;
wxListCtrl* m_listCtrlHarmCurrentList;
wxButton* m_buttonOK;
wxButton* m_buttonCancel;
protected:
virtual void OnAddButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void OnRemoveButtonClick(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; }
wxPropertyGridManager* GetPgMgrHarmCurrentProp() { return m_pgMgrHarmCurrentProp; }
wxButton* GetButtonInsert() { return m_buttonInsert; }
wxButton* GetButtonRemove() { return m_buttonRemove; }
wxStaticText* GetStaticTextHarmCurrentList() { return m_staticTextHarmCurrentList; }
wxListCtrl* GetListCtrlHarmCurrentList() { return m_listCtrlHarmCurrentList; }
wxButton* GetButtonOK() { return m_buttonOK; }
wxButton* GetButtonCancel() { return m_buttonCancel; }
HarmCurrentFormBase(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Switching"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(-1, -1),
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~HarmCurrentFormBase();
};
#endif
|