/// <summary>   Updates the output. </summary>
 /// <param name="message">  The message. </param>
 /// <param name="error">    (Optional) True to error. </param>
 protected void UpdateOutput(string message, bool error = false)
 {
     _messageUpdater?.UpdateOutput(message, error);
 }
Exemple #2
0
 /// <summary> Sends a free command. </summary>
 /// <param name="freeCommand"> The free command to send to the port. </param>
 public void SendFreeCommand(string freeCommand)
 {
     _messageUpdater.UpdateOutput("Sending free command...");
     ELLDevicePort.SendFreeString(freeCommand);
 }