Пример #1
0
 public Bind(CenterCmd Command, byte[] _body)
 {
     header        = new Head(Command);
     body          = new Bodys(_body);
     header.Length = (ushort)(Head.HeaderLength + body.Length);
 }
Пример #2
0
 public Head(CenterCmd CommandID)
 {
     Converter.Int16ToBytes((ushort)CommandID).CopyTo(initValue, 2);
 }