TrendViewer, 차트 LegendText 변경한 셀이름으로 표시
This commit is contained in:
@@ -58,9 +58,10 @@ namespace vmsnet
|
||||
ErrorMessage = "포트명이 입력되지 않았습니다";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (port != null && port.IsOpen) port.Close();
|
||||
|
||||
if (port == null) port = new SerialPort(this.PortName);
|
||||
//if (port == null) port = new SerialPort(this.PortName);
|
||||
port = new SerialPort(this.PortName);
|
||||
port.BaudRate = Configure.BaudRate;
|
||||
port.Parity = Configure.Parity;
|
||||
port.DataBits = Configure.DataBits;
|
||||
|
||||
Reference in New Issue
Block a user