public CardPlaceDailyWorkPeriod(byte[] value, short noOfCardPlaceRecords)
        {
            int noOfValidCardPlaceRecords = 0;
            placeRecords = new List<PlaceRecord>();

            for (int i = 0; i < noOfCardPlaceRecords; i += 1)
            {
                byte[] record = ConvertionClass.arrayCopy(value, 1 + (i * PlaceRecord.structureSize), PlaceRecord.structureSize);

                PlaceRecord pr = new PlaceRecord(record);
                if (pr.entryTime.timereal != 0)
                {
                    placeRecords.Add(pr);
                    noOfValidCardPlaceRecords += 1;
                }
            }
            structureSize = 1 + noOfValidCardPlaceRecords * PlaceRecord.structureSize;
        }
 public VuPlaceDailyWorkPeriodRecord()
 {
     fullCardNumber = new FullCardNumber();
     placeRecord = new PlaceRecord();
 }
 public VuPlaceDailyWorkPeriodRecord(byte[] value)
 {
     fullCardNumber = new FullCardNumber(ConvertionClass.arrayCopy(value, 0, 18));
     placeRecord = new PlaceRecord(ConvertionClass.arrayCopy(value, 18, 10));
 }
Esempio n. 4
0
 public VuPlaceDailyWorkPeriodRecord()
 {
     fullCardNumber = new FullCardNumber();
     placeRecord    = new PlaceRecord();
 }