{
	"schema": "https://iot-ap.ikonke.com/model/product_2102.json",
    "productType":"outlet",
	"profile":{
		"heartbeat": "3000",	
		"productCode": "2102",
		"productName": "星辰二路零火面板"
    },
    "services":[
        {
            "outputData":[
            ],
            "identifier":"set",
            "inputData":[
                {
                    "identifier":"PowerSwitch",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"IndicatorLight",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"指示灯"
                }],
            "method":"thing.service.property.set",
            "name":"set",
            "required":true,
            "callType":"async",
            "desc":"属性设置"
        },
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"IndicatorLight",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"指示灯"
                }],
            "identifier":"get",
            "inputData":[
                "PowerSwitch",
                "IndicatorLight"],
            "method":"thing.service.property.get",
            "name":"get",
            "required":true,
            "callType":"async",
            "desc":"属性获取"
        },
        {
            "outputData":[
            ],
            "identifier":"setLocalTimer",
            "inputData":[
                {
                    "identifier":"LocalTimer",
                    "dataType":{
                        "specs":{
                            "item":{
                                "specs":[
                                    {
                                        "identifier":"Timer",
                                        "dataType":{
                                            "specs":{
                                                "length":"255"
                                            },
                                            "type":"text"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"Enable",
                                        "dataType":{
                                            "specs":{
                                                "0":"关",
                                                "1":"开"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"启用"
                                    },
                                    {
                                        "identifier":"IsValid",
                                        "dataType":{
                                            "specs":{
                                                "0":"无效",
                                                "1":"有效"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"可执行"
                                    },
                                    {
                                        "identifier":"TimezoneOffset",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "min":"-43200",
                                                "unitName":"秒",
                                                "max":"43200",
                                                "step":"3600"
                                            },
                                            "type":"int"
                                        },
                                        "name":"时差"
                                    },
                                    {
                                        "identifier":"Targets",
                                        "dataType":{
                                            "specs":{
                                                "length":"2048"
                                            },
                                            "type":"text"
                                        },
                                        "name":"操作对象"
                                    }],
                                "type":"struct"
                            },
                            "size":"5"
                        },
                        "type":"array"
                    },
                    "name":"本地定时"
                }],
            "method":"thing.service.setLocalTimer",
            "name":"setLocalTimer",
            "required":false,
            "callType":"async",
            "desc":"设置本地定时任务"
        },
        {
            "outputData":[
                {
                    "identifier":"LocalTimer",
                    "dataType":{
                        "specs":{
                            "item":{
                                "specs":[
                                    {
                                        "identifier":"Timer",
                                        "dataType":{
                                            "specs":{
                                                "length":"255"
                                            },
                                            "type":"text"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"Enable",
                                        "dataType":{
                                            "specs":{
                                                "0":"关",
                                                "1":"开"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"启用"
                                    },
                                    {
                                        "identifier":"IsValid",
                                        "dataType":{
                                            "specs":{
                                                "0":"无效",
                                                "1":"有效"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"可执行"
                                    },
                                    {
                                        "identifier":"TimezoneOffset",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "min":"-43200",
                                                "unitName":"秒",
                                                "max":"43200",
                                                "step":"3600"
                                            },
                                            "type":"int"
                                        },
                                        "name":"时差"
                                    },
                                    {
                                        "identifier":"Targets",
                                        "dataType":{
                                            "specs":{
                                                "length":"2048"
                                            },
                                            "type":"text"
                                        },
                                        "name":"操作对象"
                                    }],
                                "type":"struct"
                            },
                            "size":"5"
                        },
                        "type":"array"
                    },
                    "name":"本地定时"
                }],
            "identifier":"getLocalTimer",
            "inputData":[
                "LocalTimer"],
            "method":"thing.service.getLocalTimer",
            "name":"getLocalTimer",
            "required":false,
            "callType":"async",
            "desc":"获取本地定时任务"
        },
        {
            "outputData":[
            ],
            "identifier":"setCountDown",
            "inputData":[
                {
                    "identifier":"CountDown",
                    "dataType":{
                        "specs":{
                            "item":{
                                "specs":[
                                    {
                                        "identifier":"DelayTime",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "min":"0",
                                                "unitName":"秒",
                                                "max":"86400",
                                                "step":"1"
                                            },
                                            "type":"int"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"CurrentTime",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "unitName":"秒"
                                            },
                                            "type":"int"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"Enable",
                                        "dataType":{
                                            "specs":{
                                                "0":"关",
                                                "1":"开"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"启用"
                                    },
                                    {
                                        "identifier":"IsValid",
                                        "dataType":{
                                            "specs":{
                                                "0":"无效",
                                                "1":"有效"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"可执行"
                                    },
                                    {
                                        "identifier":"Targets",
                                        "dataType":{
                                            "specs":{
                                                "length":"2048"
                                            },
                                            "type":"text"
                                        },
                                        "name":"操作对象"
                                    }],
                                "type":"struct"
                            },
                            "size":"5"
                        },
                        "type":"array"
                    },
                    "name":"本地倒计时"
                }],
            "method":"thing.service.setCountDown",
            "name":"setCountDown",
            "required":false,
            "callType":"async",
            "desc":"设置本地倒计时任务"
        },
        {
            "outputData":[
                {
                    "identifier":"CountDown",
                    "dataType":{
                        "specs":{
                            "item":{
                                "specs":[
                                    {
                                        "identifier":"DelayTime",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "min":"0",
                                                "unitName":"秒",
                                                "max":"86400",
                                                "step":"1"
                                            },
                                            "type":"int"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"CurrentTime",
                                        "dataType":{
                                            "specs":{
                                                "unit":"s",
                                                "unitName":"秒"
                                            },
                                            "type":"int"
                                        },
                                        "name":"定时时间"
                                    },
                                    {
                                        "identifier":"Enable",
                                        "dataType":{
                                            "specs":{
                                                "0":"关",
                                                "1":"开"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"启用"
                                    },
                                    {
                                        "identifier":"IsValid",
                                        "dataType":{
                                            "specs":{
                                                "0":"无效",
                                                "1":"有效"
                                            },
                                            "type":"bool"
                                        },
                                        "name":"可执行"
                                    },
                                    {
                                        "identifier":"Targets",
                                        "dataType":{
                                            "specs":{
                                                "length":"2048"
                                            },
                                            "type":"text"
                                        },
                                        "name":"操作对象"
                                    }],
                                "type":"struct"
                            },
                            "size":"5"
                        },
                        "type":"array"
                    },
                    "name":"本地倒计时"
                }],
            "identifier":"getCountDown",
            "inputData":[
                "CountDown"],
            "method":"thing.service.getCountDown",
            "name":"getCountDown",
            "required":false,
            "callType":"async",
            "desc":"获取本地倒计时任务"
        }],
    "properties":[
        {
            "identifier":"PowerSwitch",
            "dataType":{
                "specs":{
                    "0":"关闭",
                    "1":"打开"
                },
                "type":"bool"
            },
            "name":"电源开关",
            "accessMode":"rw",
            "required":true
        },
        {
            "identifier":"IndicatorLight",
            "dataType":{
                "specs":{
                    "0":"关闭",
                    "1":"打开"
                },
                "type":"bool"
            },
            "name":"指示灯"
        }],
    "events":[
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"IndicatorLight",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"指示灯"
                }],
            "identifier":"property",
            "method":"thing.event.property.post",
            "name":"property",
            "type":"info",
            "required":true,
            "desc":"属性上报"
        }]
}
