Beispiel #1
0
 public virtual void OnMessageToRobot(ushort msgFunction, ushort msgPayloadLength, byte[] msgPayload)
 => OnMessageToRobotGeneratedEvent?.Invoke(this, new MessageToRobotArgs
 {
     MsgFunction      = msgFunction,
     MsgPayloadLength = msgPayloadLength,
     MsgPayload       = msgPayload
 });
 public virtual void OnMessageToRobot(Int16 msgFunction, Int16 msgPayloadLength, byte[] msgPayload)
 {
     OnMessageToRobotGeneratedEvent?.Invoke(this, new MessageByteArgs((ushort)msgFunction, (ushort)msgPayloadLength, msgPayload, 0x00));
 }