DispCtrl.cs 현장에서 예외 문제로 소스 행번호 로그 추가
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -10,18 +10,18 @@ namespace vmsnet.Configures
|
||||
public class RtuConfigure
|
||||
{
|
||||
public int BaudRate { get; set; } = 9600;
|
||||
public int DataBits { get; set; } = 8;
|
||||
public Parity Parity { get; set; } = Parity.None;
|
||||
public StopBits StopBits { get; set; } = StopBits.One;
|
||||
public int DataBits { get; set; } = 8;
|
||||
|
||||
public RtuConfigure() { }
|
||||
|
||||
public RtuConfigure(int baudRate, Parity parity, StopBits stopBits, int dataBits)
|
||||
{
|
||||
BaudRate = baudRate;
|
||||
DataBits = dataBits;
|
||||
Parity = parity;
|
||||
StopBits = stopBits;
|
||||
DataBits = dataBits;
|
||||
}
|
||||
}
|
||||
}
|
||||
2
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
2
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
@@ -507,7 +507,7 @@ namespace vmsnet
|
||||
this.groupBox4.Size = new System.Drawing.Size(347, 218);
|
||||
this.groupBox4.TabIndex = 45;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "Indicator";
|
||||
this.groupBox4.Text = "KA Indicator";
|
||||
//
|
||||
// button5
|
||||
//
|
||||
|
||||
@@ -311,6 +311,12 @@ 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 (nudPri1.Value < 1 || nudPri2.Value < 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user