PumpGroupCtorParamsJsonSchemas.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "lang-zh-cn:HSC+ 恒山非ic卡加油机lang-en-us:HSC+ HengShan Pump NonIC",
  4. "type": "object",
  5. "required": [ "AmountDecimalDigits", "PriceDecimalDigits", "PumpConfigurations", "VolumeDecimalDigits", "VolumeTotalizerDecimalDigits" ],
  6. "format": "grid",
  7. "properties": {
  8. "AmountDecimalDigits": {
  9. "title": "lang-zh-cn:交易总金额数值中的小数点位数 设置lang-en-us:Decimal digits in Trx Amount",
  10. "type": "integer",
  11. "default": 2,
  12. "minimum": 0,
  13. "maximum": 10
  14. },
  15. "VolumeDecimalDigits": {
  16. "title": "lang-zh-cn:交易升数数值中的小数点位数 设置lang-en-us:Decimal digits in Trx Volume",
  17. "type": "integer",
  18. "default": 2,
  19. "minimum": 0,
  20. "maximum": 10
  21. },
  22. "PriceDecimalDigits": {
  23. "title": "lang-zh-cn:油品单价数值中的小数点位数 设置lang-en-us:Decimal digits in Fuel Product Price",
  24. "type": "integer",
  25. "default": 2,
  26. "minimum": 0,
  27. "maximum": 10
  28. },
  29. "VolumeTotalizerDecimalDigits": {
  30. "title": "lang-zh-cn:油机升数累积读数数值中的小数点位数 设置lang-en-us:Decimal digits in Volume Totalizer",
  31. "type": "integer",
  32. "default": 2,
  33. "minimum": 0,
  34. "maximum": 10
  35. },
  36. "PumpConfigurations": {
  37. "title": "lang-zh-cn:所有加油点lang-en-us:Fueling Points",
  38. "type": "array",
  39. "format": "tabs",
  40. "uniqueItems": true,
  41. "items": {
  42. "type": "object",
  43. "title": "lang-zh-cn:加油点lang-en-us:Fueling Point",
  44. "required": [ "PumpId", "PhysicalId", "NozzleConfigurations" ],
  45. "format": "grid",
  46. "properties": {
  47. "PumpId": {
  48. "title": "lang-zh-cn:PumpId 加油点号(>=1 且 <=255)lang-en-us:PumpId(>=1 and <=255)",
  49. "type": "integer",
  50. "default": 1,
  51. "minimum": 1,
  52. "maximum": 255
  53. },
  54. "PhysicalId": {
  55. "title": "lang-zh-cn:PumpPhysicalId 加油点硬件地址(>=1 且 <=255)lang-en-us:PumpPhysicalId(>=1 and <=255)",
  56. "type": "integer",
  57. "default": 1,
  58. "minimum": 1,
  59. "maximum": 255
  60. },
  61. "NozzleConfigurations": {
  62. "type": "array",
  63. "format": "tabs",
  64. "title": "lang-zh-cn:所有油枪lang-en-us:Nozzles",
  65. "uniqueItems": true,
  66. "items": {
  67. "type": "object",
  68. "title": "lang-zh-cn:油枪lang-en-us:Nozzle",
  69. "required": [ "LogicalId", "PhysicalId" ],
  70. "format": "table",
  71. "properties": {
  72. "LogicalId": {
  73. "title": "lang-zh-cn:油枪逻辑号(Nozzle LogicalId)lang-en-us:Nozzle LogicalId",
  74. "type": "integer",
  75. "default": 1,
  76. "minimum": 1,
  77. "maximum": 8
  78. },
  79. "PhysicalId": {
  80. "title": "lang-zh-cn:站级枪号(Nozzle PhysicalId)lang-en-us:Site Nozzle PhysicalId",
  81. "type": "integer",
  82. "default": 1,
  83. "minimum": 1,
  84. "maximum": 255
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. }
  92. }
  93. }