appCtorParamsJsonSchema.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "主配置",
  4. "type": "object",
  5. "required": [
  6. "UITemplateVersion",
  7. "Host",
  8. "Port",
  9. "Username",
  10. "Password",
  11. "DeviceId",
  12. "SiteName",
  13. "Interval",
  14. "UploadInterval",
  15. "HostUploadFolder"
  16. ],
  17. "format": "table",
  18. "properties": {
  19. "UITemplateVersion": {
  20. "type": "string",
  21. "readOnly": true,
  22. "default": "1.0",
  23. "format": "hidden",
  24. "options": {
  25. "compact": true
  26. }
  27. },
  28. "Host": {
  29. "type": "string",
  30. "title": "lang-zh-cn:FTP Server的IP地址lang-en-us:IP Address of FTP Server",
  31. "default": "localhost"
  32. },
  33. "Port": {
  34. "type": "integer",
  35. "title": "lang-zh-ch:FTP端口lang-en-us:Port of FTP Server",
  36. "default": 22
  37. },
  38. "Username": {
  39. "type": "string",
  40. "title": "lang-zh-ch:FTP用户名lang-en-us:User name of FTP",
  41. "default": "888"
  42. },
  43. "Password": {
  44. "type": "string",
  45. "title": "lang-zh-ch:FTP用户密码lang-en-us:User password of FTP",
  46. "default": "999999"
  47. },
  48. "DeviceId": {
  49. "type": "string",
  50. "title": "lang-zh-ch:设备编号(ID)URL lang-en-us:Device ID",
  51. "default": "12345"
  52. },
  53. "SiteName": {
  54. "type": "string",
  55. "title": "lang-zh-ch:加油站名称lang-en-us:Site Name",
  56. "default": "DFS Station"
  57. },
  58. "Interval": {
  59. "type": "integer",
  60. "title": "lang-zh-ch:读取液位仪(ATG)的间隔(以秒计)lang-en-us:Interval for tank reading (in seconds)",
  61. "default": 30
  62. },
  63. "UploadInterval": {
  64. "type": "integer",
  65. "title": "lang-zh-ch:文件上传间隔(以分钟计)lang-en-us:Interval for file uploading (in minutes)",
  66. "default": 2
  67. },
  68. "HostUploadFolder": {
  69. "type": "string",
  70. "title": "lang-zh-cn:服务器接收文件的lang-en-us:Folder path of the receiving end on FTP Server",
  71. "default": "/inbox"
  72. }
  73. }
  74. }