CheckCommand.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Dfs.WayneChina.GilbarcoDispenserPayTerminal.MessageEntities.Outgoing
  6. {
  7. /// <summary>
  8. /// PC => Pump
  9. /// </summary>
  10. public class CheckCommand : CardMessageBase
  11. {
  12. public CheckCommand() : base(HandleType.Check)
  13. {
  14. }
  15. [Format(7, EncodingType.BcdString, -94)]
  16. public long Time { get; set; }
  17. [Format(2, EncodingType.BIN, -93)]
  18. public ushort BaseBlacklistVersion { get; set; }
  19. [Format(1, EncodingType.BIN, -92)]
  20. public byte AddBlacklistVersion { get; set; }
  21. [Format(1, EncodingType.BIN, -91)]
  22. public byte DeleteBlacklistVersion { get; set; }
  23. [Format(1, EncodingType.BIN, -90)]
  24. public byte WhitelistVersion { get; set; }
  25. [Format(1, EncodingType.BIN, -89)]
  26. public byte PriceVersion { get; set; }
  27. [Format(1, EncodingType.BIN, -88)]
  28. public byte StationGeneralInfoVersion { get; set; }
  29. [Format(1, EncodingType.BIN, -87)]
  30. public byte PrivateDataDownloadFlag { get; set; }
  31. [Format(1, EncodingType.BIN, -86)]
  32. public byte SoftwareDownloadFlag { get; set; }
  33. }
  34. }