{
	"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": "除湿"
                        }
                    }
                },
                {
                    "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"
                        }
                    }
                }
            ]
        }
    ]
}