码迷,mamicode.com
首页 > 其他好文 > 详细

智能家居之保存配置数据 saveSmartHomeConfig

时间:2016-08-03 01:20:08      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

post

request:

技术分享
{
    "isDebug": "1",
    "action": "saveSmartHomeConfig",
   "token": "1ebc0196-a3d0-4ccc-ad92-491f2cfa387d",
    "requestData": [
        {
            "DeviceBrandAndTypeKey": "f51e1f60-8a82-4c55-84c3-67d610640827",
            "HouseKey": "92e0b3a6-5bed-436f-b21f-616e42af2917",
            "AirConditionSpecialDemand": {
                "IsToOpenInvoiceTicket": false
            },
            "SmartHomeConfig_BasicDemand": {
                "Title": "基础需求",
                "Tag": "SmartHome_BasicDemand",
                "List": [
                    {
                        "ColumnName": "LivingRoomAndRestaurantLightingCtrlSystemAndSceneModeCtrl",
                        "DisplayName":"客餐厅灯光控制、场景模式控制",
                        "Value": true
                    },
                    {
                        "ColumnName": "LivingRoomAndRestaurantLightLamp",
                        "DisplayName":"客餐厅调光灯带",
                        "Value": true
                    },
                    {
                        "ColumnName": "HomeCentralAirConditionCtrlSystem",
                        "DisplayName":"全宅中央空调控制",
                        "Value": true
                    },
                    {
                        "ColumnName": "SmartHome_MonitoringGuard",
                        "DisplayName":"监控卫士",
                        "Value": true
                    },
                    {
                        "ColumnName": "KitchenSafeGuard",
                        "DisplayName":"厨房安全卫士",
                        "Value": true
                    },
                    {
                        "ColumnName": "SmartHome_BackGroundMusicCtrlSystem",
                        "DisplayName":"背景音乐控制",
                        "Value": true
                    },
                    {
                        "ColumnName": "FullHouseDistributedNetworkCoverage",
                        "DisplayName":"分布式全宅网络覆盖",
                        "Value": true
                    },
                    {
                        "ColumnName": "FloorHeatingCtrlSystem",
                        "DisplayName":"地暖控制系统",
                        "Value": true
                    },
                    {
                        "ColumnName": "SmartHome_EmergencyAssistanceSystem",
                        "DisplayName":"紧急求助系统",
                        "Value": true
                    },
                    {
                        "ColumnName": "IntelligentCtrlOfFilmAndTelevisionHall",
                        "DisplayName":"影视厅智能控制",
                        "Value": true
                    },
                    {
                        "ColumnName": "SmartHome_VisualIntercomSystem",
                        "DisplayName":"可视对讲门禁系统",
                        "Value": true
                    }
                ]
            },
            "SmartHomeConfig_BasicDemand_TheWholeHouseSmartCtrlInputItems": {
                "Title": "全宅智能控制之变量输入项",
                "Tag": "SmartHome_TheWholeHouseSmartCtrlInputItems",
                "List": [
                    {
                        "ColumnName": "RoomLightCtrl",
                        "Value": 2
                    },
                    {
                        "ColumnName": "CurtainCtrl",
                        "Value": 1
                    },
                    {
                        "ColumnName": "HouseholdElectricalAppliances",
                        "Value": 3
                    },
                    {
                        "ColumnName": "SelfServiceIrrigationSystem",
                        "Value": 6
                    },
                    {
                        "ColumnName": "NewWindCtrlSystem",
                        "Value": 3
                    }
                ]
            },
            "SmartHomeConfig_BasicDemandDetailDatas": [
                {
                    "Title": "全宅灯光控制系统、场景模式控制",
                    "Tag": "SmartHome_FullHouseLightingCtrlSystemAndSceneModeCtrlInputItems",
                    "List": [
                        {
                            "ColumnName": "INSPRIDRuiSeeSeries3Union6KeyTemperaturDisplayPanel",
                            "Value": 1
                        },
                        {
                            "ColumnName": "INSPRID5Unioin10KeyTemperatureControlPanel",
                            "Value": 6
                        },
                        {
                            "ColumnName": "INSPRIDInitialSeries2Union4KeyPanel",
                            "Value": 4
                        },
                        {
                            "ColumnName": "IntelligentSelfResetPanel_PlusREALMECoupler",
                            "Value": 9
                        },
                        {
                            "ColumnName": "INSPRIDInitialSeries1Union2KeyTemperatureDisplayPanel",
                            "Value": 5
                        },
                        {
                            "ColumnName": "GVSIntelligent3Point5InchTouchScreen",
                            "Value": 4
                        },
                        {
                            "ColumnName": "INSPRIDImageSeriesIntelligent3Point5InchColorTouchScreen",
                            "Value": 3
                        },
                        {
                            "ColumnName": "REALME4Union8KeySmartPanel",
                            "Value": 2
                        },
                        {
                            "ColumnName": "INSPRIDImageSeriesIntelligent5InchColorTouchScreen",
                            "Value": 6
                        },
                        {
                            "ColumnName": "GVSIntelligent5InchTouchScreen",
                            "Value": 7
                        },
                        {
                            "ColumnName": "INSPRID3Union6KeyTemperatureControlPanel",
                            "Value": 1
                        },
                        {
                            "ColumnName": "INSPRIDInitialSeries2Union4KeyTemperatureControlPanel",
                            "Value": 3
                        },
                        {
                            "ColumnName": "INSPRIDInitialSeries3Union6KeyTemperatureDisplayPanel",
                            "Value": 8
                        },
                        {
                            "ColumnName": "SATION10Point1InchHighDefinitionTouchScreen",
                            "Value": 9
                        },
                        {
                            "ColumnName": "INSPRIDInitialSerial4Union8KeyPanel",
                            "Value": 7
                        },
                        {
                            "ColumnName": "GVSEmbeddedIntelligent5InchTouchScreen",
                            "Value": 5
                        },
                        {
                            "ColumnName": "Schneider10InchTouchScreen_FullImport",
                            "Value": 3
                        }
                    ]
                },
                {
                    "Title": "监控卫士",
                    "Tag": "SmartHome_MonitoringGuard",
                    "List": [
                        {
                            "ColumnName": "2MillionFixedFocalInfraredDomeCamera",
                            "Value": 1
                        },
                        {
                            "ColumnName": "GlassBrokenSenseDetector",
                            "Value": 6
                        },
                        {
                            "ColumnName": "InfraredRadiation",
                            "Value": 7
                        }
                    ]
                },
                {
                    "Title": "背景音乐控制",
                    "Tag": "SmartHome_BackGroundMusicCtrlSystem",
                    "List": [
                        {
                            "ColumnName": "TheBackgroundMusicOfThe838MonomerAoddiseMachine",
                            "Value": 3
                        },
                        {
                            "ColumnName": "ParkingSoundBackgroundMusic4PartitionHost",
                            "Value": 6
                        },
                        {
                            "ColumnName": "ParkingSoundBackgroundMusic6PartitionHost",
                            "Value": 5
                        },
                        {
                            "ColumnName": "AoddiseBackgroundMusic8318_8Division",
                            "Value": 2
                        }
                    ]
                },
                {
                    "Title": "紧急求助系统",
                    "Tag": "SmartHome_EmergencyAssistanceSystem",
                    "List": [
                        {
                            "ColumnName": "EmergencyHelpPanel",
                            "Value": 3
                        }
                    ]
                },
                {
                    "Title": "可视对讲门禁系统",
                    "Tag": "SmartHome_VisualIntercomSystem",
                    "List": [
                        {
                            "ColumnName": "VillaTypeDoorMachine",
                            "Value": 1
                        },
                        {
                            "ColumnName": "VideoIntercom7InchExtension",
                            "Value": 3
                        },
                        {
                            "ColumnName": "VideoIntercom10InchExtension",
                            "Value": 9
                        }
                    ]
                }
            ]
        }
    ]
}
View Code

response:

技术分享
    {
        "data": "bceae393-22ee-48a1-8d6e-cef8a5dfa4a1",
        "msg": "success",
        "responseCode":
        {
            "msgCode": 200,
            "msgDetail": "OK"
        },
        "serverTime": "2016-08-03 00:04:11",
        "success": true
    }
View Code

 

智能家居之保存配置数据 saveSmartHomeConfig

标签:

原文地址:http://www.cnblogs.com/jwiter/p/5731229.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!