{
	"schema": "https://iot-ap.ikonke.com/model/product_3030.json",
	"productType": "floorHeating",
	"profile": {
		"heartbeat": "3000",
		"productCode": "3030",
		"productName": "肖邦系列.电地暖面板Z3S(KONKE)"
	},
    "services": [
        {
            "identifier": "set",
            "name": "set",
            "required": true,
            "callType": "async",
            "desc": "属性设置",
            "method": "thing.service.property.set",
            "inputData": [
                {
                    "identifier": "TargetTemperature",
                    "name": "目标温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "20",
                            "max": "30",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "PowerSwitch",
                    "name": "电源开关",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "WorkMode",
                    "name": "工作模式",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "自动",
                            "1": "手动"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "24",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "0.5"
                        }
                    }
                }
            ],
            "outputData": []
        },
        {
            "identifier": "get",
            "name": "get",
            "required": true,
            "callType": "async",
            "desc": "属性获取",
            "method": "thing.service.property.get",
            "inputData": [
                "TargetTemperature",
                "CurrentTemperature",
                "PowerSwitch",
                "ChildLockState",
                "WorkMode",
                "TimingOffTime"
            ],
            "outputData": [
                {
                    "identifier": "TargetTemperature",
                    "name": "目标温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "20",	
                            "max": "30",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "CurrentTemperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "-30",	
                            "max": "50",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "PowerSwitch",
                    "name": "电源开关",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "WorkMode",
                    "name": "工作模式",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "自动",
                            "1": "手动"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "24",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "0.5"
                        }
                    }
                }
            ]
        }
    ],
    "properties": [
        {
            "identifier": "PowerSwitch",
            "name": "电源开关",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "关闭",
                    "1": "开启"
                }
            }
        },
        {
            "identifier": "TargetTemperature",
            "name": "目标温度",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "20",		
                    "max": "30",
                    "unit": "°C",
                    "unitName": "摄氏度",
                    "step": "0.5"
                }
            }
        },
        {
            "identifier": "CurrentTemperature",
            "name": "当前温度",
            "accessMode": "r",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "-30",		
                    "max": "50",
                    "unit": "°C",
                    "unitName": "摄氏度"
                }
            }
        },
        {
            "identifier": "ChildLockState",
            "name": "童锁",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "关闭",
                    "1": "开启"
                }
            }
        },
        {
            "identifier": "WorkMode",
            "name": "工作模式",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "自动",
                    "1": "手动"
                }
            }
        },
        {
            "identifier": "TimingOffTime",
            "name": "延时关机时间",
            "accessMode": "rw",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "0",
                    "max": "24",
                    "unit": "h",
                    "unitName": "小时",
                    "step": "0.5"
                }
            }
        }
    ],
    "events": [
        {
            "identifier": "post",
            "name": "post",
            "type": "info",
            "required": true,
            "desc": "属性上报",
            "method": "thing.event.property.post",
            "outputData": [
                {
                    "identifier": "TargetTemperature",
                    "name": "目标温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "20",	
                            "max": "30",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "CurrentTemperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "-30",	
                            "max": "50",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.5"
                        }
                    }
                },
                {
                    "identifier": "PowerSwitch",
                    "name": "电源开关",
                    "dataType": {
                        "type": "bool",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "ChildLockState",
                    "name": "童锁",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "关闭",
                            "1": "开启"
                        }
                    }
                },
                {
                    "identifier": "WorkMode",
                    "name": "工作模式",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "自动",
                            "1": "手动"
                        }
                    }
                },
                {
                    "identifier": "TimingOffTime",
                    "name": "延时关机时间",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "24",
                            "unit": "h",
                            "unitName": "小时",
                            "step": "0.5"
                        }
                    }
                }
            ]
        }
    ]
}