nayota-show-sdk 1.2.6 → 1.2.8
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/api/area.js +2 -0
- package/api/devices.js +1 -0
- package/package.json +1 -1
package/api/area.js
CHANGED
|
@@ -23,6 +23,7 @@ import { requestShow } from '../utils'
|
|
|
23
23
|
* @property {Array} bounds - 区域边界点
|
|
24
24
|
* @property {Array} statisticsComponent - 统计组件名称数组
|
|
25
25
|
* @property {Object} statisticsJson - 统计组件自定义json
|
|
26
|
+
* @property {string} areaClass - 区域类型id
|
|
26
27
|
* @example
|
|
27
28
|
* {
|
|
28
29
|
"_id": "67073bfe463d6e00099becdd",
|
|
@@ -32,6 +33,7 @@ import { requestShow } from '../utils'
|
|
|
32
33
|
"visible": true,
|
|
33
34
|
"opacity": 1,
|
|
34
35
|
"type": "办公区",
|
|
36
|
+
"areaClass": "67073bfe463d6e00099becdd",
|
|
35
37
|
"bounds": [
|
|
36
38
|
[
|
|
37
39
|
116.404,
|
package/api/devices.js
CHANGED
|
@@ -44,6 +44,7 @@ import { requestShow } from '../utils'
|
|
|
44
44
|
* @property {string} deviceClass - 设备所属的设备类型
|
|
45
45
|
* @property {number} deviceStatus - 设备状态,取value值[{key:正常,value:0},{key:告警,value:1},{key:异常,value:2},{key:故障,value:3},{key:离线,value:4}]
|
|
46
46
|
* @property {array} svgCoordinates - svg坐标
|
|
47
|
+
* @property {string} area - 空间id
|
|
47
48
|
* @example
|
|
48
49
|
* {
|
|
49
50
|
"hash": [],
|