TrendViewer, 차트 LegendText 변경한 셀이름으로 표시

This commit is contained in:
shark219-hub
2024-11-27 11:55:33 +09:00
parent cb6a25f0a2
commit 3781977741
9 changed files with 161 additions and 142 deletions

View File

@@ -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;