diff --git a/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs b/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs index c6ced90..5cb2e0a 100644 --- a/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs +++ b/cVMS.NET_CS/RunCode/Step/_STEP_RUN.cs @@ -55,11 +55,17 @@ namespace vmsnet //데이터를 요청하고 처리하는 코드 필요 RUN_GETDATA(); + /* 데이터형식 : PUB.Values[mc, unit, ch-1] + * 전해조A [CH2] : PUB.Values[0, 0, 2-1] : 3002 + * [CH2] 실제값 : 3.002 + */ + //인디케이터 디스플레이 if (PUB.indicator.IsOpen) { + var _ampdecpos = 3; PUB.KA1_SUM = 0f; - foreach(var item in PUB.KA1_IndexList) + foreach (var item in PUB.KA1_IndexList) { var buff = item.Split(new char[] { ',' }); int di1 = int.Parse(buff[0]); @@ -68,13 +74,9 @@ namespace vmsnet try { - var _ampdecpos = 3; PUB.KA1_SUM += (float)(PUB.Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos))); } - catch - { - - } + catch { } } PUB.KA2_SUM = 0f; @@ -87,15 +89,14 @@ namespace vmsnet try { - var _ampdecpos = 3; PUB.KA2_SUM += (float)(PUB.Values[di1, di2, di3 - 1] / (Math.Pow(10, _ampdecpos))); } - catch - { - - } + catch { } } - var SUMKA = PUB.KA1_SUM + PUB.KA2_SUM; + + // '100.00(실제값) × 100 = 10,000' 식처럼 100 배 만든다. + var SUMKA = (PUB.KA1_SUM + PUB.KA2_SUM) * 100; + // '10,000'을 전송한 후 Indicator 에서 왼쪽으로 소수점을 '2' 칸 이동시켜서 Display 하는 작업이 필요 PUB.indicator.SetKA((Int32)SUMKA); } return StepResult.Wait; diff --git a/cVMS.NET_CS/Setting/Frm_Config.Designer.cs b/cVMS.NET_CS/Setting/Frm_Config.Designer.cs index efa7f39..3197b5b 100644 --- a/cVMS.NET_CS/Setting/Frm_Config.Designer.cs +++ b/cVMS.NET_CS/Setting/Frm_Config.Designer.cs @@ -341,8 +341,8 @@ namespace vmsnet this.bt_save}); this.ToolStrip1.Location = new System.Drawing.Point(0, 0); this.ToolStrip1.Name = "ToolStrip1"; - this.ToolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); - this.ToolStrip1.Size = new System.Drawing.Size(1517, 34); + this.ToolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); + this.ToolStrip1.Size = new System.Drawing.Size(1214, 31); this.ToolStrip1.TabIndex = 0; this.ToolStrip1.Text = "ToolStrip1"; this.ToolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ToolStrip1_ItemClicked); @@ -352,7 +352,7 @@ namespace vmsnet this.bt_save.Image = ((System.Drawing.Image)(resources.GetObject("bt_save.Image"))); this.bt_save.ImageTransparentColor = System.Drawing.Color.Magenta; this.bt_save.Name = "bt_save"; - this.bt_save.Size = new System.Drawing.Size(76, 29); + this.bt_save.Size = new System.Drawing.Size(67, 28); this.bt_save.Text = "저장"; this.bt_save.Click += new System.EventHandler(this.ToolStripButton1_Click); // @@ -363,28 +363,28 @@ namespace vmsnet this.prb, this.toolStripStatusLabel1, this.lbMsg}); - this.StatusStrip1.Location = new System.Drawing.Point(0, 961); + this.StatusStrip1.Location = new System.Drawing.Point(0, 800); this.StatusStrip1.Name = "StatusStrip1"; - this.StatusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 20, 0); - this.StatusStrip1.Size = new System.Drawing.Size(1517, 32); + this.StatusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); + this.StatusStrip1.Size = new System.Drawing.Size(1214, 28); this.StatusStrip1.TabIndex = 1; this.StatusStrip1.Text = "StatusStrip1"; // // prb // this.prb.Name = "prb"; - this.prb.Size = new System.Drawing.Size(143, 24); + this.prb.Size = new System.Drawing.Size(114, 20); // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; - this.toolStripStatusLabel1.Size = new System.Drawing.Size(22, 25); + this.toolStripStatusLabel1.Size = new System.Drawing.Size(19, 22); this.toolStripStatusLabel1.Text = "{}"; // // lbMsg // this.lbMsg.Name = "lbMsg"; - this.lbMsg.Size = new System.Drawing.Size(22, 25); + this.lbMsg.Size = new System.Drawing.Size(19, 22); this.lbMsg.Text = "{}"; // // TabControl1 @@ -395,11 +395,10 @@ namespace vmsnet this.TabControl1.Controls.Add(this.TabPage4); this.TabControl1.Controls.Add(this.TabPage3); this.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.TabControl1.Location = new System.Drawing.Point(0, 34); - this.TabControl1.Margin = new System.Windows.Forms.Padding(4); + this.TabControl1.Location = new System.Drawing.Point(0, 31); this.TabControl1.Name = "TabControl1"; this.TabControl1.SelectedIndex = 0; - this.TabControl1.Size = new System.Drawing.Size(1517, 927); + this.TabControl1.Size = new System.Drawing.Size(1214, 769); this.TabControl1.TabIndex = 2; // // TabPage1 @@ -413,41 +412,37 @@ namespace vmsnet this.TabPage1.Controls.Add(this.tb_sangho); this.TabPage1.Controls.Add(this.Label3); this.TabPage1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.TabPage1.Location = new System.Drawing.Point(4, 28); - this.TabPage1.Margin = new System.Windows.Forms.Padding(4); + this.TabPage1.Location = new System.Drawing.Point(4, 25); this.TabPage1.Name = "TabPage1"; - this.TabPage1.Padding = new System.Windows.Forms.Padding(4); - this.TabPage1.Size = new System.Drawing.Size(1509, 895); + this.TabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.TabPage1.Size = new System.Drawing.Size(1206, 740); this.TabPage1.TabIndex = 0; this.TabPage1.Text = "일반설정"; this.TabPage1.UseVisualStyleBackColor = true; // // tb_viewsize // - this.tb_viewsize.Location = new System.Drawing.Point(217, 78); - this.tb_viewsize.Margin = new System.Windows.Forms.Padding(4); + this.tb_viewsize.Location = new System.Drawing.Point(174, 65); this.tb_viewsize.Name = "tb_viewsize"; - this.tb_viewsize.Size = new System.Drawing.Size(295, 39); + this.tb_viewsize.Size = new System.Drawing.Size(237, 34); this.tb_viewsize.TabIndex = 26; this.tb_viewsize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // Label12 // this.Label12.AutoSize = true; - this.Label12.Location = new System.Drawing.Point(44, 84); - this.Label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label12.Location = new System.Drawing.Point(35, 70); this.Label12.Name = "Label12"; - this.Label12.Size = new System.Drawing.Size(166, 32); + this.Label12.Size = new System.Drawing.Size(139, 28); this.Label12.TabIndex = 25; this.Label12.Text = "개별화면 크기"; // // chk_sound // this.chk_sound.AutoSize = true; - this.chk_sound.Location = new System.Drawing.Point(217, 130); - this.chk_sound.Margin = new System.Windows.Forms.Padding(4); + this.chk_sound.Location = new System.Drawing.Point(174, 108); this.chk_sound.Name = "chk_sound"; - this.chk_sound.Size = new System.Drawing.Size(373, 36); + this.chk_sound.Size = new System.Drawing.Size(312, 32); this.chk_sound.TabIndex = 22; this.chk_sound.Text = "알람발생시 소리를 발생합니다."; this.chk_sound.UseVisualStyleBackColor = true; @@ -483,11 +478,9 @@ namespace vmsnet this.GroupBox1.Controls.Add(this.chk_savebinary); this.GroupBox1.Controls.Add(this.Label1); this.GroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.GroupBox1.Location = new System.Drawing.Point(4, 270); - this.GroupBox1.Margin = new System.Windows.Forms.Padding(4); + this.GroupBox1.Location = new System.Drawing.Point(3, 219); this.GroupBox1.Name = "GroupBox1"; - this.GroupBox1.Padding = new System.Windows.Forms.Padding(4); - this.GroupBox1.Size = new System.Drawing.Size(1501, 621); + this.GroupBox1.Size = new System.Drawing.Size(1200, 518); this.GroupBox1.TabIndex = 9; this.GroupBox1.TabStop = false; this.GroupBox1.Text = "고급설정(이 곳의 데이터는 수정하지 마세요)"; @@ -502,18 +495,21 @@ namespace vmsnet this.groupBox4.Controls.Add(this.nudSlaveNo); this.groupBox4.Controls.Add(this.label22); this.groupBox4.Controls.Add(this.label23); - this.groupBox4.Location = new System.Drawing.Point(724, 32); + this.groupBox4.Location = new System.Drawing.Point(578, 27); + this.groupBox4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(347, 218); + this.groupBox4.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.groupBox4.Size = new System.Drawing.Size(278, 182); this.groupBox4.TabIndex = 45; this.groupBox4.TabStop = false; this.groupBox4.Text = "KA Indicator"; // // button5 // - this.button5.Location = new System.Drawing.Point(111, 146); + this.button5.Location = new System.Drawing.Point(89, 122); + this.button5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(86, 54); + this.button5.Size = new System.Drawing.Size(69, 45); this.button5.TabIndex = 46; this.button5.Text = "끊기"; this.button5.UseVisualStyleBackColor = true; @@ -521,9 +517,10 @@ namespace vmsnet // // button4 // - this.button4.Location = new System.Drawing.Point(20, 146); + this.button4.Location = new System.Drawing.Point(16, 122); + this.button4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(86, 54); + this.button4.Size = new System.Drawing.Size(69, 45); this.button4.TabIndex = 45; this.button4.Text = "연결"; this.button4.UseVisualStyleBackColor = true; @@ -531,33 +528,35 @@ namespace vmsnet // // button3 // - this.button3.Location = new System.Drawing.Point(207, 146); + this.button3.Font = new System.Drawing.Font("맑은 고딕", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.button3.Location = new System.Drawing.Point(166, 122); + this.button3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(120, 54); + this.button3.Size = new System.Drawing.Size(96, 45); this.button3.TabIndex = 45; - this.button3.Text = "테스트"; + this.button3.Text = "100 전송"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // cmbIndiport // this.cmbIndiport.FormattingEnabled = true; - this.cmbIndiport.Location = new System.Drawing.Point(179, 42); + this.cmbIndiport.Location = new System.Drawing.Point(143, 35); + this.cmbIndiport.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.cmbIndiport.Name = "cmbIndiport"; - this.cmbIndiport.Size = new System.Drawing.Size(147, 40); + this.cmbIndiport.Size = new System.Drawing.Size(118, 36); this.cmbIndiport.TabIndex = 44; // // nudSlaveNo // - this.nudSlaveNo.Location = new System.Drawing.Point(179, 94); - this.nudSlaveNo.Margin = new System.Windows.Forms.Padding(4); + this.nudSlaveNo.Location = new System.Drawing.Point(143, 78); this.nudSlaveNo.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.nudSlaveNo.Name = "nudSlaveNo"; - this.nudSlaveNo.Size = new System.Drawing.Size(147, 39); + this.nudSlaveNo.Size = new System.Drawing.Size(118, 34); this.nudSlaveNo.TabIndex = 40; this.nudSlaveNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudSlaveNo.Value = new decimal(new int[] { @@ -569,70 +568,71 @@ namespace vmsnet // label22 // this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(34, 48); - this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label22.Location = new System.Drawing.Point(27, 40); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(137, 32); + this.label22.Size = new System.Drawing.Size(117, 28); this.label22.TabIndex = 39; this.label22.Text = "Comm Port"; // // label23 // this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(41, 100); - this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label23.Location = new System.Drawing.Point(33, 83); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(110, 32); + this.label23.Size = new System.Drawing.Size(93, 28); this.label23.TabIndex = 39; this.label23.Text = "Slave No"; // // label21 // - this.label21.Location = new System.Drawing.Point(346, 435); + this.label21.Location = new System.Drawing.Point(277, 362); + this.label21.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(39, 39); + this.label21.Size = new System.Drawing.Size(31, 32); this.label21.TabIndex = 64; this.label21.Text = "~"; this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label19 // - this.label19.Location = new System.Drawing.Point(346, 328); + this.label19.Location = new System.Drawing.Point(277, 273); + this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(39, 39); + this.label19.Size = new System.Drawing.Size(31, 32); this.label19.TabIndex = 64; this.label19.Text = "~"; this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label20 // - this.label20.Location = new System.Drawing.Point(346, 381); + this.label20.Location = new System.Drawing.Point(277, 318); + this.label20.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(39, 39); + this.label20.Size = new System.Drawing.Size(31, 32); this.label20.TabIndex = 64; this.label20.Text = "~"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label18 // - this.label18.Location = new System.Drawing.Point(346, 274); + this.label18.Location = new System.Drawing.Point(277, 228); + this.label18.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(39, 39); + this.label18.Size = new System.Drawing.Size(31, 32); this.label18.TabIndex = 64; this.label18.Text = "~"; this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // nudLimit // - this.nudLimit.Location = new System.Drawing.Point(224, 54); - this.nudLimit.Margin = new System.Windows.Forms.Padding(4); + this.nudLimit.Location = new System.Drawing.Point(179, 45); this.nudLimit.Maximum = new decimal(new int[] { 999999, 0, 0, 0}); this.nudLimit.Name = "nudLimit"; - this.nudLimit.Size = new System.Drawing.Size(180, 39); + this.nudLimit.Size = new System.Drawing.Size(144, 34); this.nudLimit.TabIndex = 63; this.nudLimit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -652,11 +652,9 @@ namespace vmsnet this.groupBox3.Controls.Add(this.Label14); this.groupBox3.Controls.Add(this.nudMaxCH); this.groupBox3.Controls.Add(this.Label10); - this.groupBox3.Location = new System.Drawing.Point(724, 272); - this.groupBox3.Margin = new System.Windows.Forms.Padding(4); + this.groupBox3.Location = new System.Drawing.Point(578, 227); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Padding = new System.Windows.Forms.Padding(4); - this.groupBox3.Size = new System.Drawing.Size(754, 264); + this.groupBox3.Size = new System.Drawing.Size(603, 220); this.groupBox3.TabIndex = 62; this.groupBox3.TabStop = false; this.groupBox3.Text = "Data Save"; @@ -665,20 +663,18 @@ namespace vmsnet // this.label9.AutoSize = true; this.label9.ForeColor = System.Drawing.Color.Gray; - this.label9.Location = new System.Drawing.Point(31, 216); - this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label9.Location = new System.Drawing.Point(25, 180); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(614, 32); + this.label9.Size = new System.Drawing.Size(514, 28); this.label9.TabIndex = 64; this.label9.Text = "저장폴더값이 비어 있다면 현재 폴더로 자동 인식됩니다"; // // linkLabel1 // this.linkLabel1.AutoSize = true; - this.linkLabel1.Location = new System.Drawing.Point(73, 50); - this.linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.linkLabel1.Location = new System.Drawing.Point(58, 42); this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(110, 32); + this.linkLabel1.Size = new System.Drawing.Size(92, 28); this.linkLabel1.TabIndex = 63; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "저장폴더"; @@ -686,20 +682,18 @@ namespace vmsnet // // tb_savepath // - this.tb_savepath.Location = new System.Drawing.Point(187, 42); - this.tb_savepath.Margin = new System.Windows.Forms.Padding(4); + this.tb_savepath.Location = new System.Drawing.Point(150, 35); this.tb_savepath.Name = "tb_savepath"; - this.tb_savepath.Size = new System.Drawing.Size(525, 39); + this.tb_savepath.Size = new System.Drawing.Size(421, 34); this.tb_savepath.TabIndex = 14; this.tb_savepath.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // tb_trashper // this.tb_trashper.ForeColor = System.Drawing.Color.Red; - this.tb_trashper.Location = new System.Drawing.Point(187, 98); - this.tb_trashper.Margin = new System.Windows.Forms.Padding(4); + this.tb_trashper.Location = new System.Drawing.Point(150, 82); this.tb_trashper.Name = "tb_trashper"; - this.tb_trashper.Size = new System.Drawing.Size(55, 39); + this.tb_trashper.Size = new System.Drawing.Size(45, 34); this.tb_trashper.TabIndex = 17; this.tb_trashper.Text = "0"; this.tb_trashper.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -707,30 +701,27 @@ namespace vmsnet // Label5 // this.Label5.AutoSize = true; - this.Label5.Location = new System.Drawing.Point(57, 104); - this.Label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label5.Location = new System.Drawing.Point(46, 87); this.Label5.Name = "Label5"; - this.Label5.Size = new System.Drawing.Size(134, 32); + this.Label5.Size = new System.Drawing.Size(112, 28); this.Label5.TabIndex = 16; this.Label5.Text = "디스크정리"; // // Label6 // this.Label6.AutoSize = true; - this.Label6.Location = new System.Drawing.Point(257, 104); - this.Label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label6.Location = new System.Drawing.Point(206, 87); this.Label6.Name = "Label6"; - this.Label6.Size = new System.Drawing.Size(34, 32); + this.Label6.Size = new System.Drawing.Size(29, 28); this.Label6.TabIndex = 16; this.Label6.Text = "%"; // // tb_saveterm // this.tb_saveterm.ForeColor = System.Drawing.Color.Red; - this.tb_saveterm.Location = new System.Drawing.Point(187, 153); - this.tb_saveterm.Margin = new System.Windows.Forms.Padding(4); + this.tb_saveterm.Location = new System.Drawing.Point(150, 128); this.tb_saveterm.Name = "tb_saveterm"; - this.tb_saveterm.Size = new System.Drawing.Size(55, 39); + this.tb_saveterm.Size = new System.Drawing.Size(45, 34); this.tb_saveterm.TabIndex = 20; this.tb_saveterm.Text = "0"; this.tb_saveterm.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -738,30 +729,27 @@ namespace vmsnet // Label8 // this.Label8.AutoSize = true; - this.Label8.Location = new System.Drawing.Point(11, 159); - this.Label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label8.Location = new System.Drawing.Point(9, 132); this.Label8.Name = "Label8"; - this.Label8.Size = new System.Drawing.Size(182, 32); + this.Label8.Size = new System.Drawing.Size(152, 28); this.Label8.TabIndex = 18; this.Label8.Text = "데이터저장주기"; // // Label7 // this.Label7.AutoSize = true; - this.Label7.Location = new System.Drawing.Point(257, 160); - this.Label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label7.Location = new System.Drawing.Point(206, 133); this.Label7.Name = "Label7"; - this.Label7.Size = new System.Drawing.Size(38, 32); + this.Label7.Size = new System.Drawing.Size(32, 28); this.Label7.TabIndex = 19; this.Label7.Text = "초"; // // tb_div // this.tb_div.ForeColor = System.Drawing.Color.Red; - this.tb_div.Location = new System.Drawing.Point(633, 99); - this.tb_div.Margin = new System.Windows.Forms.Padding(4); + this.tb_div.Location = new System.Drawing.Point(506, 82); this.tb_div.Name = "tb_div"; - this.tb_div.Size = new System.Drawing.Size(80, 39); + this.tb_div.Size = new System.Drawing.Size(65, 34); this.tb_div.TabIndex = 32; this.tb_div.Text = "1"; this.tb_div.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -769,140 +757,129 @@ namespace vmsnet // Label14 // this.Label14.AutoSize = true; - this.Label14.Location = new System.Drawing.Point(519, 105); - this.Label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label14.Location = new System.Drawing.Point(415, 88); this.Label14.Name = "Label14"; - this.Label14.Size = new System.Drawing.Size(106, 32); + this.Label14.Size = new System.Drawing.Size(89, 28); this.Label14.TabIndex = 30; this.Label14.Text = "Data Div"; // // nudMaxCH // - this.nudMaxCH.Location = new System.Drawing.Point(633, 153); - this.nudMaxCH.Margin = new System.Windows.Forms.Padding(4); + this.nudMaxCH.Location = new System.Drawing.Point(506, 128); this.nudMaxCH.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nudMaxCH.Name = "nudMaxCH"; - this.nudMaxCH.Size = new System.Drawing.Size(81, 39); + this.nudMaxCH.Size = new System.Drawing.Size(65, 34); this.nudMaxCH.TabIndex = 46; this.nudMaxCH.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // Label10 // this.Label10.AutoSize = true; - this.Label10.Location = new System.Drawing.Point(453, 158); - this.Label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label10.Location = new System.Drawing.Point(362, 132); this.Label10.Name = "Label10"; - this.Label10.Size = new System.Drawing.Size(175, 32); + this.Label10.Size = new System.Drawing.Size(150, 28); this.Label10.TabIndex = 30; this.Label10.Text = "Channel Count"; // // nud4thp2 // - this.nud4thp2.Location = new System.Drawing.Point(391, 432); - this.nud4thp2.Margin = new System.Windows.Forms.Padding(4); + this.nud4thp2.Location = new System.Drawing.Point(313, 360); this.nud4thp2.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nud4thp2.Name = "nud4thp2"; - this.nud4thp2.Size = new System.Drawing.Size(119, 39); + this.nud4thp2.Size = new System.Drawing.Size(95, 34); this.nud4thp2.TabIndex = 61; this.nud4thp2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nud4thp1 // - this.nud4thp1.Location = new System.Drawing.Point(224, 432); - this.nud4thp1.Margin = new System.Windows.Forms.Padding(4); + this.nud4thp1.Location = new System.Drawing.Point(179, 360); this.nud4thp1.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nud4thp1.Name = "nud4thp1"; - this.nud4thp1.Size = new System.Drawing.Size(119, 39); + this.nud4thp1.Size = new System.Drawing.Size(95, 34); this.nud4thp1.TabIndex = 60; this.nud4thp1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // chk_4thData // this.chk_4thData.AutoSize = true; - this.chk_4thData.Location = new System.Drawing.Point(27, 434); - this.chk_4thData.Margin = new System.Windows.Forms.Padding(4); + this.chk_4thData.Location = new System.Drawing.Point(22, 362); this.chk_4thData.Name = "chk_4thData"; - this.chk_4thData.Size = new System.Drawing.Size(178, 36); + this.chk_4thData.Size = new System.Drawing.Size(151, 32); this.chk_4thData.TabIndex = 59; this.chk_4thData.Text = "Get 4th Data"; this.chk_4thData.UseVisualStyleBackColor = true; // // nud3rdp2 // - this.nud3rdp2.Location = new System.Drawing.Point(391, 380); - this.nud3rdp2.Margin = new System.Windows.Forms.Padding(4); + this.nud3rdp2.Location = new System.Drawing.Point(313, 317); this.nud3rdp2.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nud3rdp2.Name = "nud3rdp2"; - this.nud3rdp2.Size = new System.Drawing.Size(119, 39); + this.nud3rdp2.Size = new System.Drawing.Size(95, 34); this.nud3rdp2.TabIndex = 58; this.nud3rdp2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nud3rdp1 // - this.nud3rdp1.Location = new System.Drawing.Point(224, 380); - this.nud3rdp1.Margin = new System.Windows.Forms.Padding(4); + this.nud3rdp1.Location = new System.Drawing.Point(179, 317); this.nud3rdp1.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nud3rdp1.Name = "nud3rdp1"; - this.nud3rdp1.Size = new System.Drawing.Size(119, 39); + this.nud3rdp1.Size = new System.Drawing.Size(95, 34); this.nud3rdp1.TabIndex = 57; this.nud3rdp1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // chk_3rdData // this.chk_3rdData.AutoSize = true; - this.chk_3rdData.Location = new System.Drawing.Point(27, 381); - this.chk_3rdData.Margin = new System.Windows.Forms.Padding(4); + this.chk_3rdData.Location = new System.Drawing.Point(22, 318); this.chk_3rdData.Name = "chk_3rdData"; - this.chk_3rdData.Size = new System.Drawing.Size(178, 36); + this.chk_3rdData.Size = new System.Drawing.Size(151, 32); this.chk_3rdData.TabIndex = 56; this.chk_3rdData.Text = "Get 3rd Data"; this.chk_3rdData.UseVisualStyleBackColor = true; // // nudPri2 // - this.nudPri2.Location = new System.Drawing.Point(391, 274); - this.nudPri2.Margin = new System.Windows.Forms.Padding(4); + this.nudPri2.Location = new System.Drawing.Point(313, 228); this.nudPri2.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nudPri2.Name = "nudPri2"; - this.nudPri2.Size = new System.Drawing.Size(119, 39); + this.nudPri2.Size = new System.Drawing.Size(95, 34); this.nudPri2.TabIndex = 55; this.nudPri2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nudPri1 // - this.nudPri1.Location = new System.Drawing.Point(224, 274); - this.nudPri1.Margin = new System.Windows.Forms.Padding(4); + this.nudPri1.Location = new System.Drawing.Point(179, 228); this.nudPri1.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nudPri1.Name = "nudPri1"; - this.nudPri1.Size = new System.Drawing.Size(119, 39); + this.nudPri1.Size = new System.Drawing.Size(95, 34); this.nudPri1.TabIndex = 54; this.nudPri1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -912,49 +889,45 @@ namespace vmsnet this.chk_1stData.Checked = true; this.chk_1stData.CheckState = System.Windows.Forms.CheckState.Checked; this.chk_1stData.Enabled = false; - this.chk_1stData.Location = new System.Drawing.Point(27, 278); - this.chk_1stData.Margin = new System.Windows.Forms.Padding(4); + this.chk_1stData.Location = new System.Drawing.Point(22, 232); this.chk_1stData.Name = "chk_1stData"; - this.chk_1stData.Size = new System.Drawing.Size(174, 36); + this.chk_1stData.Size = new System.Drawing.Size(148, 32); this.chk_1stData.TabIndex = 53; this.chk_1stData.Text = "Get 1st Data"; this.chk_1stData.UseVisualStyleBackColor = true; // // nudSec2 // - this.nudSec2.Location = new System.Drawing.Point(391, 327); - this.nudSec2.Margin = new System.Windows.Forms.Padding(4); + this.nudSec2.Location = new System.Drawing.Point(313, 272); this.nudSec2.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nudSec2.Name = "nudSec2"; - this.nudSec2.Size = new System.Drawing.Size(119, 39); + this.nudSec2.Size = new System.Drawing.Size(95, 34); this.nudSec2.TabIndex = 51; this.nudSec2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nudSec1 // - this.nudSec1.Location = new System.Drawing.Point(224, 327); - this.nudSec1.Margin = new System.Windows.Forms.Padding(4); + this.nudSec1.Location = new System.Drawing.Point(179, 272); this.nudSec1.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.nudSec1.Name = "nudSec1"; - this.nudSec1.Size = new System.Drawing.Size(119, 39); + this.nudSec1.Size = new System.Drawing.Size(95, 34); this.nudSec1.TabIndex = 52; this.nudSec1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // chk_2nddata // this.chk_2nddata.AutoSize = true; - this.chk_2nddata.Location = new System.Drawing.Point(27, 328); - this.chk_2nddata.Margin = new System.Windows.Forms.Padding(4); + this.chk_2nddata.Location = new System.Drawing.Point(22, 273); this.chk_2nddata.Name = "chk_2nddata"; - this.chk_2nddata.Size = new System.Drawing.Size(184, 36); + this.chk_2nddata.Size = new System.Drawing.Size(156, 32); this.chk_2nddata.TabIndex = 50; this.chk_2nddata.Text = "Get 2nd Data"; this.chk_2nddata.UseVisualStyleBackColor = true; @@ -962,10 +935,9 @@ namespace vmsnet // chkEnableKA // this.chkEnableKA.AutoSize = true; - this.chkEnableKA.Location = new System.Drawing.Point(346, 213); - this.chkEnableKA.Margin = new System.Windows.Forms.Padding(4); + this.chkEnableKA.Location = new System.Drawing.Point(277, 178); this.chkEnableKA.Name = "chkEnableKA"; - this.chkEnableKA.Size = new System.Drawing.Size(149, 36); + this.chkEnableKA.Size = new System.Drawing.Size(126, 32); this.chkEnableKA.TabIndex = 45; this.chkEnableKA.Text = "Enable KA"; this.chkEnableKA.UseVisualStyleBackColor = true; @@ -980,9 +952,11 @@ namespace vmsnet this.GroupBox2.Controls.Add(this.tb_plcidx); this.GroupBox2.Controls.Add(this.Label17); this.GroupBox2.Controls.Add(this.Label16); - this.GroupBox2.Location = new System.Drawing.Point(1077, 30); + this.GroupBox2.Location = new System.Drawing.Point(861, 25); + this.GroupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.GroupBox2.Name = "GroupBox2"; - this.GroupBox2.Size = new System.Drawing.Size(413, 219); + this.GroupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.GroupBox2.Size = new System.Drawing.Size(330, 182); this.GroupBox2.TabIndex = 41; this.GroupBox2.TabStop = false; this.GroupBox2.Text = "Alarm PLC"; @@ -990,27 +964,28 @@ namespace vmsnet // cmb_plcport // this.cmb_plcport.FormattingEnabled = true; - this.cmb_plcport.Location = new System.Drawing.Point(151, 42); + this.cmb_plcport.Location = new System.Drawing.Point(121, 35); + this.cmb_plcport.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.cmb_plcport.Name = "cmb_plcport"; - this.cmb_plcport.Size = new System.Drawing.Size(245, 40); + this.cmb_plcport.Size = new System.Drawing.Size(197, 36); this.cmb_plcport.TabIndex = 44; // // chk_alplc // this.chk_alplc.AutoSize = true; - this.chk_alplc.Location = new System.Drawing.Point(31, 152); - this.chk_alplc.Margin = new System.Windows.Forms.Padding(4); + this.chk_alplc.Location = new System.Drawing.Point(25, 127); this.chk_alplc.Name = "chk_alplc"; - this.chk_alplc.Size = new System.Drawing.Size(118, 36); + this.chk_alplc.Size = new System.Drawing.Size(96, 32); this.chk_alplc.TabIndex = 42; this.chk_alplc.Text = "On/Off"; this.chk_alplc.UseVisualStyleBackColor = true; // // Button2 // - this.Button2.Location = new System.Drawing.Point(270, 142); + this.Button2.Location = new System.Drawing.Point(216, 118); + this.Button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Button2.Name = "Button2"; - this.Button2.Size = new System.Drawing.Size(127, 54); + this.Button2.Size = new System.Drawing.Size(102, 45); this.Button2.TabIndex = 43; this.Button2.Text = "Off"; this.Button2.UseVisualStyleBackColor = true; @@ -1018,9 +993,10 @@ namespace vmsnet // // Button1 // - this.Button1.Location = new System.Drawing.Point(151, 142); + this.Button1.Location = new System.Drawing.Point(121, 118); + this.Button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Button1.Name = "Button1"; - this.Button1.Size = new System.Drawing.Size(113, 54); + this.Button1.Size = new System.Drawing.Size(90, 45); this.Button1.TabIndex = 42; this.Button1.Text = "On"; this.Button1.UseVisualStyleBackColor = true; @@ -1028,55 +1004,50 @@ namespace vmsnet // // tb_plcidx // - this.tb_plcidx.Location = new System.Drawing.Point(151, 92); - this.tb_plcidx.Margin = new System.Windows.Forms.Padding(4); + this.tb_plcidx.Location = new System.Drawing.Point(121, 77); this.tb_plcidx.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.tb_plcidx.Name = "tb_plcidx"; - this.tb_plcidx.Size = new System.Drawing.Size(246, 39); + this.tb_plcidx.Size = new System.Drawing.Size(197, 34); this.tb_plcidx.TabIndex = 40; this.tb_plcidx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // Label17 // this.Label17.AutoSize = true; - this.Label17.Location = new System.Drawing.Point(7, 48); - this.Label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label17.Location = new System.Drawing.Point(6, 40); this.Label17.Name = "Label17"; - this.Label17.Size = new System.Drawing.Size(137, 32); + this.Label17.Size = new System.Drawing.Size(117, 28); this.Label17.TabIndex = 39; this.Label17.Text = "Comm Port"; // // Label16 // this.Label16.AutoSize = true; - this.Label16.Location = new System.Drawing.Point(14, 98); - this.Label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label16.Location = new System.Drawing.Point(11, 82); this.Label16.Name = "Label16"; - this.Label16.Size = new System.Drawing.Size(137, 32); + this.Label16.Size = new System.Drawing.Size(116, 28); this.Label16.TabIndex = 39; this.Label16.Text = "Alarm Addr"; // // Label15 // this.Label15.AutoSize = true; - this.Label15.Location = new System.Drawing.Point(413, 57); - this.Label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label15.Location = new System.Drawing.Point(330, 48); this.Label15.Name = "Label15"; - this.Label15.Size = new System.Drawing.Size(113, 32); + this.Label15.Size = new System.Drawing.Size(96, 28); this.Label15.TabIndex = 38; this.Label15.Text = "ms / cyle"; // // chk_sumab // this.chk_sumab.AutoSize = true; - this.chk_sumab.Location = new System.Drawing.Point(27, 546); - this.chk_sumab.Margin = new System.Windows.Forms.Padding(4); + this.chk_sumab.Location = new System.Drawing.Point(22, 455); this.chk_sumab.Name = "chk_sumab"; - this.chk_sumab.Size = new System.Drawing.Size(195, 36); + this.chk_sumab.Size = new System.Drawing.Size(163, 32); this.chk_sumab.TabIndex = 33; this.chk_sumab.Text = "SUM A,SUM B"; this.chk_sumab.UseVisualStyleBackColor = true; @@ -1084,10 +1055,9 @@ namespace vmsnet // chk_nb // this.chk_nb.AutoSize = true; - this.chk_nb.Location = new System.Drawing.Point(27, 498); - this.chk_nb.Margin = new System.Windows.Forms.Padding(4); + this.chk_nb.Location = new System.Drawing.Point(22, 415); this.chk_nb.Name = "chk_nb"; - this.chk_nb.Size = new System.Drawing.Size(478, 36); + this.chk_nb.Size = new System.Drawing.Size(401, 32); this.chk_nb.TabIndex = 29; this.chk_nb.Text = "NullBalance 기준값을 실제값으로 사용함"; this.chk_nb.UseVisualStyleBackColor = true; @@ -1095,10 +1065,9 @@ namespace vmsnet // chk_lsb // this.chk_lsb.AutoSize = true; - this.chk_lsb.Location = new System.Drawing.Point(27, 213); - this.chk_lsb.Margin = new System.Windows.Forms.Padding(4); + this.chk_lsb.Location = new System.Drawing.Point(22, 178); this.chk_lsb.Name = "chk_lsb"; - this.chk_lsb.Size = new System.Drawing.Size(314, 36); + this.chk_lsb.Size = new System.Drawing.Size(266, 32); this.chk_lsb.TabIndex = 15; this.chk_lsb.Text = "Binary OutputMode : LSB"; this.chk_lsb.UseVisualStyleBackColor = true; @@ -1106,10 +1075,9 @@ namespace vmsnet // chk_synctime // this.chk_synctime.AutoSize = true; - this.chk_synctime.Location = new System.Drawing.Point(27, 164); - this.chk_synctime.Margin = new System.Windows.Forms.Padding(4); + this.chk_synctime.Location = new System.Drawing.Point(22, 137); this.chk_synctime.Name = "chk_synctime"; - this.chk_synctime.Size = new System.Drawing.Size(461, 36); + this.chk_synctime.Size = new System.Drawing.Size(386, 32); this.chk_synctime.TabIndex = 10; this.chk_synctime.Text = "장치의 시간을 컴퓨터와 동기화 합니다."; this.chk_synctime.UseVisualStyleBackColor = true; @@ -1117,10 +1085,9 @@ namespace vmsnet // chk_savebinary // this.chk_savebinary.AutoSize = true; - this.chk_savebinary.Location = new System.Drawing.Point(27, 114); - this.chk_savebinary.Margin = new System.Windows.Forms.Padding(4); + this.chk_savebinary.Location = new System.Drawing.Point(22, 95); this.chk_savebinary.Name = "chk_savebinary"; - this.chk_savebinary.Size = new System.Drawing.Size(685, 36); + this.chk_savebinary.Size = new System.Drawing.Size(574, 32); this.chk_savebinary.TabIndex = 9; this.chk_savebinary.Text = "장치로부터 수신된 측정데이터(Binary)를 파일로 저장합니다."; this.chk_savebinary.UseVisualStyleBackColor = true; @@ -1128,20 +1095,18 @@ namespace vmsnet // Label1 // this.Label1.AutoSize = true; - this.Label1.Location = new System.Drawing.Point(27, 57); - this.Label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label1.Location = new System.Drawing.Point(22, 48); this.Label1.Name = "Label1"; - this.Label1.Size = new System.Drawing.Size(198, 32); + this.Label1.Size = new System.Drawing.Size(166, 28); this.Label1.TabIndex = 7; this.Label1.Text = "데이터 요청 간격"; // // tb_tel // this.tb_tel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.tb_tel.Location = new System.Drawing.Point(1106, 20); - this.tb_tel.Margin = new System.Windows.Forms.Padding(4); + this.tb_tel.Location = new System.Drawing.Point(885, 17); this.tb_tel.Name = "tb_tel"; - this.tb_tel.Size = new System.Drawing.Size(377, 39); + this.tb_tel.Size = new System.Drawing.Size(302, 34); this.tb_tel.TabIndex = 5; this.tb_tel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tb_tel.Visible = false; @@ -1150,30 +1115,27 @@ namespace vmsnet // this.Label4.AutoSize = true; this.Label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.Label4.Location = new System.Drawing.Point(969, 26); - this.Label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label4.Location = new System.Drawing.Point(775, 22); this.Label4.Name = "Label4"; - this.Label4.Size = new System.Drawing.Size(134, 32); + this.Label4.Size = new System.Drawing.Size(112, 28); this.Label4.TabIndex = 4; this.Label4.Text = "업체연락처"; this.Label4.Visible = false; // // tb_sangho // - this.tb_sangho.Location = new System.Drawing.Point(216, 26); - this.tb_sangho.Margin = new System.Windows.Forms.Padding(4); + this.tb_sangho.Location = new System.Drawing.Point(173, 22); this.tb_sangho.Name = "tb_sangho"; - this.tb_sangho.Size = new System.Drawing.Size(295, 39); + this.tb_sangho.Size = new System.Drawing.Size(237, 34); this.tb_sangho.TabIndex = 3; this.tb_sangho.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // Label3 // this.Label3.AutoSize = true; - this.Label3.Location = new System.Drawing.Point(120, 30); - this.Label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.Label3.Location = new System.Drawing.Point(96, 25); this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(86, 32); + this.Label3.Size = new System.Drawing.Size(72, 28); this.Label3.TabIndex = 2; this.Label3.Text = "업체명"; // @@ -1182,10 +1144,9 @@ namespace vmsnet this.TabPage2.Controls.Add(this.dv_device); this.TabPage2.Controls.Add(this.label11); this.TabPage2.Controls.Add(this.bn_Device); - this.TabPage2.Location = new System.Drawing.Point(4, 28); - this.TabPage2.Margin = new System.Windows.Forms.Padding(4); + this.TabPage2.Location = new System.Drawing.Point(4, 25); this.TabPage2.Name = "TabPage2"; - this.TabPage2.Size = new System.Drawing.Size(1509, 895); + this.TabPage2.Size = new System.Drawing.Size(1206, 743); this.TabPage2.TabIndex = 1; this.TabPage2.Text = "장치설정"; this.TabPage2.UseVisualStyleBackColor = true; @@ -1229,8 +1190,7 @@ namespace vmsnet dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dv_device.DefaultCellStyle = dataGridViewCellStyle8; this.dv_device.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv_device.Location = new System.Drawing.Point(0, 33); - this.dv_device.Margin = new System.Windows.Forms.Padding(4); + this.dv_device.Location = new System.Drawing.Point(0, 31); this.dv_device.MultiSelect = false; this.dv_device.Name = "dv_device"; dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; @@ -1245,7 +1205,7 @@ namespace vmsnet this.dv_device.RowHeadersWidth = 62; this.dv_device.RowTemplate.Height = 23; this.dv_device.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dv_device.Size = new System.Drawing.Size(1509, 816); + this.dv_device.Size = new System.Drawing.Size(1206, 674); this.dv_device.TabIndex = 0; // // M_IDX @@ -1341,20 +1301,20 @@ namespace vmsnet this.장치구조재구성ToolStripMenuItem, this.장치자동설정ToolStripMenuItem}); this.ContextMenuStrip1.Name = "ContextMenuStrip1"; - this.ContextMenuStrip1.Size = new System.Drawing.Size(251, 68); + this.ContextMenuStrip1.Size = new System.Drawing.Size(222, 52); // // 장치구조재구성ToolStripMenuItem // this.장치구조재구성ToolStripMenuItem.Enabled = false; this.장치구조재구성ToolStripMenuItem.Name = "장치구조재구성ToolStripMenuItem"; - this.장치구조재구성ToolStripMenuItem.Size = new System.Drawing.Size(250, 32); + this.장치구조재구성ToolStripMenuItem.Size = new System.Drawing.Size(221, 24); this.장치구조재구성ToolStripMenuItem.Text = "Reconstruction"; this.장치구조재구성ToolStripMenuItem.Click += new System.EventHandler(this.장치구조재구성ToolStripMenuItem_Click); // // 장치자동설정ToolStripMenuItem // this.장치자동설정ToolStripMenuItem.Name = "장치자동설정ToolStripMenuItem"; - this.장치자동설정ToolStripMenuItem.Size = new System.Drawing.Size(250, 32); + this.장치자동설정ToolStripMenuItem.Size = new System.Drawing.Size(221, 24); this.장치자동설정ToolStripMenuItem.Text = "AutoChannel Setting"; this.장치자동설정ToolStripMenuItem.Click += new System.EventHandler(this.장치자동설정ToolStripMenuItem_Click); // @@ -1372,11 +1332,10 @@ namespace vmsnet // this.label11.Dock = System.Windows.Forms.DockStyle.Bottom; this.label11.ForeColor = System.Drawing.Color.Blue; - this.label11.Location = new System.Drawing.Point(0, 849); - this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Location = new System.Drawing.Point(0, 705); this.label11.Name = "label11"; - this.label11.Padding = new System.Windows.Forms.Padding(14, 0, 0, 0); - this.label11.Size = new System.Drawing.Size(1509, 46); + this.label11.Padding = new System.Windows.Forms.Padding(11, 0, 0, 0); + this.label11.Size = new System.Drawing.Size(1206, 38); this.label11.TabIndex = 26; this.label11.Text = "유닛 0부터 시작 합니다. 예) 0*60,1*60,2*60, IP혹은 PORT변경시에는 프로그램을 다시 시작 하세요"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -1409,9 +1368,9 @@ namespace vmsnet this.bn_Device.MoveNextItem = this.BindingNavigatorMoveNextItem; this.bn_Device.MovePreviousItem = this.BindingNavigatorMovePreviousItem; this.bn_Device.Name = "bn_Device"; - this.bn_Device.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.bn_Device.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); this.bn_Device.PositionItem = this.BindingNavigatorPositionItem; - this.bn_Device.Size = new System.Drawing.Size(1509, 33); + this.bn_Device.Size = new System.Drawing.Size(1206, 31); this.bn_Device.TabIndex = 1; this.bn_Device.Text = "BindingNavigator1"; // @@ -1421,13 +1380,13 @@ namespace vmsnet this.BindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorAddNewItem.Image"))); this.BindingNavigatorAddNewItem.Name = "BindingNavigatorAddNewItem"; this.BindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorAddNewItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorAddNewItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorAddNewItem.Text = "새로 추가"; // // BindingNavigatorCountItem // this.BindingNavigatorCountItem.Name = "BindingNavigatorCountItem"; - this.BindingNavigatorCountItem.Size = new System.Drawing.Size(39, 28); + this.BindingNavigatorCountItem.Size = new System.Drawing.Size(33, 28); this.BindingNavigatorCountItem.Text = "/{0}"; this.BindingNavigatorCountItem.ToolTipText = "전체 항목 수"; // @@ -1437,7 +1396,7 @@ namespace vmsnet this.BindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorDeleteItem.Image"))); this.BindingNavigatorDeleteItem.Name = "BindingNavigatorDeleteItem"; this.BindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorDeleteItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorDeleteItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorDeleteItem.Text = "삭제"; // // BindingNavigatorMoveFirstItem @@ -1446,7 +1405,7 @@ namespace vmsnet this.BindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveFirstItem.Image"))); this.BindingNavigatorMoveFirstItem.Name = "BindingNavigatorMoveFirstItem"; this.BindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorMoveFirstItem.Text = "처음으로 이동"; // // BindingNavigatorMovePreviousItem @@ -1455,27 +1414,28 @@ namespace vmsnet this.BindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMovePreviousItem.Image"))); this.BindingNavigatorMovePreviousItem.Name = "BindingNavigatorMovePreviousItem"; this.BindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorMovePreviousItem.Text = "이전으로 이동"; // // BindingNavigatorSeparator // this.BindingNavigatorSeparator.Name = "BindingNavigatorSeparator"; - this.BindingNavigatorSeparator.Size = new System.Drawing.Size(6, 33); + this.BindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31); // // BindingNavigatorPositionItem // this.BindingNavigatorPositionItem.AccessibleName = "위치"; this.BindingNavigatorPositionItem.AutoSize = false; + this.BindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.BindingNavigatorPositionItem.Name = "BindingNavigatorPositionItem"; - this.BindingNavigatorPositionItem.Size = new System.Drawing.Size(70, 31); + this.BindingNavigatorPositionItem.Size = new System.Drawing.Size(57, 27); this.BindingNavigatorPositionItem.Text = "0"; this.BindingNavigatorPositionItem.ToolTipText = "현재 위치"; // // BindingNavigatorSeparator1 // this.BindingNavigatorSeparator1.Name = "BindingNavigatorSeparator1"; - this.BindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 33); + this.BindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31); // // BindingNavigatorMoveNextItem // @@ -1483,7 +1443,7 @@ namespace vmsnet this.BindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveNextItem.Image"))); this.BindingNavigatorMoveNextItem.Name = "BindingNavigatorMoveNextItem"; this.BindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorMoveNextItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorMoveNextItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorMoveNextItem.Text = "다음으로 이동"; // // BindingNavigatorMoveLastItem @@ -1492,25 +1452,25 @@ namespace vmsnet this.BindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveLastItem.Image"))); this.BindingNavigatorMoveLastItem.Name = "BindingNavigatorMoveLastItem"; this.BindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; - this.BindingNavigatorMoveLastItem.Size = new System.Drawing.Size(34, 28); + this.BindingNavigatorMoveLastItem.Size = new System.Drawing.Size(29, 28); this.BindingNavigatorMoveLastItem.Text = "마지막으로 이동"; // // BindingNavigatorSeparator2 // this.BindingNavigatorSeparator2.Name = "BindingNavigatorSeparator2"; - this.BindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 33); + this.BindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 31); // // ToolStripSeparator8 // this.ToolStripSeparator8.Name = "ToolStripSeparator8"; - this.ToolStripSeparator8.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator8.Size = new System.Drawing.Size(6, 31); // // toolStripButton1 // this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(172, 29); + this.toolStripButton1.Size = new System.Drawing.Size(146, 28); this.toolStripButton1.Text = "IP SET(127.0.0.1)"; this.toolStripButton1.Visible = false; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); @@ -1520,7 +1480,7 @@ namespace vmsnet this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; - this.toolStripButton2.Size = new System.Drawing.Size(217, 29); + this.toolStripButton2.Size = new System.Drawing.Size(183, 28); this.toolStripButton2.Text = "IP SET(192.168.0.1 ~ )"; this.toolStripButton2.Visible = false; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); @@ -1530,10 +1490,9 @@ namespace vmsnet this.TabPage5.Controls.Add(this.dv_win); this.TabPage5.Controls.Add(this.label13); this.TabPage5.Controls.Add(this.BN_WIN); - this.TabPage5.Location = new System.Drawing.Point(4, 28); - this.TabPage5.Margin = new System.Windows.Forms.Padding(4); + this.TabPage5.Location = new System.Drawing.Point(4, 25); this.TabPage5.Name = "TabPage5"; - this.TabPage5.Size = new System.Drawing.Size(1509, 895); + this.TabPage5.Size = new System.Drawing.Size(1206, 743); this.TabPage5.TabIndex = 4; this.TabPage5.Text = "윈도우설정"; this.TabPage5.UseVisualStyleBackColor = true; @@ -1570,8 +1529,7 @@ namespace vmsnet dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dv_win.DefaultCellStyle = dataGridViewCellStyle11; this.dv_win.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv_win.Location = new System.Drawing.Point(0, 33); - this.dv_win.Margin = new System.Windows.Forms.Padding(4); + this.dv_win.Location = new System.Drawing.Point(0, 31); this.dv_win.Name = "dv_win"; dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; @@ -1584,7 +1542,7 @@ namespace vmsnet this.dv_win.RowHeadersVisible = false; this.dv_win.RowHeadersWidth = 62; this.dv_win.RowTemplate.Height = 23; - this.dv_win.Size = new System.Drawing.Size(1509, 816); + this.dv_win.Size = new System.Drawing.Size(1206, 674); this.dv_win.TabIndex = 3; this.dv_win.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DV_WIN_CellContentClick); this.dv_win.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.DV_WIN_DataError); @@ -1635,11 +1593,10 @@ namespace vmsnet // this.label13.Dock = System.Windows.Forms.DockStyle.Bottom; this.label13.ForeColor = System.Drawing.Color.Blue; - this.label13.Location = new System.Drawing.Point(0, 849); - this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Location = new System.Drawing.Point(0, 705); this.label13.Name = "label13"; - this.label13.Padding = new System.Windows.Forms.Padding(14, 0, 0, 0); - this.label13.Size = new System.Drawing.Size(1509, 46); + this.label13.Padding = new System.Windows.Forms.Padding(11, 0, 0, 0); + this.label13.Size = new System.Drawing.Size(1206, 38); this.label13.TabIndex = 27; this.label13.Text = "아이템배열 예) 1*4"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -1669,9 +1626,9 @@ namespace vmsnet this.BN_WIN.MoveNextItem = this.ToolStripButton20; this.BN_WIN.MovePreviousItem = this.ToolStripButton19; this.BN_WIN.Name = "BN_WIN"; - this.BN_WIN.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.BN_WIN.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); this.BN_WIN.PositionItem = this.ToolStripTextBox3; - this.BN_WIN.Size = new System.Drawing.Size(1509, 33); + this.BN_WIN.Size = new System.Drawing.Size(1206, 31); this.BN_WIN.TabIndex = 4; this.BN_WIN.Text = "BindingNavigator1"; // @@ -1681,13 +1638,13 @@ namespace vmsnet this.ToolStripButton16.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton16.Image"))); this.ToolStripButton16.Name = "ToolStripButton16"; this.ToolStripButton16.RightToLeftAutoMirrorImage = true; - this.ToolStripButton16.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton16.Size = new System.Drawing.Size(29, 28); this.ToolStripButton16.Text = "새로 추가"; // // ToolStripLabel3 // this.ToolStripLabel3.Name = "ToolStripLabel3"; - this.ToolStripLabel3.Size = new System.Drawing.Size(39, 28); + this.ToolStripLabel3.Size = new System.Drawing.Size(33, 28); this.ToolStripLabel3.Text = "/{0}"; this.ToolStripLabel3.ToolTipText = "전체 항목 수"; // @@ -1697,7 +1654,7 @@ namespace vmsnet this.ToolStripButton17.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton17.Image"))); this.ToolStripButton17.Name = "ToolStripButton17"; this.ToolStripButton17.RightToLeftAutoMirrorImage = true; - this.ToolStripButton17.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton17.Size = new System.Drawing.Size(29, 28); this.ToolStripButton17.Text = "삭제"; // // ToolStripButton18 @@ -1706,7 +1663,7 @@ namespace vmsnet this.ToolStripButton18.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton18.Image"))); this.ToolStripButton18.Name = "ToolStripButton18"; this.ToolStripButton18.RightToLeftAutoMirrorImage = true; - this.ToolStripButton18.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton18.Size = new System.Drawing.Size(29, 28); this.ToolStripButton18.Text = "처음으로 이동"; // // ToolStripButton19 @@ -1715,27 +1672,28 @@ namespace vmsnet this.ToolStripButton19.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton19.Image"))); this.ToolStripButton19.Name = "ToolStripButton19"; this.ToolStripButton19.RightToLeftAutoMirrorImage = true; - this.ToolStripButton19.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton19.Size = new System.Drawing.Size(29, 28); this.ToolStripButton19.Text = "이전으로 이동"; // // ToolStripSeparator9 // this.ToolStripSeparator9.Name = "ToolStripSeparator9"; - this.ToolStripSeparator9.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator9.Size = new System.Drawing.Size(6, 31); // // ToolStripTextBox3 // this.ToolStripTextBox3.AccessibleName = "위치"; this.ToolStripTextBox3.AutoSize = false; + this.ToolStripTextBox3.Font = new System.Drawing.Font("맑은 고딕", 9F); this.ToolStripTextBox3.Name = "ToolStripTextBox3"; - this.ToolStripTextBox3.Size = new System.Drawing.Size(70, 31); + this.ToolStripTextBox3.Size = new System.Drawing.Size(57, 27); this.ToolStripTextBox3.Text = "0"; this.ToolStripTextBox3.ToolTipText = "현재 위치"; // // ToolStripSeparator10 // this.ToolStripSeparator10.Name = "ToolStripSeparator10"; - this.ToolStripSeparator10.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator10.Size = new System.Drawing.Size(6, 31); // // ToolStripButton20 // @@ -1743,7 +1701,7 @@ namespace vmsnet this.ToolStripButton20.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton20.Image"))); this.ToolStripButton20.Name = "ToolStripButton20"; this.ToolStripButton20.RightToLeftAutoMirrorImage = true; - this.ToolStripButton20.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton20.Size = new System.Drawing.Size(29, 28); this.ToolStripButton20.Text = "다음으로 이동"; // // ToolStripButton21 @@ -1752,23 +1710,22 @@ namespace vmsnet this.ToolStripButton21.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton21.Image"))); this.ToolStripButton21.Name = "ToolStripButton21"; this.ToolStripButton21.RightToLeftAutoMirrorImage = true; - this.ToolStripButton21.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton21.Size = new System.Drawing.Size(29, 28); this.ToolStripButton21.Text = "마지막으로 이동"; // // ToolStripSeparator11 // this.ToolStripSeparator11.Name = "ToolStripSeparator11"; - this.ToolStripSeparator11.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator11.Size = new System.Drawing.Size(6, 31); // // TabPage4 // this.TabPage4.Controls.Add(this.dv_grp); this.TabPage4.Controls.Add(this.label2); this.TabPage4.Controls.Add(this.bn_group); - this.TabPage4.Location = new System.Drawing.Point(4, 28); - this.TabPage4.Margin = new System.Windows.Forms.Padding(4); + this.TabPage4.Location = new System.Drawing.Point(4, 25); this.TabPage4.Name = "TabPage4"; - this.TabPage4.Size = new System.Drawing.Size(1509, 895); + this.TabPage4.Size = new System.Drawing.Size(1206, 743); this.TabPage4.TabIndex = 3; this.TabPage4.Text = "그룹설정"; this.TabPage4.UseVisualStyleBackColor = true; @@ -1822,8 +1779,7 @@ namespace vmsnet dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dv_grp.DefaultCellStyle = dataGridViewCellStyle23; this.dv_grp.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv_grp.Location = new System.Drawing.Point(0, 33); - this.dv_grp.Margin = new System.Windows.Forms.Padding(4); + this.dv_grp.Location = new System.Drawing.Point(0, 31); this.dv_grp.Name = "dv_grp"; dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Control; @@ -1836,7 +1792,7 @@ namespace vmsnet this.dv_grp.RowHeadersVisible = false; this.dv_grp.RowHeadersWidth = 62; this.dv_grp.RowTemplate.Height = 23; - this.dv_grp.Size = new System.Drawing.Size(1509, 805); + this.dv_grp.Size = new System.Drawing.Size(1206, 664); this.dv_grp.TabIndex = 2; this.dv_grp.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv_grp_DataError); // @@ -2156,10 +2112,9 @@ namespace vmsnet this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; this.label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.label2.ForeColor = System.Drawing.Color.Red; - this.label2.Location = new System.Drawing.Point(0, 838); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Location = new System.Drawing.Point(0, 695); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(1509, 57); + this.label2.Size = new System.Drawing.Size(1206, 48); this.label2.TabIndex = 4; this.label2.Text = "Null Balance 알람기준값 설명 : HIGH(입력값을 초과하는 경우 발생), LOW(입력값 미만인 경우 발생)"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2189,9 +2144,9 @@ namespace vmsnet this.bn_group.MoveNextItem = this.ToolStripButton13; this.bn_group.MovePreviousItem = this.ToolStripButton12; this.bn_group.Name = "bn_group"; - this.bn_group.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.bn_group.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); this.bn_group.PositionItem = this.ToolStripTextBox2; - this.bn_group.Size = new System.Drawing.Size(1509, 33); + this.bn_group.Size = new System.Drawing.Size(1206, 31); this.bn_group.TabIndex = 3; this.bn_group.Text = "BindingNavigator1"; // @@ -2201,13 +2156,13 @@ namespace vmsnet this.ToolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton9.Image"))); this.ToolStripButton9.Name = "ToolStripButton9"; this.ToolStripButton9.RightToLeftAutoMirrorImage = true; - this.ToolStripButton9.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton9.Size = new System.Drawing.Size(29, 28); this.ToolStripButton9.Text = "새로 추가"; // // ToolStripLabel2 // this.ToolStripLabel2.Name = "ToolStripLabel2"; - this.ToolStripLabel2.Size = new System.Drawing.Size(39, 28); + this.ToolStripLabel2.Size = new System.Drawing.Size(33, 28); this.ToolStripLabel2.Text = "/{0}"; this.ToolStripLabel2.ToolTipText = "전체 항목 수"; // @@ -2217,7 +2172,7 @@ namespace vmsnet this.ToolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton10.Image"))); this.ToolStripButton10.Name = "ToolStripButton10"; this.ToolStripButton10.RightToLeftAutoMirrorImage = true; - this.ToolStripButton10.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton10.Size = new System.Drawing.Size(29, 28); this.ToolStripButton10.Text = "삭제"; // // ToolStripButton11 @@ -2226,7 +2181,7 @@ namespace vmsnet this.ToolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton11.Image"))); this.ToolStripButton11.Name = "ToolStripButton11"; this.ToolStripButton11.RightToLeftAutoMirrorImage = true; - this.ToolStripButton11.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton11.Size = new System.Drawing.Size(29, 28); this.ToolStripButton11.Text = "처음으로 이동"; // // ToolStripButton12 @@ -2235,27 +2190,28 @@ namespace vmsnet this.ToolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton12.Image"))); this.ToolStripButton12.Name = "ToolStripButton12"; this.ToolStripButton12.RightToLeftAutoMirrorImage = true; - this.ToolStripButton12.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton12.Size = new System.Drawing.Size(29, 28); this.ToolStripButton12.Text = "이전으로 이동"; // // ToolStripSeparator4 // this.ToolStripSeparator4.Name = "ToolStripSeparator4"; - this.ToolStripSeparator4.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator4.Size = new System.Drawing.Size(6, 31); // // ToolStripTextBox2 // this.ToolStripTextBox2.AccessibleName = "위치"; this.ToolStripTextBox2.AutoSize = false; + this.ToolStripTextBox2.Font = new System.Drawing.Font("맑은 고딕", 9F); this.ToolStripTextBox2.Name = "ToolStripTextBox2"; - this.ToolStripTextBox2.Size = new System.Drawing.Size(70, 31); + this.ToolStripTextBox2.Size = new System.Drawing.Size(57, 27); this.ToolStripTextBox2.Text = "0"; this.ToolStripTextBox2.ToolTipText = "현재 위치"; // // ToolStripSeparator5 // this.ToolStripSeparator5.Name = "ToolStripSeparator5"; - this.ToolStripSeparator5.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator5.Size = new System.Drawing.Size(6, 31); // // ToolStripButton13 // @@ -2263,7 +2219,7 @@ namespace vmsnet this.ToolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton13.Image"))); this.ToolStripButton13.Name = "ToolStripButton13"; this.ToolStripButton13.RightToLeftAutoMirrorImage = true; - this.ToolStripButton13.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton13.Size = new System.Drawing.Size(29, 28); this.ToolStripButton13.Text = "다음으로 이동"; // // ToolStripButton14 @@ -2272,22 +2228,21 @@ namespace vmsnet this.ToolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton14.Image"))); this.ToolStripButton14.Name = "ToolStripButton14"; this.ToolStripButton14.RightToLeftAutoMirrorImage = true; - this.ToolStripButton14.Size = new System.Drawing.Size(34, 28); + this.ToolStripButton14.Size = new System.Drawing.Size(29, 28); this.ToolStripButton14.Text = "마지막으로 이동"; // // ToolStripSeparator6 // this.ToolStripSeparator6.Name = "ToolStripSeparator6"; - this.ToolStripSeparator6.Size = new System.Drawing.Size(6, 33); + this.ToolStripSeparator6.Size = new System.Drawing.Size(6, 31); // // TabPage3 // this.TabPage3.Controls.Add(this.dv_channel); this.TabPage3.Controls.Add(this.bn_channel); - this.TabPage3.Location = new System.Drawing.Point(4, 28); - this.TabPage3.Margin = new System.Windows.Forms.Padding(4); + this.TabPage3.Location = new System.Drawing.Point(4, 25); this.TabPage3.Name = "TabPage3"; - this.TabPage3.Size = new System.Drawing.Size(1509, 895); + this.TabPage3.Size = new System.Drawing.Size(1206, 743); this.TabPage3.TabIndex = 2; this.TabPage3.Text = "셀설정"; this.TabPage3.UseVisualStyleBackColor = true; @@ -2340,8 +2295,7 @@ namespace vmsnet dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dv_channel.DefaultCellStyle = dataGridViewCellStyle29; this.dv_channel.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv_channel.Location = new System.Drawing.Point(0, 34); - this.dv_channel.Margin = new System.Windows.Forms.Padding(4); + this.dv_channel.Location = new System.Drawing.Point(0, 31); this.dv_channel.Name = "dv_channel"; dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control; @@ -2354,7 +2308,7 @@ namespace vmsnet this.dv_channel.RowHeadersVisible = false; this.dv_channel.RowHeadersWidth = 62; this.dv_channel.RowTemplate.Height = 23; - this.dv_channel.Size = new System.Drawing.Size(1509, 861); + this.dv_channel.Size = new System.Drawing.Size(1206, 712); this.dv_channel.TabIndex = 1; this.dv_channel.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv_channel_CellClick); this.dv_channel.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dv_channel_CellFormatting); @@ -2545,40 +2499,40 @@ namespace vmsnet this.DECPOS변경ToolStripMenuItem, this.UNIT변경ToolStripMenuItem}); this.ContextMenuStrip2.Name = "ContextMenuStrip1"; - this.ContextMenuStrip2.Size = new System.Drawing.Size(211, 164); + this.ContextMenuStrip2.Size = new System.Drawing.Size(184, 124); // // bt_editid // this.bt_editid.Name = "bt_editid"; - this.bt_editid.Size = new System.Drawing.Size(210, 32); + this.bt_editid.Size = new System.Drawing.Size(183, 24); this.bt_editid.Text = "장치ID일괄변경"; this.bt_editid.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); // // bt_editcell // this.bt_editcell.Name = "bt_editcell"; - this.bt_editcell.Size = new System.Drawing.Size(210, 32); + this.bt_editcell.Size = new System.Drawing.Size(183, 24); this.bt_editcell.Text = "셀이름일괄변경"; this.bt_editcell.Click += new System.EventHandler(this.bt_editcell_Click); // // 그룹ID변경ToolStripMenuItem // this.그룹ID변경ToolStripMenuItem.Name = "그룹ID변경ToolStripMenuItem"; - this.그룹ID변경ToolStripMenuItem.Size = new System.Drawing.Size(210, 32); + this.그룹ID변경ToolStripMenuItem.Size = new System.Drawing.Size(183, 24); this.그룹ID변경ToolStripMenuItem.Text = "그룹ID변경"; this.그룹ID변경ToolStripMenuItem.Click += new System.EventHandler(this.그룹ID변경ToolStripMenuItem_Click); // // DECPOS변경ToolStripMenuItem // this.DECPOS변경ToolStripMenuItem.Name = "DECPOS변경ToolStripMenuItem"; - this.DECPOS변경ToolStripMenuItem.Size = new System.Drawing.Size(210, 32); + this.DECPOS변경ToolStripMenuItem.Size = new System.Drawing.Size(183, 24); this.DECPOS변경ToolStripMenuItem.Text = "DECPOS 변경"; this.DECPOS변경ToolStripMenuItem.Click += new System.EventHandler(this.DECPOS변경ToolStripMenuItem_Click); // // UNIT변경ToolStripMenuItem // this.UNIT변경ToolStripMenuItem.Name = "UNIT변경ToolStripMenuItem"; - this.UNIT변경ToolStripMenuItem.Size = new System.Drawing.Size(210, 32); + this.UNIT변경ToolStripMenuItem.Size = new System.Drawing.Size(183, 24); this.UNIT변경ToolStripMenuItem.Text = "UNIT 변경"; this.UNIT변경ToolStripMenuItem.Click += new System.EventHandler(this.UNIT변경ToolStripMenuItem_Click); // @@ -2616,9 +2570,9 @@ namespace vmsnet this.bn_channel.MoveNextItem = this.ToolStripButton7; this.bn_channel.MovePreviousItem = this.ToolStripButton6; this.bn_channel.Name = "bn_channel"; - this.bn_channel.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.bn_channel.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); this.bn_channel.PositionItem = this.ToolStripTextBox1; - this.bn_channel.Size = new System.Drawing.Size(1509, 34); + this.bn_channel.Size = new System.Drawing.Size(1206, 31); this.bn_channel.TabIndex = 2; this.bn_channel.Text = "BindingNavigator1"; // @@ -2628,13 +2582,13 @@ namespace vmsnet this.ToolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton3.Image"))); this.ToolStripButton3.Name = "ToolStripButton3"; this.ToolStripButton3.RightToLeftAutoMirrorImage = true; - this.ToolStripButton3.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton3.Size = new System.Drawing.Size(29, 28); this.ToolStripButton3.Text = "새로 추가"; // // ToolStripLabel1 // this.ToolStripLabel1.Name = "ToolStripLabel1"; - this.ToolStripLabel1.Size = new System.Drawing.Size(39, 29); + this.ToolStripLabel1.Size = new System.Drawing.Size(33, 28); this.ToolStripLabel1.Text = "/{0}"; this.ToolStripLabel1.ToolTipText = "전체 항목 수"; // @@ -2644,7 +2598,7 @@ namespace vmsnet this.ToolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton4.Image"))); this.ToolStripButton4.Name = "ToolStripButton4"; this.ToolStripButton4.RightToLeftAutoMirrorImage = true; - this.ToolStripButton4.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton4.Size = new System.Drawing.Size(29, 28); this.ToolStripButton4.Text = "삭제"; // // ToolStripButton5 @@ -2653,7 +2607,7 @@ namespace vmsnet this.ToolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton5.Image"))); this.ToolStripButton5.Name = "ToolStripButton5"; this.ToolStripButton5.RightToLeftAutoMirrorImage = true; - this.ToolStripButton5.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton5.Size = new System.Drawing.Size(29, 28); this.ToolStripButton5.Text = "처음으로 이동"; // // ToolStripButton6 @@ -2662,27 +2616,28 @@ namespace vmsnet this.ToolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton6.Image"))); this.ToolStripButton6.Name = "ToolStripButton6"; this.ToolStripButton6.RightToLeftAutoMirrorImage = true; - this.ToolStripButton6.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton6.Size = new System.Drawing.Size(29, 28); this.ToolStripButton6.Text = "이전으로 이동"; // // ToolStripSeparator1 // this.ToolStripSeparator1.Name = "ToolStripSeparator1"; - this.ToolStripSeparator1.Size = new System.Drawing.Size(6, 34); + this.ToolStripSeparator1.Size = new System.Drawing.Size(6, 31); // // ToolStripTextBox1 // this.ToolStripTextBox1.AccessibleName = "위치"; this.ToolStripTextBox1.AutoSize = false; + this.ToolStripTextBox1.Font = new System.Drawing.Font("맑은 고딕", 9F); this.ToolStripTextBox1.Name = "ToolStripTextBox1"; - this.ToolStripTextBox1.Size = new System.Drawing.Size(70, 31); + this.ToolStripTextBox1.Size = new System.Drawing.Size(57, 27); this.ToolStripTextBox1.Text = "0"; this.ToolStripTextBox1.ToolTipText = "현재 위치"; // // ToolStripSeparator2 // this.ToolStripSeparator2.Name = "ToolStripSeparator2"; - this.ToolStripSeparator2.Size = new System.Drawing.Size(6, 34); + this.ToolStripSeparator2.Size = new System.Drawing.Size(6, 31); // // ToolStripButton7 // @@ -2690,7 +2645,7 @@ namespace vmsnet this.ToolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton7.Image"))); this.ToolStripButton7.Name = "ToolStripButton7"; this.ToolStripButton7.RightToLeftAutoMirrorImage = true; - this.ToolStripButton7.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton7.Size = new System.Drawing.Size(29, 28); this.ToolStripButton7.Text = "다음으로 이동"; // // ToolStripButton8 @@ -2699,18 +2654,18 @@ namespace vmsnet this.ToolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton8.Image"))); this.ToolStripButton8.Name = "ToolStripButton8"; this.ToolStripButton8.RightToLeftAutoMirrorImage = true; - this.ToolStripButton8.Size = new System.Drawing.Size(34, 29); + this.ToolStripButton8.Size = new System.Drawing.Size(29, 28); this.ToolStripButton8.Text = "마지막으로 이동"; // // ToolStripSeparator3 // this.ToolStripSeparator3.Name = "ToolStripSeparator3"; - this.ToolStripSeparator3.Size = new System.Drawing.Size(6, 34); + this.ToolStripSeparator3.Size = new System.Drawing.Size(6, 31); // // ToolStripSeparator7 // this.ToolStripSeparator7.Name = "ToolStripSeparator7"; - this.ToolStripSeparator7.Size = new System.Drawing.Size(6, 34); + this.ToolStripSeparator7.Size = new System.Drawing.Size(6, 31); // // bt_remakelist // @@ -2718,7 +2673,7 @@ namespace vmsnet this.bt_remakelist.Image = ((System.Drawing.Image)(resources.GetObject("bt_remakelist.Image"))); this.bt_remakelist.ImageTransparentColor = System.Drawing.Color.Magenta; this.bt_remakelist.Name = "bt_remakelist"; - this.bt_remakelist.Size = new System.Drawing.Size(106, 29); + this.bt_remakelist.Size = new System.Drawing.Size(88, 28); this.bt_remakelist.Text = "목록재구성"; this.bt_remakelist.Click += new System.EventHandler(this.ToolStripButton15_Click); // @@ -2727,7 +2682,7 @@ namespace vmsnet this.toolStripButton15.Image = global::vmsnet.Properties.Resources.applix; this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton15.Name = "toolStripButton15"; - this.toolStripButton15.Size = new System.Drawing.Size(130, 29); + this.toolStripButton15.Size = new System.Drawing.Size(112, 28); this.toolStripButton15.Text = "셀이름변경"; this.toolStripButton15.Click += new System.EventHandler(this.toolStripButton15_Click_1); // @@ -2738,14 +2693,13 @@ namespace vmsnet // // Frm_Config // - this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 18F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1517, 993); + this.ClientSize = new System.Drawing.Size(1214, 828); this.Controls.Add(this.TabControl1); this.Controls.Add(this.StatusStrip1); this.Controls.Add(this.ToolStrip1); this.KeyPreview = true; - this.Margin = new System.Windows.Forms.Padding(4); this.Name = "Frm_Config"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "프로그램설정"; diff --git a/cVMS.NET_CS/Setting/Frm_Config.resx b/cVMS.NET_CS/Setting/Frm_Config.resx index af63bda..71d62f9 100644 --- a/cVMS.NET_CS/Setting/Frm_Config.resx +++ b/cVMS.NET_CS/Setting/Frm_Config.resx @@ -124,7 +124,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAWCSURBVFhH7ZZ7TFNnGMaZFrzPy3QxE5cQk12yGS+oUQFb + YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAWCSURBVFhH7ZZ7TFNnGMaZFrzPy3QxE5cQk12yGS+oUQFb rVJCobSUtrQFoqCACDjBTRCxjjXqcHG6EaYDZRh1U1TwPnEgN6kgAioqyjVetiVL9t/+WLLk3fscDh1w kLTb/vRJnvQ73/e+v+c732lP6vFK7sh+0WPW7h9lyfYrsqv2K6OabFdlf8EYY05Y4xqx/P9TziVPX/vl 0YX7f5pBZ5rVdKsnm1qf76Onv5cIxhhzWEMNatEjtv83fXZxdO4X5dOp4lECdf9WQO2/7qb7L7ZQ87M4 @@ -262,7 +262,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc @@ -277,7 +277,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc @@ -619,7 +619,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAYqSURBVFhH7ZZrUJRlFMctNSdrarrNZFozfvFDtQIjkjkh + YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAYqSURBVFhH7ZZrUJRlFMctNSdrarrNZFozfvFDtQIjkjkh fmhGLGqAheUaqSjkLcOpRpCGcipHh5JQES8IiGgayoiiMimiCOwCK4IILLvssruwsOwVFkidZv6d8/ri UAsLVB89M795n/d5znP+/+e8716mPY7HMZVYktIw1/8b5Sb/1LpL/inK+jdTlX8yPBbmaI1zxPT/L5am KH39t9fnfJ6rwvlGKzTWYXQ578E6dB+24fvCWNU3jLJmO7bmt4Nzl6YofMXt/yHS0p5cuq02/cdiHQyO