CommunicationGPIO.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "id": 1,
  3. "key": "GPIO",
  4. "name": "GPIO",
  5. "description": "",
  6. "properties": [
  7. {
  8. "id": 1,
  9. "name": "系统GPIO号",
  10. "type": "integer",
  11. "default": "66",
  12. "placeholder": "请输入系统GPIO号",
  13. "description": " linux 系统 GPIO 号, 0-63 ",
  14. "selection": []
  15. },
  16. {
  17. "id": 2,
  18. "name": "输入、输出",
  19. "type": "select",
  20. "default": 0,
  21. "placeholder": "请选择输入、输出",
  22. "description": " GPIO类型 输入、输出 ",
  23. "selection": [
  24. {
  25. "value": 0,
  26. "name": "输入"
  27. },
  28. {
  29. "value": 1,
  30. "name": "输出"
  31. }
  32. ]
  33. },
  34. {
  35. "id": 3,
  36. "name": "默认值",
  37. "type": "select",
  38. "default": 0,
  39. "placeholder": "请选择默认值",
  40. "description": " GPIO类型 默认值 ",
  41. "selection": [
  42. {
  43. "value": 0,
  44. "name": "低电平"
  45. },
  46. {
  47. "value": 1,
  48. "name": "高电平"
  49. }
  50. ]
  51. }
  52. ]
  53. }