public CommandFormat(CommandAckStruct cmd, ActionStruct action, byte[] payload) { CommandAck = cmd; Action = action; Payload = new byte[10]; payload.CopyTo(Payload, 0); }
public CommandFormat(byte cmd, byte action, byte[] payload) { CommandAck = new CommandAckStruct(cmd); Action = new ActionStruct(action); Payload = new byte[10]; payload.CopyTo(Payload, 0); }
public CommandFormat(byte cmd, byte action) { CommandAck = new CommandAckStruct(cmd); Action = new ActionStruct(action); Payload = new byte[10]; }
public CommandFormat(CommandAckStruct cmd, ActionStruct action) { CommandAck = cmd; Action = action; Payload = new byte[10]; }