GrayInfo.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Dfs.WayneChina.SpsDataCourier.Models
  6. {
  7. public class GrayInfo
  8. {
  9. [JsonProperty("gid")]
  10. public ulong Gid { get; set; }
  11. [JsonProperty("sNo")]
  12. public int SNo { get; set; }
  13. [JsonProperty("pumpType")]
  14. public byte PumpType { get; set; }
  15. [JsonProperty("cardNo")]
  16. public string CardNo { get; set; }
  17. [JsonProperty("paymodeId")]
  18. public byte PaymodeId { get; set; }
  19. [JsonProperty("trdType")]
  20. public byte TrdType { get; set; }
  21. /// <summary>
  22. /// Commodity ID, actually fuel grade
  23. /// </summary>
  24. [JsonProperty("commID")]
  25. public string CommId { get; set; }
  26. /// <summary>
  27. /// Unit price
  28. /// </summary>
  29. [JsonProperty("prc")]
  30. public uint Price { get; set; }
  31. [JsonProperty("vol")]
  32. public uint Volume { get; set; }
  33. [JsonProperty("mon")]
  34. public uint Money { get; set; }
  35. [JsonProperty("realMON")]
  36. public uint RealMon { get; set; }
  37. [JsonProperty("cardBal")]
  38. public uint CardBalance { get; set; }
  39. [JsonProperty("ctc")]
  40. public uint Ctc { get; set; }
  41. [JsonProperty("ttctime")]
  42. public string TtcTime { get; set; }
  43. [JsonProperty("ttctimeEnd")]
  44. public string TtcTimeEnd { get; set; }
  45. [JsonProperty("ttc")]
  46. public uint Ttc { get; set; }
  47. [JsonProperty("seqNo")]
  48. public ushort SeqNo { get; set; }
  49. [JsonProperty("nozNo")]
  50. public byte NozNo { get; set; }
  51. [JsonProperty("pumpNo")]
  52. public byte PumpNo { get; set; }
  53. [JsonProperty("payTemId")]
  54. public ulong PayTermId { get; set; }
  55. [JsonProperty("endPump")]
  56. public ulong EndPumpId { get; set; }
  57. [JsonProperty("discountNo")]
  58. public uint DiscountNo { get; set; }
  59. [JsonProperty("psamasn")]
  60. public string PsamAsn { get; set; }
  61. [JsonProperty("psamtac")]
  62. public uint PsamTac { get; set; }
  63. [JsonProperty("psamtid")]
  64. public string PsamTid { get; set; }
  65. [JsonProperty("psamttc")]
  66. public uint PsamTtc { get; set; }
  67. [JsonProperty("tac")]
  68. public uint Tac { get; set; }
  69. [JsonProperty("gmac")]
  70. public uint Gmac { get; set; }
  71. [JsonProperty("tmac")]
  72. public uint Tmac { get; set; }
  73. [JsonProperty("uploadFlag")]
  74. public byte UploadFlag { get; set; }
  75. [JsonProperty("operationType")]
  76. public byte OperationType { get; set; }
  77. }
  78. }