Пример #1
0
 public void add_part(PdmRequest cmd_type, Bytes cmd_body)
 {
     this.parts.Add(new Tuple <byte, Bytes, uint?>((byte)cmd_type, cmd_body, null));
 }
Пример #2
0
 public PdmMessage(PdmRequest cmd_type, Bytes cmd_body) : base()
 {
     this.add_part(cmd_type, cmd_body);
     this.message_str_prefix = "\n";
     this.type = RadioPacketType.PDM;
 }