public void Clear() { errCode = LedPanel_ErrorCodes.Success; errDesc = String.Empty; comPort = String.Empty; isInit = isConnect = false; }
public bool Connect() { bool result = true; errCode = LedPanel_ErrorCodes.Success; errDesc = String.Empty; return(result); }
public void Disconnect() { try { port.Close(); isConnect = false; } catch (Exception E) { errCode = LedPanel_ErrorCodes.UnknownError; errDesc = "Exception Message : " + E.Message; } }