Kaynağa Gözat

Excel File Save 기능 추가 /GPS 기능중 예외처리 추가

YJ 5 yıl önce
ebeveyn
işleme
c30457603b

+ 7 - 0
APL_TestCheck.csproj

@@ -33,6 +33,12 @@
33 33
     <WarningLevel>4</WarningLevel>
34 34
   </PropertyGroup>
35 35
   <ItemGroup>
36
+    <Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
37
+      <HintPath>..\packages\WindowsAPICodePack-Core.1.1.1\lib\Microsoft.WindowsAPICodePack.dll</HintPath>
38
+    </Reference>
39
+    <Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
40
+      <HintPath>..\packages\WindowsAPICodePack-Shell.1.1.1\lib\Microsoft.WindowsAPICodePack.Shell.dll</HintPath>
41
+    </Reference>
36 42
     <Reference Include="System" />
37 43
     <Reference Include="System.Core" />
38 44
     <Reference Include="System.Xml.Linq" />
@@ -67,6 +73,7 @@
67 73
       <DependentUpon>Resources.resx</DependentUpon>
68 74
       <DesignTime>True</DesignTime>
69 75
     </Compile>
76
+    <None Include="packages.config" />
70 77
     <None Include="Properties\Settings.settings">
71 78
       <Generator>SettingsSingleFileGenerator</Generator>
72 79
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>

+ 239 - 146
Main.Designer.cs

@@ -32,6 +32,7 @@
32 32
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
33 33
             this.serialPort = new System.IO.Ports.SerialPort(this.components);
34 34
             this.panel_Main = new System.Windows.Forms.Panel();
35
+            this.button_Path = new System.Windows.Forms.Button();
35 36
             this.button_Clear = new System.Windows.Forms.Button();
36 37
             this.checkBox_Edit = new System.Windows.Forms.CheckBox();
37 38
             this.checkBox_TerminalStop = new System.Windows.Forms.CheckBox();
@@ -39,6 +40,8 @@
39 40
             this.pictureBox5 = new System.Windows.Forms.PictureBox();
40 41
             this.label6 = new System.Windows.Forms.Label();
41 42
             this.panel1 = new System.Windows.Forms.Panel();
43
+            this.panel2 = new System.Windows.Forms.Panel();
44
+            this.label_Merge = new System.Windows.Forms.Label();
42 45
             this.groupBox9 = new System.Windows.Forms.GroupBox();
43 46
             this.panel_Port = new System.Windows.Forms.Panel();
44 47
             this.label_Port = new System.Windows.Forms.Label();
@@ -54,6 +57,13 @@
54 57
             this.label_Catm1Test = new System.Windows.Forms.Label();
55 58
             this.panel_GpsMode = new System.Windows.Forms.Panel();
56 59
             this.label_GPSTest = new System.Windows.Forms.Label();
60
+            this.panel_GpsTest = new System.Windows.Forms.Panel();
61
+            this.button_GpsTestSave = new System.Windows.Forms.Button();
62
+            this.richTextBox_Gps = new System.Windows.Forms.RichTextBox();
63
+            this.checkBox_GPGSV = new System.Windows.Forms.CheckBox();
64
+            this.dataGridView_Gps = new System.Windows.Forms.DataGridView();
65
+            this.Gps_SerialNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
66
+            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
57 67
             this.panel_SensorTest = new System.Windows.Forms.Panel();
58 68
             this.pictureBox_Check2 = new System.Windows.Forms.PictureBox();
59 69
             this.pictureBox_Check3 = new System.Windows.Forms.PictureBox();
@@ -69,36 +79,36 @@
69 79
             this.pictureBox_UnCheck1 = new System.Windows.Forms.PictureBox();
70 80
             this.label2 = new System.Windows.Forms.Label();
71 81
             this.dataGridView_Sensor = new System.Windows.Forms.DataGridView();
82
+            this.panel_Catm1Test = new System.Windows.Forms.Panel();
83
+            this.richTextBox_catm1 = new System.Windows.Forms.RichTextBox();
84
+            this.dataGridView_Catm1 = new System.Windows.Forms.DataGridView();
85
+            this.Catm1_SerialNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
86
+            this.Modem_Ver = new System.Windows.Forms.DataGridViewTextBoxColumn();
87
+            this.RSRP = new System.Windows.Forms.DataGridViewTextBoxColumn();
88
+            this.folderBrowserDialog_Mainpath = new System.Windows.Forms.FolderBrowserDialog();
72 89
             this.ProductNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
73
-            this.Version = new System.Windows.Forms.DataGridViewTextBoxColumn();
74 90
             this.IMEI = new System.Windows.Forms.DataGridViewTextBoxColumn();
75 91
             this.USIM = new System.Windows.Forms.DataGridViewTextBoxColumn();
92
+            this.Version = new System.Windows.Forms.DataGridViewTextBoxColumn();
76 93
             this.BatteryVoltage = new System.Windows.Forms.DataGridViewTextBoxColumn();
77 94
             this.SystemVoltage = new System.Windows.Forms.DataGridViewTextBoxColumn();
78 95
             this.Temp = new System.Windows.Forms.DataGridViewTextBoxColumn();
79 96
             this.BMA = new System.Windows.Forms.DataGridViewTextBoxColumn();
80
-            this.panel_Catm1Test = new System.Windows.Forms.Panel();
81
-            this.richTextBox_catm1 = new System.Windows.Forms.RichTextBox();
82
-            this.dataGridView_Catm1 = new System.Windows.Forms.DataGridView();
83
-            this.Catm1_SerialNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
84
-            this.Modem_Ver = new System.Windows.Forms.DataGridViewTextBoxColumn();
85
-            this.RSRP = new System.Windows.Forms.DataGridViewTextBoxColumn();
86
-            this.panel_GpsTest = new System.Windows.Forms.Panel();
87
-            this.richTextBox_Gps = new System.Windows.Forms.RichTextBox();
88
-            this.dataGridView_Gps = new System.Windows.Forms.DataGridView();
89
-            this.Gps_SerialNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
90
-            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
91
-            this.checkBox_GPGSV = new System.Windows.Forms.CheckBox();
97
+            this.label7 = new System.Windows.Forms.Label();
98
+            this.panel3 = new System.Windows.Forms.Panel();
92 99
             this.panel_Main.SuspendLayout();
93 100
             this.panel4.SuspendLayout();
94 101
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
95 102
             this.panel1.SuspendLayout();
103
+            this.panel2.SuspendLayout();
96 104
             this.groupBox9.SuspendLayout();
97 105
             this.panel_Port.SuspendLayout();
98 106
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
99 107
             this.panel_SensorMode.SuspendLayout();
100 108
             this.panel_Catm1Mode.SuspendLayout();
101 109
             this.panel_GpsMode.SuspendLayout();
110
+            this.panel_GpsTest.SuspendLayout();
111
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Gps)).BeginInit();
102 112
             this.panel_SensorTest.SuspendLayout();
103 113
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox_Check2)).BeginInit();
104 114
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox_Check3)).BeginInit();
@@ -111,8 +121,7 @@
111 121
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Sensor)).BeginInit();
112 122
             this.panel_Catm1Test.SuspendLayout();
113 123
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Catm1)).BeginInit();
114
-            this.panel_GpsTest.SuspendLayout();
115
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Gps)).BeginInit();
124
+            this.panel3.SuspendLayout();
116 125
             this.SuspendLayout();
117 126
             // 
118 127
             // serialPort
@@ -122,6 +131,7 @@
122 131
             // panel_Main
123 132
             // 
124 133
             this.panel_Main.BackColor = System.Drawing.Color.SkyBlue;
134
+            this.panel_Main.Controls.Add(this.button_Path);
125 135
             this.panel_Main.Controls.Add(this.button_Clear);
126 136
             this.panel_Main.Controls.Add(this.checkBox_Edit);
127 137
             this.panel_Main.Controls.Add(this.checkBox_TerminalStop);
@@ -139,6 +149,17 @@
139 149
             this.panel_Main.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_Main_MouseMove);
140 150
             this.panel_Main.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel_Main_MouseUp);
141 151
             // 
152
+            // button_Path
153
+            // 
154
+            this.button_Path.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(200)))));
155
+            this.button_Path.Location = new System.Drawing.Point(4, 4);
156
+            this.button_Path.Name = "button_Path";
157
+            this.button_Path.Size = new System.Drawing.Size(156, 34);
158
+            this.button_Path.TabIndex = 90;
159
+            this.button_Path.Text = "FilePathSet";
160
+            this.button_Path.UseVisualStyleBackColor = false;
161
+            this.button_Path.Click += new System.EventHandler(this.button_Path_Click);
162
+            // 
142 163
             // button_Clear
143 164
             // 
144 165
             this.button_Clear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(200)))));
@@ -201,6 +222,8 @@
201 222
             // 
202 223
             // panel1
203 224
             // 
225
+            this.panel1.Controls.Add(this.panel3);
226
+            this.panel1.Controls.Add(this.panel2);
204 227
             this.panel1.Controls.Add(this.groupBox9);
205 228
             this.panel1.Controls.Add(this.label1);
206 229
             this.panel1.Controls.Add(this.pictureBox6);
@@ -212,6 +235,27 @@
212 235
             this.panel1.Size = new System.Drawing.Size(159, 599);
213 236
             this.panel1.TabIndex = 26;
214 237
             // 
238
+            // panel2
239
+            // 
240
+            this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(200)))));
241
+            this.panel2.Controls.Add(this.label_Merge);
242
+            this.panel2.Location = new System.Drawing.Point(0, 230);
243
+            this.panel2.Name = "panel2";
244
+            this.panel2.Size = new System.Drawing.Size(156, 53);
245
+            this.panel2.TabIndex = 32;
246
+            // 
247
+            // label_Merge
248
+            // 
249
+            this.label_Merge.AutoSize = true;
250
+            this.label_Merge.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
251
+            this.label_Merge.ForeColor = System.Drawing.Color.Snow;
252
+            this.label_Merge.Location = new System.Drawing.Point(0, 17);
253
+            this.label_Merge.Name = "label_Merge";
254
+            this.label_Merge.Size = new System.Drawing.Size(160, 19);
255
+            this.label_Merge.TabIndex = 31;
256
+            this.label_Merge.Text = "Merge 서비스 준비중...";
257
+            this.label_Merge.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
258
+            // 
215 259
             // groupBox9
216 260
             // 
217 261
             this.groupBox9.Controls.Add(this.panel_Port);
@@ -219,7 +263,7 @@
219 263
             this.groupBox9.Controls.Add(this.comboBox_bps);
220 264
             this.groupBox9.Controls.Add(this.cmCom_Port);
221 265
             this.groupBox9.Controls.Add(this.cmBaudRate);
222
-            this.groupBox9.Location = new System.Drawing.Point(3, 241);
266
+            this.groupBox9.Location = new System.Drawing.Point(3, 351);
223 267
             this.groupBox9.Name = "groupBox9";
224 268
             this.groupBox9.Size = new System.Drawing.Size(153, 242);
225 269
             this.groupBox9.TabIndex = 85;
@@ -405,6 +449,77 @@
405 449
             this.label_GPSTest.MouseLeave += new System.EventHandler(this.label_GPSTest_MouseLeave);
406 450
             this.label_GPSTest.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label_GPSTest_MouseMove);
407 451
             // 
452
+            // panel_GpsTest
453
+            // 
454
+            this.panel_GpsTest.Controls.Add(this.button_GpsTestSave);
455
+            this.panel_GpsTest.Controls.Add(this.richTextBox_Gps);
456
+            this.panel_GpsTest.Controls.Add(this.checkBox_GPGSV);
457
+            this.panel_GpsTest.Controls.Add(this.dataGridView_Gps);
458
+            this.panel_GpsTest.Location = new System.Drawing.Point(149, 44);
459
+            this.panel_GpsTest.Name = "panel_GpsTest";
460
+            this.panel_GpsTest.Size = new System.Drawing.Size(777, 599);
461
+            this.panel_GpsTest.TabIndex = 86;
462
+            // 
463
+            // button_GpsTestSave
464
+            // 
465
+            this.button_GpsTestSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(200)))));
466
+            this.button_GpsTestSave.Font = new System.Drawing.Font("굴림", 16F, System.Drawing.FontStyle.Bold);
467
+            this.button_GpsTestSave.Location = new System.Drawing.Point(497, 3);
468
+            this.button_GpsTestSave.Name = "button_GpsTestSave";
469
+            this.button_GpsTestSave.Size = new System.Drawing.Size(272, 58);
470
+            this.button_GpsTestSave.TabIndex = 89;
471
+            this.button_GpsTestSave.Text = "SAVE";
472
+            this.button_GpsTestSave.UseVisualStyleBackColor = false;
473
+            this.button_GpsTestSave.Click += new System.EventHandler(this.button_GpsTestSave_Click);
474
+            // 
475
+            // richTextBox_Gps
476
+            // 
477
+            this.richTextBox_Gps.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
478
+            this.richTextBox_Gps.Font = new System.Drawing.Font("나눔고딕", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
479
+            this.richTextBox_Gps.ForeColor = System.Drawing.Color.Yellow;
480
+            this.richTextBox_Gps.Location = new System.Drawing.Point(26, 67);
481
+            this.richTextBox_Gps.Name = "richTextBox_Gps";
482
+            this.richTextBox_Gps.Size = new System.Drawing.Size(743, 500);
483
+            this.richTextBox_Gps.TabIndex = 26;
484
+            this.richTextBox_Gps.Text = "";
485
+            // 
486
+            // checkBox_GPGSV
487
+            // 
488
+            this.checkBox_GPGSV.AutoSize = true;
489
+            this.checkBox_GPGSV.Location = new System.Drawing.Point(26, 573);
490
+            this.checkBox_GPGSV.Name = "checkBox_GPGSV";
491
+            this.checkBox_GPGSV.Size = new System.Drawing.Size(106, 16);
492
+            this.checkBox_GPGSV.TabIndex = 88;
493
+            this.checkBox_GPGSV.Text = "GPGSV  Mode";
494
+            this.checkBox_GPGSV.UseVisualStyleBackColor = true;
495
+            // 
496
+            // dataGridView_Gps
497
+            // 
498
+            this.dataGridView_Gps.AllowUserToAddRows = false;
499
+            this.dataGridView_Gps.BackgroundColor = System.Drawing.Color.Gray;
500
+            this.dataGridView_Gps.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
501
+            this.dataGridView_Gps.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
502
+            this.Gps_SerialNumber,
503
+            this.dataGridViewTextBoxColumn8});
504
+            this.dataGridView_Gps.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(230)))));
505
+            this.dataGridView_Gps.Location = new System.Drawing.Point(26, 3);
506
+            this.dataGridView_Gps.Name = "dataGridView_Gps";
507
+            this.dataGridView_Gps.RowTemplate.Height = 23;
508
+            this.dataGridView_Gps.Size = new System.Drawing.Size(465, 56);
509
+            this.dataGridView_Gps.TabIndex = 15;
510
+            this.dataGridView_Gps.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_Gps_CellMouseClick);
511
+            this.dataGridView_Gps.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView_Gps_KeyDown);
512
+            // 
513
+            // Gps_SerialNumber
514
+            // 
515
+            this.Gps_SerialNumber.HeaderText = "생산번호";
516
+            this.Gps_SerialNumber.Name = "Gps_SerialNumber";
517
+            // 
518
+            // dataGridViewTextBoxColumn8
519
+            // 
520
+            this.dataGridViewTextBoxColumn8.HeaderText = "GPS SNR";
521
+            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
522
+            // 
408 523
             // panel_SensorTest
409 524
             // 
410 525
             this.panel_SensorTest.Controls.Add(this.pictureBox_Check2);
@@ -429,7 +544,7 @@
429 544
             // pictureBox_Check2
430 545
             // 
431 546
             this.pictureBox_Check2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Check2.Image")));
432
-            this.pictureBox_Check2.Location = new System.Drawing.Point(68, 405);
547
+            this.pictureBox_Check2.Location = new System.Drawing.Point(71, 206);
433 548
             this.pictureBox_Check2.Name = "pictureBox_Check2";
434 549
             this.pictureBox_Check2.Size = new System.Drawing.Size(50, 50);
435 550
             this.pictureBox_Check2.TabIndex = 30;
@@ -438,7 +553,7 @@
438 553
             // pictureBox_Check3
439 554
             // 
440 555
             this.pictureBox_Check3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Check3.Image")));
441
-            this.pictureBox_Check3.Location = new System.Drawing.Point(68, 461);
556
+            this.pictureBox_Check3.Location = new System.Drawing.Point(68, 347);
442 557
             this.pictureBox_Check3.Name = "pictureBox_Check3";
443 558
             this.pictureBox_Check3.Size = new System.Drawing.Size(50, 50);
444 559
             this.pictureBox_Check3.TabIndex = 29;
@@ -447,7 +562,7 @@
447 562
             // pictureBox_Check4
448 563
             // 
449 564
             this.pictureBox_Check4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Check4.Image")));
450
-            this.pictureBox_Check4.Location = new System.Drawing.Point(68, 517);
565
+            this.pictureBox_Check4.Location = new System.Drawing.Point(68, 490);
451 566
             this.pictureBox_Check4.Name = "pictureBox_Check4";
452 567
             this.pictureBox_Check4.Size = new System.Drawing.Size(50, 50);
453 568
             this.pictureBox_Check4.TabIndex = 28;
@@ -456,7 +571,7 @@
456 571
             // pictureBox_Check1
457 572
             // 
458 573
             this.pictureBox_Check1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Check1.Image")));
459
-            this.pictureBox_Check1.Location = new System.Drawing.Point(68, 349);
574
+            this.pictureBox_Check1.Location = new System.Drawing.Point(71, 67);
460 575
             this.pictureBox_Check1.Name = "pictureBox_Check1";
461 576
             this.pictureBox_Check1.Size = new System.Drawing.Size(50, 50);
462 577
             this.pictureBox_Check1.TabIndex = 27;
@@ -467,7 +582,7 @@
467 582
             this.label5.AutoSize = true;
468 583
             this.label5.Font = new System.Drawing.Font("맑은 고딕", 14F, System.Drawing.FontStyle.Bold);
469 584
             this.label5.ForeColor = System.Drawing.Color.Yellow;
470
-            this.label5.Location = new System.Drawing.Point(21, 416);
585
+            this.label5.Location = new System.Drawing.Point(24, 217);
471 586
             this.label5.Name = "label5";
472 587
             this.label5.Size = new System.Drawing.Size(47, 25);
473 588
             this.label5.TabIndex = 24;
@@ -476,7 +591,7 @@
476 591
             // pictureBox_UnCheck2
477 592
             // 
478 593
             this.pictureBox_UnCheck2.Image = global::APL_TestCheck.Properties.Resources.checked_50px;
479
-            this.pictureBox_UnCheck2.Location = new System.Drawing.Point(68, 405);
594
+            this.pictureBox_UnCheck2.Location = new System.Drawing.Point(71, 206);
480 595
             this.pictureBox_UnCheck2.Name = "pictureBox_UnCheck2";
481 596
             this.pictureBox_UnCheck2.Size = new System.Drawing.Size(50, 50);
482 597
             this.pictureBox_UnCheck2.TabIndex = 23;
@@ -487,7 +602,7 @@
487 602
             this.label4.AutoSize = true;
488 603
             this.label4.Font = new System.Drawing.Font("맑은 고딕", 14F, System.Drawing.FontStyle.Bold);
489 604
             this.label4.ForeColor = System.Drawing.Color.Yellow;
490
-            this.label4.Location = new System.Drawing.Point(21, 473);
605
+            this.label4.Location = new System.Drawing.Point(21, 359);
491 606
             this.label4.Name = "label4";
492 607
             this.label4.Size = new System.Drawing.Size(42, 25);
493 608
             this.label4.TabIndex = 22;
@@ -496,7 +611,7 @@
496 611
             // pictureBox_UnCheck3
497 612
             // 
498 613
             this.pictureBox_UnCheck3.Image = global::APL_TestCheck.Properties.Resources.checked_50px;
499
-            this.pictureBox_UnCheck3.Location = new System.Drawing.Point(68, 461);
614
+            this.pictureBox_UnCheck3.Location = new System.Drawing.Point(68, 347);
500 615
             this.pictureBox_UnCheck3.Name = "pictureBox_UnCheck3";
501 616
             this.pictureBox_UnCheck3.Size = new System.Drawing.Size(50, 50);
502 617
             this.pictureBox_UnCheck3.TabIndex = 21;
@@ -507,7 +622,7 @@
507 622
             this.label3.AutoSize = true;
508 623
             this.label3.Font = new System.Drawing.Font("맑은 고딕", 14F, System.Drawing.FontStyle.Bold);
509 624
             this.label3.ForeColor = System.Drawing.Color.Yellow;
510
-            this.label3.Location = new System.Drawing.Point(21, 528);
625
+            this.label3.Location = new System.Drawing.Point(21, 501);
511 626
             this.label3.Name = "label3";
512 627
             this.label3.Size = new System.Drawing.Size(42, 25);
513 628
             this.label3.TabIndex = 20;
@@ -518,16 +633,16 @@
518 633
             this.richTextBox_Sensor.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
519 634
             this.richTextBox_Sensor.Font = new System.Drawing.Font("나눔고딕", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
520 635
             this.richTextBox_Sensor.ForeColor = System.Drawing.Color.Yellow;
521
-            this.richTextBox_Sensor.Location = new System.Drawing.Point(132, 349);
636
+            this.richTextBox_Sensor.Location = new System.Drawing.Point(132, 67);
522 637
             this.richTextBox_Sensor.Name = "richTextBox_Sensor";
523
-            this.richTextBox_Sensor.Size = new System.Drawing.Size(633, 218);
638
+            this.richTextBox_Sensor.Size = new System.Drawing.Size(633, 500);
524 639
             this.richTextBox_Sensor.TabIndex = 26;
525 640
             this.richTextBox_Sensor.Text = "";
526 641
             // 
527 642
             // pictureBox_UnCheck4
528 643
             // 
529 644
             this.pictureBox_UnCheck4.Image = global::APL_TestCheck.Properties.Resources.checked_50px;
530
-            this.pictureBox_UnCheck4.Location = new System.Drawing.Point(68, 517);
645
+            this.pictureBox_UnCheck4.Location = new System.Drawing.Point(68, 490);
531 646
             this.pictureBox_UnCheck4.Name = "pictureBox_UnCheck4";
532 647
             this.pictureBox_UnCheck4.Size = new System.Drawing.Size(50, 50);
533 648
             this.pictureBox_UnCheck4.TabIndex = 19;
@@ -536,7 +651,7 @@
536 651
             // pictureBox_UnCheck1
537 652
             // 
538 653
             this.pictureBox_UnCheck1.Image = global::APL_TestCheck.Properties.Resources.checked_50px;
539
-            this.pictureBox_UnCheck1.Location = new System.Drawing.Point(68, 349);
654
+            this.pictureBox_UnCheck1.Location = new System.Drawing.Point(71, 67);
540 655
             this.pictureBox_UnCheck1.Name = "pictureBox_UnCheck1";
541 656
             this.pictureBox_UnCheck1.Size = new System.Drawing.Size(50, 50);
542 657
             this.pictureBox_UnCheck1.TabIndex = 16;
@@ -547,7 +662,7 @@
547 662
             this.label2.AutoSize = true;
548 663
             this.label2.Font = new System.Drawing.Font("맑은 고딕", 14F, System.Drawing.FontStyle.Bold);
549 664
             this.label2.ForeColor = System.Drawing.Color.Yellow;
550
-            this.label2.Location = new System.Drawing.Point(21, 360);
665
+            this.label2.Location = new System.Drawing.Point(24, 78);
551 666
             this.label2.Name = "label2";
552 667
             this.label2.Size = new System.Drawing.Size(39, 25);
553 668
             this.label2.TabIndex = 18;
@@ -555,13 +670,14 @@
555 670
             // 
556 671
             // dataGridView_Sensor
557 672
             // 
673
+            this.dataGridView_Sensor.AllowUserToAddRows = false;
558 674
             this.dataGridView_Sensor.BackgroundColor = System.Drawing.Color.Gray;
559 675
             this.dataGridView_Sensor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
560 676
             this.dataGridView_Sensor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
561 677
             this.ProductNumber,
562
-            this.Version,
563 678
             this.IMEI,
564 679
             this.USIM,
680
+            this.Version,
565 681
             this.BatteryVoltage,
566 682
             this.SystemVoltage,
567 683
             this.Temp,
@@ -570,66 +686,10 @@
570 686
             this.dataGridView_Sensor.Location = new System.Drawing.Point(20, 3);
571 687
             this.dataGridView_Sensor.Name = "dataGridView_Sensor";
572 688
             this.dataGridView_Sensor.RowTemplate.Height = 23;
573
-            this.dataGridView_Sensor.Size = new System.Drawing.Size(745, 323);
689
+            this.dataGridView_Sensor.Size = new System.Drawing.Size(745, 58);
574 690
             this.dataGridView_Sensor.TabIndex = 15;
575 691
             this.dataGridView_Sensor.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_Sensor_CellMouseClick);
576 692
             // 
577
-            // ProductNumber
578
-            // 
579
-            this.ProductNumber.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
580
-            this.ProductNumber.HeaderText = "생산번호";
581
-            this.ProductNumber.Name = "ProductNumber";
582
-            this.ProductNumber.Width = 78;
583
-            // 
584
-            // Version
585
-            // 
586
-            this.Version.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
587
-            this.Version.HeaderText = "버전";
588
-            this.Version.Name = "Version";
589
-            this.Version.Width = 54;
590
-            // 
591
-            // IMEI
592
-            // 
593
-            this.IMEI.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
594
-            this.IMEI.HeaderText = "IMEI";
595
-            this.IMEI.Name = "IMEI";
596
-            this.IMEI.Width = 55;
597
-            // 
598
-            // USIM
599
-            // 
600
-            this.USIM.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
601
-            this.USIM.HeaderText = "USIM";
602
-            this.USIM.Name = "USIM";
603
-            this.USIM.Width = 60;
604
-            // 
605
-            // BatteryVoltage
606
-            // 
607
-            this.BatteryVoltage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
608
-            this.BatteryVoltage.HeaderText = "BatteryVoltage";
609
-            this.BatteryVoltage.Name = "BatteryVoltage";
610
-            this.BatteryVoltage.Width = 111;
611
-            // 
612
-            // SystemVoltage
613
-            // 
614
-            this.SystemVoltage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
615
-            this.SystemVoltage.HeaderText = "SystemVoltage";
616
-            this.SystemVoltage.Name = "SystemVoltage";
617
-            this.SystemVoltage.Width = 115;
618
-            // 
619
-            // Temp
620
-            // 
621
-            this.Temp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
622
-            this.Temp.HeaderText = "온도";
623
-            this.Temp.Name = "Temp";
624
-            this.Temp.Width = 54;
625
-            // 
626
-            // BMA
627
-            // 
628
-            this.BMA.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
629
-            this.BMA.HeaderText = "가속도";
630
-            this.BMA.Name = "BMA";
631
-            this.BMA.Width = 66;
632
-            // 
633 693
             // panel_Catm1Test
634 694
             // 
635 695
             this.panel_Catm1Test.Controls.Add(this.richTextBox_catm1);
@@ -644,14 +704,15 @@
644 704
             this.richTextBox_catm1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
645 705
             this.richTextBox_catm1.Font = new System.Drawing.Font("나눔고딕", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
646 706
             this.richTextBox_catm1.ForeColor = System.Drawing.Color.Yellow;
647
-            this.richTextBox_catm1.Location = new System.Drawing.Point(384, 3);
707
+            this.richTextBox_catm1.Location = new System.Drawing.Point(17, 65);
648 708
             this.richTextBox_catm1.Name = "richTextBox_catm1";
649
-            this.richTextBox_catm1.Size = new System.Drawing.Size(381, 564);
709
+            this.richTextBox_catm1.Size = new System.Drawing.Size(748, 502);
650 710
             this.richTextBox_catm1.TabIndex = 26;
651 711
             this.richTextBox_catm1.Text = "";
652 712
             // 
653 713
             // dataGridView_Catm1
654 714
             // 
715
+            this.dataGridView_Catm1.AllowUserToAddRows = false;
655 716
             this.dataGridView_Catm1.BackgroundColor = System.Drawing.Color.Gray;
656 717
             this.dataGridView_Catm1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
657 718
             this.dataGridView_Catm1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -662,7 +723,7 @@
662 723
             this.dataGridView_Catm1.Location = new System.Drawing.Point(17, 3);
663 724
             this.dataGridView_Catm1.Name = "dataGridView_Catm1";
664 725
             this.dataGridView_Catm1.RowTemplate.Height = 23;
665
-            this.dataGridView_Catm1.Size = new System.Drawing.Size(346, 564);
726
+            this.dataGridView_Catm1.Size = new System.Drawing.Size(748, 56);
666 727
             this.dataGridView_Catm1.TabIndex = 15;
667 728
             this.dataGridView_Catm1.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_Catm1_CellMouseClick);
668 729
             // 
@@ -681,61 +742,82 @@
681 742
             this.RSRP.HeaderText = "RSRP";
682 743
             this.RSRP.Name = "RSRP";
683 744
             // 
684
-            // panel_GpsTest
745
+            // ProductNumber
685 746
             // 
686
-            this.panel_GpsTest.Controls.Add(this.richTextBox_Gps);
687
-            this.panel_GpsTest.Controls.Add(this.checkBox_GPGSV);
688
-            this.panel_GpsTest.Controls.Add(this.dataGridView_Gps);
689
-            this.panel_GpsTest.Location = new System.Drawing.Point(149, 44);
690
-            this.panel_GpsTest.Name = "panel_GpsTest";
691
-            this.panel_GpsTest.Size = new System.Drawing.Size(777, 599);
692
-            this.panel_GpsTest.TabIndex = 86;
747
+            this.ProductNumber.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
748
+            this.ProductNumber.HeaderText = "생산번호";
749
+            this.ProductNumber.Name = "ProductNumber";
750
+            this.ProductNumber.Width = 78;
693 751
             // 
694
-            // richTextBox_Gps
752
+            // IMEI
695 753
             // 
696
-            this.richTextBox_Gps.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
697
-            this.richTextBox_Gps.Font = new System.Drawing.Font("나눔고딕", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
698
-            this.richTextBox_Gps.ForeColor = System.Drawing.Color.Yellow;
699
-            this.richTextBox_Gps.Location = new System.Drawing.Point(280, 3);
700
-            this.richTextBox_Gps.Name = "richTextBox_Gps";
701
-            this.richTextBox_Gps.Size = new System.Drawing.Size(489, 564);
702
-            this.richTextBox_Gps.TabIndex = 26;
703
-            this.richTextBox_Gps.Text = "";
754
+            this.IMEI.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
755
+            this.IMEI.HeaderText = "IMEI";
756
+            this.IMEI.Name = "IMEI";
757
+            this.IMEI.Width = 55;
704 758
             // 
705
-            // dataGridView_Gps
759
+            // USIM
706 760
             // 
707
-            this.dataGridView_Gps.BackgroundColor = System.Drawing.Color.Gray;
708
-            this.dataGridView_Gps.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
709
-            this.dataGridView_Gps.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
710
-            this.Gps_SerialNumber,
711
-            this.dataGridViewTextBoxColumn8});
712
-            this.dataGridView_Gps.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(230)))));
713
-            this.dataGridView_Gps.Location = new System.Drawing.Point(21, 3);
714
-            this.dataGridView_Gps.Name = "dataGridView_Gps";
715
-            this.dataGridView_Gps.RowTemplate.Height = 23;
716
-            this.dataGridView_Gps.Size = new System.Drawing.Size(249, 564);
717
-            this.dataGridView_Gps.TabIndex = 15;
718
-            this.dataGridView_Gps.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_Gps_CellMouseClick);
761
+            this.USIM.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
762
+            this.USIM.HeaderText = "USIM";
763
+            this.USIM.Name = "USIM";
764
+            this.USIM.Width = 60;
719 765
             // 
720
-            // Gps_SerialNumber
766
+            // Version
721 767
             // 
722
-            this.Gps_SerialNumber.HeaderText = "생산번호";
723
-            this.Gps_SerialNumber.Name = "Gps_SerialNumber";
768
+            this.Version.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
769
+            this.Version.HeaderText = "버전";
770
+            this.Version.Name = "Version";
771
+            this.Version.Width = 54;
724 772
             // 
725
-            // dataGridViewTextBoxColumn8
773
+            // BatteryVoltage
726 774
             // 
727
-            this.dataGridViewTextBoxColumn8.HeaderText = "GPS SNR";
728
-            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
775
+            this.BatteryVoltage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
776
+            this.BatteryVoltage.HeaderText = "BatteryVoltage";
777
+            this.BatteryVoltage.Name = "BatteryVoltage";
778
+            this.BatteryVoltage.Width = 111;
729 779
             // 
730
-            // checkBox_GPGSV
780
+            // SystemVoltage
731 781
             // 
732
-            this.checkBox_GPGSV.AutoSize = true;
733
-            this.checkBox_GPGSV.Location = new System.Drawing.Point(26, 573);
734
-            this.checkBox_GPGSV.Name = "checkBox_GPGSV";
735
-            this.checkBox_GPGSV.Size = new System.Drawing.Size(106, 16);
736
-            this.checkBox_GPGSV.TabIndex = 88;
737
-            this.checkBox_GPGSV.Text = "GPGSV  Mode";
738
-            this.checkBox_GPGSV.UseVisualStyleBackColor = true;
782
+            this.SystemVoltage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
783
+            this.SystemVoltage.HeaderText = "SystemVoltage";
784
+            this.SystemVoltage.Name = "SystemVoltage";
785
+            this.SystemVoltage.Width = 115;
786
+            // 
787
+            // Temp
788
+            // 
789
+            this.Temp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
790
+            this.Temp.HeaderText = "온도";
791
+            this.Temp.Name = "Temp";
792
+            this.Temp.Width = 54;
793
+            // 
794
+            // BMA
795
+            // 
796
+            this.BMA.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
797
+            this.BMA.HeaderText = "가속도";
798
+            this.BMA.Name = "BMA";
799
+            this.BMA.Width = 66;
800
+            // 
801
+            // label7
802
+            // 
803
+            this.label7.AutoSize = true;
804
+            this.label7.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold);
805
+            this.label7.ForeColor = System.Drawing.Color.Snow;
806
+            this.label7.Location = new System.Drawing.Point(40, 17);
807
+            this.label7.Name = "label7";
808
+            this.label7.Size = new System.Drawing.Size(85, 19);
809
+            this.label7.TabIndex = 31;
810
+            this.label7.Text = "S/N CHECK";
811
+            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
812
+            // 
813
+            // panel3
814
+            // 
815
+            this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(159)))), ((int)(((byte)(200)))));
816
+            this.panel3.Controls.Add(this.label7);
817
+            this.panel3.Location = new System.Drawing.Point(1, 290);
818
+            this.panel3.Name = "panel3";
819
+            this.panel3.Size = new System.Drawing.Size(156, 53);
820
+            this.panel3.TabIndex = 86;
739 821
             // 
740 822
             // Main
741 823
             // 
@@ -754,6 +836,8 @@
754 836
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
755 837
             this.panel1.ResumeLayout(false);
756 838
             this.panel1.PerformLayout();
839
+            this.panel2.ResumeLayout(false);
840
+            this.panel2.PerformLayout();
757 841
             this.groupBox9.ResumeLayout(false);
758 842
             this.groupBox9.PerformLayout();
759 843
             this.panel_Port.ResumeLayout(false);
@@ -765,6 +849,9 @@
765 849
             this.panel_Catm1Mode.PerformLayout();
766 850
             this.panel_GpsMode.ResumeLayout(false);
767 851
             this.panel_GpsMode.PerformLayout();
852
+            this.panel_GpsTest.ResumeLayout(false);
853
+            this.panel_GpsTest.PerformLayout();
854
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Gps)).EndInit();
768 855
             this.panel_SensorTest.ResumeLayout(false);
769 856
             this.panel_SensorTest.PerformLayout();
770 857
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox_Check2)).EndInit();
@@ -778,9 +865,8 @@
778 865
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Sensor)).EndInit();
779 866
             this.panel_Catm1Test.ResumeLayout(false);
780 867
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Catm1)).EndInit();
781
-            this.panel_GpsTest.ResumeLayout(false);
782
-            this.panel_GpsTest.PerformLayout();
783
-            ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Gps)).EndInit();
868
+            this.panel3.ResumeLayout(false);
869
+            this.panel3.PerformLayout();
784 870
             this.ResumeLayout(false);
785 871
 
786 872
         }
@@ -830,14 +916,6 @@
830 916
         private System.Windows.Forms.PictureBox pictureBox_Check3;
831 917
         private System.Windows.Forms.PictureBox pictureBox_Check4;
832 918
         private System.Windows.Forms.PictureBox pictureBox_Check1;
833
-        private System.Windows.Forms.DataGridViewTextBoxColumn ProductNumber;
834
-        private System.Windows.Forms.DataGridViewTextBoxColumn Version;
835
-        private System.Windows.Forms.DataGridViewTextBoxColumn IMEI;
836
-        private System.Windows.Forms.DataGridViewTextBoxColumn USIM;
837
-        private System.Windows.Forms.DataGridViewTextBoxColumn BatteryVoltage;
838
-        private System.Windows.Forms.DataGridViewTextBoxColumn SystemVoltage;
839
-        private System.Windows.Forms.DataGridViewTextBoxColumn Temp;
840
-        private System.Windows.Forms.DataGridViewTextBoxColumn BMA;
841 919
         private System.Windows.Forms.DataGridViewTextBoxColumn Gps_SerialNumber;
842 920
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
843 921
         private System.Windows.Forms.DataGridViewTextBoxColumn Catm1_SerialNumber;
@@ -845,6 +923,21 @@
845 923
         private System.Windows.Forms.DataGridViewTextBoxColumn RSRP;
846 924
         private System.Windows.Forms.Button button_Clear;
847 925
         private System.Windows.Forms.CheckBox checkBox_GPGSV;
926
+        private System.Windows.Forms.Button button_GpsTestSave;
927
+        private System.Windows.Forms.Button button_Path;
928
+        private System.Windows.Forms.Panel panel2;
929
+        private System.Windows.Forms.Label label_Merge;
930
+        private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog_Mainpath;
931
+        private System.Windows.Forms.DataGridViewTextBoxColumn ProductNumber;
932
+        private System.Windows.Forms.DataGridViewTextBoxColumn IMEI;
933
+        private System.Windows.Forms.DataGridViewTextBoxColumn USIM;
934
+        private System.Windows.Forms.DataGridViewTextBoxColumn Version;
935
+        private System.Windows.Forms.DataGridViewTextBoxColumn BatteryVoltage;
936
+        private System.Windows.Forms.DataGridViewTextBoxColumn SystemVoltage;
937
+        private System.Windows.Forms.DataGridViewTextBoxColumn Temp;
938
+        private System.Windows.Forms.DataGridViewTextBoxColumn BMA;
939
+        private System.Windows.Forms.Panel panel3;
940
+        private System.Windows.Forms.Label label7;
848 941
     }
849 942
 }
850 943
 

+ 316 - 64
Main.cs

@@ -3,13 +3,20 @@ using System.Collections.Generic;
3 3
 using System.ComponentModel;
4 4
 using System.Data;
5 5
 using System.Drawing;
6
+using System.IO;
6 7
 using System.IO.Ports;
7 8
 using System.Linq;
8 9
 using System.Runtime.InteropServices;
9 10
 using System.Text;
11
+using System.Text.RegularExpressions;
10 12
 using System.Threading.Tasks;
11 13
 using System.Windows.Forms;
14
+using Excel = Microsoft.Office.Interop.Excel;
15
+using System.Reflection;
16
+using Microsoft.WindowsAPICodePack.Dialogs;
12 17
 
18
+
19
+//using Microsoft.Office.Interop.Excel;
13 20
 namespace APL_TestCheck
14 21
 {
15 22
     public partial class Main : Form
@@ -46,7 +53,7 @@ namespace APL_TestCheck
46 53
                 panel_SensorMode.BackColor = Color.FromArgb(0, 159, 200);
47 54
                 panel_GpsMode.BackColor = Color.FromArgb(0, 159, 255);
48 55
             }
49
-            else if(panel_Catm1Test.Visible == true)
56
+            else if (panel_Catm1Test.Visible == true)
50 57
             {
51 58
                 panel_Catm1Mode.BackColor = Color.FromArgb(0, 159, 255);
52 59
                 panel_SensorMode.BackColor = Color.FromArgb(0, 159, 200);
@@ -125,7 +132,7 @@ namespace APL_TestCheck
125 132
         [DllImport("user32.dll")] // 현재 마우스 위치를 얻기위한 API함수.
126 133
         public extern static void GetCursorPos(out POINT point);
127 134
 
128
-        Point FormLocation; // 현재 폼 위치
135
+        System.Drawing.Point FormLocation; // 현재 폼 위치
129 136
         POINT LastLocation = new POINT(); // 방금 전의 마우스 위치
130 137
         POINT CurrentLocation = new POINT(); // 현재 마우스 위치
131 138
                                              // 폼이 움직일 양 = CurrentLocation - LastLocation.
@@ -154,7 +161,7 @@ namespace APL_TestCheck
154 161
             IsMouseMoveStart = false;
155 162
         }
156 163
 
157
-   
164
+
158 165
 
159 166
         private void pictureBox_min_red_Click(object sender, EventArgs e)
160 167
         {
@@ -163,7 +170,7 @@ namespace APL_TestCheck
163 170
 
164 171
         private void pictureBox_X_red_Click(object sender, EventArgs e)
165 172
         {
166
-            Application.Exit();
173
+            //Application.Exit();
167 174
         }
168 175
 
169 176
         private void label_GPSTest_Click(object sender, EventArgs e)
@@ -191,6 +198,9 @@ namespace APL_TestCheck
191 198
         private void Main_Load(object sender, EventArgs e)
192 199
         {
193 200
             Serial_Initialize(ref comboBox_Port);
201
+            dataGridView_Gps.RowCount = 1;
202
+            dataGridView_Catm1.RowCount = 1;
203
+            dataGridView_Sensor.RowCount = 1;
194 204
             panel_GpsTest.Visible = true;
195 205
             panel_SensorTest.Visible = false;
196 206
             panel_Catm1Test.Visible = false;
@@ -261,7 +271,7 @@ namespace APL_TestCheck
261 271
             System.Windows.Forms.RichTextBox tbReceived = null;
262 272
             if (panel_GpsTest.Visible == true) {
263 273
                 tbReceived = richTextBox_Gps;
264
-                
274
+
265 275
             }
266 276
             else if (panel_Catm1Test.Visible == true) {
267 277
                 tbReceived = richTextBox_catm1;
@@ -305,17 +315,25 @@ namespace APL_TestCheck
305 315
             }
306 316
             catch { try { SendMessage(this.Handle, WM_SETREDRAW, true, 0); } catch { return; } }
307 317
         }
308
-        int GPS_TestSnRValue = 0;
318
+        public int WordNum(String data, String fixdata)
319
+        {
320
+            MatchCollection matches = Regex.Matches(data, fixdata);
321
+            return matches.Count;
322
+
323
+        }
324
+        double GPS_TestSnRValue = 0;
309 325
         int Gps_CurrentCount = 0;
310 326
         int TestVal = 0;
311 327
         private string GPS_TestFunc(string data)
312 328
         {
313
-            int Gps_Count, Sentence,SnrIndex = 3;
314
-          //  string tmpstr = "$GPGSV,2,1,08,10,69,246,47,12,50,082,43,15,12,108,29,20,49,190,45*77\r\n";
315
-           // string tmpstr1 = "$GPGSV,2,2,08,24,36,052,37,25,48,159,42,31,17,245,,32,46,312,45*74\r\n";
316
-            string str = data;
329
+            int Gps_Count, Sentence, SnrIndex = 3;
330
+            //  string tmpstr = "$GPGSV,2,1,08,10,69,246,47,12,50,082,43,15,12,108,29,20,49,190,45*77\r\n";
331
+            // string tmpstr1 = "$GPGSV,2,2,08,24,36,052,37,25,48,159,42,31,17,245,,32,46,312,45*74\r\n";
332
+            string[] tmpstr = new String[3];
333
+            string splitstr = null, str = data;
317 334
             string[] sp = str.Split(',');
318
-            int location1, location2,LastLocation ;
335
+            int Losscount = 0;
336
+            int location1, location2, LastLocation, SentenceCount;
319 337
             try
320 338
             {
321 339
                 /*
@@ -331,59 +349,73 @@ namespace APL_TestCheck
331 349
                 }
332 350
                 */
333 351
                 location1 = str.IndexOf("$GPGSV");
352
+                SentenceCount = WordNum(str, "GPGSV");
353
+                GPS_TestSnRValue = 0;
354
+                Gps_CurrentCount = 0;
334 355
                 if (location1 != -1)
335 356
                 {
336
-                    str = str.Substring(location1);
337
-                    location2 = str.IndexOf("\r\n");
338
-                    str = str.Substring(0, location2 + 2);
339
-                    sp = str.Split(',');
340
-                    if (sp[3].Contains("*"))
341
-                    {
342
-                        sp[3] = sp[3].Substring(0, 2);
343
-                        dataGridView_Gps.Rows[0].Cells[1].Value = sp[3];
344
-                        return str;
345
-                    }
346
-                    else
357
+                    for (int ii = 0; ii < SentenceCount; ii++)
347 358
                     {
348
-                        Sentence = Convert.ToInt32(sp[2]);
349
-                        if(Sentence == 1)
359
+                        SnrIndex = 3;
360
+                        if (ii != 0)
361
+                            str = splitstr;
362
+                        location1 = str.IndexOf("$GPGSV");
363
+                        str = str.Substring(location1);
364
+                        location2 = str.IndexOf("\r\n");
365
+                        splitstr = str.Substring(location2 + 2);
366
+                        tmpstr[ii] = str = str.Substring(0, location2 + 2);
367
+
368
+                        sp = str.Split(',');
369
+                        if (sp[3].Contains("*"))
350 370
                         {
351
-                            GPS_TestSnRValue = 0;
352
-                            Gps_CurrentCount = 0;
371
+                            sp[3] = sp[3].Substring(0, 2);
372
+                            dataGridView_Gps.Rows[0].Cells[1].Value = sp[3];
373
+                            return str;
353 374
                         }
354
-                        Gps_Count = Convert.ToInt32(sp[3]);
355
-
356
-                        for (int i = 0; i < 4; i++)
375
+                        else
357 376
                         {
358
-                            SnrIndex += 4;
359
-                            if (sp[SnrIndex].Contains("*"))
377
+                            Sentence = Convert.ToInt32(sp[2]);
378
+                            Gps_Count = Convert.ToInt32(sp[3]);
379
+                            for (int i = 0; i < 4; i++)
360 380
                             {
361
-                                LastLocation = sp[SnrIndex].IndexOf("*") - 2;
362
-                                sp[SnrIndex] = sp[SnrIndex].Substring(0,2);
363
-                                GPS_TestSnRValue += Convert.ToInt32(sp[SnrIndex]);
364
-                            }
365
-                            else
366
-                            {
367
-                                if (sp[SnrIndex] == "")
368
-                                    sp[SnrIndex] = "0";
369
-                                GPS_TestSnRValue += Convert.ToInt32(sp[SnrIndex]);
370
-                            }
371
-                            Gps_CurrentCount++;
372
-                            if (Gps_CurrentCount == Gps_Count)
373
-                            {
374
-                                GPS_TestSnRValue /= Gps_Count;
375
-                                dataGridView_Gps.Rows[0].Cells[1].Value = GPS_TestSnRValue.ToString();
376
-                                break;
381
+                                SnrIndex += 4;
382
+                                if (sp[SnrIndex].Contains("*"))
383
+                                {
384
+                                    LastLocation = sp[SnrIndex].IndexOf("*") - 2;
385
+                                    sp[SnrIndex] = sp[SnrIndex].Substring(0, 2);
386
+                                    GPS_TestSnRValue += Convert.ToInt32(sp[SnrIndex]);
387
+                                }
388
+                                else
389
+                                {
390
+                                    if (sp[SnrIndex] == "")
391
+                                    {
392
+                                        sp[SnrIndex] = "0";
393
+                                        Losscount++;
394
+                                    }
395
+                                    GPS_TestSnRValue += Convert.ToInt32(sp[SnrIndex]);
396
+                                }
397
+                                Gps_CurrentCount++;
398
+                                if (Gps_CurrentCount == Gps_Count)
399
+                                {
400
+                                    GPS_TestSnRValue /= (Gps_Count - Losscount);
401
+                                    GPS_TestSnRValue = Math.Round(GPS_TestSnRValue, 1);
402
+                                    dataGridView_Gps.Rows[0].Cells[1].Value = GPS_TestSnRValue.ToString();
403
+                                    break;
404
+                                }
377 405
                             }
406
+
407
+
378 408
                         }
379
-                        
380
-  
409
+
381 410
                     }
411
+                    str = null;
412
+                    for (int a = 0; a < SentenceCount; a++)
413
+                        str += tmpstr[a];
382 414
                     return str;
383 415
                 }
384 416
                 return "";
385 417
             }
386
-            catch (Exception e) { MessageBox.Show(e.StackTrace); }
418
+            catch (Exception e) { /*MessageBox.Show(e.StackTrace); */}
387 419
             return "";
388 420
         }
389 421
         private void label_Port_MouseLeave(object sender, EventArgs e)
@@ -398,7 +430,7 @@ namespace APL_TestCheck
398 430
 
399 431
         private void label_Port_Click(object sender, EventArgs e)
400 432
         {
401
-          //  Boolean ret = false;
433
+            //  Boolean ret = false;
402 434
             try
403 435
             {
404 436
                 if (serialPort.IsOpen) // 이미 포트가 열려 있을 때 
@@ -415,12 +447,12 @@ namespace APL_TestCheck
415 447
                         serialPort.BaudRate = Convert.ToInt32(comboBox_bps.Text);
416 448
                         serialPort.Open();
417 449
                         label_Port.Text = "Port Close";
418
-                     //   Debug.Debug_Main_Form_Get(this.main_form);
450
+                        //   Debug.Debug_Main_Form_Get(this.main_form);
419 451
                     }
420 452
                     else
421 453
                     {
422 454
                         MessageBox.Show("Port is not set");
423
-                      //  ret = true;
455
+                        //  ret = true;
424 456
                     }
425 457
                 }
426 458
             }
@@ -429,16 +461,16 @@ namespace APL_TestCheck
429 461
                 MessageBox.Show("Port Open Faile" + Serial_Name);
430 462
 
431 463
             }
432
-           // return ret;
464
+            // return ret;
433 465
         }
434 466
 
435 467
         public static DialogResult InputBox(string title, string promptText, ref string value)
436 468
         {
437 469
             Form form = new Form();
438
-            Label label = new Label();
439
-            TextBox textBox = new TextBox();
440
-            Button buttonOk = new Button();
441
-            Button buttonCancel = new Button();
470
+            System.Windows.Forms.Label label = new System.Windows.Forms.Label();
471
+            System.Windows.Forms.TextBox textBox = new System.Windows.Forms.TextBox();
472
+            System.Windows.Forms.Button buttonOk = new System.Windows.Forms.Button();
473
+            System.Windows.Forms.Button buttonCancel = new System.Windows.Forms.Button();
442 474
 
443 475
             form.Text = title;
444 476
             label.Text = promptText;
@@ -476,38 +508,38 @@ namespace APL_TestCheck
476 508
 
477 509
         private void dataGridView_Sensor_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
478 510
         {
479
-            string value = "";
511
+          /*  string value = "";
480 512
             if (checkBox_Edit.Checked == false)
481 513
             {
482 514
                 if (InputBox("번호 입력", "일련 번호:", ref value) == DialogResult.OK)
483 515
                 {
484 516
                     Name = value;
485 517
                 }
486
-            }
518
+            }*/
487 519
         }
488 520
 
489 521
         private void dataGridView_Catm1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
490 522
         {
491
-            string value = "";
523
+          /*  string value = "";
492 524
             if (checkBox_Edit.Checked == false)
493 525
             {
494 526
                 if (InputBox("번호 입력", "일련 번호:", ref value) == DialogResult.OK)
495 527
                 {
496 528
                     Name = value;
497 529
                 }
498
-            }
530
+            }*/
499 531
         }
500 532
 
501 533
         private void dataGridView_Gps_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
502 534
         {
503
-            string value = "";
535
+          /*  string value = "";
504 536
             if (checkBox_Edit.Checked == false)
505 537
             {
506 538
                 if (InputBox("번호 입력", "일련 번호:", ref value) == DialogResult.OK)
507 539
                 {
508 540
                     Name = value;
509 541
                 }
510
-            }
542
+            }*/
511 543
         }
512 544
 
513 545
         private void button_Clear_Click(object sender, EventArgs e)
@@ -527,5 +559,225 @@ namespace APL_TestCheck
527 559
             }
528 560
             tbReceived.Text = "";
529 561
         }
562
+        string FileSaveSet = null;
563
+        private void button_GpsTestSave_Click(object sender, EventArgs e)
564
+        {
565
+            string CheckProductionNum = null;
566
+            try
567
+            {
568
+                CheckProductionNum = dataGridView_Gps.Rows[0].Cells[0].Value.ToString();
569
+            }
570
+            catch
571
+            {
572
+
573
+            }
574
+            try
575
+            {
576
+                if (!CheckProductionNum.Contains("BL-VITE00-V"))
577
+                {
578
+                    MessageBox.Show("잘못된 생산 번호 입니다.");
579
+                    return;
580
+                }
581
+            }catch
582
+            {
583
+                MessageBox.Show("생산번호를 적어주세요.");
584
+            }
585
+            string Ref_Xls_File = new System.IO.DirectoryInfo(System.Windows.Forms.Application.StartupPath).ToString();
586
+            string Dst_Xls_File = null;
587
+            Ref_Xls_File = Ref_Xls_File + @"\APL_200221.xls";
588
+            FileInfo SrcfileInfo = new FileInfo(Ref_Xls_File);
589
+            FileInfo DstfileInfo;
590
+            
591
+            if (dataGridView_Gps.Rows[0].Cells[0].Value != null
592
+                && dataGridView_Gps.Rows[0].Cells[1].Value != null)
593
+            {
594
+                if (SrcfileInfo.Exists)
595
+                {
596
+                    if (FileSaveSet == null)
597
+                    {
598
+                        button_Path_Click(null, null);
599
+                        return;
600
+                        //                        MessageBox.Show("레퍼런스 엑셀 파일이 존재하지 않습니다. \r\n강차장님에게 문의 하세요.");
601
+                    }
602
+                    else
603
+                    {
604
+                        // File Copy 후 Data 입력 
605
+                        Dst_Xls_File = FileSaveSet + @"\" + dataGridView_Gps.Rows[0].Cells[0].Value.ToString() + @".xls";
606
+                        DstfileInfo = new FileInfo(Dst_Xls_File);
607
+                        if (DstfileInfo.Exists)
608
+                        {
609
+                            if (MessageBox.Show("이미 파일이 있습니다.\r\n 덮어씌우겠습니까?", "YesOrNo", MessageBoxButtons.YesNo) == DialogResult.Yes)
610
+                            {
611
+                                try
612
+                                {
613
+                                    File.Copy(Ref_Xls_File, Dst_Xls_File, true);
614
+                                }
615
+                                catch (Exception ex)
616
+                                {
617
+                                    MessageBox.Show(ex.StackTrace);
618
+                                    return;
619
+                                }
620
+                            }
621
+                            else
622
+                            {
623
+                                //MessageBox.Show("아니요 클릭");
624
+                                return; // 아니오시 Return;
625
+                            }
626
+                        }
627
+                        else
628
+                        {
629
+                            File.Copy(Ref_Xls_File, Dst_Xls_File);
630
+                        }
631
+                    }
632
+                }
633
+                else
634
+                {
635
+                    MessageBox.Show("레퍼런스 엑셀 파일이 존재하지 않습니다. \r\n강차장님에게 문의 하세요.");
636
+                    return;
637
+                }
638
+            }
639
+            else
640
+            {
641
+                MessageBox.Show("생산번호/GPS SNR 값이 제대로 입력 되지 않았습니다.\r\n확인후 다시 저장하세요.");
642
+                return;
643
+            }
644
+            Gps_DataxlsWrite(Dst_Xls_File);
645
+            dataGridView_Gps.Rows[0].Cells[0].Value = null;
646
+            dataGridView_Gps.Rows[0].Cells[1].Value = null;
647
+
648
+            //   if (!di.Exists) { di.Create(); }
649
+            //string tmppath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
650
+#if false
651
+            if (dataGridView_Gps.Rows[0].Cells[1].Value != null)
652
+            {
653
+                string path = @"xxxx.txt";
654
+                FileInfo file = new FileInfo(path);
655
+                if (file.Exists)
656
+                { //파일이 있는지
657
+                  //복사(경로,덮어쓰기 옵션 기본값 false)
658
+                  //만약 덮어쓰기 false일 때 파일이 존재하면 에러남.
659
+                    file.CopyTo(@"xxx2.txt", true);
660
+                }
661
+            }
662
+#endif
663
+        }
664
+
665
+
666
+        Excel.Application ExcelApp = null;
667
+        Excel.Workbook wb = null;
668
+        Excel.Worksheet ws = null;
669
+
670
+        private void Gps_DataxlsWrite(string dst)
671
+        {
672
+            //Write
673
+
674
+            //파일이 존재 한다면..삭제 하고..
675
+            /*if (File.Exists("C:\\Test.xls"))
676
+            {
677
+                File.Delete("C:\\Test.xls");
678
+            }*/
679
+            try
680
+            {
681
+                ExcelApp = new Excel.Application();
682
+                wb = ExcelApp.Workbooks.Open(dst, 0, false, 5, Missing.Value, Missing.Value, false, Missing.Value,
683
+                   Missing.Value, true, false, Missing.Value, false, false, false);
684
+                ws = wb.Worksheets["Sheet1"] as Excel.Worksheet;
685
+
686
+                //엑셀 시트 인덱스 번호는 0,0 부터 시작 하는 것이 아니라 1,1 A1 부터 시작 함. 0,0 으로 시작하면 오류...
687
+                //시트에 값 쓰기...
688
+                ws.Cells[8, 8] = dataGridView_Gps.Rows[0].Cells[0].Value;
689
+                ws.Cells[8, 10] = dataGridView_Gps.Rows[0].Cells[1].Value;
690
+                                           /*ws.Cells[1, 3] = "123";
691
+                                           ws.Cells[1, 4] = "1234";
692
+                                           ws.Cells[2, 1] = "Test1"; //A2
693
+                                           ws.Cells[3, 1] = "Test12"; //A3
694
+                                           ws.Cells[4, 1] = "Test123"; //A4*/
695
+
696
+                
697
+                //다른 이름으로 저장하기...
698
+                wb.Save(); // => 오픈한 파일 그대로 저장...
699
+               /* wb.SaveAs("C:\\Test.xls",
700
+                          Excel.XlFileFormat.xlWorkbookNormal,
701
+                          Type.Missing,
702
+                          Type.Missing,
703
+                          Type.Missing,
704
+                          Type.Missing,
705
+                          Excel.XlSaveAsAccessMode.xlNoChange,
706
+                          Type.Missing,
707
+                          Type.Missing,
708
+                          Type.Missing,
709
+                          Type.Missing,
710
+                          Type.Missing);
711
+                          */
712
+                //파일 닫기... 
713
+                wb.Close(false, Type.Missing, Type.Missing);
714
+                wb = null;
715
+                ExcelApp.Quit();
716
+            }
717
+            catch (Exception ex)
718
+            {
719
+                //객체들 메모리 해제
720
+                ReleaseExcelObject(ws);
721
+                ReleaseExcelObject(wb);
722
+                ReleaseExcelObject(ExcelApp);
723
+                GC.Collect();
724
+            }
725
+            finally
726
+            {
727
+                //객체들 메모리 해제
728
+                ReleaseExcelObject(ws);
729
+                ReleaseExcelObject(wb);
730
+                ReleaseExcelObject(ExcelApp);
731
+                GC.Collect();
732
+            }
733
+        }
734
+        private void ReleaseExcelObject(object obj)
735
+        {
736
+            try
737
+            {
738
+                if (obj != null)
739
+                {
740
+                    Marshal.ReleaseComObject(obj);
741
+                    obj = null;
742
+                }
743
+            }
744
+            catch (Exception ex)
745
+            {
746
+                obj = null;
747
+                throw ex;
748
+            }
749
+            finally
750
+            {
751
+                GC.Collect();
752
+            }
753
+        }
754
+
755
+        // CommonOpenFileDialog 클래스 생성 
756
+        CommonOpenFileDialog dialog = new CommonOpenFileDialog();
757
+        private void button_Path_Click(object sender, EventArgs e)
758
+        {
759
+            // 처음 보여줄 폴더 설정(안해도 됨) 
760
+            //dialog.InitialDirectory = "";
761
+            dialog.IsFolderPicker = true;
762
+            if (dialog.ShowDialog() == CommonFileDialogResult.Ok)
763
+            {
764
+                FileSaveSet = dialog.FileName; 
765
+                //  label.Text = dialog.FileName; 
766
+                // 테스트용, 폴더 선택이 완료되면 선택된 폴더를 label에 출력 
767
+            }
768
+        }
769
+
770
+        private void dataGridView_Gps_KeyDown(object sender, KeyEventArgs e)
771
+        {
772
+            if (e.KeyCode == Keys.Enter)
773
+            {
774
+                button_GpsTestSave_Click(null,null);
775
+                //to do
776
+            }
777
+            else
778
+            {
779
+                return;
780
+            }
781
+        }
530 782
     }
531 783
 }

+ 45 - 3
Main.resx

@@ -126,6 +126,12 @@
126 126
   <metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
127 127
     <value>True</value>
128 128
   </metadata>
129
+  <metadata name="Gps_SerialNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
130
+    <value>True</value>
131
+  </metadata>
132
+  <metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
133
+    <value>True</value>
134
+  </metadata>
129 135
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
130 136
   <data name="pictureBox_Check2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
131 137
     <value>
@@ -230,15 +236,15 @@
230 236
   <metadata name="ProductNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
231 237
     <value>True</value>
232 238
   </metadata>
233
-  <metadata name="Version.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
234
-    <value>True</value>
235
-  </metadata>
236 239
   <metadata name="IMEI.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
237 240
     <value>True</value>
238 241
   </metadata>
239 242
   <metadata name="USIM.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
240 243
     <value>True</value>
241 244
   </metadata>
245
+  <metadata name="Version.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
246
+    <value>True</value>
247
+  </metadata>
242 248
   <metadata name="BatteryVoltage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
243 249
     <value>True</value>
244 250
   </metadata>
@@ -260,6 +266,42 @@
260 266
   <metadata name="RSRP.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
261 267
     <value>True</value>
262 268
   </metadata>
269
+  <metadata name="Catm1_SerialNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
270
+    <value>True</value>
271
+  </metadata>
272
+  <metadata name="Modem_Ver.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
273
+    <value>True</value>
274
+  </metadata>
275
+  <metadata name="RSRP.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
276
+    <value>True</value>
277
+  </metadata>
278
+  <metadata name="folderBrowserDialog_Mainpath.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
279
+    <value>106, 17</value>
280
+  </metadata>
281
+  <metadata name="ProductNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
282
+    <value>True</value>
283
+  </metadata>
284
+  <metadata name="IMEI.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
285
+    <value>True</value>
286
+  </metadata>
287
+  <metadata name="USIM.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
288
+    <value>True</value>
289
+  </metadata>
290
+  <metadata name="Version.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
291
+    <value>True</value>
292
+  </metadata>
293
+  <metadata name="BatteryVoltage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
294
+    <value>True</value>
295
+  </metadata>
296
+  <metadata name="SystemVoltage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
297
+    <value>True</value>
298
+  </metadata>
299
+  <metadata name="Temp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
300
+    <value>True</value>
301
+  </metadata>
302
+  <metadata name="BMA.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
303
+    <value>True</value>
304
+  </metadata>
263 305
   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
264 306
     <value>
265 307
         AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAMMOAADDDgAAAAAAAAAA

BIN
bin/Debug/APL_200221.xls


BIN
bin/Debug/APL_TestCheck (2).zip


BIN
bin/Debug/APL_TestCheck.exe


BIN
bin/Debug/APL_TestCheck.pdb


BIN
bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll


Dosya farkı çok büyük olduğundan ihmal edildi
+ 25496 - 0
bin/Debug/Microsoft.WindowsAPICodePack.Shell.xml


BIN
bin/Debug/Microsoft.WindowsAPICodePack.dll


Dosya farkı çok büyük olduğundan ihmal edildi
+ 2934 - 0
bin/Debug/Microsoft.WindowsAPICodePack.xml


+ 0 - 0
obj/Debug/APL_TestCheck.csproj.CopyComplete


+ 1 - 1
obj/Debug/APL_TestCheck.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
1
-717d91779892010687fdb0640d02352b51f77537
1
+57ce2f4868139773fb6eb00ba911cc9ffa2653d8

+ 5 - 0
obj/Debug/APL_TestCheck.csproj.FileListAbsolute.txt

@@ -9,3 +9,8 @@ D:\C#\APL_TestCheck\APL_TestCheck\obj\Debug\APL_TestCheck.exe
9 9
 D:\C#\APL_TestCheck\APL_TestCheck\obj\Debug\APL_TestCheck.pdb
10 10
 D:\C#\APL_TestCheck\APL_TestCheck\obj\Debug\APL_TestCheck.csproj.ResolveComReference.cache
11 11
 D:\C#\APL_TestCheck\APL_TestCheck\obj\Debug\APL_TestCheck.Main.resources
12
+D:\C#\APL_TestCheck\APL_TestCheck\bin\Debug\Microsoft.WindowsAPICodePack.dll
13
+D:\C#\APL_TestCheck\APL_TestCheck\bin\Debug\Microsoft.WindowsAPICodePack.Shell.dll
14
+D:\C#\APL_TestCheck\APL_TestCheck\bin\Debug\Microsoft.WindowsAPICodePack.xml
15
+D:\C#\APL_TestCheck\APL_TestCheck\bin\Debug\Microsoft.WindowsAPICodePack.Shell.xml
16
+D:\C#\APL_TestCheck\APL_TestCheck\obj\Debug\APL_TestCheck.csproj.CopyComplete

BIN
obj/Debug/APL_TestCheck.csproj.GenerateResource.cache


BIN
obj/Debug/APL_TestCheck.csprojAssemblyReference.cache


BIN
obj/Debug/APL_TestCheck.exe


BIN
obj/Debug/APL_TestCheck.pdb


BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


+ 5 - 0
packages.config

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<packages>
3
+  <package id="WindowsAPICodePack-Core" version="1.1.1" targetFramework="net472" />
4
+  <package id="WindowsAPICodePack-Shell" version="1.1.1" targetFramework="net472" />
5
+</packages>