PumpGroupHandlerCtorParamsJsonSchemas.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "中升非IC卡加油机",
  4. "type": "object",
  5. "required": [ "FccCommAddress", "DispenserCommBoardAddress", "PumpConfigs" ],
  6. "format": "grid",
  7. "properties": {
  8. "FccCommAddress": {
  9. "title": "油机端所配置的中控机的通讯地址编号,油机端将使用此值与中控机通讯,请从油机端查询和获取(典型值为0xE0即224)",
  10. "type": "integer",
  11. "default": 224,
  12. "minimum": 1,
  13. "maximum": 255
  14. },
  15. "DispenserCommBoardAddress": {
  16. "title": "油机端的通讯板地址编号,请从油机端获取(典型值为0xFF即255)",
  17. "type": "integer",
  18. "default": 255,
  19. "minimum": 1,
  20. "maximum": 255
  21. },
  22. "PumpConfigs": {
  23. "title": "所有加油点(此油机是一把枪即一个加油点)",
  24. "type": "array",
  25. "format": "tabs",
  26. "uniqueItems": true,
  27. "items": {
  28. "type": "object",
  29. "title": "加油点",
  30. "required": [ "PumpId", "DispenserSideNozzleId" ],
  31. "format": "grid",
  32. "properties": {
  33. "PumpId": {
  34. "title": "PumpId 加油点号(>=1 且 <=255)",
  35. "type": "integer",
  36. "default": 1,
  37. "minimum": 1,
  38. "maximum": 255
  39. },
  40. "DispenserSideNozzleId": {
  41. "title": "油机端所配置的枪号, 对于此类型的油机,它其实就是全站枪号",
  42. "type": "integer",
  43. "default": 1,
  44. "minimum": 1,
  45. "maximum": 128
  46. }
  47. }
  48. }
  49. }
  50. }
  51. }