Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
1706622f
Commit
1706622f
authored
Oct 17, 2020
by
chen.weican
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改内容】更新相关物模型
【提交人】陈伟灿
parent
ba357ff4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2289 additions
and
2146 deletions
+2289
-2146
tsl/product_130.json
tsl/product_130.json
+2
-2
tsl/product_142.json
tsl/product_142.json
+539
-592
tsl/product_31.json
tsl/product_31.json
+540
-280
tsl/product_92.json
tsl/product_92.json
+546
-599
tsl/product_95.json
tsl/product_95.json
+662
-673
No files found.
tsl/product_130.json
View file @
1706622f
...
...
@@ -483,8 +483,8 @@
}
}],
"events"
:
[{
"identifier"
:
"p
ost
"
,
"name"
:
"p
ost
"
,
"identifier"
:
"p
roperty
"
,
"name"
:
"p
roperty
"
,
"type"
:
"info"
,
"required"
:
true
,
"desc"
:
"属性上报"
,
...
...
tsl/product_142.json
View file @
1706622f
...
...
@@ -6,14 +6,16 @@
"productCode"
:
"142"
,
"productName"
:
"美的中央空调线控器ZHA"
},
"services"
:
[{
"services"
:
[
{
"identifier"
:
"set"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性设置"
,
"method"
:
"thing.service.property.set"
,
"inputData"
:
[{
"inputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -23,7 +25,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -36,7 +39,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -46,7 +50,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -60,7 +65,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -73,17 +79,73 @@
"4"
:
"除湿"
}
}
}],
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
],
"outputData"
:
[]
},
{
},
{
"identifier"
:
"get"
,
"name"
:
"get"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性获取"
,
"method"
:
"thing.service.property.get"
,
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
],
"outputData"
:
[{
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
,
"CurrentTemperature"
,
"TimingOnEnable"
,
"timingOnTime"
,
"TimingOffEnable"
,
"TimingOffTime"
],
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -93,7 +155,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -106,7 +169,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -116,7 +194,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -130,7 +209,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -143,60 +223,10 @@
"4"
:
"除湿"
}
}
}]
},
{
"identifier"
:
"AddLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"添加定时任务"
,
"method"
:
"thing.service.AddLocalTimerTask"
,
"inputData"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
},
{
"identifier"
:
"Actions"
,
"name"
:
"动作"
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Set"
,
"name"
:
"设置"
,
"dataType"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
...
...
@@ -204,67 +234,20 @@
"1"
:
"开启"
}
}
}]
}
}]
}
}
}
}],
"outputData"
:
[]
},
{
"identifier"
:
"ModifyLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"修改定时任务"
,
"method"
:
"thing.service.ModifyLocalTimerTask"
,
"inputData"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
},
{
"identifier"
:
"Actions"
,
"name"
:
"动作"
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Set"
,
"name"
:
"设置"
,
"dataType"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
...
...
@@ -272,77 +255,22 @@
"1"
:
"开启"
}
}
}]
}
}]
}
}
}
}],
"outputData"
:
[]
},
{
"identifier"
:
"DeleteLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"删除定时任务"
,
"method"
:
"thing.service.DeleteLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[]
},
{
"identifier"
:
"GetLocalTimerTask"
,
"name"
:
"获取定时任务"
,
"required"
:
true
,
"callType"
:
"async"
,
"method"
:
"thing.service.GetLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
]
}
}
}]
}
}
}
}]
}],
"properties"
:
[{
],
"properties"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -354,7 +282,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"accessMode"
:
"rw"
,
...
...
@@ -369,7 +298,24 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"accessMode"
:
"r"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"accessMode"
:
"rw"
,
...
...
@@ -385,7 +331,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"accessMode"
:
"rw"
,
...
...
@@ -400,7 +347,8 @@
"4"
:
"除湿"
}
}
},
{
},
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -412,59 +360,68 @@
"1"
:
"开启"
}
}
},
{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array
"
,
"type"
:
"bool
"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
}]
"length"
:
"255"
}
}
}
}],
"events"
:
[{
],
"events"
:
[
{
"identifier"
:
"post"
,
"name"
:
"post"
,
"type"
:
"info"
,
"required"
:
true
,
"desc"
:
"属性上报"
,
"method"
:
"thing.event.property.post"
,
"outputData"
:
[{
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -474,7 +431,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -487,7 +445,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -497,7 +470,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -511,7 +485,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -524,78 +499,50 @@
"4"
:
"除湿"
}
}
}]
},
{
"identifier"
:
"LocalTimerTaskInformationNotification"
,
"name"
:
"定时任务上报"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskInformationNotification.post"
,
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"array
"
,
"type"
:
"bool
"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
"length"
:
"255"
}
}]
}
}
]
}
}]
},
{
"identifier"
:
"LocalTimerTaskAddNotification"
,
"name"
:
"添加定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskAddNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskModifyNotification"
,
"name"
:
"修改定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskModifyNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskDeletedNotification"
,
"name"
:
"删除定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskDeletedNotification.post"
,
"outputData"
:
[]
}]
]
}
\ No newline at end of file
tsl/product_31.json
View file @
1706622f
...
...
@@ -4,16 +4,18 @@
"profile"
:
{
"heartbeat"
:
"3000"
,
"productCode"
:
"31"
,
"productName"
:
"中央空调
网关
"
"productName"
:
"中央空调
控制器(三菱电机)
"
},
"services"
:
[{
"services"
:
[
{
"identifier"
:
"set"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性设置"
,
"method"
:
"thing.service.property.set"
,
"inputData"
:
[{
"inputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -23,7 +25,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -36,7 +39,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -46,7 +50,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -60,7 +65,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -73,17 +79,73 @@
"4"
:
"除湿"
}
}
}],
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
],
"outputData"
:
[]
},
{
},
{
"identifier"
:
"get"
,
"name"
:
"get"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性获取"
,
"method"
:
"thing.service.property.get"
,
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
],
"outputData"
:
[{
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
,
"CurrentTemperature"
,
"TimingOnEnable"
,
"timingOnTime"
,
"TimingOffEnable"
,
"TimingOffTime"
],
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -93,7 +155,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -106,7 +169,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -116,7 +194,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -130,7 +209,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -143,9 +223,54 @@
"4"
:
"除湿"
}
}
}]
}],
"properties"
:
[{
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
]
}
],
"properties"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -157,7 +282,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"accessMode"
:
"rw"
,
...
...
@@ -172,7 +298,24 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"accessMode"
:
"r"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"accessMode"
:
"rw"
,
...
...
@@ -188,7 +331,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"accessMode"
:
"rw"
,
...
...
@@ -203,7 +347,8 @@
"4"
:
"除湿"
}
}
},
{
},
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -215,15 +360,68 @@
"1"
:
"开启"
}
}
}],
"events"
:
[{
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
],
"events"
:
[
{
"identifier"
:
"post"
,
"name"
:
"post"
,
"type"
:
"info"
,
"required"
:
true
,
"desc"
:
"属性上报"
,
"method"
:
"thing.event.property.post"
,
"outputData"
:
[{
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -233,7 +431,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -246,7 +445,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -256,7 +470,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -270,7 +485,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -283,6 +499,50 @@
"4"
:
"除湿"
}
}
}]
}]
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
]
}
]
}
\ No newline at end of file
tsl/product_92.json
View file @
1706622f
...
...
@@ -6,14 +6,16 @@
"productCode"
:
"92"
,
"productName"
:
"风机盘管(肖邦系列)"
},
"services"
:
[{
"services"
:
[
{
"identifier"
:
"set"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性设置"
,
"method"
:
"thing.service.property.set"
,
"inputData"
:
[{
"inputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -23,7 +25,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -36,7 +39,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -46,7 +50,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -60,7 +65,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -73,17 +79,73 @@
"4"
:
"除湿"
}
}
}],
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
],
"outputData"
:
[]
},
{
},
{
"identifier"
:
"get"
,
"name"
:
"get"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性获取"
,
"method"
:
"thing.service.property.get"
,
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
],
"outputData"
:
[{
"inputData"
:
[
"VerticalSwitch"
,
"Temperature"
,
"PowerSwitch"
,
"WindSpeed"
,
"WorkMode"
,
"CurrentTemperature"
,
"TimingOnEnable"
,
"timingOnTime"
,
"TimingOffEnable"
,
"TimingOffTime"
],
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -93,7 +155,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -106,7 +169,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -116,7 +194,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -130,7 +209,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -143,60 +223,10 @@
"4"
:
"除湿"
}
}
}]
},
{
"identifier"
:
"AddLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"添加定时任务"
,
"method"
:
"thing.service.AddLocalTimerTask"
,
"inputData"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
},
{
"identifier"
:
"Actions"
,
"name"
:
"动作"
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Set"
,
"name"
:
"设置"
,
"dataType"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
...
...
@@ -204,67 +234,20 @@
"1"
:
"开启"
}
}
}]
}
}]
}
}
}
}],
"outputData"
:
[]
},
{
"identifier"
:
"ModifyLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"修改定时任务"
,
"method"
:
"thing.service.ModifyLocalTimerTask"
,
"inputData"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
},
{
"identifier"
:
"Actions"
,
"name"
:
"动作"
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Set"
,
"name"
:
"设置"
,
"dataType"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
...
...
@@ -272,77 +255,22 @@
"1"
:
"开启"
}
}
}]
}
}]
}
}
}
}],
"outputData"
:
[]
},
{
"identifier"
:
"DeleteLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"删除定时任务"
,
"method"
:
"thing.service.DeleteLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[]
},
{
"identifier"
:
"GetLocalTimerTask"
,
"name"
:
"获取定时任务"
,
"required"
:
true
,
"callType"
:
"async"
,
"method"
:
"thing.service.GetLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
]
}
}
}]
}
}
}
}]
}],
"properties"
:
[{
],
"properties"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -354,7 +282,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"accessMode"
:
"rw"
,
...
...
@@ -369,7 +298,24 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"accessMode"
:
"r"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"accessMode"
:
"rw"
,
...
...
@@ -385,7 +331,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"accessMode"
:
"rw"
,
...
...
@@ -400,7 +347,8 @@
"4"
:
"除湿"
}
}
},
{
},
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -412,59 +360,68 @@
"1"
:
"开启"
}
}
},
{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array
"
,
"type"
:
"bool
"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
}
}]
"length"
:
"255"
}
}
}
}],
"events"
:
[{
],
"events"
:
[
{
"identifier"
:
"post"
,
"name"
:
"post"
,
"type"
:
"info"
,
"required"
:
true
,
"desc"
:
"属性上报"
,
"method"
:
"thing.event.property.post"
,
"outputData"
:
[{
"outputData"
:
[
{
"identifier"
:
"VerticalSwitch"
,
"name"
:
"上下摆风开关"
,
"dataType"
:
{
...
...
@@ -474,7 +431,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"Temperature"
,
"name"
:
"目标温度"
,
"dataType"
:
{
...
...
@@ -487,7 +445,22 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -497,7 +470,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -511,7 +485,8 @@
"5"
:
"最高档"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -524,78 +499,50 @@
"4"
:
"除湿"
}
}
}]
},
{
"identifier"
:
"LocalTimerTaskInformationNotification"
,
"name"
:
"定时任务上报"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskInformationNotification.post"
,
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
},
{
"identifier"
:
"TimingOnEnable"
,
"name"
:
"定时开机"
,
"dataType"
:
{
"type"
:
"array
"
,
"type"
:
"bool
"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOnTime"
,
"name"
:
"定时开机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
"length"
:
"255"
}
}]
}
}
]
}
}]
},
{
"identifier"
:
"LocalTimerTaskAddNotification"
,
"name"
:
"添加定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskAddNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskModifyNotification"
,
"name"
:
"修改定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskModifyNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskDeletedNotification"
,
"name"
:
"删除定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskDeletedNotification.post"
,
"outputData"
:
[]
}]
]
}
\ No newline at end of file
tsl/product_95.json
View file @
1706622f
...
...
@@ -6,14 +6,16 @@
"productCode"
:
"95"
,
"productName"
:
"新风(肖邦系列)"
},
"services"
:
[{
"services"
:
[
{
"identifier"
:
"set"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性设置"
,
"method"
:
"thing.service.property.set"
,
"inputData"
:
[{
"inputData"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -23,7 +25,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -33,7 +36,8 @@
"1"
:
"手动"
}
}
},
{
},
{
"identifier"
:
"WindMode"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -43,7 +47,8 @@
"2"
:
"空净"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -54,7 +59,8 @@
"3"
:
"高档"
}
}
},
{
},
{
"identifier"
:
"ChildLockState"
,
"name"
:
"童锁"
,
"dataType"
:
{
...
...
@@ -64,7 +70,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"StrainerState"
,
"name"
:
"滤网状态"
,
"dataType"
:
{
...
...
@@ -74,7 +81,8 @@
"1"
:
"正常"
}
}
},
{
},
{
"identifier"
:
"StrainerAlarmTime"
,
"name"
:
"滤网告警时间"
,
"dataType"
:
{
...
...
@@ -87,17 +95,56 @@
"step"
:
"1"
}
}
}],
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关闭"
,
"1"
:
"开启"
}
}
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
}
],
"outputData"
:
[]
},
{
},
{
"identifier"
:
"get"
,
"name"
:
"get"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"属性获取"
,
"method"
:
"thing.service.property.get"
,
"inputData"
:
[
"VerticalSwitch"
,
"PowerSwitch"
,
"WindMode"
,
"WindSpeed"
,
"WorkMode"
,
"ChildLockState"
,
"StrainerState"
,
"StrainerAlarmTime"
,
"CO2"
,
"PM25"
],
"outputData"
:
[{
"inputData"
:
[
"VerticalSwitch"
,
"PowerSwitch"
,
"WindMode"
,
"WindSpeed"
,
"WorkMode"
,
"ChildLockState"
,
"StrainerState"
,
"StrainerAlarmTime"
,
"CO2"
,
"PM25"
,
"StrainerWorkTime"
,
"TimingOffEnable"
,
"TimingOffTime"
,
"CurrentTemperature"
],
"outputData"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -107,7 +154,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -117,7 +165,8 @@
"1"
:
"手动"
}
}
},
{
},
{
"identifier"
:
"WindMode"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -127,7 +176,8 @@
"2"
:
"空净"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -138,7 +188,8 @@
"3"
:
"高档"
}
}
},
{
},
{
"identifier"
:
"ChildLockState"
,
"name"
:
"童锁"
,
"dataType"
:
{
...
...
@@ -148,7 +199,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"StrainerState"
,
"name"
:
"滤网状态"
,
"dataType"
:
{
...
...
@@ -158,7 +210,8 @@
"1"
:
"正常"
}
}
},
{
},
{
"identifier"
:
"StrainerAlarmTime"
,
"name"
:
"滤网告警时间"
,
"dataType"
:
{
...
...
@@ -171,7 +224,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CO2"
,
"name"
:
"二氧化碳"
,
"dataType"
:
{
...
...
@@ -184,7 +238,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PM25"
,
"name"
:
"PM25"
,
"dataType"
:
{
...
...
@@ -197,60 +252,24 @@
"step"
:
"1"
}
}
}]
},
{
"identifier"
:
"AddLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"添加定时任务"
,
"method"
:
"thing.service.AddLocalTimerTask"
,
"inputData"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"StrainerWorkTime"
,
"name"
:
"滤网工作时长"
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"int
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
"min"
:
"1500"
,
"max"
:
"6000"
,
"unit"
:
"h"
,
"unitName"
:
"小时"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"Actions"
,
"name"
:
"动作"
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Set"
,
"name"
:
"设置"
,
"dataType"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
...
...
@@ -258,77 +277,36 @@
"1"
:
"开启"
}
}
}]
}
}]
}
}
}
}],
"outputData"
:
[]
},
{
"identifier"
:
"DeleteLocalTimerTask"
,
"name"
:
"set"
,
"required"
:
true
,
"callType"
:
"async"
,
"desc"
:
"删除定时任务"
,
"method"
:
"thing.service.DeleteLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[]
},
{
"identifier"
:
"GetLocalTimerTask"
,
"name"
:
"获取定时任务"
,
"required"
:
true
,
"callType"
:
"async"
,
"method"
:
"thing.service.GetLocalTimerTask"
,
"inputData"
:
[],
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"text"
,
"specs"
:
{
"length"
:
"255"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关"
,
"1"
:
"开"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"double
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
}
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}]
}
}
]
}
}]
}],
"properties"
:
[
{
],
"properties"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"accessMode"
:
"rw"
,
...
...
@@ -340,7 +318,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"accessMode"
:
"rw"
,
...
...
@@ -353,7 +332,8 @@
"3"
:
"高档"
}
}
},
{
},
{
"identifier"
:
"WindMode"
,
"name"
:
"风速"
,
"accessMode"
:
"rw"
,
...
...
@@ -365,7 +345,8 @@
"2"
:
"空净"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"accessMode"
:
"rw"
,
...
...
@@ -377,7 +358,8 @@
"2"
:
"空净"
}
}
},
{
},
{
"identifier"
:
"ChildLockState"
,
"name"
:
"童锁"
,
"accessMode"
:
"rw"
,
...
...
@@ -389,7 +371,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"StrainerState"
,
"name"
:
"滤网状态"
,
"accessMode"
:
"rw"
,
...
...
@@ -401,7 +384,8 @@
"1"
:
"正常"
}
}
},
{
},
{
"identifier"
:
"StrainerAlarmTime"
,
"name"
:
"滤网告警事件"
,
"accessMode"
:
"rw"
,
...
...
@@ -416,7 +400,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"co2"
,
"name"
:
"二氧化碳"
,
"accessMode"
:
"r"
,
...
...
@@ -431,7 +416,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PM25"
,
"name"
:
"PM25"
,
"accessMode"
:
"r"
,
...
...
@@ -446,59 +432,75 @@
"step"
:
"1"
}
}
},
{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
},
{
"identifier"
:
"StrainerWorkTime"
,
"name"
:
"滤网工作时长"
,
"accessMode"
:
"r"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
"dataType"
:
{
"type"
:
"text"
,
"type"
:
"int"
,
"specs"
:
{
"length"
:
"255"
"min"
:
"1500"
,
"max"
:
"6000"
,
"unit"
:
"h"
,
"unitName"
:
"小时"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
"length"
:
"255"
}
}
}]
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"accessMode"
:
"r"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}
}
}],
"events"
:
[{
],
"events"
:
[
{
"identifier"
:
"post"
,
"name"
:
"post"
,
"type"
:
"info"
,
"required"
:
true
,
"desc"
:
"属性上报"
,
"method"
:
"thing.event.property.post"
,
"outputData"
:
[{
"outputData"
:
[
{
"identifier"
:
"PowerSwitch"
,
"name"
:
"电源开关"
,
"dataType"
:
{
...
...
@@ -508,7 +510,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"WorkMode"
,
"name"
:
"工作模式"
,
"dataType"
:
{
...
...
@@ -518,7 +521,8 @@
"1"
:
"手动"
}
}
},
{
},
{
"identifier"
:
"WindMode"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -528,7 +532,8 @@
"2"
:
"空净"
}
}
},
{
},
{
"identifier"
:
"WindSpeed"
,
"name"
:
"风速"
,
"dataType"
:
{
...
...
@@ -539,7 +544,8 @@
"3"
:
"高档"
}
}
},
{
},
{
"identifier"
:
"ChildLockState"
,
"name"
:
"童锁"
,
"dataType"
:
{
...
...
@@ -549,7 +555,8 @@
"1"
:
"开启"
}
}
},
{
},
{
"identifier"
:
"StrainerState"
,
"name"
:
"滤网状态"
,
"dataType"
:
{
...
...
@@ -559,7 +566,8 @@
"1"
:
"正常"
}
}
},
{
},
{
"identifier"
:
"StrainerAlarmTime"
,
"name"
:
"滤网告警时间"
,
"dataType"
:
{
...
...
@@ -572,7 +580,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"CO2"
,
"name"
:
"二氧化碳"
,
"dataType"
:
{
...
...
@@ -585,7 +594,8 @@
"step"
:
"1"
}
}
},
{
},
{
"identifier"
:
"PM25"
,
"name"
:
"PM25"
,
"dataType"
:
{
...
...
@@ -598,78 +608,57 @@
"step"
:
"1"
}
}
}]
},
{
"identifier"
:
"LocalTimerTaskInformationNotification"
,
"name"
:
"定时任务上报"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskInformationNotification.post"
,
"outputData"
:
[{
"identifier"
:
"LocalTimerTask"
,
"name"
:
"本地定时"
,
"accessMode"
:
"rw"
,
"required"
:
true
,
"dataType"
:
{
"type"
:
"array"
,
"specs"
:
{
"size"
:
"128"
,
"item"
:
{
"type"
:
"struct"
,
"specs"
:
[{
"identifier"
:
"Timer"
,
"name"
:
"定时时间"
,
},
{
"identifier"
:
"StrainerWorkTime"
,
"name"
:
"滤网工作时长"
,
"dataType"
:
{
"type"
:
"tex
t"
,
"type"
:
"in
t"
,
"specs"
:
{
"length"
:
"255"
"min"
:
"1500"
,
"max"
:
"6000"
,
"unit"
:
"h"
,
"unitName"
:
"小时"
,
"step"
:
"1"
}
}
},
{
"identifier"
:
"Enable"
,
"name"
:
"启用"
,
},
{
"identifier"
:
"TimingOffEnable"
,
"name"
:
"定时关机"
,
"dataType"
:
{
"type"
:
"bool"
,
"specs"
:
{
"0"
:
"关
"
,
"1"
:
"开
"
"0"
:
"关闭
"
,
"1"
:
"开启
"
}
}
},
{
"identifier"
:
"IsValid"
,
"name"
:
"可执行"
,
},
{
"identifier"
:
"TimingOffTime"
,
"name"
:
"定时关机时间"
,
"dataType"
:
{
"type"
:
"bool
"
,
"type"
:
"text
"
,
"specs"
:
{
"0"
:
"无效"
,
"1"
:
"有效"
"length"
:
"255"
}
}
},
{
"identifier"
:
"CurrentTemperature"
,
"name"
:
"当前温度"
,
"dataType"
:
{
"type"
:
"double"
,
"specs"
:
{
"min"
:
"-30"
,
"max"
:
"50"
,
"unit"
:
"°C"
,
"unitName"
:
"摄氏度"
,
"step"
:
"1"
}
}]
}
}
]
}
}]
},
{
"identifier"
:
"LocalTimerTaskAddNotification"
,
"name"
:
"添加定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskAddNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskModifyNotification"
,
"name"
:
"修改定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskModifyNotification.post"
,
"outputData"
:
[]
},
{
"identifier"
:
"LocalTimerTaskDeletedNotification"
,
"name"
:
"删除定时任务通知"
,
"type"
:
"info"
,
"required"
:
true
,
"method"
:
"thing.event.LocalTimerTaskDeletedNotification.post"
,
"outputData"
:
[]
}]
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment