설정 창에서 [저장] 시, 'KA 인디케이터'와 'Alarm PLC'의 동일한 통신포트 설정 방지 추가
This commit is contained in:
@@ -55,7 +55,7 @@ namespace vmsnet
|
||||
//데이터를 요청하고 처리하는 코드 필요
|
||||
RUN_GETDATA();
|
||||
|
||||
//인디게이터 디스플레이
|
||||
//인디케이터 디스플레이
|
||||
if (PUB.indicator.IsOpen)
|
||||
{
|
||||
PUB.KA1_SUM = 0f;
|
||||
|
||||
4
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
4
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
@@ -1467,7 +1467,6 @@ namespace vmsnet
|
||||
//
|
||||
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.Text = "0";
|
||||
@@ -1728,7 +1727,6 @@ namespace vmsnet
|
||||
//
|
||||
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.Text = "0";
|
||||
@@ -2249,7 +2247,6 @@ namespace vmsnet
|
||||
//
|
||||
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.Text = "0";
|
||||
@@ -2677,7 +2674,6 @@ namespace vmsnet
|
||||
//
|
||||
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.Text = "0";
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace vmsnet
|
||||
cmb_plcport.Items.Clear();
|
||||
cmb_plcport.Items.AddRange(ports);
|
||||
|
||||
/* 작성자: 이재웅, 작성일: 2024-11-27, 작성내용: KA 인디게이터용 PC에서 인가된 통신포트 표시 */
|
||||
/* 작성자: 이재웅, 작성일: 2024-11-27, 작성내용: KA 인디케이터용 PC에서 인가된 통신포트들만 표시 */
|
||||
cmbIndiport.Items.Clear();
|
||||
cmbIndiport.Items.AddRange(ports);
|
||||
|
||||
@@ -311,11 +311,15 @@ namespace vmsnet
|
||||
this.bs_normal.EndEdit();
|
||||
this.bs_win.EndEdit();
|
||||
|
||||
|
||||
if (cmbIndiport.Text.Trim() == cmb_plcport.Text.Trim())
|
||||
{
|
||||
UTIL.MsgE("「KA 인디게이터」와 「Alarm PLC」의 통신포트는\n\n동일하게 설정할 수 없습니다.");
|
||||
cmbIndiport.Focus();
|
||||
return;
|
||||
if (cmbIndiport.Text.Trim().Length > 0 && cmb_plcport.Text.Trim().Length > 0)
|
||||
{ // 동일한 통신포트 방지
|
||||
UTIL.MsgE("「KA 인디케이터」와 「Alarm PLC」의 통신포트는\n\n동일하게 설정할 수 없습니다.");
|
||||
cmbIndiport.Focus();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (nudPri1.Value < 1 || nudPri2.Value < 1)
|
||||
|
||||
Reference in New Issue
Block a user