wxr
2021-07-01 43b0d5870d528f23ecd6aeceb6cfd4325188b46f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
using System;
using System.Collections.Generic;
 
namespace HDL_ON
{
    //[Serializable]
    //public class RegionInfoRes
    //{
    //    public string RegionID { get; set; }
 
    //    /// <summary>
    //    /// 区域名称(如:广州、深圳等)
    //    /// </summary>
    //    public string RegionName { get; set; }
    //    /// <summary>
    //    /// 住宅名称
    //    /// </summary>
    //    public string Name { get;set; }
    //    /// <summary>
    //    /// 住宅地址
    //    /// </summary>
    //    public string Address { get; set; }
 
    //    //{
    //    // {
    //    //  "Id": "1107487",
    //    //  "HomeStatus": 2,
    //    //  "UserGuid": "22980",
    //    //  "Name": "啊",
    //    //  "Address": null,
    //    //  "Longitude": 0.0,
    //    //  "Latitude": 0.0,
    //    //  "RegionName": null,
    //    //  "Company": null,
    //    //  "ContactPerson": null,
    //    //  "ContactPersonPhone": null,
    //    //  "Remarks": null,
    //    //  "ChangeDate": null,
    //      //"AccountType": 0,
    //    //  "CreatedOnUtc": "2020-05-27T06:52:03",
    //    public bool IsOthreShare = false;
    //    //  "MainUserDistributedMark": null,
    //    public List<HomeGateways> homeGateways = new List<HomeGateways>();
    //}
 
    public class HomeGateways
    {
        public string GatewayUniqueId = "";
    }
 
    [Serializable]
    public class RegionInfoRes
    {
        /// <summary>
        /// 住宅ID
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 住宅名称
        /// </summary>
        public string homeName { get; set; }
        /// <summary>
        /// 住宅地址
        /// </summary>
        public string homeAddress { get; set; }
        /// <summary>
        /// 是否为其他主用户分享过来的住宅
        /// </summary>
        public bool isOtherShare { get; set; }
        
        //2020-11-13 新增
        /// <summary>
        /// 仅子账号登陆的时候使用,当【IsOthreShare】为"true",
        /// 子账户类型 1.ORDINARY 2.DEBUG 3.ADMIN
        /// </summary>
        public string accountType;
        /// <summary>
        /// 是否支持远程
        /// </summary>
        public bool isRemoteControl;//??
        /// <summary>
        /// 经度
        /// </summary>
        public double longitude;
        /// <summary>
        /// 纬度
        /// </summary>
        public double latitude;
        /// <summary>
        /// 交付状态
        /// </summary>
        public string deliverstatus;
        /// <summary>
        /// 住宅类型 Zigbee, Buspro, A
        /// </summary>
        public string homeType;
        /// <summary>
        /// 区域服务器
        /// </summary>
        public string regionUrl;
        /// <summary>
        /// emq服务器
        /// </summary>
        public string emqUrl;
        /// <summary>
        /// 住宅区域Id
        /// </summary>
        public string homeRegionId;
        /// <summary>
        /// 是否允许创建场景
        /// </summary>
        public bool isAllowCreateScene;//??
        /// <summary>
        /// 是否绑定网关
        /// </summary>
        public bool isBindGateway;
        /// <summary>
        /// 调试人员ID
        /// </summary>
        public string debugStaffUserId;
        /// <summary>
        /// 调试权限是否打开
        /// </summary>
        public bool debugPerm;
    }
 
}