@cpzxrobot/sdk 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pigfarm_gateway.js +1 -1
- package/package.json +1 -1
- package/pigfarm_gateway.ts +1 -1
- package/readme.md +2 -2
package/dist/pigfarm_gateway.js
CHANGED
package/package.json
CHANGED
package/pigfarm_gateway.ts
CHANGED
package/readme.md
CHANGED
|
@@ -74,8 +74,8 @@ baseURL: "/"
|
|
|
74
74
|
| 调用入口 | 功能说明 |
|
|
75
75
|
| ----------------------- | -------------------- |
|
|
76
76
|
| cpzxrobot().factory.xxx | 获得工厂的相关信息 |
|
|
77
|
-
| cpzxrobot().device.list |
|
|
78
|
-
| cpzxrobot().device.data |
|
|
77
|
+
| cpzxrobot().device.list | 获得常见设备的列表(当没有特殊类型需求时调用),列表接口提供data参数,可以同步获得多个设备的数据,尽量使用该接口获得设备数据 |
|
|
78
|
+
| cpzxrobot().device.data | 获得设备的数据,该接口用于获取单个设备的详细数据 |
|
|
79
79
|
| cpzxrobot().device.feedTower.list | 获得料塔设备的列表 |
|
|
80
80
|
| cpzxrobot().device.xxx | 获得设备的相关信息 |
|
|
81
81
|
| cpzxrobot().camera.xxx | 获得摄像头的相关信息 |
|