protected virtual void OnCommunicationStartError(Mid0004 mid) { this.Connected = false; if (mid.ErrorCode == Error.CLIENT_ALREADY_CONNECTED) { Console.WriteLine("Client is already connected!!"); } else if (mid.ErrorCode == Error.MID_REVISION_UNSUPPORTED) { Console.WriteLine(Error.MID_REVISION_UNSUPPORTED.ToString()); } }
private void onJobRefused(Mid0004 mid) { Console.WriteLine($"Job Abort refused by controller under error code <{(int)mid.ErrorCode}> ({mid.ErrorCode.ToString()})!"); }
private void onProductRefused(Mid0004 mid) { Console.WriteLine($"Error thrown by controller, product rejected under error code <{(int)mid.ErrorCode}> ({mid.ErrorCode.ToString()})!"); }