예제 #1
0
 public CommandFormat(CommandAckStruct cmd, ActionStruct action, byte[] payload)
 {
     CommandAck = cmd;
     Action     = action;
     Payload    = new byte[10];
     payload.CopyTo(Payload, 0);
 }
예제 #2
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);
 }
예제 #3
0
 public CommandFormat(byte cmd, byte action)
 {
     CommandAck = new CommandAckStruct(cmd);
     Action     = new ActionStruct(action);
     Payload    = new byte[10];
 }
예제 #4
0
 public CommandFormat(CommandAckStruct cmd, ActionStruct action)
 {
     CommandAck = cmd;
     Action     = action;
     Payload    = new byte[10];
 }
예제 #5
0
 public CommandFormat(byte cmd, byte action)
 {
     CommandAck = new CommandAckStruct(cmd);
     Action = new ActionStruct(action);
     Payload = new byte[10];
 }
예제 #6
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);
 }
예제 #7
0
 public CommandFormat(CommandAckStruct cmd, ActionStruct action)
 {
     CommandAck = cmd;
     Action = action;
     Payload = new byte[10];
 }
예제 #8
0
 public CommandFormat(CommandAckStruct cmd, ActionStruct action, byte[] payload)
 {
     CommandAck = cmd;
     Action = action;
     Payload = new byte[10];
     payload.CopyTo(Payload, 0);
 }