public DriverCardApplicationIdentification(byte[] value) { typeOfTachographCardId = new EquipmentType(value[0]); cardStructureVersion = new CardStructureVersion(ConvertionClass.arrayCopy(value, 1, 2)); noOfEventsPerType = new NoOfEventsPerType(value[3]); noOfFaultsPerType = new NoOfFaultsPerType(value[4]); activityStructureLength = new CardActivityLengthRange(ConvertionClass.arrayCopy(value, 5, 2)); noOfCardVehicleRecords = new NoOfCardVehicleRecords(ConvertionClass.arrayCopy(value, 7, 2)); noOfCardPlaceRecords = new NoOfCardPlaceRecords(value[9]); }
public DriverCardApplicationIdentification() { typeOfTachographCardId = new EquipmentType(); cardStructureVersion = new CardStructureVersion(); noOfEventsPerType = new NoOfEventsPerType(); noOfFaultsPerType = new NoOfFaultsPerType(); activityStructureLength = new CardActivityLengthRange(); noOfCardVehicleRecords = new NoOfCardVehicleRecords(); noOfCardPlaceRecords = new NoOfCardPlaceRecords(); }