Пример #1
0
 public VuCardIWRecord(byte[] value)
 {
     cardHolderName = new HolderName(ConvertionClass.arrayCopy(value, 0, 72));
     fullCardNumber = new FullCardNumber(ConvertionClass.arrayCopy(value, 72, 18));
     cardExpiryDate = new TimeReal(ConvertionClass.arrayCopy(value, 90, 4));
     cardInsertionTime = new TimeReal(ConvertionClass.arrayCopy(value, 94, 4));
     vehicleOdometerValueAtInsertion = new OdometerShort(ConvertionClass.arrayCopy(value, 98, 3));
     cardSlotNumber = new CardSlotNumber(value[101]);
     cardWithdrawalTime = new TimeReal(ConvertionClass.arrayCopy(value, 102, 4));
     vehicleOdometerValueAtWithdrawal = new OdometerShort(ConvertionClass.arrayCopy(value, 106, 3));
     previousVehicleInfo = new PreviousVehicleInfo(ConvertionClass.arrayCopy(value, 109, 19));
     manualInputFlag = new ManualInputFlag(value[128]);
 }
Пример #2
0
 public VuCardIWRecord()
 {
     cardHolderName = new HolderName();
     fullCardNumber = new FullCardNumber();
     cardExpiryDate = new TimeReal();
     cardInsertionTime = new TimeReal();
     vehicleOdometerValueAtInsertion = new OdometerShort();
     cardSlotNumber = new CardSlotNumber();
     cardWithdrawalTime = new TimeReal();
     vehicleOdometerValueAtWithdrawal = new OdometerShort();
     previousVehicleInfo = new PreviousVehicleInfo();
     manualInputFlag = new ManualInputFlag();
 }