..
This commit is contained in:
@@ -92,8 +92,8 @@ namespace Project
|
||||
[Category("Commnunication Setting"), DisplayName("RFID PortName"), Editor(typeof(MyUITypeEditor), typeof(UITypeEditor))]
|
||||
public string Port_AGV { get; set; }
|
||||
|
||||
[Category("Commnunication Setting"), DisplayName("PLC #1 PortName"), Editor(typeof(MyUITypeEditor), typeof(UITypeEditor))]
|
||||
public string Port_PLC { get; set; }
|
||||
[Category("Commnunication Setting"), DisplayName("Xbee ID"), Editor(typeof(MyUITypeEditor), typeof(UITypeEditor))]
|
||||
public byte XBE_ID { get; set; }
|
||||
|
||||
|
||||
[Category("Commnunication Setting"), DisplayName("BMS PortName"), Editor(typeof(MyUITypeEditor), typeof(UITypeEditor))]
|
||||
@@ -103,7 +103,7 @@ namespace Project
|
||||
|
||||
public int Baud_AGV { get; set; }
|
||||
public int Baud_BAT { get; set; }
|
||||
public int Baud_PLC { get; set; }
|
||||
//public int Baud_PLC { get; set; }
|
||||
public int Baud_XBE { get; set; }
|
||||
|
||||
//public int QueryInterval_BAT { get; set; }
|
||||
@@ -284,7 +284,7 @@ namespace Project
|
||||
//public Single interval_bms { get; set; }
|
||||
public Single interval_xbe { get; set; }
|
||||
public int interval_bms { get; set; }
|
||||
public byte interval_iostate { get; set; }
|
||||
//public byte interval_iostate { get; set; }
|
||||
//public Boolean Enable_AutoZDnUp { get; set; }
|
||||
public int doorSoundTerm { get; set; }
|
||||
public int musicvol { get; set; }
|
||||
@@ -378,7 +378,7 @@ namespace Project
|
||||
if (ChargeSearchTime == 0) ChargeSearchTime = 25;
|
||||
//최대 충전진행 시간(기본 1시간)
|
||||
if (ChargeMaxTime == 0) ChargeMaxTime = 3600;
|
||||
if (interval_iostate == 0 || interval_iostate == 255) interval_iostate = 100;
|
||||
// if (interval_iostate == 0 || interval_iostate == 255) interval_iostate = 100;
|
||||
if (ZSpeed == 0) ZSpeed = 20;
|
||||
if (interval_xbe == 0) interval_xbe = 5.0f;
|
||||
if (HomePositionValue == 0) HomePositionValue = 4;
|
||||
@@ -418,12 +418,12 @@ namespace Project
|
||||
|
||||
|
||||
if (string.IsNullOrEmpty(Port_AGV)) Port_AGV = "COM1";
|
||||
if (string.IsNullOrEmpty(Port_PLC)) Port_PLC = "COM2";
|
||||
// if (string.IsNullOrEmpty(Port_PLC)) Port_PLC = "COM2";
|
||||
if (string.IsNullOrEmpty(Port_XBE)) Port_XBE = "COM4";
|
||||
if (string.IsNullOrEmpty(Port_BAT)) Port_BAT = "COM7";
|
||||
|
||||
if (Baud_AGV == 0) Baud_AGV = 57600;
|
||||
if (Baud_PLC == 0) Baud_PLC = 19200;
|
||||
//if (Baud_PLC == 0) Baud_PLC = 19200;
|
||||
if (Baud_XBE == 0) Baud_XBE = 9600;
|
||||
if (Baud_BAT == 0) Baud_BAT = 9600;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user