Пример #1
0
 public Vehicle_Overview()
 {
     memberStateCertificate = new MemberStateCertificate();
     vuCertificate = new VuCertificate();
     vehicleIdentificationNumber = new VehicleIdentificationNumber();
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification();
     currentDateTime = new CurrentDateTime();
     vuDownloadablePeriod = new VuDownloadablePeriod();
     cardSlotsStatus = new CardSlotsStatus();
     vuDownloadActivityData = new VuDownloadActivityData();
     vuCompanyLocksData = new VuCompanyLocksData();
     vuControlActivityData = new VuControlActivityData();
 }
Пример #2
0
 public Vehicle_Overview(byte[] value)
 {
     int offset1 = 194 + 194 + 17 + 1 + 14 + 4 + 4 + 4 + 1 + 4 + 18 + 36;
     memberStateCertificate = new MemberStateCertificate(HexBytes.arrayCopy(value, 0, 194));
     vuCertificate = new VuCertificate(HexBytes.arrayCopy(value, 194, 194));
     vehicleIdentificationNumber = new VehicleIdentificationNumber(HexBytes.arrayCopy(value, 388, 17));
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification(HexBytes.arrayCopy(value, 405, 15));
     currentDateTime = new CurrentDateTime(HexBytes.arrayCopy(value, 420, 4));
     vuDownloadablePeriod = new VuDownloadablePeriod(HexBytes.arrayCopy(value, 424, 8));
     cardSlotsStatus = new CardSlotsStatus(value[432]);
     vuDownloadActivityData = new VuDownloadActivityData(HexBytes.arrayCopy(value, 433, 58));
     int offset2 = 1 + HexBytes.convertIntoUnsigned1ByteInt(value[offset1]) * VuCompanyLocksRecord.structureSize;
     vuCompanyLocksData = new VuCompanyLocksData(HexBytes.arrayCopy(value, offset1, offset2));
     int offset3 = 1 + HexBytes.convertIntoUnsigned1ByteInt(value[offset1 + offset2]) * VuControlActivityRecord.structureSize;
     vuControlActivityData = new VuControlActivityData(HexBytes.arrayCopy(value, offset1 + offset2, offset3));
     size = offset1 + offset2 + offset3;
 }
 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();
 }
Пример #5
0
 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));
 }
Пример #6
0
 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();
 }
Пример #7
0
 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));
 }
Пример #8
0
 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();
 }
Пример #9
0
 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));
 }
Пример #10
0
 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();
 }