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