TermHandlerGroupCtorParamsJsonSchemas.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "恒山加油机IC卡配置",
  4. "type": "object",
  5. "required": [
  6. "pumpIds",
  7. "pumpSubAddresses"
  8. ],
  9. "format": "grid",
  10. "properties": {
  11. "pumpIds": {
  12. "title": "加油点列表",
  13. "type": "string",
  14. "default": "1,2,3,4"
  15. },
  16. "pumpSubAddresses": {
  17. "type": "array",
  18. "minItems": 1,
  19. "format": "tabs",
  20. "uniqueItems": true,
  21. "title": "lang-zh-ch:终端次级映射表lang-en-us:Sub address mappings for UI board",
  22. "items": {
  23. "type": "object",
  24. "title": "lang-zh-ch:次级地址映射lang-en-us:Sub address Mapping",
  25. "headerTemplate": "{{ self.PumpId }} <-> {{ self.SubAddress }}",
  26. "required": [ "PumpId", "SubAddress" ],
  27. "properties": {
  28. "PumpId": {
  29. "type": "integer",
  30. "title": "lang-zh-ch:加油点编号lang-en-us:Fueling Point No."
  31. },
  32. "SubAddress": {
  33. "type": "integer",
  34. "title": "lang-zh-ch:端口上的次级地址lang-en-us:Sub address on the port"
  35. }
  36. }
  37. }
  38. },
  39. "pumpNozzleLogicIds": {
  40. "type": "array",
  41. "minItems": 1,
  42. "format": "tabs",
  43. "uniqueItems": true,
  44. "title": "lang-zh-ch:加油点上的逻辑枪号lang-en-us:All the Logic ids for pumps",
  45. "items": {
  46. "type": "object",
  47. "title": "lang-zh-ch:加油点与逻辑枪号lang-en-us:Logic id of a pump",
  48. "headerTemplate": "{{ self.PumpId }} <-> {{ self.LogicIds }}",
  49. "required": [ "PumpId", "LogicIds" ],
  50. "properties": {
  51. "PumpId": {
  52. "type": "integer",
  53. "title": "lang-zh-ch:加油点编号lang-en-us:Fueling Point No."
  54. },
  55. "LogicIds": {
  56. "type": "string",
  57. "title": "lang-zh-ch:油枪的逻辑枪号列表lang-en-us:Nozzle logic id list"
  58. }
  59. }
  60. }
  61. },
  62. "pumpSiteNozzleNos": {
  63. "type": "array",
  64. "minItems": 1,
  65. "format": "tabs",
  66. "uniqueItems": true,
  67. "title": "lang-zh-ch:加油点上的站级枪号lang-en-us:Site Nozzle numbers for pumps",
  68. "items": {
  69. "type": "object",
  70. "title": "lang-zh-ch:加油点与站级枪号lang-en-us:Pump Number and Site nozzle no mapping",
  71. "headerTemplate": "{{ self.PumpId }} <-> {{ self.SiteNozzleNos }}",
  72. "required": [ "PumpId", "SiteNozzleNos" ],
  73. "properties": {
  74. "PumpId": {
  75. "type": "integer",
  76. "title": "lang-zh-ch:加油点编号lang-en-us:Fueling Point No."
  77. },
  78. "SiteNozzleNos": {
  79. "type": "string",
  80. "title": "lang-zh-ch:站级枪号列表lang-en-us:Site nozzle no list"
  81. }
  82. }
  83. }
  84. },
  85. "nozzleLogicIds": {
  86. "type": "array",
  87. "minItems": 1,
  88. "format": "tabs",
  89. "uniqueItems": true,
  90. "title": "lang-zh-ch:站级枪号对应的逻辑枪号lang-en-us:Logic nozzle ids for site nozzle numbers",
  91. "items": {
  92. "type": "object",
  93. "title": "lang-zh-ch:站级枪号与逻辑枪号映射lang-en-us:Logic id and site nozzle mapping",
  94. "headerTemplate": "{{ self.NozzleNo }} <-> {{ self.LogicId }}",
  95. "required": [ "NozzleNo", "LogicId" ],
  96. "properties": {
  97. "NozzleNo": {
  98. "type": "integer",
  99. "title": "lang-zh-ch:站级或外部枪号lang-en-us:Site Nozzle Number"
  100. },
  101. "LogicId": {
  102. "type": "integer",
  103. "title": "lang-zh-ch:逻辑枪号lang-en-us:Logic nozzle id"
  104. }
  105. }
  106. }
  107. }
  108. }
  109. }