{
    "schema": "https://iot-ap.ikonke.com/model/product_3032.json",
    "productType": "freshAir",
    "version": "1.2",
    "profile": {
        "heartbeat": "300",
        "productCode": "3032",
        "productName": "肖邦系列.新风控制面板Z3S(KONKE)"
    },
    "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": "WindSpeed",
                    "name": "风速",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "1": "低档",
                            "2": "中档",
                            "3": "高档"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "StrainerWorkTime",
                    "name": "滤网使用时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "StrainerAlarmTime",
                    "name": "滤网告警时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "2000",
                            "max": "6000",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type":"text",
                        "specs":{
                            "length":"10"
                        }
                    }
                }
            ],
            "outputData": []
        },
        {
            "identifier": "get",
            "name": "get",
            "required": true,
            "callType": "async",
            "desc": "属性获取",
            "method": "thing.service.property.get",
            "inputData": [
                "PowerSwitch",
                "WindSpeed",
                "WorkMode",
                "ChildLockState",
                "TimingOffTime",
                "StrainerWorkTime",
                "StrainerAlarmTime",
                "CurrentTemperature"
            ],
            "outputData": [
                {
                    "identifier": "PowerSwitch",
                    "name": "电源开关",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "WorkMode",
                    "name": "工作模式",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "循环",
                            "1": "手动"
                        }
                    }
                },
                {
                    "identifier": "WindSpeed",
                    "name": "风速",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "1": "低档",
                            "2": "中档",
                            "3": "高档"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type":"text",
                        "specs":{
                            "length":"10"
                        }
                    }
                },
                {
                    "identifier": "CurrentTemperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "-30",
                            "max": "50",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "StrainerWorkTime",
                    "name": "滤网使用时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "StrainerAlarmTime",
                    "name": "滤网告警时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "1500",
                            "max": "6000",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                }
            ]
        }
    ],
    "properties": [
        {
            "identifier": "PowerSwitch",
            "name": "电源开关",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "关闭",
                    "1": "开启"
                }
            }
        },
        {
            "identifier": "WorkMode",
            "name": "工作模式",
            "accessMode": "rw",
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "循环",
                    "1": "手动"
                }
            }
    	},
        {
            "identifier": "WindSpeed",
            "name": "风速",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "1": "低档",
                    "2": "中档",
                    "3": "高档"
                }
            }
        },
        {
            "identifier": "ChildLockState",
            "name": "童锁",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "关闭",
                    "1": "开启"
                }
            }
        },
        {
            "identifier": "StrainerWorkTime",
            "name": "滤网使用时间",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "int",
                "specs": {
                    "unit": "h",
                    "unitName": "小时",
                    "step": "1"
                }
            }
        },
        {
            "identifier": "StrainerAlarmTime",
            "name": "滤网告警时间",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "int",
                "specs": {
                    "min": "2000",
                    "max": "6000",
                    "unit": "h",
                    "unitName": "小时",
                    "step": "1"
                }
            }
        },
        {
            "identifier": "TimingOffTime",
            "name": "延时关机时间",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type":"text",
                "specs":{
                    "length":"10"
                }
            }
        },
        {
            "identifier": "CurrentTemperature",
            "name": "当前温度",
            "accessMode": "r",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "-30",
                    "max": "50",
                    "unit": "°C",
                    "unitName": "摄氏度",
                    "step": "0.5"
                }
            }
        }
    ],
    "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": "WindSpeed",
                    "name": "风速",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "1": "低档",
                            "2": "中档",
                            "3": "高档"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type":"text",
                        "specs":{
                            "length":"10"
                        }
                    }
                },
                {
                    "identifier": "StrainerWorkTime",
                    "name": "滤网使用时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "StrainerAlarmTime",
                    "name": "滤网告警时间",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "1500",
                            "max": "6000",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "CurrentTemperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "-30",
                            "max": "50",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                }
            ]
        },
        {
            "outputData": [
                {
                    "identifier": "StrainerAlarmState",
                    "name": "滤网使用超时告警",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "未超时",
                            "1": "已超时"
                        }
                    }
                }
            ],
            "identifier": "strainerAlarm",
            "method": "thing.event.strainerAlarm.post",
            "name": "strainerAlarm",
            "type": "alarm",
            "required": true,
            "desc": ""
        }
    ]
}