/// <summary> /// Send STIME command. /// </summary> public void SetTimeCommand() { if (_serialPort != null && _serialPort.IsAvailable()) { Task.Run(() => _serialPort.SetLocalSystemDateTime()); } else { DisplayConnectionError(); } }