对象定义

对象定义

设备信息 deviceInfo/subDeviceInfo

   {
        "did": "",
        "pid":"",
        "gatewayId":"",
        "mac":"",
        "name":"",
        "cookie":""
   }

终端信息 endPointInfo/subEndPointInfo

   {
        "endPointId":"",
        "type":xx,
        "name":"",
        "icon":"",
        "roomId":"",
        "context":"",
        "deviceInfo":deviceInfo
   }

房间信息 roomInfo

   {
        "roomId":"",
        "name":"",
        "type":""
   }

家庭信息 familyInfo

   {
        "familyId":"",
        "name":"",
        "icon":"",
        "version":"",
        "country":"",     // 家庭所在国家,可以为空
        "province": "",   // 家庭所在省份,可以为空
        "city": ""        // 家庭所在城市,可以为空
   }