Example #1
0
 public void Clear()
 {
     errCode = LedPanel_ErrorCodes.Success;
     errDesc = String.Empty;
     comPort = String.Empty;
     isInit  = isConnect = false;
 }
Example #2
0
        public bool Connect()
        {
            bool result = true;

            errCode = LedPanel_ErrorCodes.Success;
            errDesc = String.Empty;
            return(result);
        }
Example #3
0
 public void Disconnect()
 {
     try
     {
         port.Close();
         isConnect = false;
     }
     catch (Exception E)
     {
         errCode = LedPanel_ErrorCodes.UnknownError;
         errDesc = "Exception Message : " + E.Message;
     }
 }