예제 #1
0
        public string ClockStop_ToString()
        {
            string retVal = ConvertionClass.convertIntoString(clockStop);

            if (retVal == "\0")
            {
                retVal = "00";
            }
            return(retVal);
        }
예제 #2
0
 public CardReplacementIndex(byte value)
 {
     if (value == 0)
     {
         cardReplacementIndex = " ";
     }
     else
     {
         cardReplacementIndex = ConvertionClass.convertIntoString(value);
     }
 }
예제 #3
0
        public string Get_icSerialNumberToString()
        {
            string[] splitString         = icSerialNumber.Split(new string[] { "&&" }, StringSplitOptions.RemoveEmptyEntries);
            byte[]   icSerialNumberBytes = new byte[splitString.Length];

            for (int i = 0; i < splitString.Length; i++)
            {
                icSerialNumberBytes[i] = Convert.ToByte(splitString[i]);
            }

            return(ConvertionClass.convertIntoString(icSerialNumberBytes).Trim());
        }
예제 #4
0
        public CardNumber(byte[] value, short cardType)
        {
            this.cardType = cardType;

            if (cardType == EquipmentType.DRIVER_CARD)
            {
                driverIdentification = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 14));
                cardReplacementIndex = new CardReplacementIndex(value[14]);
                cardRenewalIndex     = new CardRenewalIndex(value[15]);

                ownerIdentification  = "";
                cardConsecutiveIndex = new CardConsecutiveIndex();
            }
            else
            {
                ownerIdentification  = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 13));
                cardConsecutiveIndex = new CardConsecutiveIndex(value[13]);
                cardReplacementIndex = new CardReplacementIndex(value[14]);
                cardRenewalIndex     = new CardRenewalIndex(value[15]);
                driverIdentification = "";
            }
        }
예제 #5
0
 public VuPartNumber(byte[] value)
 {
     vuPartNumber = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 16));
 }
예제 #6
0
 public string IcIdentifier_ToString()
 {
     return(ConvertionClass.convertIntoString(icIdentifier));
 }
예제 #7
0
 public string CardPersonaliserID_ToString()
 {
     return(ConvertionClass.convertIntoString(cardPersonaliserID));
 }
예제 #8
0
 public override string ToString()
 {
     return(ConvertionClass.convertIntoString(address));
 }
예제 #9
0
 public string EmbedderIcAssemblerId_ToString()
 {
     return(ConvertionClass.convertIntoString(embedderIcAssemblerId));
 }
예제 #10
0
파일: Name.cs 프로젝트: ruslan81/FIS
 public override string ToString()
 {
     return(ConvertionClass.convertIntoString(name).Trim());
 }
예제 #11
0
파일: RegionAlpha.cs 프로젝트: ruslan81/FIS
 public RegionAlpha(byte[] value)
 {
     regionAlpha = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 3));
 }
예제 #12
0
 public override string ToString()
 {
     return(ConvertionClass.convertIntoString(cardApprovalNumber).Trim());
 }
예제 #13
0
 public VehicleIdentificationNumber(byte[] value)
 {
     vehicleIdentificationNumber = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 17)).Trim();
 }
예제 #14
0
 public Language(byte[] value)
 {
     language = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 2));
 }
예제 #15
0
파일: TyreSize.cs 프로젝트: ruslan81/FIS
 public TyreSize(byte[] value)
 {
     tyreSize = ConvertionClass.convertIntoString(value).Trim();
 }
예제 #16
0
 public SensorApprovalNumber(byte[] value)
 {
     sensorApprovalNumber = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 8));
 }
예제 #17
0
 public VuSoftwareVersion(byte[] value)
 {
     vuSoftwareVersion = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 0, 4));
 }
예제 #18
0
 public override string ToString()
 {
     return(ConvertionClass.convertIntoString(vehicleRegNumber).Trim());
 }
예제 #19
0
 public CardDrivingLicenceInformation(byte[] value)
 {
     drivingLicenceIssuingAuthority = new Name(ConvertionClass.arrayCopy(value, 0, 36));
     drivingLicenceIssuingNation    = new NationNumeric(value[36]);
     drivingLicenceNumber           = ConvertionClass.convertIntoString(ConvertionClass.arrayCopy(value, 37, 16)).Trim();
 }
예제 #20
0
 public CardConsecutiveIndex(byte value)
 {
     cardConsecutiveIndex = ConvertionClass.convertIntoString(value);
 }