Commit f9829551 authored by chen.weican's avatar chen.weican

【修改内容】添加新的设备物模型

【提交人】陈伟灿
parent d2d64972
This diff is collapsed.
{
"schema": "https://iot-ap.ikonke.com/model/product_110.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "110",
"productName": "地暖网关"
},
"services": [{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [{
"identifier": "Temperature",
"name": "目标温度",
"dataType": {
"type": "double",
"specs": {
"min": "16",
"max": "30",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}],
"outputData": []
}, {
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": ["VerticalSwitch", "Temperature", "CurrentTemperature", "PowerSwitch", "ChildLockState"],
"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": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"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": "CurrentTemperature",
"name": "当前温度",
"accessMode": "r",
"required": true,
"dataType": {
"type": "double",
"specs": {
"min": "-30",
"max": "50",
"unit": "°C",
"unitName": "摄氏度",
"step": "1"
}
}
}, {
"identifier": "ChildLockState",
"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": "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": "ChildLockState",
"name": "童锁",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}]
}]
}
\ No newline at end of file
{
"schema": "https://iot-ap.ikonke.com/model/product_114.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "114",
"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": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"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", "WindSpeed", "WorkMode", "StrainerState", "StrainerAlarmTime", "CO2", "PM25"],
"outputData": [{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, {
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"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"
}
}
}]
}],
"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": {
"0": "自动",
"1": "静音档",
"2": "低档",
"3": "中档",
"4": "高档",
"5": "最高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"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"
}
}
}],
"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": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"2": "中档",
"3": "高档"
}
}
}, {
"identifier": "WorkMode",
"name": "工作模式",
"dataType": {
"type": "enum",
"specs": {
"1": "节能",
"2": "舒适",
"3": "自动",
"4": "手动",
"5": "睡眠",
"6": "新风",
"7": "内通风",
"8": "内除湿",
"9": "新风除湿"
}
}
}, {
"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"
}
}
}]
}]
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"schema": "https://iot-ap.ikonke.com/model/product_31.json",
"productType": "airConditioning",
"profile": {
"heartbeat": "3000",
"productCode": "31",
"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": "除湿"
}
}
}]
}]
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{ {
"schema": "https://iot.ikonke.com/schema.json", "schema": "https://iot-ap.ikonke.com/model/product_91.json",
"productType": "outlet", "productType": "outlet",
"profile": { "profile": {
"heartbeat": "3000",
"productCode": "91", "productCode": "91",
"productName": "入墙插座16A(肖邦系列)" "productName": "入墙插座16A(肖邦系列)"
}, },
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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