RelayConfig.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "DllDatas": [
  3. {
  4. "DllPath": "YSAI.Mqtt.dll",
  5. "IsAbsolutePath": false,
  6. "NamespaceDatas": [
  7. {
  8. "Namespace": "YSAI.Mqtt.service.websocket",
  9. "ClassDatas": [
  10. {
  11. "SN": "YSAI.Mqtt.MqttWebSocketServiceOperate[Instance]",
  12. "ClassName": "MqttWebSocketServiceOperate",
  13. "ConstructorParam": [
  14. {
  15. "Port": 11819,
  16. "HttpPort": 11820,
  17. "LoginID": "ysai",
  18. "LoginPassword": "ysai",
  19. "Uri": "NB_CLASS"
  20. }
  21. ],
  22. "MethodDatas": [
  23. {
  24. "SN": "[On]",
  25. "WhetherExecute": true,
  26. "MethodName": "On",
  27. "MethodParam": null
  28. }
  29. ],
  30. "EventDatas": null
  31. }
  32. ]
  33. },
  34. {
  35. "Namespace": "YSAI.Mqtt.client",
  36. "ClassDatas": [
  37. {
  38. "SN": "YSAI.Mqtt.MqttClientOperate[Instance]",
  39. "ClassName": "MqttClientOperate",
  40. "ConstructorParam": [
  41. {
  42. "SN": null,
  43. "ServerIPAddress": "127.0.0.1",
  44. "ServerPort": 11819,
  45. "ServerLoginID": "ysai",
  46. "ServerLoginPassword": "ysai",
  47. "ClientID": null,
  48. "QualityOfServiceLevel": "AtMostOnce"
  49. }
  50. ],
  51. "MethodDatas": [
  52. {
  53. "SN": "[Init]",
  54. "WhetherExecute": true,
  55. "MethodName": "Init",
  56. "MethodParam": null
  57. },
  58. {
  59. "SN": "[On]",
  60. "WhetherExecute": true,
  61. "MethodName": "On",
  62. "MethodParam": null
  63. },
  64. {
  65. "SN": "[Off]",
  66. "WhetherExecute": false,
  67. "MethodName": "Off",
  68. "MethodParam": null
  69. },
  70. {
  71. "SN": "[PublishSubscribe]",
  72. "WhetherExecute": false,
  73. "MethodName": "PublishSubscribe",
  74. "MethodParam": null
  75. },
  76. {
  77. "SN": "[AddSubscribe]",
  78. "WhetherExecute": false,
  79. "MethodName": "AddSubscribe",
  80. "MethodParam": null
  81. },
  82. {
  83. "SN": "[RemoveSubscribe]",
  84. "WhetherExecute": false,
  85. "MethodName": "RemoveSubscribe",
  86. "MethodParam": null
  87. }
  88. ],
  89. "EventDatas": [
  90. {
  91. "SN": "[OnEvent]",
  92. "EventName": "OnEvent"
  93. }
  94. ]
  95. }
  96. ]
  97. }
  98. ]
  99. }
  100. ]
  101. }