AuthResult.cs 1011 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using HengshanPaymentTerminal.Support;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace HengshanPaymentTerminal.MessageEntity.Outgoing
  7. {
  8. public class AuthResult : CardMessageBase
  9. {
  10. public AuthResult() : base(Command.AuthResult)
  11. {
  12. }
  13. [Format(10, EncodingType.BcdString, -90)]
  14. public string Asn { get; set; }
  15. [Format(4, EncodingType.BIN, -87)]
  16. public int PosTtc { get; set; }
  17. [Format(2, EncodingType.BIN, -86)]
  18. public ushort SeqNo { get; set; }
  19. [Format(2, EncodingType.BIN, -85)]
  20. public ushort FuelCode { get; set; }
  21. [Format(1, EncodingType.BIN, -84)]
  22. public AuthResultCode ResultCode { get; set; }
  23. [Format(1, EncodingType.BIN, -83)]
  24. public byte AdditionalInfoLength { get; set; }
  25. [EnumerableFormat("AdditionalInfoLength", 1)]
  26. public List<byte> AdditionalInfo { get; set; }
  27. }
  28. }