-
Notifications
You must be signed in to change notification settings - Fork 3
/
Form1.Designer.cs
856 lines (849 loc) · 45.1 KB
/
Form1.Designer.cs
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
namespace Programmer
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btn_mc_gen = new System.Windows.Forms.Button();
this.btn_gen_seed = new System.Windows.Forms.Button();
this.btn_pp = new System.Windows.Forms.Button();
this.btn_mc_clc = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.tb_mf = new System.Windows.Forms.TextBox();
this.btn_write = new System.Windows.Forms.Button();
this.cb_timer = new System.Windows.Forms.CheckBox();
this.cb_dis_auto = new System.Windows.Forms.CheckBox();
this.tb_dis = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.cb_ovr_set = new System.Windows.Forms.CheckBox();
this.tb_seed = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.tb_sync = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.btn_gen_ser = new System.Windows.Forms.Button();
this.tb_ser = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_gen_key = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.tb_key = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.btn_connect = new System.Windows.Forms.Button();
this.btn_update_port = new System.Windows.Forms.Button();
this.cb_port = new System.Windows.Forms.ComboBox();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveLogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sERToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.discriminationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.learnModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.noneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.simpleLearningToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.normalLearningToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.secureLearnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.reportProblemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.updateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.contaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.serial_port = new System.IO.Ports.SerialPort(this.components);
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.cb_br = new System.Windows.Forms.ComboBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.rb_6v = new System.Windows.Forms.RadioButton();
this.rb_9or12v = new System.Windows.Forms.RadioButton();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.rtb = new System.Windows.Forms.RichTextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.deviceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hCS301ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hCS300ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.btn_mc_gen);
this.groupBox1.Controls.Add(this.btn_gen_seed);
this.groupBox1.Controls.Add(this.btn_pp);
this.groupBox1.Controls.Add(this.btn_mc_clc);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.tb_mf);
this.groupBox1.Controls.Add(this.btn_write);
this.groupBox1.Controls.Add(this.cb_timer);
this.groupBox1.Controls.Add(this.cb_dis_auto);
this.groupBox1.Controls.Add(this.tb_dis);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.cb_ovr_set);
this.groupBox1.Controls.Add(this.tb_seed);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.tb_sync);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.btn_gen_ser);
this.groupBox1.Controls.Add(this.tb_ser);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.btn_gen_key);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.tb_key);
this.groupBox1.Location = new System.Drawing.Point(172, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(474, 218);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Main";
//
// btn_mc_gen
//
this.btn_mc_gen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_mc_gen.Enabled = false;
this.btn_mc_gen.Location = new System.Drawing.Point(390, 30);
this.btn_mc_gen.Name = "btn_mc_gen";
this.btn_mc_gen.Size = new System.Drawing.Size(75, 23);
this.btn_mc_gen.TabIndex = 24;
this.btn_mc_gen.Text = "Generate";
this.btn_mc_gen.UseVisualStyleBackColor = true;
this.btn_mc_gen.Click += new System.EventHandler(this.btn_mc_gen_Click);
//
// btn_gen_seed
//
this.btn_gen_seed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_gen_seed.Location = new System.Drawing.Point(390, 134);
this.btn_gen_seed.Name = "btn_gen_seed";
this.btn_gen_seed.Size = new System.Drawing.Size(75, 23);
this.btn_gen_seed.TabIndex = 23;
this.btn_gen_seed.Text = "Generate";
this.btn_gen_seed.UseVisualStyleBackColor = true;
this.btn_gen_seed.Click += new System.EventHandler(this.btn_gen_seed_Click);
//
// btn_pp
//
this.btn_pp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_pp.Location = new System.Drawing.Point(357, 82);
this.btn_pp.Name = "btn_pp";
this.btn_pp.Size = new System.Drawing.Size(30, 23);
this.btn_pp.TabIndex = 22;
this.btn_pp.Text = "+1";
this.btn_pp.UseVisualStyleBackColor = true;
this.btn_pp.Click += new System.EventHandler(this.btn_pp_Click);
//
// btn_mc_clc
//
this.btn_mc_clc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_mc_clc.Enabled = false;
this.btn_mc_clc.Location = new System.Drawing.Point(312, 30);
this.btn_mc_clc.Name = "btn_mc_clc";
this.btn_mc_clc.Size = new System.Drawing.Size(75, 23);
this.btn_mc_clc.TabIndex = 20;
this.btn_mc_clc.Text = "Apply";
this.btn_mc_clc.UseVisualStyleBackColor = true;
this.btn_mc_clc.Click += new System.EventHandler(this.btn_mc_clc_Click);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(7, 34);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(101, 13);
this.label6.TabIndex = 17;
this.label6.Text = "Manufacturer Code:";
//
// tb_mf
//
this.tb_mf.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tb_mf.Enabled = false;
this.tb_mf.Location = new System.Drawing.Point(107, 31);
this.tb_mf.MaxLength = 16;
this.tb_mf.Name = "tb_mf";
this.tb_mf.Size = new System.Drawing.Size(202, 20);
this.tb_mf.TabIndex = 19;
this.tb_mf.Text = "0123456789ABCDEF";
this.tb_mf.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_mf.TextChanged += new System.EventHandler(this.tb_mf_TextChanged);
this.tb_mf.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_mf_KeyDown);
this.tb_mf.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_mf_KeyPress);
//
// btn_write
//
this.btn_write.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btn_write.Enabled = false;
this.btn_write.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_write.Location = new System.Drawing.Point(390, 171);
this.btn_write.Name = "btn_write";
this.btn_write.Size = new System.Drawing.Size(75, 37);
this.btn_write.TabIndex = 16;
this.btn_write.Text = "Write";
this.btn_write.UseVisualStyleBackColor = true;
this.btn_write.Click += new System.EventHandler(this.btn_write_Click);
//
// cb_timer
//
this.cb_timer.AutoSize = true;
this.cb_timer.Checked = true;
this.cb_timer.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_timer.Location = new System.Drawing.Point(219, 86);
this.cb_timer.Name = "cb_timer";
this.cb_timer.Size = new System.Drawing.Size(133, 17);
this.cb_timer.TabIndex = 8;
this.cb_timer.Text = "ShutOFF Timer Enable";
this.cb_timer.UseVisualStyleBackColor = true;
this.cb_timer.CheckedChanged += new System.EventHandler(this.cb_timer_CheckedChanged);
//
// cb_dis_auto
//
this.cb_dis_auto.AutoSize = true;
this.cb_dis_auto.Checked = true;
this.cb_dis_auto.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_dis_auto.Location = new System.Drawing.Point(220, 166);
this.cb_dis_auto.Name = "cb_dis_auto";
this.cb_dis_auto.Size = new System.Drawing.Size(145, 17);
this.cb_dis_auto.TabIndex = 12;
this.cb_dis_auto.Text = "Auto Gen From SER LSB";
this.cb_dis_auto.UseVisualStyleBackColor = true;
this.cb_dis_auto.CheckedChanged += new System.EventHandler(this.cb_dis_auto_CheckedChanged);
//
// tb_dis
//
this.tb_dis.Enabled = false;
this.tb_dis.Location = new System.Drawing.Point(108, 164);
this.tb_dis.MaxLength = 3;
this.tb_dis.Name = "tb_dis";
this.tb_dis.Size = new System.Drawing.Size(101, 20);
this.tb_dis.TabIndex = 13;
this.tb_dis.Text = "000";
this.tb_dis.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_dis.TextChanged += new System.EventHandler(this.tb_dis_TextChanged);
this.tb_dis.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_dis_KeyDown);
this.tb_dis.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_dis_KeyPress);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(8, 168);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(75, 13);
this.label5.TabIndex = 11;
this.label5.Text = "Discrimination:";
//
// cb_ovr_set
//
this.cb_ovr_set.AutoSize = true;
this.cb_ovr_set.Checked = true;
this.cb_ovr_set.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_ovr_set.Location = new System.Drawing.Point(219, 112);
this.cb_ovr_set.Name = "cb_ovr_set";
this.cb_ovr_set.Size = new System.Drawing.Size(68, 17);
this.cb_ovr_set.TabIndex = 10;
this.cb_ovr_set.Text = "OVR Set";
this.cb_ovr_set.UseVisualStyleBackColor = true;
this.cb_ovr_set.CheckedChanged += new System.EventHandler(this.cb_ovr_set_CheckedChanged);
//
// tb_seed
//
this.tb_seed.Location = new System.Drawing.Point(108, 136);
this.tb_seed.MaxLength = 8;
this.tb_seed.Name = "tb_seed";
this.tb_seed.Size = new System.Drawing.Size(101, 20);
this.tb_seed.TabIndex = 11;
this.tb_seed.Text = "00000000";
this.tb_seed.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_seed.TextChanged += new System.EventHandler(this.tb_seed_TextChanged);
this.tb_seed.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_seed_KeyDown);
this.tb_seed.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_seed_KeyPress);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(7, 141);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(39, 13);
this.label4.TabIndex = 8;
this.label4.Text = "SEED:";
//
// tb_sync
//
this.tb_sync.Location = new System.Drawing.Point(108, 110);
this.tb_sync.MaxLength = 4;
this.tb_sync.Name = "tb_sync";
this.tb_sync.Size = new System.Drawing.Size(101, 20);
this.tb_sync.TabIndex = 9;
this.tb_sync.Text = "0000";
this.tb_sync.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_sync.TextChanged += new System.EventHandler(this.tb_sync_TextChanged);
this.tb_sync.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sync_KeyDown);
this.tb_sync.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_sync_KeyPress);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(7, 115);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(39, 13);
this.label3.TabIndex = 6;
this.label3.Text = "SYNC:";
//
// btn_gen_ser
//
this.btn_gen_ser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_gen_ser.Location = new System.Drawing.Point(390, 82);
this.btn_gen_ser.Name = "btn_gen_ser";
this.btn_gen_ser.Size = new System.Drawing.Size(75, 23);
this.btn_gen_ser.TabIndex = 6;
this.btn_gen_ser.Text = "Generate";
this.btn_gen_ser.UseVisualStyleBackColor = true;
this.btn_gen_ser.Click += new System.EventHandler(this.btn_gen_ser_Click);
//
// tb_ser
//
this.tb_ser.Location = new System.Drawing.Point(108, 84);
this.tb_ser.MaxLength = 8;
this.tb_ser.Name = "tb_ser";
this.tb_ser.Size = new System.Drawing.Size(101, 20);
this.tb_ser.TabIndex = 7;
this.tb_ser.Text = "FFFFFFFF";
this.tb_ser.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_ser.TextChanged += new System.EventHandler(this.tb_ser_TextChanged);
this.tb_ser.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_ser_KeyDown);
this.tb_ser.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_ser_KeyPress);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 88);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(32, 13);
this.label2.TabIndex = 3;
this.label2.Text = "SER:";
//
// btn_gen_key
//
this.btn_gen_key.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_gen_key.Location = new System.Drawing.Point(390, 56);
this.btn_gen_key.Name = "btn_gen_key";
this.btn_gen_key.Size = new System.Drawing.Size(75, 23);
this.btn_gen_key.TabIndex = 4;
this.btn_gen_key.Text = "Generate";
this.btn_gen_key.UseVisualStyleBackColor = true;
this.btn_gen_key.Click += new System.EventHandler(this.btn_gen_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(7, 61);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(31, 13);
this.label1.TabIndex = 1;
this.label1.Text = "KEY:";
//
// tb_key
//
this.tb_key.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tb_key.Location = new System.Drawing.Point(107, 57);
this.tb_key.MaxLength = 16;
this.tb_key.Name = "tb_key";
this.tb_key.Size = new System.Drawing.Size(202, 20);
this.tb_key.TabIndex = 5;
this.tb_key.Text = "FFFFFFFFFFFFFFFF";
this.tb_key.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tb_key.TextChanged += new System.EventHandler(this.tb_key_TextChanged);
this.tb_key.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_key_KeyDown);
this.tb_key.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_key_KeyPress);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.btn_connect);
this.groupBox2.Controls.Add(this.btn_update_port);
this.groupBox2.Controls.Add(this.cb_port);
this.groupBox2.Location = new System.Drawing.Point(3, 3);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(163, 78);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Port";
//
// btn_connect
//
this.btn_connect.Location = new System.Drawing.Point(7, 48);
this.btn_connect.Name = "btn_connect";
this.btn_connect.Size = new System.Drawing.Size(150, 23);
this.btn_connect.TabIndex = 2;
this.btn_connect.Text = "Connect";
this.btn_connect.UseVisualStyleBackColor = true;
this.btn_connect.Click += new System.EventHandler(this.btn_connect_Click);
//
// btn_update_port
//
this.btn_update_port.Location = new System.Drawing.Point(95, 19);
this.btn_update_port.Name = "btn_update_port";
this.btn_update_port.Size = new System.Drawing.Size(63, 23);
this.btn_update_port.TabIndex = 1;
this.btn_update_port.Text = "Refresh";
this.btn_update_port.UseVisualStyleBackColor = true;
this.btn_update_port.Click += new System.EventHandler(this.btn_update_port_Click);
//
// cb_port
//
this.cb_port.FormattingEnabled = true;
this.cb_port.Location = new System.Drawing.Point(7, 20);
this.cb_port.Name = "cb_port";
this.cb_port.Size = new System.Drawing.Size(82, 21);
this.cb_port.TabIndex = 0;
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.optionsToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(649, 24);
this.menuStrip1.TabIndex = 2;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveLogToolStripMenuItem,
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "File";
//
// saveLogToolStripMenuItem
//
this.saveLogToolStripMenuItem.Name = "saveLogToolStripMenuItem";
this.saveLogToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
this.saveLogToolStripMenuItem.Text = "Save Log";
this.saveLogToolStripMenuItem.Click += new System.EventHandler(this.saveLogToolStripMenuItem_Click);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
this.exitToolStripMenuItem.Text = "Exit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// optionsToolStripMenuItem
//
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.sERToolStripMenuItem,
this.discriminationToolStripMenuItem,
this.learnModeToolStripMenuItem,
this.deviceToolStripMenuItem});
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
this.optionsToolStripMenuItem.Text = "Options";
//
// sERToolStripMenuItem
//
this.sERToolStripMenuItem.Name = "sERToolStripMenuItem";
this.sERToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.sERToolStripMenuItem.Text = "SER++ if Done!";
this.sERToolStripMenuItem.Click += new System.EventHandler(this.sERToolStripMenuItem_Click);
//
// discriminationToolStripMenuItem
//
this.discriminationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bitToolStripMenuItem,
this.bitToolStripMenuItem1});
this.discriminationToolStripMenuItem.Name = "discriminationToolStripMenuItem";
this.discriminationToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.discriminationToolStripMenuItem.Text = "Discrimination Crop";
//
// bitToolStripMenuItem
//
this.bitToolStripMenuItem.Name = "bitToolStripMenuItem";
this.bitToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.bitToolStripMenuItem.Text = "8 Bit";
this.bitToolStripMenuItem.Click += new System.EventHandler(this.bitToolStripMenuItem_Click);
//
// bitToolStripMenuItem1
//
this.bitToolStripMenuItem1.Checked = true;
this.bitToolStripMenuItem1.CheckState = System.Windows.Forms.CheckState.Checked;
this.bitToolStripMenuItem1.Name = "bitToolStripMenuItem1";
this.bitToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.bitToolStripMenuItem1.Text = "10 Bit";
this.bitToolStripMenuItem1.Click += new System.EventHandler(this.bitToolStripMenuItem1_Click);
//
// learnModeToolStripMenuItem
//
this.learnModeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.noneToolStripMenuItem,
this.simpleLearningToolStripMenuItem,
this.normalLearningToolStripMenuItem,
this.secureLearnToolStripMenuItem});
this.learnModeToolStripMenuItem.Name = "learnModeToolStripMenuItem";
this.learnModeToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.learnModeToolStripMenuItem.Text = "Learn mode";
//
// noneToolStripMenuItem
//
this.noneToolStripMenuItem.Checked = true;
this.noneToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.noneToolStripMenuItem.Name = "noneToolStripMenuItem";
this.noneToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.noneToolStripMenuItem.Text = "None";
this.noneToolStripMenuItem.Click += new System.EventHandler(this.noneToolStripMenuItem_Click);
//
// simpleLearningToolStripMenuItem
//
this.simpleLearningToolStripMenuItem.Name = "simpleLearningToolStripMenuItem";
this.simpleLearningToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.simpleLearningToolStripMenuItem.Text = "Simple Learning";
this.simpleLearningToolStripMenuItem.Click += new System.EventHandler(this.simpleLearningToolStripMenuItem_Click);
//
// normalLearningToolStripMenuItem
//
this.normalLearningToolStripMenuItem.Name = "normalLearningToolStripMenuItem";
this.normalLearningToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.normalLearningToolStripMenuItem.Text = "Normal Learning";
this.normalLearningToolStripMenuItem.Click += new System.EventHandler(this.normalLearningToolStripMenuItem_Click);
//
// secureLearnToolStripMenuItem
//
this.secureLearnToolStripMenuItem.Name = "secureLearnToolStripMenuItem";
this.secureLearnToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.secureLearnToolStripMenuItem.Text = "Secure Learn";
this.secureLearnToolStripMenuItem.Click += new System.EventHandler(this.secureLearnToolStripMenuItem_Click);
//
// helpToolStripMenuItem
//
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.reportProblemToolStripMenuItem,
this.updateToolStripMenuItem,
this.contaToolStripMenuItem,
this.aboutToolStripMenuItem});
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.helpToolStripMenuItem.Text = "Help";
//
// reportProblemToolStripMenuItem
//
this.reportProblemToolStripMenuItem.Name = "reportProblemToolStripMenuItem";
this.reportProblemToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.reportProblemToolStripMenuItem.Text = "Report Problem";
this.reportProblemToolStripMenuItem.Click += new System.EventHandler(this.reportProblemToolStripMenuItem_Click);
//
// updateToolStripMenuItem
//
this.updateToolStripMenuItem.Name = "updateToolStripMenuItem";
this.updateToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.updateToolStripMenuItem.Text = "Update";
this.updateToolStripMenuItem.Click += new System.EventHandler(this.updateToolStripMenuItem_Click);
//
// contaToolStripMenuItem
//
this.contaToolStripMenuItem.Name = "contaToolStripMenuItem";
this.contaToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.contaToolStripMenuItem.Text = "Contact";
this.contaToolStripMenuItem.Click += new System.EventHandler(this.contaToolStripMenuItem_Click);
//
// aboutToolStripMenuItem
//
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
this.aboutToolStripMenuItem.Text = "About";
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
//
// serial_port
//
this.serial_port.ReadBufferSize = 256;
this.serial_port.ReadTimeout = 1000;
this.serial_port.WriteBufferSize = 256;
this.serial_port.WriteTimeout = 1000;
this.serial_port.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serial_port_DataReceived);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1});
this.statusStrip1.Location = new System.Drawing.Point(0, 384);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(649, 22);
this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(39, 17);
this.toolStripStatusLabel1.Text = "Ready";
//
// splitContainer1
//
this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.splitContainer1.Location = new System.Drawing.Point(0, 27);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.groupBox5);
this.splitContainer1.Panel1.Controls.Add(this.groupBox4);
this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
this.splitContainer1.Panel1.Controls.Add(this.groupBox2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.AutoScroll = true;
this.splitContainer1.Panel2.Controls.Add(this.groupBox3);
this.splitContainer1.Size = new System.Drawing.Size(649, 354);
this.splitContainer1.SplitterDistance = 224;
this.splitContainer1.TabIndex = 5;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.cb_br);
this.groupBox5.Location = new System.Drawing.Point(3, 154);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(163, 50);
this.groupBox5.TabIndex = 3;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Baud Rate";
//
// cb_br
//
this.cb_br.FormattingEnabled = true;
this.cb_br.Items.AddRange(new object[] {
"00 400uS ALL",
"01 200uS 1/2",
"10 100uS 1/2",
"11 100uS 1/4"});
this.cb_br.Location = new System.Drawing.Point(6, 20);
this.cb_br.Name = "cb_br";
this.cb_br.Size = new System.Drawing.Size(152, 21);
this.cb_br.TabIndex = 15;
this.cb_br.SelectedIndexChanged += new System.EventHandler(this.cb_br_SelectedIndexChanged);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.rb_6v);
this.groupBox4.Controls.Add(this.rb_9or12v);
this.groupBox4.Location = new System.Drawing.Point(3, 85);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(163, 63);
this.groupBox4.TabIndex = 2;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "VDD";
//
// rb_6v
//
this.rb_6v.AutoSize = true;
this.rb_6v.Location = new System.Drawing.Point(7, 39);
this.rb_6v.Name = "rb_6v";
this.rb_6v.Size = new System.Drawing.Size(41, 17);
this.rb_6v.TabIndex = 14;
this.rb_6v.Text = "6 V";
this.rb_6v.UseVisualStyleBackColor = true;
this.rb_6v.CheckedChanged += new System.EventHandler(this.rb_6v_CheckedChanged);
//
// rb_9or12v
//
this.rb_9or12v.AutoSize = true;
this.rb_9or12v.Checked = true;
this.rb_9or12v.Location = new System.Drawing.Point(7, 18);
this.rb_9or12v.Name = "rb_9or12v";
this.rb_9or12v.Size = new System.Drawing.Size(65, 17);
this.rb_9or12v.TabIndex = 14;
this.rb_9or12v.TabStop = true;
this.rb_9or12v.Text = "9 or12 V";
this.rb_9or12v.UseVisualStyleBackColor = true;
this.rb_9or12v.CheckedChanged += new System.EventHandler(this.rb_9or12v_CheckedChanged);
//
// groupBox3
//
this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox3.Controls.Add(this.rtb);
this.groupBox3.Location = new System.Drawing.Point(3, -1);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(643, 120);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Log";
//
// rtb
//
this.rtb.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.rtb.Location = new System.Drawing.Point(6, 14);
this.rtb.Name = "rtb";
this.rtb.Size = new System.Drawing.Size(631, 99);
this.rtb.TabIndex = 17;
this.rtb.Text = "";
//
// timer1
//
this.timer1.Interval = 200;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// deviceToolStripMenuItem
//
this.deviceToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.hCS301ToolStripMenuItem,
this.hCS300ToolStripMenuItem});
this.deviceToolStripMenuItem.Name = "deviceToolStripMenuItem";
this.deviceToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.deviceToolStripMenuItem.Text = "Device";
//
// hCS301ToolStripMenuItem
//
this.hCS301ToolStripMenuItem.Checked = true;
this.hCS301ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.hCS301ToolStripMenuItem.Name = "hCS301ToolStripMenuItem";
this.hCS301ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.hCS301ToolStripMenuItem.Text = "HCS301";
this.hCS301ToolStripMenuItem.Click += new System.EventHandler(this.hCS301ToolStripMenuItem_Click);
//
// hCS300ToolStripMenuItem
//
this.hCS300ToolStripMenuItem.Name = "hCS300ToolStripMenuItem";
this.hCS300ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.hCS300ToolStripMenuItem.Text = "HCS300";
this.hCS300ToolStripMenuItem.Click += new System.EventHandler(this.hCS300ToolStripMenuItem_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(649, 406);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.MinimumSize = new System.Drawing.Size(665, 445);
this.Name = "Form1";
this.Text = "HCS Programmer V0.2.7";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
private System.IO.Ports.SerialPort serial_port;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private System.Windows.Forms.Button btn_connect;
private System.Windows.Forms.Button btn_update_port;
private System.Windows.Forms.ComboBox cb_port;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.RichTextBox rtb;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tb_key;
private System.Windows.Forms.Button btn_gen_key;
private System.Windows.Forms.TextBox tb_ser;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btn_gen_ser;
private System.Windows.Forms.TextBox tb_sync;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tb_seed;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.CheckBox cb_ovr_set;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.RadioButton rb_6v;
private System.Windows.Forms.RadioButton rb_9or12v;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.ComboBox cb_br;
private System.Windows.Forms.CheckBox cb_dis_auto;
private System.Windows.Forms.TextBox tb_dis;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.CheckBox cb_timer;
private System.Windows.Forms.Button btn_write;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem reportProblemToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem updateToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem contaToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveLogToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem sERToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem discriminationToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem bitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem bitToolStripMenuItem1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox tb_mf;
private System.Windows.Forms.ToolStripMenuItem learnModeToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem simpleLearningToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem normalLearningToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem secureLearnToolStripMenuItem;
private System.Windows.Forms.Button btn_mc_clc;
private System.Windows.Forms.Button btn_pp;
private System.Windows.Forms.ToolStripMenuItem noneToolStripMenuItem;
private System.Windows.Forms.Button btn_gen_seed;
private System.Windows.Forms.Button btn_mc_gen;
private System.Windows.Forms.ToolStripMenuItem deviceToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem hCS301ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem hCS300ToolStripMenuItem;
}
}