Exemplo n.º 1
0
        public B2MMaintenance(byte[] inbuf, int index)
        {
            int pos = index + 1;

            this.idCnt = inbuf[pos++];
            _table     = new List <MaintenanceStruct>(this.idCnt);
            for (int i = 0; i < this.idCnt; i++)
            {
                MaintenanceStruct tmp = new MaintenanceStruct(inbuf, pos);
                pos += 5;
                _table.Add(tmp);
            }
            this.Result = inbuf[pos++];
        }
Exemplo n.º 2
0
 public B2MMaintenance(byte[] inbuf, int index)
 {
     int pos = index + 1;
     this.idCnt = inbuf[pos++];
     _table = new List<MaintenanceStruct>(this.idCnt);
     for (int i = 0; i < this.idCnt; i++)
     {
         MaintenanceStruct tmp = new MaintenanceStruct(inbuf, pos);
         pos += 5;
         _table.Add(tmp);
     }
     this.Result = inbuf[pos++];
 }