コード例 #1
0
ファイル: CardIccIdentification.cs プロジェクト: ruslan81/FIS
 public CardIccIdentification(byte[] value)
 {
     clockStop = value[0];
     cardExtendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 1, 8));
     cardApprovalNumber       = new CardApprovalNumber(ConvertionClass.arrayCopy(value, 9, 8));
     cardPersonaliserID       = value[17];
     embedderIcAssemblerId    = ConvertionClass.arrayCopy(value, 18, 5);
     icIdentifier             = ConvertionClass.arrayCopy(value, 23, 2);
 }
コード例 #2
0
 public CardIccIdentification(byte[] value)
 {
     clockStop = value[0];
     cardExtendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 1, 8));
     cardApprovalNumber = new CardApprovalNumber(ConvertionClass.arrayCopy(value, 9, 8));
     cardPersonaliserID = value[17];
     embedderIcAssemblerId = ConvertionClass.arrayCopy(value, 18, 5);
     icIdentifier = ConvertionClass.arrayCopy(value, 23, 2);
 }
コード例 #3
0
ファイル: CardIccIdentification.cs プロジェクト: ruslan81/FIS
 public CardIccIdentification()
 {
     clockStop = 0;
     cardExtendedSerialNumber = new ExtendedSerialNumber();
     cardApprovalNumber       = new CardApprovalNumber();
     cardPersonaliserID       = 0;
     embedderIcAssemblerId    = new byte[5];
     icIdentifier             = new byte[2];
 }
コード例 #4
0
 public CardIccIdentification()
 {
     clockStop = 0;
     cardExtendedSerialNumber = new ExtendedSerialNumber();
     cardApprovalNumber = new CardApprovalNumber();
     cardPersonaliserID = 0;
     embedderIcAssemblerId = new byte[5];
     icIdentifier = new byte[2];
 }
コード例 #5
0
 public KeyIdentifier(byte[] value, short kidType)
 {
     this.kidType = kidType;
     if (kidType == KIDTYPE_PK_VU_TC)
     {
         extendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else if (kidType == KIDTYPE_PK_VU)
     {
         certificateRequestID = new CertificateRequestID(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else
     {
         certificationAuthorityKID = new CertificationAuthorityKID(ConvertionClass.arrayCopy(value, 0, 8));
     }
 }
コード例 #6
0
ファイル: KeyIdentifier.cs プロジェクト: ShunkevichDV/FIS
 public KeyIdentifier(byte[] value, short kidType)
 {
     this.kidType = kidType;
     if (kidType == KIDTYPE_PK_VU_TC)
     {
         extendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else if (kidType == KIDTYPE_PK_VU)
     {
         certificateRequestID = new CertificateRequestID(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else
     {
         certificationAuthorityKID = new CertificationAuthorityKID(ConvertionClass.arrayCopy(value, 0, 8));
     }
 }
コード例 #7
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();
 }
コード例 #8
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));
 }
コード例 #9
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();
 }
コード例 #10
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));
 }
コード例 #11
0
 public KeyIdentifier()
 {
     extendedSerialNumber      = new ExtendedSerialNumber();
     certificateRequestID      = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }
コード例 #12
0
ファイル: KeyIdentifier.cs プロジェクト: ShunkevichDV/FIS
 public KeyIdentifier()
 {
     extendedSerialNumber = new ExtendedSerialNumber();
     certificateRequestID = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }