using System; using System.Collections.Generic; namespace HDL_ON { //[Serializable] //public class RegionInfoRes //{ // public string RegionID { get; set; } // /// // /// 区域名称(如:广州、深圳等) // /// // public string RegionName { get; set; } // /// // /// 住宅名称 // /// // public string Name { get;set; } // /// // /// 住宅地址 // /// // 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 = new List(); //} public class HomeGateways { public string GatewayUniqueId = ""; } [Serializable] public class RegionInfoRes { /// /// 住宅ID /// public string id { get; set; } /// /// 项目id /// public string communityId = string.Empty; /// /// 住宅名称 /// public string homeName { get; set; } /// /// 住宅地址 /// public string homeAddress = string.Empty; /// /// 是否为其他主用户分享过来的住宅 /// public bool isOtherShare { get; set; } //2020-11-13 新增 /// /// 仅子账号登陆的时候使用,当【IsOthreShare】为"true", /// 子账户类型 1.ORDINARY 2.DEBUG 3.ADMIN /// public string accountType; /// /// 是否支持远程 /// public bool isRemoteControl;//?? /// /// 经度 /// public double longitude; /// /// 纬度 /// public double latitude; /// /// 交付状态 /// To_Be_Debugged(0, "待调试"), /// Debugging(1, "调试中"), /// To_Be_Accepted(2, "待验收"), /// Completed(3, "调试完成"), /// WAIT_DELIVERED(3, "调试完成"), /// Delivered(4, "已交付"), /// INITIAL_TATE(5,"初始态"), /// ACCEPTANCE(6,"验收"), /// SECONDARY_DEBUGGIN(7,"二次调试"), /// public string deliverStatus { get { return debugStatus; } } public string debugStatus; /// /// 住宅类型 Zigbee, Buspro, A /// public string homeType; /// /// 区域服务器 /// public string regionUrl; /// /// emq服务器 /// public string emqUrl; /// /// 住宅区域Id /// public string homeRegionId; /// /// 是否允许创建场景 /// public bool isAllowCreateScene;//?? /// /// 是否绑定网关 /// public bool isBindGateway; /// /// 调试人员ID /// public string debugStaffUserId; /// /// 调试权限是否打开 /// public bool debugPerm; /// /// 网关本地通信加密Key,同一个住宅 密钥创建后就不变 /// public string localSecret; /// /// 交付链接 /// public string deliverUrl; } }