public WorkshopCardCalibrationRecord(byte[] value) { calibrationPurpose = new CalibrationPurpose(value[0]); vehicleIdentificationNumber = new VehicleIdentificationNumber(ConvertionClass.arrayCopy(value, 1, 17)); vehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 18, 15)); wVehicleCharacteristicConstant = new W_VehicleCharacteristicConstant(ConvertionClass.arrayCopy(value, 33, 2)); kConstantOfRecordingEquipment = new K_ConstantOfRecordingEquipment(ConvertionClass.arrayCopy(value, 35, 2)); lTyreCircumference = new L_TyreCircumference(ConvertionClass.arrayCopy(value, 37, 2)); tyreSize = new TyreSize(ConvertionClass.arrayCopy(value, 39, 15)); authorisedSpeed = new SpeedAuthorised(value[54]); oldOdometerValue = new OdometerShort(ConvertionClass.arrayCopy(value, 55, 3)); newOdometerValue = new OdometerShort(ConvertionClass.arrayCopy(value, 58, 3)); oldTimeValue = new TimeReal(ConvertionClass.arrayCopy(value, 61, 4)); newTimeValue = new TimeReal(ConvertionClass.arrayCopy(value, 65, 4)); vuPartNumber = new VuPartNumber(ConvertionClass.arrayCopy(value, 69, 16)); vuSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 85, 8)); sensorSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 93, 8)); }
public WorkshopCardCalibrationRecord() { calibrationPurpose = new CalibrationPurpose(); vehicleIdentificationNumber = new VehicleIdentificationNumber(); vehicleRegistration = new VehicleRegistrationIdentification(); wVehicleCharacteristicConstant = new W_VehicleCharacteristicConstant(); kConstantOfRecordingEquipment = new K_ConstantOfRecordingEquipment(); lTyreCircumference = new L_TyreCircumference(); tyreSize = new TyreSize(); authorisedSpeed = new SpeedAuthorised(); oldOdometerValue = new OdometerShort(); newOdometerValue = new OdometerShort(); oldTimeValue = new TimeReal(); newTimeValue = new TimeReal(); vuPartNumber = new VuPartNumber(); vuSerialNumber = new ExtendedSerialNumber(); sensorSerialNumber = new ExtendedSerialNumber(); }
public VuCalibrationRecord(byte[] value) { calibrationPurpose = new CalibrationPurpose(value[0]); workshopName = new Name(ConvertionClass.arrayCopy(value, 1, 36)); workshopAddress = new Address(ConvertionClass.arrayCopy(value, 37, 36)); workshopCardNumber = new FullCardNumber(ConvertionClass.arrayCopy(value, 73, 18)); workshopCardExpiryDate = new TimeReal(ConvertionClass.arrayCopy(value, 91, 4)); vehicleIdentificationNumber = new VehicleIdentificationNumber(ConvertionClass.arrayCopy(value, 95, 17)); vehicleRegistrationIdentification = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 112, 15)); wVehicleCharacteristicConstant = new W_VehicleCharacteristicConstant(ConvertionClass.arrayCopy(value, 127, 2)); kConstantOfRecordingEquipment = new K_ConstantOfRecordingEquipment(ConvertionClass.arrayCopy(value, 129, 2)); lTyreCircumference = new L_TyreCircumference(ConvertionClass.arrayCopy(value, 131, 2)); tyreSize = new TyreSize(ConvertionClass.arrayCopy(value, 133, 15)); authorisedSpeed = new SpeedAuthorised(value[148]); oldOdometerValue = new OdometerShort(ConvertionClass.arrayCopy(value, 149, 3)); newOdometerValue = new OdometerShort(ConvertionClass.arrayCopy(value, 152, 3)); oldTimeValue = new TimeReal(ConvertionClass.arrayCopy(value, 155, 4)); newTimeValue = new TimeReal(ConvertionClass.arrayCopy(value, 159, 4)); nextCalibrationDate = new TimeReal(ConvertionClass.arrayCopy(value, 163, 4)); }
public VuCalibrationRecord() { calibrationPurpose = new CalibrationPurpose(); workshopName = new Name(); workshopAddress = new Address(); workshopCardNumber = new FullCardNumber(); workshopCardExpiryDate = new TimeReal(); vehicleIdentificationNumber = new VehicleIdentificationNumber(); vehicleRegistrationIdentification = new VehicleRegistrationIdentification(); wVehicleCharacteristicConstant = new W_VehicleCharacteristicConstant(); kConstantOfRecordingEquipment = new K_ConstantOfRecordingEquipment(); lTyreCircumference = new L_TyreCircumference(); tyreSize = new TyreSize(); authorisedSpeed = new SpeedAuthorised(); oldOdometerValue = new OdometerShort(); newOdometerValue = new OdometerShort(); oldTimeValue = new TimeReal(); newTimeValue = new TimeReal(); nextCalibrationDate = new TimeReal(); }