nayota-show-sdk 0.1.2 → 0.1.4

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.
@@ -45,16 +45,16 @@ var uiType = {
45
45
  * @property {string} code - 设备类型编码
46
46
  * @property {string} departTag - 设备类型的层级标签
47
47
  * @property {Array} attribute - 设备类型属性
48
- * @property {string} props._id - 属性id
49
- * @property {string} props.name - 属性名称
50
- * @property {string} props.key - 属性key
51
- * @property {string} props.dataDimension - 属性数据维度,默认为day天,查看枚举dataDimension
52
- * @property {string} props.type - 属性类型,查看枚举propType
53
- * @property {boolean} props.filterable - 属性是否可搜索
54
- * @property {boolean} props.lineType - 属性在离线判定是否开启
55
- * @property {string} props.lineTime - 属性在离线判定时间(单位小时)
56
- * @property {boolean} props.statusType - 属性是否开启异常值判定
57
- * @property {string} props.interval - 属性异常值判定的区间
48
+ * @property {string} attribute._id - 属性id
49
+ * @property {string} attribute.name - 属性名称
50
+ * @property {string} attribute.key - 属性key
51
+ * @property {string} attribute.dataDimension - 属性数据维度,默认为day天,查看枚举dataDimension
52
+ * @property {string} attribute.type - 属性类型,查看枚举propType
53
+ * @property {boolean} attribute.filterable - 属性是否可搜索
54
+ * @property {boolean} attribute.lineType - 属性在离线判定是否开启
55
+ * @property {string} attribute.lineTime - 属性在离线判定时间(单位小时)
56
+ * @property {boolean} attribute.statusType - 属性是否开启异常值判定
57
+ * @property {string} attribute.interval - 属性异常值判定的区间
58
58
  * @property {array} relations - 与IOT字典的绑定关系
59
59
  * @property {string} relations.hwId - 字典id
60
60
  * @property {string} relations.hwName - 字典名称
package/api/product.js CHANGED
@@ -110,11 +110,12 @@ var tcpType = {
110
110
  * @property {string} depart - 可视化层级的id
111
111
  * @property {string} thirdPartyCameraAccount - 平台账号id,查config三方摄像头账号接口,平台摄像头必选。
112
112
  * @property {number} number - 设备序号,平台摄像头必选。
113
- * @property {number} channelNo - 通道号,平台摄像头且三方摄像头的类型为2时必选,其余三方摄像头类型可选。
113
+ * @property {number} channelNo - 通道号,平台摄像头且三方摄像头账号的类型为2时必选,其余三方摄像头账号类型可选。
114
114
  * @property {string} iconName - 设备图标。
115
115
  * @property {string} local_ip - 本地RTSP地址,本地摄像头必选。
116
116
  * @property {string} local_username - 本地用户名,本地摄像头必选。
117
117
  * @property {string} local_password - 本地密码,本地摄像头必选。
118
+ * @property {boolean} isTransform - 是否转码,本地摄像头必选且默认开启,平台摄像头且三方摄像头账号的类型为2和4时必选。
118
119
  * @property {string} describe - 设备备注。
119
120
  * @property {boolean} line - 设备在离线。
120
121
  * @property {boolean} hasPtz - 是否带云台。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nayota-show-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "nayota-show-server rest-api",
5
5
  "type": "module",
6
6
  "main": "index.js",