-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUSBLoader2Main.h
More file actions
824 lines (799 loc) · 30.1 KB
/
Copy pathUSBLoader2Main.h
File metadata and controls
824 lines (799 loc) · 30.1 KB
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
/***************************************************************
* Name: USBLoader2Main.h
* Purpose: Defines Application Frame
* Author: Helge ()
* Created: 2020-09-03
* Copyright: Helge ()
* License:
**************************************************************/
#ifndef USBLoader2MAIN_H
#define USBLoader2MAIN_H
//#include "ConfigData.h"
#include <string.h>
#include <iostream>
#include <sstream>
#include <wx/stdpaths.h>
#include <wx/config.h>
#include <wx/confbase.h>
#include <wx/fileconf.h>
//(*Headers(USBLoader2Frame)
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/frame.h>
#include <wx/menu.h>
#include <wx/notebook.h>
#include <wx/panel.h>
#include <wx/radiobox.h>
#include <wx/sizer.h>
#include <wx/spinctrl.h>
#include <wx/stattext.h>
#include <wx/statusbr.h>
#include <wx/textctrl.h>
//*)
#include "USBDevice.h"
#include "SerialDevice.h"
#define DIGISPARK 1
#define IGSPARK 2
using namespace std;
class USBLoader2Frame: public wxFrame
{
public:
USBLoader2Frame(wxWindow* parent,wxWindowID id = -1);
//virtual ~USBLoader2Frame();
~USBLoader2Frame();
private:
USBDevice* digiSpark;
SerialDevice* igSpark;
bool fininish;
bool connected;
int source;
bool cfgchange;
// ConfigData config;
void ConfigChange(void);
bool isConfigChanged(void);
void resetConfigChange(void);
void writeLog(wxString str);
void CheckLOGMode(void);
void writeTab1(void);
void writeTab2(void);
void writeTab3(void);
void loadTab1(void);
void loadTab2(void);
void loadTab3(void);
void activateMenuComm(bool val);
void uploadRealTimeValue(void);
bool isDigiSparkConnected(void);
void connectIgSpark();
void disconnectIgSpark();
bool isIgSparkConnected(void);
//(*Handlers(USBLoader2Frame)
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
void OnDisconnectUsb(wxCommandEvent& event);
void OnConnectUsb(wxCommandEvent& event);
void OnSpeichern(wxCommandEvent& event);
void OnRadioBoxBasisfunktionSelect(wxCommandEvent& event);
void OnLadenKonfig(wxCommandEvent& event);
void OnDataChange(wxCommandEvent& event);
void OnSpinCtrlChange(wxSpinEvent& event);
void OnClose(wxCloseEvent& event);
void OnConfigUpload(wxCommandEvent& event);
void OnConfigDownload(wxCommandEvent& event);
void OnLogModeSet(wxCommandEvent& event);
void OnButtonZPBerechnenClick(wxCommandEvent& event);
void OnMenuItemLogLeerenSelected(wxCommandEvent& event);
void OnKomm_EEpromSaveSelected(wxCommandEvent& event);
void OnResetModulEEpromSelected(wxCommandEvent& event);
void OnKomm_ResetOPcntrSelected(wxCommandEvent& event);
void OnKomm_BootenSelected(wxCommandEvent& event);
void OnTest_TestSelected(wxCommandEvent& event);
void OnTest_VerbindenSeriellSelected(wxCommandEvent& event);
//*)
//(*Identifiers(USBLoader2Frame)
static const long ID_STATICTEXT34;
static const long ID_RADIOBOXBasisfunktion;
static const long ID_STATICTEXT35;
static const long ID_STATICTEXT36;
static const long ID_SPINCTRLStarthilfe;
static const long ID_STATICTEXT37;
static const long ID_STATICTEXT62;
static const long ID_SPINCTRLStarthilfeUMDR;
static const long ID_STATICTEXT63;
static const long ID_STATICTEXT2;
static const long ID_SPINCTRL2FZZP;
static const long ID_STATICTEXT4;
static const long ID_STATICTEXT67;
static const long ID_SPINCTRLSchliessWinkel;
static const long ID_STATICTEXT68;
static const long ID_STATICTEXT31;
static const long ID_CHOICETAB;
static const long ID_STATICTEXT32;
static const long ID_STATICTEXT33;
static const long ID_CHOICELED;
static const long ID_PANELBasis;
static const long ID_STATICTEXT1;
static const long ID_STATICTEXT6;
static const long ID_STATICTEXT7;
static const long ID_STATICTEXT69;
static const long ID_STATICTEXT8;
static const long ID_SPINCTRLTB1_UM1;
static const long ID_SPINCTRLTB1_GR1;
static const long ID_SPINCTRLTB1_SW1;
static const long ID_STATICTEXT9;
static const long ID_SPINCTRLTB1_UM2;
static const long ID_SPINCTRLTB1_GR2;
static const long ID_SPINCTRLTB1_SW2;
static const long ID_STATICTEXT10;
static const long ID_SPINCTRLTB1_UM3;
static const long ID_SPINCTRLTB1_GR3;
static const long ID_SPINCTRLTB1_SW3;
static const long ID_STATICTEXT11;
static const long ID_SPINCTRLTB1_UM4;
static const long ID_SPINCTRLTB1_GR4;
static const long ID_SPINCTRLTB1_SW4;
static const long ID_STATICTEXT12;
static const long ID_SPINCTRLTB1_UM5;
static const long ID_SPINCTRLTB1_GR5;
static const long ID_SPINCTRLTB1_SW5;
static const long ID_STATICTEXT13;
static const long ID_SPINCTRLTB1_UM6;
static const long ID_SPINCTRLTB1_GR6;
static const long ID_SPINCTRLTB1_SW6;
static const long ID_STATICTEXT14;
static const long ID_SPINCTRLTB1_UM7;
static const long ID_SPINCTRLTB1_GR7;
static const long ID_SPINCTRLTB1_SW7;
static const long ID_STATICTEXT15;
static const long ID_SPINCTRLTB1_UM8;
static const long ID_SPINCTRLTB1_GR8;
static const long ID_SPINCTRLTB1_SW8;
static const long ID_STATICTEXT16;
static const long ID_SPINCTRLTB1_UM9;
static const long ID_SPINCTRLTB1_GR9;
static const long ID_SPINCTRLTB1_SW9;
static const long ID_STATICTEXT17;
static const long ID_SPINCTRLTB1_UM10;
static const long ID_SPINCTRLTB1_GR10;
static const long ID_SPINCTRLTB1_SW10;
static const long ID_PANELTB1;
static const long ID_STATICTEXT18;
static const long ID_STATICTEXT19;
static const long ID_STATICTEXT20;
static const long ID_STATICTEXT72;
static const long ID_STATICTEXT21;
static const long ID_SPINCTRLTB2_UM1;
static const long ID_SPINCTRLTB2_GR1;
static const long ID_SPINCTRLTB2_SW1;
static const long ID_STATICTEXT22;
static const long ID_SPINCTRLTB2_UM2;
static const long ID_SPINCTRLTB2_GR2;
static const long ID_SPINCTRLTB2_SW2;
static const long ID_STATICTEXT23;
static const long ID_SPINCTRLTB2_UM3;
static const long ID_SPINCTRLTB2_GR3;
static const long ID_SPINCTRLTB2_SW3;
static const long ID_STATICTEXT24;
static const long ID_SPINCTRLTB2_UM4;
static const long ID_SPINCTRLTB2_GR4;
static const long ID_SPINCTRLTB2_SW4;
static const long ID_STATICTEXT25;
static const long ID_SPINCTRLTB2_UM5;
static const long ID_SPINCTRLTB2_GR5;
static const long ID_SPINCTRLTB2_SW5;
static const long ID_STATICTEXT26;
static const long ID_SPINCTRLTB2_UM6;
static const long ID_SPINCTRLTB2_GR6;
static const long ID_SPINCTRLTB2_SW6;
static const long ID_STATICTEXT27;
static const long ID_SPINCTRLTB2_UM7;
static const long ID_SPINCTRLTB2_GR7;
static const long ID_SPINCTRLTB2_SW7;
static const long ID_STATICTEXT28;
static const long ID_SPINCTRLTB2_UM8;
static const long ID_SPINCTRLTB2_GR8;
static const long ID_SPINCTRLTB2_SW8;
static const long ID_STATICTEXT29;
static const long ID_SPINCTRLTB2_UM9;
static const long ID_SPINCTRLTB2_GR9;
static const long ID_SPINCTRLTB2_SW9;
static const long ID_STATICTEXT30;
static const long ID_SPINCTRLTB2_UM10;
static const long ID_SPINCTRLTB2_GR10;
static const long ID_SPINCTRLTB2_SW10;
static const long ID_PANELTB2;
static const long ID_STATICTEXT49;
static const long ID_STATICTEXT50;
static const long ID_STATICTEXT51;
static const long ID_STATICTEXT73;
static const long ID_STATICTEXT52;
static const long ID_SPINCTRLTB3_UM1;
static const long ID_SPINCTRLTB3_GR;
static const long ID_SPINCTRLTB3_SW1;
static const long ID_STATICTEXT53;
static const long ID_SPINCTRLTB3_UM2;
static const long ID_SPINCTRLTB3_GR2;
static const long ID_SPINCTRLTB3_SW2;
static const long ID_STATICTEXT54;
static const long ID_SPINCTRLTB3_UM3;
static const long ID_SPINCTRLTB3_GR3;
static const long ID_SPINCTRLTB3_SW3;
static const long ID_STATICTEXT55;
static const long ID_SPINCTRLTB3_UM4;
static const long ID_SPINCTRLTB3_GR4;
static const long ID_SPINCTRLTB3_SW4;
static const long ID_STATICTEXT56;
static const long ID_SPINCTRLTB3_UM5;
static const long ID_SPINCTRLTB3_GR5;
static const long ID_SPINCTRLTB3_SW5;
static const long ID_STATICTEXT57;
static const long ID_SPINCTRLTB3_UM6;
static const long ID_SPINCTRLTB3_GR6;
static const long ID_SPINCTRLTB3_SW6;
static const long ID_STATICTEXT58;
static const long ID_SPINCTRLTB3_UM7;
static const long ID_SPINCTRLTB3_GR7;
static const long ID_SPINCTRLTB3_SW7;
static const long ID_STATICTEXT59;
static const long ID_SPINCTRLTB3_UM8;
static const long ID_SPINCTRLTB3_GR8;
static const long ID_SPINCTRLTB3_SW8;
static const long ID_STATICTEXT60;
static const long ID_SPINCTRLTB3_UM9;
static const long ID_SPINCTRLTB3_GR9;
static const long ID_SPINCTRLTB3_SW9;
static const long ID_STATICTEXT61;
static const long ID_SPINCTRLTB3_UM10;
static const long ID_SPINCTRLTB3_GR10;
static const long ID_SPINCTRLTB3_SW10;
static const long ID_PANELTB3;
static const long ID_STATICTEXT46;
static const long ID_STATICTEXT45;
static const long ID_STATICTEXT44;
static const long ID_STATICTEXT109;
static const long ID_STATICTEXT112;
static const long ID_STATICTEXT38;
static const long ID_TEXTCTRLRPM;
static const long ID_STATICTEXT39;
static const long ID_STATICTEXT115;
static const long ID_STATICTEXT42;
static const long ID_TEXTCTRL1;
static const long ID_STATICTEXT43;
static const long ID_STATICTEXT118;
static const long ID_STATICTEXT40;
static const long ID_TEXTCTRLTPR;
static const long ID_STATICTEXT41;
static const long ID_STATICTEXT121;
static const long ID_STATICTEXT47;
static const long ID_TEXTCTRL2;
static const long ID_STATICTEXT48;
static const long ID_STATICTEXT124;
static const long ID_STATICTEXT70;
static const long ID_TEXTCTRL3;
static const long ID_STATICTEXT71;
static const long ID_STATICTEXT125;
static const long ID_STATICTEXT3;
static const long ID_TEXTCTRLEchtModus;
static const long ID_STATICTEXT5;
static const long ID_STATICTEXT128;
static const long ID_STATICTEXT131;
static const long ID_STATICTEXT132;
static const long ID_STATICTEXT133;
static const long ID_STATICTEXT134;
static const long ID_STATICTEXT135;
static const long ID_OPtimeSek;
static const long ID_STATICTEXT136;
static const long ID_STATICTEXT137;
static const long ID_STATICTEXT138;
static const long ID_OPtimeMin;
static const long ID_STATICTEXT139;
static const long ID_STATICTEXT140;
static const long ID_STATICTEXT141;
static const long ID_OPtimeStd;
static const long ID_STATICTEXT142;
static const long ID_STATICTEXT143;
static const long ID_STATICTEXT144;
static const long ID_OPtimeTag;
static const long ID_STATICTEXT145;
static const long ID_PANELEchtWerte;
static const long ID_STATICTEXT78;
static const long ID_CHOICE1;
static const long ID_STATICTEXT77;
static const long ID_STATICTEXT81;
static const long ID_TEXTCTRLStrom;
static const long ID_STATICTEXT83;
static const long ID_STATICTEXT64;
static const long ID_STATICTEXT66;
static const long ID_SPINCTRLDOUBLE1;
static const long ID_STATICTEXT74;
static const long ID_STATICTEXT86;
static const long ID_TEXTCTRLWatt;
static const long ID_STATICTEXT88;
static const long ID_STATICTEXT65;
static const long ID_STATICTEXT75;
static const long ID_SPINCTRLDOUBLE2;
static const long ID_STATICTEXT76;
static const long ID_STATICTEXT89;
static const long ID_STATICTEXT90;
static const long ID_STATICTEXT91;
static const long ID_STATICTEXT82;
static const long ID_STATICTEXT79;
static const long ID_SPINCTRLSpinCtrlSatturationF;
static const long ID_STATICTEXT80;
static const long ID_STATICTEXT92;
static const long ID_SPINCTRLMaxSchlWin;
static const long ID_BUTTONZPBerechnen;
static const long ID_STATICTEXT87;
static const long ID_STATICTEXT84;
static const long ID_TEXTCTRLSatTime;
static const long ID_STATICTEXT85;
static const long ID_STATICTEXT95;
static const long ID_TEXTCTRLZPEnergie;
static const long ID_STATICTEXT96;
static const long ID_STATICTEXT94;
static const long ID_STATICTEXT101;
static const long ID_STATICTEXT102;
static const long ID_STATICTEXT103;
static const long ID_STATICTEXT104;
static const long ID_STATICTEXT105;
static const long ID_STATICTEXT106;
static const long ID_STATICTEXT98;
static const long ID_SPINCTRLRPM1;
static const long ID_TEXTCTRLMSU1;
static const long ID_STATICTEXT107;
static const long ID_STATICTEXT108;
static const long ID_TEXTCTRLGRADU1;
static const long ID_TEXTCTRLLD1;
static const long ID_TEXTCTRLProz1;
static const long ID_SPINCTRLRPM2;
static const long ID_TEXTCTRLMSU2;
static const long ID_STATICTEXT110;
static const long ID_STATICTEXT111;
static const long ID_TEXTCTRLGRADU2;
static const long ID_TEXTCTRLLD2;
static const long ID_TEXTCTRLProz2;
static const long ID_SPINCTRLRPM3;
static const long ID_TEXTCTRLMSU3;
static const long ID_STATICTEXT113;
static const long ID_STATICTEXT114;
static const long ID_TEXTCTRLGRADU3;
static const long ID_TEXTCTRLLD3;
static const long ID_TEXTCTRLProz3;
static const long ID_SPINCTRLRPM4;
static const long ID_TEXTCTRLMSU4;
static const long ID_STATICTEXT116;
static const long ID_STATICTEXT117;
static const long ID_TEXTCTRLGRADU4;
static const long ID_TEXTCTRLLD4;
static const long ID_TEXTCTRLProz4;
static const long ID_SPINCTRLRPM5;
static const long ID_TEXTCTRLMSU5;
static const long ID_STATICTEXT119;
static const long ID_STATICTEXT120;
static const long ID_TEXTCTRLGRADU5;
static const long ID_TEXTCTRLLD5;
static const long ID_TEXTCTRLProz5;
static const long ID_SPINCTRLRPM6;
static const long ID_TEXTCTRLMSU6;
static const long ID_STATICTEXT122;
static const long ID_STATICTEXT123;
static const long ID_TEXTCTRLGRADU6;
static const long ID_TEXTCTRLLD6;
static const long ID_TEXTCTRLProz6;
static const long ID_SPINCTRLRPM7;
static const long ID_TEXTCTRLMSU7;
static const long ID_STATICTEXT126;
static const long ID_STATICTEXT127;
static const long ID_TEXTCTRLGRADU7;
static const long ID_TEXTCTRLLD7;
static const long ID_TEXTCTRLProz7;
static const long ID_SPINCTRLRPM8;
static const long ID_TEXTCTRLMSU8;
static const long ID_STATICTEXT93;
static const long ID_STATICTEXT97;
static const long ID_TEXTCTRLGRADU8;
static const long ID_TEXTCTRLLD8;
static const long ID_TEXTCTRLProz8;
static const long ID_SPINCTRLRPM9;
static const long ID_TEXTCTRLMSU9;
static const long ID_STATICTEXT99;
static const long ID_STATICTEXT100;
static const long ID_TEXTCTRLGRADU9;
static const long ID_TEXTCTRLLD9;
static const long ID_TEXTCTRLProz9;
static const long ID_SPINCTRLRPM10;
static const long ID_TEXTCTRLMSU10;
static const long ID_STATICTEXT129;
static const long ID_STATICTEXT130;
static const long ID_TEXTCTRLGRADU10;
static const long ID_TEXTCTRLLD10;
static const long ID_TEXTCTRLProz10;
static const long ID_PANEL_ZSpule;
static const long ID_NOTEBOOK1;
static const long ID_TEXTCTRLLOG;
static const long ID_PANEL1;
static const long idMenuSpeichern;
static const long idMenuLaden;
static const long idMenuLogLeeren;
static const long idMenuQuit;
static const long idMenuVerbinden;
static const long idMenuTrennen;
static const long idMenuKonfigLaden;
static const long idMenuKonfigESpeichern;
static const long idMenuidMenuKonfigHolen;
static const long idMenuLogMode;
static const long idMenuResetModulEEprom;
static const long idMenuResetOPcnt;
static const long idMenuBootModul;
static const long idMenuVerbindenSeriell;
static const long idMenuTest;
static const long idMenuAbout;
static const long ID_STATUSBAR1;
//*)
//(*Declarations(USBLoader2Frame)
wxButton* ButtonZPBerechnen;
wxChoice* ChoiceLED;
wxChoice* ChoiceTAB;
wxChoice* Spannung;
wxMenu* Menu1;
wxMenuItem* Komm_Booten;
wxMenuItem* Komm_EEpromSave;
wxMenuItem* Komm_KonfHolen;
wxMenuItem* Komm_KonfRueber;
wxMenuItem* Komm_LogMode;
wxMenuItem* Komm_ResetModulEEprom;
wxMenuItem* Komm_ResetOPcntr;
wxMenuItem* Komm_TennModul;
wxMenuItem* Komm_VerbModul;
wxMenuItem* MenuItem2;
wxMenuItem* MenuItem5;
wxMenuItem* MenuItem8;
wxMenuItem* Test_Test;
wxMenuItem* Test_VerbindenSeriell;
wxNotebook* Notebook1;
wxPanel* EchtWerte;
wxPanel* Panel1;
wxPanel* PanelBasis;
wxPanel* PanelTB1;
wxPanel* PanelTB2;
wxPanel* PanelTB3;
wxPanel* ZSpule;
wxRadioBox* RadioBoxBasisfunktion;
wxSpinCtrl* Saturation;
wxSpinCtrl* SpinCtrlFZZP;
wxSpinCtrl* SpinCtrlMaxSchlWin;
wxSpinCtrl* SpinCtrlRPM10;
wxSpinCtrl* SpinCtrlRPM1;
wxSpinCtrl* SpinCtrlRPM2;
wxSpinCtrl* SpinCtrlRPM3;
wxSpinCtrl* SpinCtrlRPM4;
wxSpinCtrl* SpinCtrlRPM5;
wxSpinCtrl* SpinCtrlRPM6;
wxSpinCtrl* SpinCtrlRPM7;
wxSpinCtrl* SpinCtrlRPM8;
wxSpinCtrl* SpinCtrlRPM9;
wxSpinCtrl* SpinCtrlSchliessWinkel;
wxSpinCtrl* SpinCtrlStarthilfe;
wxSpinCtrl* SpinCtrlStarthilfeUMDR;
wxSpinCtrl* SpinCtrlTB1_GR10;
wxSpinCtrl* SpinCtrlTB1_GR1;
wxSpinCtrl* SpinCtrlTB1_GR2;
wxSpinCtrl* SpinCtrlTB1_GR3;
wxSpinCtrl* SpinCtrlTB1_GR4;
wxSpinCtrl* SpinCtrlTB1_GR5;
wxSpinCtrl* SpinCtrlTB1_GR6;
wxSpinCtrl* SpinCtrlTB1_GR7;
wxSpinCtrl* SpinCtrlTB1_GR8;
wxSpinCtrl* SpinCtrlTB1_GR9;
wxSpinCtrl* SpinCtrlTB1_SW10;
wxSpinCtrl* SpinCtrlTB1_SW1;
wxSpinCtrl* SpinCtrlTB1_SW2;
wxSpinCtrl* SpinCtrlTB1_SW3;
wxSpinCtrl* SpinCtrlTB1_SW4;
wxSpinCtrl* SpinCtrlTB1_SW5;
wxSpinCtrl* SpinCtrlTB1_SW6;
wxSpinCtrl* SpinCtrlTB1_SW7;
wxSpinCtrl* SpinCtrlTB1_SW8;
wxSpinCtrl* SpinCtrlTB1_SW9;
wxSpinCtrl* SpinCtrlTB1_UM10;
wxSpinCtrl* SpinCtrlTB1_UM1;
wxSpinCtrl* SpinCtrlTB1_UM2;
wxSpinCtrl* SpinCtrlTB1_UM3;
wxSpinCtrl* SpinCtrlTB1_UM4;
wxSpinCtrl* SpinCtrlTB1_UM5;
wxSpinCtrl* SpinCtrlTB1_UM6;
wxSpinCtrl* SpinCtrlTB1_UM7;
wxSpinCtrl* SpinCtrlTB1_UM8;
wxSpinCtrl* SpinCtrlTB1_UM9;
wxSpinCtrl* SpinCtrlTB2_GR10;
wxSpinCtrl* SpinCtrlTB2_GR1;
wxSpinCtrl* SpinCtrlTB2_GR2;
wxSpinCtrl* SpinCtrlTB2_GR3;
wxSpinCtrl* SpinCtrlTB2_GR4;
wxSpinCtrl* SpinCtrlTB2_GR5;
wxSpinCtrl* SpinCtrlTB2_GR6;
wxSpinCtrl* SpinCtrlTB2_GR7;
wxSpinCtrl* SpinCtrlTB2_GR8;
wxSpinCtrl* SpinCtrlTB2_GR9;
wxSpinCtrl* SpinCtrlTB2_SW10;
wxSpinCtrl* SpinCtrlTB2_SW1;
wxSpinCtrl* SpinCtrlTB2_SW2;
wxSpinCtrl* SpinCtrlTB2_SW3;
wxSpinCtrl* SpinCtrlTB2_SW4;
wxSpinCtrl* SpinCtrlTB2_SW5;
wxSpinCtrl* SpinCtrlTB2_SW6;
wxSpinCtrl* SpinCtrlTB2_SW7;
wxSpinCtrl* SpinCtrlTB2_SW8;
wxSpinCtrl* SpinCtrlTB2_SW9;
wxSpinCtrl* SpinCtrlTB2_UM10;
wxSpinCtrl* SpinCtrlTB2_UM1;
wxSpinCtrl* SpinCtrlTB2_UM2;
wxSpinCtrl* SpinCtrlTB2_UM3;
wxSpinCtrl* SpinCtrlTB2_UM4;
wxSpinCtrl* SpinCtrlTB2_UM5;
wxSpinCtrl* SpinCtrlTB2_UM6;
wxSpinCtrl* SpinCtrlTB2_UM7;
wxSpinCtrl* SpinCtrlTB2_UM8;
wxSpinCtrl* SpinCtrlTB2_UM9;
wxSpinCtrl* SpinCtrlTB3_GR10;
wxSpinCtrl* SpinCtrlTB3_GR1;
wxSpinCtrl* SpinCtrlTB3_GR2;
wxSpinCtrl* SpinCtrlTB3_GR3;
wxSpinCtrl* SpinCtrlTB3_GR4;
wxSpinCtrl* SpinCtrlTB3_GR5;
wxSpinCtrl* SpinCtrlTB3_GR6;
wxSpinCtrl* SpinCtrlTB3_GR7;
wxSpinCtrl* SpinCtrlTB3_GR8;
wxSpinCtrl* SpinCtrlTB3_GR9;
wxSpinCtrl* SpinCtrlTB3_SW10;
wxSpinCtrl* SpinCtrlTB3_SW1;
wxSpinCtrl* SpinCtrlTB3_SW2;
wxSpinCtrl* SpinCtrlTB3_SW3;
wxSpinCtrl* SpinCtrlTB3_SW4;
wxSpinCtrl* SpinCtrlTB3_SW5;
wxSpinCtrl* SpinCtrlTB3_SW6;
wxSpinCtrl* SpinCtrlTB3_SW7;
wxSpinCtrl* SpinCtrlTB3_SW8;
wxSpinCtrl* SpinCtrlTB3_SW9;
wxSpinCtrl* SpinCtrlTB3_UM10;
wxSpinCtrl* SpinCtrlTB3_UM1;
wxSpinCtrl* SpinCtrlTB3_UM2;
wxSpinCtrl* SpinCtrlTB3_UM3;
wxSpinCtrl* SpinCtrlTB3_UM4;
wxSpinCtrl* SpinCtrlTB3_UM5;
wxSpinCtrl* SpinCtrlTB3_UM6;
wxSpinCtrl* SpinCtrlTB3_UM7;
wxSpinCtrl* SpinCtrlTB3_UM8;
wxSpinCtrl* SpinCtrlTB3_UM9;
wxSpinCtrlDouble* InduktPrim;
wxSpinCtrlDouble* WiederstandPrim;
wxStaticText* StaticText100;
wxStaticText* StaticText101;
wxStaticText* StaticText102;
wxStaticText* StaticText103;
wxStaticText* StaticText104;
wxStaticText* StaticText105;
wxStaticText* StaticText106;
wxStaticText* StaticText107;
wxStaticText* StaticText108;
wxStaticText* StaticText109;
wxStaticText* StaticText10;
wxStaticText* StaticText110;
wxStaticText* StaticText111;
wxStaticText* StaticText112;
wxStaticText* StaticText113;
wxStaticText* StaticText114;
wxStaticText* StaticText115;
wxStaticText* StaticText116;
wxStaticText* StaticText117;
wxStaticText* StaticText118;
wxStaticText* StaticText119;
wxStaticText* StaticText11;
wxStaticText* StaticText120;
wxStaticText* StaticText121;
wxStaticText* StaticText122;
wxStaticText* StaticText123;
wxStaticText* StaticText124;
wxStaticText* StaticText125;
wxStaticText* StaticText126;
wxStaticText* StaticText127;
wxStaticText* StaticText128;
wxStaticText* StaticText129;
wxStaticText* StaticText12;
wxStaticText* StaticText130;
wxStaticText* StaticText131;
wxStaticText* StaticText132;
wxStaticText* StaticText133;
wxStaticText* StaticText134;
wxStaticText* StaticText135;
wxStaticText* StaticText136;
wxStaticText* StaticText137;
wxStaticText* StaticText138;
wxStaticText* StaticText139;
wxStaticText* StaticText13;
wxStaticText* StaticText140;
wxStaticText* StaticText141;
wxStaticText* StaticText142;
wxStaticText* StaticText143;
wxStaticText* StaticText144;
wxStaticText* StaticText145;
wxStaticText* StaticText14;
wxStaticText* StaticText15;
wxStaticText* StaticText16;
wxStaticText* StaticText17;
wxStaticText* StaticText18;
wxStaticText* StaticText19;
wxStaticText* StaticText1;
wxStaticText* StaticText20;
wxStaticText* StaticText21;
wxStaticText* StaticText22;
wxStaticText* StaticText23;
wxStaticText* StaticText24;
wxStaticText* StaticText25;
wxStaticText* StaticText26;
wxStaticText* StaticText27;
wxStaticText* StaticText28;
wxStaticText* StaticText29;
wxStaticText* StaticText2;
wxStaticText* StaticText30;
wxStaticText* StaticText31;
wxStaticText* StaticText32;
wxStaticText* StaticText33;
wxStaticText* StaticText34;
wxStaticText* StaticText35;
wxStaticText* StaticText36;
wxStaticText* StaticText37;
wxStaticText* StaticText38;
wxStaticText* StaticText39;
wxStaticText* StaticText3;
wxStaticText* StaticText40;
wxStaticText* StaticText41;
wxStaticText* StaticText42;
wxStaticText* StaticText43;
wxStaticText* StaticText44;
wxStaticText* StaticText45;
wxStaticText* StaticText46;
wxStaticText* StaticText47;
wxStaticText* StaticText48;
wxStaticText* StaticText49;
wxStaticText* StaticText4;
wxStaticText* StaticText50;
wxStaticText* StaticText51;
wxStaticText* StaticText52;
wxStaticText* StaticText53;
wxStaticText* StaticText54;
wxStaticText* StaticText55;
wxStaticText* StaticText56;
wxStaticText* StaticText57;
wxStaticText* StaticText58;
wxStaticText* StaticText59;
wxStaticText* StaticText5;
wxStaticText* StaticText60;
wxStaticText* StaticText61;
wxStaticText* StaticText62;
wxStaticText* StaticText63;
wxStaticText* StaticText64;
wxStaticText* StaticText65;
wxStaticText* StaticText66;
wxStaticText* StaticText67;
wxStaticText* StaticText68;
wxStaticText* StaticText69;
wxStaticText* StaticText6;
wxStaticText* StaticText70;
wxStaticText* StaticText71;
wxStaticText* StaticText72;
wxStaticText* StaticText73;
wxStaticText* StaticText74;
wxStaticText* StaticText75;
wxStaticText* StaticText76;
wxStaticText* StaticText77;
wxStaticText* StaticText78;
wxStaticText* StaticText79;
wxStaticText* StaticText7;
wxStaticText* StaticText80;
wxStaticText* StaticText81;
wxStaticText* StaticText82;
wxStaticText* StaticText83;
wxStaticText* StaticText84;
wxStaticText* StaticText85;
wxStaticText* StaticText86;
wxStaticText* StaticText87;
wxStaticText* StaticText88;
wxStaticText* StaticText89;
wxStaticText* StaticText8;
wxStaticText* StaticText90;
wxStaticText* StaticText91;
wxStaticText* StaticText92;
wxStaticText* StaticText93;
wxStaticText* StaticText94;
wxStaticText* StaticText95;
wxStaticText* StaticText96;
wxStaticText* StaticText97;
wxStaticText* StaticText98;
wxStaticText* StaticText99;
wxStaticText* StaticText9;
wxStatusBar* StatusBar1;
wxTextCtrl* OPtimeMin;
wxTextCtrl* OPtimeSek;
wxTextCtrl* OPtimeStd;
wxTextCtrl* OPtimeTag;
wxTextCtrl* TextCtrl1;
wxTextCtrl* TextCtrl2;
wxTextCtrl* TextCtrl3;
wxTextCtrl* TextCtrlEchtModus;
wxTextCtrl* TextCtrlGRADU10;
wxTextCtrl* TextCtrlGRADU1;
wxTextCtrl* TextCtrlGRADU2;
wxTextCtrl* TextCtrlGRADU3;
wxTextCtrl* TextCtrlGRADU4;
wxTextCtrl* TextCtrlGRADU5;
wxTextCtrl* TextCtrlGRADU6;
wxTextCtrl* TextCtrlGRADU7;
wxTextCtrl* TextCtrlGRADU8;
wxTextCtrl* TextCtrlGRADU9;
wxTextCtrl* TextCtrlLD10;
wxTextCtrl* TextCtrlLD1;
wxTextCtrl* TextCtrlLD2;
wxTextCtrl* TextCtrlLD3;
wxTextCtrl* TextCtrlLD4;
wxTextCtrl* TextCtrlLD5;
wxTextCtrl* TextCtrlLD6;
wxTextCtrl* TextCtrlLD7;
wxTextCtrl* TextCtrlLD8;
wxTextCtrl* TextCtrlLD9;
wxTextCtrl* TextCtrlLOG;
wxTextCtrl* TextCtrlMSU10;
wxTextCtrl* TextCtrlMSU1;
wxTextCtrl* TextCtrlMSU2;
wxTextCtrl* TextCtrlMSU3;
wxTextCtrl* TextCtrlMSU4;
wxTextCtrl* TextCtrlMSU5;
wxTextCtrl* TextCtrlMSU6;
wxTextCtrl* TextCtrlMSU7;
wxTextCtrl* TextCtrlMSU8;
wxTextCtrl* TextCtrlMSU9;
wxTextCtrl* TextCtrlProz10;
wxTextCtrl* TextCtrlProz1;
wxTextCtrl* TextCtrlProz2;
wxTextCtrl* TextCtrlProz3;
wxTextCtrl* TextCtrlProz4;
wxTextCtrl* TextCtrlProz5;
wxTextCtrl* TextCtrlProz6;
wxTextCtrl* TextCtrlProz7;
wxTextCtrl* TextCtrlProz8;
wxTextCtrl* TextCtrlProz9;
wxTextCtrl* TextCtrlRPM;
wxTextCtrl* TextCtrlSatTime;
wxTextCtrl* TextCtrlStrom;
wxTextCtrl* TextCtrlTPR;
wxTextCtrl* TextCtrlWatt;
wxTextCtrl* TextCtrlZPEnergie;
//*)
DECLARE_EVENT_TABLE()
};
inline void USBLoader2Frame::ConfigChange(void)
{
cfgchange = true;
}
inline bool USBLoader2Frame::isConfigChanged(void)
{
return cfgchange;
}
inline void USBLoader2Frame::resetConfigChange(void)
{
cfgchange = false;
}
inline bool USBLoader2Frame::isDigiSparkConnected(void)
{
if (digiSpark != NULL)
return digiSpark->isConnected();
else
return false;
}
inline bool USBLoader2Frame::isIgSparkConnected(void)
{
if (igSpark != NULL)
return igSpark->isConnected();
else
return false;
}
#endif // USBLoader2MAIN_H