public Scales() { nxFrame = new NxDataFrame(); portManager = new SerialPortManager(); checker = new System.Threading.Timer((unused) => checkOnlineStatus(), null, System.Threading.Timeout.Infinite, (int)checkerSpan.TotalMilliseconds); portManager.NewSerialDataRecieved += portManager_NewSerialDataRecieved; }
public TcpScales() { nxFrame = new NxDataFrame(); checker = new System.Threading.Timer((unused) => checkOnlineStatus(), null, System.Threading.Timeout.Infinite, (int)checkerSpan.TotalMilliseconds); }