protected virtual void OnReplyError(SerialEventArgs info) { if (ReplyError != null) { Task.Run(() => ReplyError?.Invoke(this, info)); } }
protected virtual void OnReplyError(SerialEventArgs info) { WriteLastCommandReplyType(EReplyType.ReplyError); if (ReplyError != null) { Task.Run(() => ReplyError?.Invoke(this, info)); } }