DitPumpGroupHandlerCtorParamsJsonSchemas.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "基于TCP连接的IFSF协议的中油加油机(DIT)配置",
  4. "type": "object",
  5. "format": "grid",
  6. "properties": {
  7. "FccIfsfSubnetValue": {
  8. "title": "中控IFSF子网值",
  9. "type": "integer",
  10. "default": 2,
  11. "minimum": 1,
  12. "maximum": 255,
  13. "options": {
  14. "infoText": "FCC Ifsf Subnet,此值应与油机的Subnet值区分"
  15. }
  16. },
  17. "FccIfsfNodeValue": {
  18. "title": "中控IFSF节点",
  19. "type": "integer",
  20. "default": 1,
  21. "minimum": 1,
  22. "maximum": 255,
  23. "options": {
  24. "infoText": "FCC Ifsf Node"
  25. }
  26. },
  27. "PumpGroupIfsfSubnetValue": {
  28. "title": "加油点组IFSF子网值",
  29. "type": "integer",
  30. "default": 1,
  31. "minimum": 1,
  32. "maximum": 255,
  33. "options": {
  34. "infoText": "此油机主板上的多个加油点所共享的Ifsf Subnet Value,一般一个油站中所有加油机均使用同一值。此值应与'中控IFSF子网值'区分"
  35. }
  36. },
  37. "PumpConfigurations": {
  38. "title": "所有加油点",
  39. "type": "array",
  40. "format": "grid",
  41. "uniqueItems": true,
  42. "items": {
  43. "type": "object",
  44. "title": "加油点",
  45. "format": "grid",
  46. "required": [ "PumpIfsfNodeValue", "PumpId", "PhysicalId", "NozzleConfigurations" ],
  47. "properties": {
  48. "PumpIfsfNodeValue": {
  49. "title": "加油点IFSF节点",
  50. "type": "integer",
  51. "default": 1,
  52. "minimum": 1,
  53. "maximum": 255,
  54. "options": {
  55. "infoText": "全站中,每个加油点应该分配唯一的IFSF节点值,同时它默认即是全站枪号(中油站的默认业务),此值应该与加油机的Web管理后台中所分配的值一致",
  56. "grid_columns": 6
  57. }
  58. },
  59. "PumpId": {
  60. "title": "加油点号(Ifsf Fdc PumpId)",
  61. "type": "integer",
  62. "default": 1,
  63. "minimum": 1,
  64. "maximum": 255,
  65. "options": {
  66. "infoText": "应该与FDC SERVER APP中所配置的加油点关联",
  67. "grid_columns": 6
  68. }
  69. },
  70. "PhysicalId": {
  71. "title": "加油点IFSF物理地址",
  72. "type": "integer",
  73. "enum": [ 33, 34, 35, 36 ],
  74. "options": {
  75. "enum_titles": [ "0x21", "0x22", "0x23", "0x24" ],
  76. "grid_columns": 12
  77. },
  78. "links": [
  79. {
  80. "href": "/image/ProcessorMetaDescriptor/tqcIfsfPumpBoard_pump_nozzle_id.png",
  81. "mediaType": "image"
  82. }
  83. ]
  84. },
  85. "NozzleConfigurations": {
  86. "type": "array",
  87. "format": "tabs",
  88. "title": "所有油枪",
  89. "uniqueItems": true,
  90. "items": {
  91. "type": "object",
  92. "title": "油枪",
  93. "required": [ "LogicalId", "PhysicalId" ],
  94. "format": "table",
  95. "properties": {
  96. "LogicalId": {
  97. "title": "油枪逻辑号(Ifsf Fdc LogicalNozzle Id)",
  98. "type": "integer",
  99. "default": 1,
  100. "minimum": 1,
  101. "maximum": 8,
  102. "options": {
  103. "infoText": "应该与FDC SERVER APP中所配置的加油点关联"
  104. }
  105. },
  106. "PhysicalId": {
  107. "title": "油枪IFSF物理地址",
  108. "type": "integer",
  109. "enum": [ 17, 18, 19, 20, 21, 22, 23, 24 ],
  110. "options": {
  111. "enum_titles": [ "0x11", "0x12", "0x13", "0x14", "0x15", "0x16", "0x17", "0x18" ]
  112. }
  113. }
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. }
  121. }