Commit 1706622f authored by chen.weican's avatar chen.weican

【修改内容】更新相关物模型

【提交人】陈伟灿
parent ba357ff4
......@@ -483,8 +483,8 @@
}
}],
"events": [{
"identifier": "post",
"name": "post",
"identifier": "property",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报",
......
......@@ -6,596 +6,543 @@
"productCode": "142",
"productName": "美的中央空调线控器ZHA"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"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": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"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": "定时时间",
"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": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"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": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"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": "定时时间",
"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": "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": []
}]
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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",
"CurrentTemperature",
"TimingOnEnable",
"timingOnTime",
"TimingOffEnable",
"TimingOffTime"
],
"outputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"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",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"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": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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
......@@ -4,285 +4,545 @@
"profile": {
"heartbeat": "3000",
"productCode": "31",
"productName": "中央空调网关"
"productName": "中央空调控制器(三菱电机)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}],
"properties": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}]
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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",
"CurrentTemperature",
"TimingOnEnable",
"timingOnTime",
"TimingOffEnable",
"TimingOffTime"
],
"outputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"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",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"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": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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
{
"schema": "https://iot-ap.ikonke.com/model/product_92.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "92",
"productName": "风机盘管(肖邦系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "PowerSwitch", "WindSpeed", "WorkMode"],
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}
}]
}
}
}
}],
"outputData": []
}, {
"identifier": "ModifyLocalTimerTask",
"name": "set",
"required": true,
"callType": "async",
"desc": "修改定时任务",
"method": "thing.service.ModifyLocalTimerTask",
"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": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"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": "定时时间",
"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": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}, {
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"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": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
}]
}, {
"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": "定时时间",
"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": "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": []
}]
"schema": "https://iot-ap.ikonke.com/model/product_92.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "92",
"productName": "风机盘管(肖邦系列)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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",
"CurrentTemperature",
"TimingOnEnable",
"timingOnTime",
"TimingOffEnable",
"TimingOffTime"
],
"outputData": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"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",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"4": "除湿"
}
}
},
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"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": [
{
"identifier": "VerticalSwitch",
"name": "上下摆风开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
},
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "制冷",
"2": "制热",
"3": "通风",
"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
{
"schema": "https://iot-ap.ikonke.com/model/product_95.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "95",
"productName": "新风(肖邦系列)"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}],
"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": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"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": "可执行",
"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": "电源开关",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"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": "定时时间",
"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": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警事件",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "co2",
"name": "二氧化碳",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
}, {
"identifier": "LocalTimerTask",
"name": "本地定时",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "array",
"specs": {
"size": "128",
"item": {
"type": "struct",
"specs": [{
"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": "有效"
}
}
}]
}
}
}
}],
"events": [{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
}, {
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
}, {
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
}, {
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
}, {
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"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": "定时时间",
"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": "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": []
}]
"schema": "https://iot-ap.ikonke.com/model/product_95.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "95",
"productName": "新风(肖邦系列)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
},
{
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"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",
"StrainerWorkTime",
"TimingOffEnable",
"TimingOffTime",
"CurrentTemperature"
],
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
},
{
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
},
{
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "StrainerWorkTime",
"name": "滤网工作时长",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "TimingOffEnable",
"name": "定时关机",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "定时关机时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "WindMode",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerState",
"name": "滤网状态",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警事件",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "co2",
"name": "二氧化碳",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
},
{
"identifier": "PM25",
"name": "PM25",
"accessMode": "r",
"required": false,
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "StrainerWorkTime",
"name": "滤网工作时长",
"accessMode": "r",
"required": true,
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"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"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"0": "自动",
"1": "手动"
}
}
},
{
"identifier": "WindMode",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "全热交换",
"2": "空净"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
},
{
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "StrainerState",
"name": "滤网状态",
"dataType": {
"type": "enum",
"specs": {
"0": "清晰",
"1": "正常"
}
}
},
{
"identifier": "StrainerAlarmTime",
"name": "滤网告警时间",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "CO2",
"name": "二氧化碳",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "mg/m³",
"unitName": "毫克每立方米",
"step": "1"
}
}
},
{
"identifier": "PM25",
"name": "PM25",
"dataType": {
"type": "int",
"specs": {
"min": "0",
"max": "65535",
"unit": "μg/m³",
"unitName": "微克每立方米",
"step": "1"
}
}
},
{
"identifier": "StrainerWorkTime",
"name": "滤网工作时长",
"dataType": {
"type": "int",
"specs": {
"min": "1500",
"max": "6000",
"unit": "h",
"unitName": "小时",
"step": "1"
}
}
},
{
"identifier": "TimingOffEnable",
"name": "定时关机",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "TimingOffTime",
"name": "定时关机时间",
"dataType": {
"type": "text",
"specs": {
"length": "255"
}
}
},
{
"identifier": "CurrentTemperature",
"name": "当前温度",
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}
]
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment