Example #1
0
 /// <summary>
 /// Calls the SendCommand method of the device.
 /// </summary>
 public void SendCommand(TeleCommand cmd)
 {
     try
     {
         DeviceLogic.SendCommand(cmd);
     }
     catch (Exception ex)
     {
         log.WriteException(ex, CommPhrases.ErrorInDevice, nameof(SendCommand), DeviceLogic.Title);
     }
 }