Exemple #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++];
        }
Exemple #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++];
 }