{
    "schema":"https://iot-ap.ikonke.com/model/product_3069.json",
    "productType":"switch",
    "version": "1.0",
    "profile":{
        "heartbeat":"300",
        "productCode":"3069",
        "productName":"双路智能灯控模块Z3S(KONKE)"
    },
    "services":[
        {
            "outputData":[

            ],
            "identifier":"set",
            "inputData":[
                {
                    "identifier":"PowerSwitch_1",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"PowerSwitch_2",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                }
            ],
            "method":"thing.service.property.set",
            "name":"set",
            "required":true,
            "callType":"async",
            "desc":"属性设置"
        },
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch_1",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"PowerSwitch_2",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                }
            ],
            "identifier":"get",
            "inputData":[
                "PowerSwitch_1",
                "PowerSwitch_2"
            ],
            "method":"thing.service.property.get",
            "name":"get",
            "required":true,
            "callType":"async",
            "desc":"属性获取"
        },
        {
            "outputData":[

            ],
            "identifier":"negativeProperty",
            "inputData":[
                "PowerSwitch_1",
                "PowerSwitch_2"
            ],
            "method":"thing.service.negativeProperty",
            "name":"negativeProperty",
            "required":true,
            "callType":"async",
            "desc":"属性值取反"
        }
    ],
    "properties":[
        {
            "identifier":"PowerSwitch_1",
            "dataType":{
                "specs":{
                    "0":"关闭",
                    "1":"打开"
                },
                "type":"bool"
            },
            "name":"电源开关",
            "accessMode":"rw",
            "required":true
        },
        {
            "identifier":"PowerSwitch_2",
            "dataType":{
                "specs":{
                    "0":"关闭",
                    "1":"打开"
                },
                "type":"bool"
            },
            "name":"电源开关",
            "accessMode":"rw",
            "required":true
        }
    ],
    "events":[
        {
            "outputData":[
                {
                    "identifier":"PowerSwitch_1",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                },
                {
                    "identifier":"PowerSwitch_2",
                    "dataType":{
                        "specs":{
                            "0":"关闭",
                            "1":"打开"
                        },
                        "type":"bool"
                    },
                    "name":"电源开关"
                }
            ],
            "identifier":"property",
            "method":"thing.event.property.post",
            "name":"property",
            "type":"info",
            "required":true,
            "desc":"属性上报"
        }
    ]
}