示例#1
0
 public CardEventRecord(byte[] value)
 {
     eventType = new EventFaultType(value[0]);
     eventBeginTime = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     eventEndTime = new TimeReal(ConvertionClass.arrayCopy(value, 5, 4));
     eventVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 9, 15));
 }
示例#2
0
 public CardEventRecord()
 {
     eventType                = new EventFaultType();
     eventBeginTime           = new TimeReal();
     eventEndTime             = new TimeReal();
     eventVehicleRegistration = new VehicleRegistrationIdentification();
 }
示例#3
0
 public CardFaultRecord()
 {
     faultType                = new EventFaultType();
     faultBeginTime           = new TimeReal();
     faultEndTime             = new TimeReal();
     faultVehicleRegistration = new VehicleRegistrationIdentification();
 }
示例#4
0
 public CardFaultRecord()
 {
     faultType = new EventFaultType();
     faultBeginTime = new TimeReal();
     faultEndTime = new TimeReal();
     faultVehicleRegistration = new VehicleRegistrationIdentification();
 }
示例#5
0
 public CardEventRecord(byte[] value)
 {
     eventType                = new EventFaultType(value[0]);
     eventBeginTime           = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     eventEndTime             = new TimeReal(ConvertionClass.arrayCopy(value, 5, 4));
     eventVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 9, 15));
 }
示例#6
0
 public CardEventRecord()
 {
     eventType = new EventFaultType();
     eventBeginTime = new TimeReal();
     eventEndTime = new TimeReal();
     eventVehicleRegistration = new VehicleRegistrationIdentification();
 }
示例#7
0
 public CardFaultRecord(byte[] value)
 {
     faultType = new EventFaultType(value[0]);
     long faultBeginTimeTmp = ConvertionClass.convertIntoUnsigned4ByteInt(ConvertionClass.arrayCopy(value, 1, 4));
     faultBeginTime = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     faultEndTime = new TimeReal(ConvertionClass.arrayCopy(value, 5, 4));
     faultVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 9, 15));
 }
示例#8
0
 public CardVehicleRecord(byte[] value)
 {
     vehicleOdometerBegin = new OdometerShort(ConvertionClass.arrayCopy(value, 0, 3));
     vehicleOdometerEnd   = new OdometerShort(ConvertionClass.arrayCopy(value, 3, 3));
     vehicleFirstUse      = new TimeReal(ConvertionClass.arrayCopy(value, 6, 4));
     vehicleLastUse       = new TimeReal(ConvertionClass.arrayCopy(value, 10, 4));
     vehicleRegistration  = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 14, 15));
     vuDataBlockCounter   = new VuDataBlockCounter(ConvertionClass.arrayCopy(value, 29, 2));
 }
示例#9
0
 public CardVehicleRecord()
 {
     vehicleOdometerBegin = new OdometerShort();
     vehicleOdometerEnd   = new OdometerShort();
     vehicleFirstUse      = new TimeReal();
     vehicleLastUse       = new TimeReal();
     vehicleRegistration  = new VehicleRegistrationIdentification();
     vuDataBlockCounter   = new VuDataBlockCounter();
 }
示例#10
0
 public CompanyActivityRecord(byte[] value)
 {
     companyActivityType            = new CompanyActivityType(value[0]);
     companyActivityTime            = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     cardNumberInformation          = new FullCardNumber(ConvertionClass.arrayCopy(value, 5, 18));
     vehicleRegistrationInformation = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 23, 15));
     downloadPeriodBegin            = new TimeReal(ConvertionClass.arrayCopy(value, 38, 4));
     downloadPeriodEnd = new TimeReal(ConvertionClass.arrayCopy(value, 42, 4));
 }
示例#11
0
 public CardVehicleRecord()
 {
     vehicleOdometerBegin = new OdometerShort();
     vehicleOdometerEnd = new OdometerShort();
     vehicleFirstUse = new TimeReal();
     vehicleLastUse = new TimeReal();
     vehicleRegistration = new VehicleRegistrationIdentification();
     vuDataBlockCounter = new VuDataBlockCounter();
 }
示例#12
0
 public CompanyActivityRecord()
 {
     companyActivityType = new CompanyActivityType();
     companyActivityTime = new TimeReal();
     cardNumberInformation = new FullCardNumber();
     vehicleRegistrationInformation = new VehicleRegistrationIdentification();
     downloadPeriodBegin = new TimeReal();
     downloadPeriodEnd = new TimeReal();
 }
示例#13
0
 public CardControlActivityDataRecord()
 {
     controlType                = new ControlType();
     controlTime                = new TimeReal();
     controlCardNumber          = new FullCardNumber();
     controlVehicleRegistration = new VehicleRegistrationIdentification();
     controlDownloadPeriodBegin = new TimeReal();
     controlDownloadPeriodEnd   = new TimeReal();
 }
示例#14
0
 public CardControlActivityDataRecord(byte[] value)
 {
     controlType                = new ControlType(value[0]);
     controlTime                = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     controlCardNumber          = new FullCardNumber(ConvertionClass.arrayCopy(value, 5, 18));
     controlVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 23, 15));
     controlDownloadPeriodBegin = new TimeReal(ConvertionClass.arrayCopy(value, 38, 4));
     controlDownloadPeriodEnd   = new TimeReal(ConvertionClass.arrayCopy(value, 42, 4));
 }
示例#15
0
 public CompanyActivityRecord(byte[] value)
 {
     companyActivityType = new CompanyActivityType(value[0]);
     companyActivityTime = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     cardNumberInformation = new FullCardNumber(ConvertionClass.arrayCopy(value, 5, 18));
     vehicleRegistrationInformation = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 23, 15));
     downloadPeriodBegin = new TimeReal(ConvertionClass.arrayCopy(value, 38, 4));
     downloadPeriodEnd = new TimeReal(ConvertionClass.arrayCopy(value, 42, 4));
 }
示例#16
0
        public CardFaultRecord(byte[] value)
        {
            faultType = new EventFaultType(value[0]);
            long faultBeginTimeTmp = ConvertionClass.convertIntoUnsigned4ByteInt(ConvertionClass.arrayCopy(value, 1, 4));

            faultBeginTime           = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
            faultEndTime             = new TimeReal(ConvertionClass.arrayCopy(value, 5, 4));
            faultVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 9, 15));
        }
示例#17
0
 public CardVehicleRecord(byte[] value)
 {
     vehicleOdometerBegin = new OdometerShort(ConvertionClass.arrayCopy(value, 0, 3));
     vehicleOdometerEnd = new OdometerShort(ConvertionClass.arrayCopy(value, 3, 3));
     vehicleFirstUse = new TimeReal(ConvertionClass.arrayCopy(value, 6, 4));
     vehicleLastUse = new TimeReal(ConvertionClass.arrayCopy(value, 10, 4));
     vehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 14, 15));
     vuDataBlockCounter = new VuDataBlockCounter(ConvertionClass.arrayCopy(value, 29, 2));
 }
 public CardControlActivityDataRecord(byte[] value)
 {
     controlType = new ControlType(value[0]);
     controlTime = new TimeReal(ConvertionClass.arrayCopy(value, 1, 4));
     controlCardNumber = new FullCardNumber(ConvertionClass.arrayCopy(value, 5, 18));
     controlVehicleRegistration = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 23, 15));
     controlDownloadPeriodBegin = new TimeReal(ConvertionClass.arrayCopy(value, 38, 4));
     controlDownloadPeriodEnd = new TimeReal(ConvertionClass.arrayCopy(value, 42, 4));
 }
 public CardControlActivityDataRecord()
 {
     controlType = new ControlType();
     controlTime = new TimeReal();
     controlCardNumber = new FullCardNumber();
     controlVehicleRegistration = new VehicleRegistrationIdentification();
     controlDownloadPeriodBegin = new TimeReal();
     controlDownloadPeriodEnd = new TimeReal();
 }
示例#20
0
 public CompanyActivityRecord()
 {
     companyActivityType            = new CompanyActivityType();
     companyActivityTime            = new TimeReal();
     cardNumberInformation          = new FullCardNumber();
     vehicleRegistrationInformation = new VehicleRegistrationIdentification();
     downloadPeriodBegin            = new TimeReal();
     downloadPeriodEnd = new TimeReal();
 }
示例#21
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();
 }
示例#22
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()
 {
     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();
 }
示例#24
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));
 }
示例#25
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();
 }
 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));
 }
示例#27
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();
 }
示例#28
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));
 }
示例#29
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();
 }
示例#30
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));
 }
示例#31
0
 public CardCurrentUse(byte[] value)
 {
     sessionOpenTime    = new TimeReal(ConvertionClass.arrayCopy(value, 0, 4));
     sessionOpenVehicle = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 4, 15));
 }
示例#32
0
 public CardCurrentUse(byte[] value)
 {
     sessionOpenTime = new TimeReal(ConvertionClass.arrayCopy(value, 0, 4));
     sessionOpenVehicle = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 4, 15));
 }
示例#33
0
 public CardCurrentUse()
 {
     sessionOpenTime    = new TimeReal();
     sessionOpenVehicle = new VehicleRegistrationIdentification();
 }
示例#34
0
 public CardCurrentUse()
 {
     sessionOpenTime = new TimeReal();
     sessionOpenVehicle = new VehicleRegistrationIdentification();
 }
示例#35
0
 public PreviousVehicleInfo(byte[] value)
 {
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 0, 15));
     cardWithdrawalTime = new TimeReal(ConvertionClass.arrayCopy(value, 15, 4));
 }
示例#36
0
 public PreviousVehicleInfo()
 {
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification();
     cardWithdrawalTime = new TimeReal();
 }
示例#37
0
 public PreviousVehicleInfo(byte[] value)
 {
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification(ConvertionClass.arrayCopy(value, 0, 15));
     cardWithdrawalTime = new TimeReal(ConvertionClass.arrayCopy(value, 15, 4));
 }
示例#38
0
 public PreviousVehicleInfo()
 {
     vehicleRegistrationIdentification = new VehicleRegistrationIdentification();
     cardWithdrawalTime = new TimeReal();
 }