12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- using Edge.Core.Parser.BinaryParser.Attributes;
- using System;
- using System.Collections.Generic;
- using System.Security.Policy;
- using System.Text;
- namespace Dfs.WayneChina.GilbarcoDispenserPayTerminal.MessageEntities.Incoming
- {
- public class TransactionData : CardMessageBase
- {
- public TransactionData() : base(HandleType.TransactionData)
- {
- }
- [Format(4, EncodingType.BIN, -94)]
- public int PosTtc { get; set; }
- [Format(1, EncodingType.BIN, -93)]
- public byte TransType { get; set; }
- [Format(7, EncodingType.BcdString, -92)]
- public string TransTime { get; set; }
- [Format(10, EncodingType.BcdString, -91)]
- public string Asn { get; set; }
- [Format(4, EncodingType.HexString, -90)]
- public string Balance { get; set; }
- [Format(3, EncodingType.BIN, -89)]
- public int Amount { get; set; }
- [Format(2, EncodingType.BIN, -88)]
- public int Ctc { get; set; }
- [Format(4, EncodingType.BIN, -87)]
- public int Tac { get; set; }
- [Format(4, EncodingType.BIN, -86)]
- public long Gmac { get; set; }
- [Format(4, EncodingType.BIN, -85)]
- public long PsamTac { get; set; }
- [Format(10, EncodingType.BcdString, -84)]
- public string PsamAsn { get; set; }
- [Format(6, EncodingType.BIN, -83)]
- public long PsamTid { get; set; }
- [Format(4, EncodingType.BIN, -82)]
- public long PsamTtc { get; set; }
- /// <summary>
- /// Source of fund for deduction
- /// 扣款来源
- /// </summary>
- [Format(1, EncodingType.BIN, -81)]
- public byte DeductionSource { get; set; }
- [Format(1, EncodingType.BIN, -80)]
- public byte ClearingUnit { get; set; }
- [Format(1, EncodingType.BIN, -79)]
- public byte CardType { get; set; }
- [Format(1, EncodingType.BIN, -78)]
- public byte Version { get; set; }
- [Format(1, EncodingType.BIN, -77)]
- public byte NozzleNo { get; set; }
- [Format(2, EncodingType.BCD, -76)]
- public int GoodsCode { get; set; }
- [Format(3, EncodingType.BIN, -75)]
- public int Volume { get; set; }
- [Format(2, EncodingType.BIN, -74)]
- public int Price { get; set; }
- [Format(1, EncodingType.BIN, -73)]
- public byte EmployeeCode { get; set; }
- [Format(4, EncodingType.BIN, -72)]
- public long VolumeTotalizer { get; set; }
- [Format(11, EncodingType.HexString, -71)]
- public string Rfu { get; set; }
- [Format(4, EncodingType.BIN, -70)]
- public long TMac { get; set; }
- }
- }
|