{
    "schema":"https://iotx-tsl.oss-ap-southeast-1.aliyuncs.com/schema.json",
	"productType":"lightPanel",
    "profile":{
        "type":"1003"
    },
    "services":[
        {
            "outputData":[
            ],
            "identifier":"set",
            "inputData":[
                {
                    "identifier":"PowerSwitch_1",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关1路"
                },
				{
                    "identifier":"PowerSwitch_2",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关2路"
                },
                {
                    "identifier":"Brightness",
                    "dataType":{
                        "specs":{
                            "unit":"%",
                            "min":"1",
                            "unitName":"百分比",
                            "max":"100",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度"
                },
                {
                    "identifier":"BrightnessChangeTime",
                    "dataType":{
                        "specs":{
                            "unit":"s",
                            "min":"0",
                            "unitName":"秒",
                            "max":"5",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度改变时长"
                }],
            "method":"thing.service.property.set",
            "name":"set",
            "required":true,
            "callType":"async",
            "desc":"属性设置"
        },
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"Brightness",
                    "dataType":{
                        "specs":{
                            "unit":"%",
                            "min":"1",
                            "unitName":"百分比",
                            "max":"100",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度"
                },
                {
                    "identifier":"BrightnessChangeTime",
                    "dataType":{
                        "specs":{
                            "unit":"s",
                            "min":"0",
                            "unitName":"秒",
                            "max":"5",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度改变时长"
                }],
            "identifier":"get",
            "inputData":[
                "PowerSwitch",
                "Brightness",
                "BrightnessChangeTime"],
            "method":"thing.service.property.get",
            "name":"get",
            "required":true,
            "callType":"async",
            "desc":"属性获取"
        }],
    "properties":[
        {
            "identifier":"PowerSwitch",
            "dataType":{
                "specs":{
                    "0":"关闭",
                    "1":"打开"
                },
                "type":"bool"
            },
            "name":"电源开关",
            "accessMode":"rw",
            "required":true
        },
        {
            "identifier":"Brightness",
            "dataType":{
                "specs":{
                    "unit":"%",
                    "min":"1",
                    "unitName":"百分比",
                    "max":"100",
                    "step":"1"
                },
                "type":"int"
            },
            "name":"明暗度",
            "accessMode":"rw",
            "required":false
        },
        {
            "identifier":"BrightnessChangeTime",
            "dataType":{
                "specs":{
                    "unit":"s",
                    "min":"0",
                    "unitName":"秒",
                    "max":"5",
                    "step":"1"
                },
                "type":"int"
            },
            "name":"明暗度改变时长"
        }],
    "events":[
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"Brightness",
                    "dataType":{
                        "specs":{
                            "unit":"%",
                            "min":"1",
                            "unitName":"百分比",
                            "max":"100",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度"
                },
                {
                    "identifier":"BrightnessChangeTime",
                    "dataType":{
                        "specs":{
                            "unit":"s",
                            "min":"0",
                            "unitName":"秒",
                            "max":"5",
                            "step":"1"
                        },
                        "type":"int"
                    },
                    "name":"明暗度改变时长"
                }],
            "identifier":"property",
            "method":"thing.event.property.post",
            "name":"property",
            "type":"info",
            "required":true,
            "desc":"属性上报"
        }]
}
