using System; using System.Collections.Generic; namespace Shared { [Serializable] public class RegionInfoRes { /// /// 住宅ID /// public string Id { get; set; } /// /// 住宅名称 /// public string Name { get; set; } /// /// 是否为其他主用户分享过来的住宅 /// public bool IsOthreShare { get; set; } /// /// 是否支持远程 /// public bool isRemoteControl; /// /// 是否绑定网关 /// public bool isBindGateway; ///// ///// 当前住宅是其他主帐号分享过来的主帐号的分布式Id ///// //public string MainUserDistributedMark { get; set; } ///// ///// 仅子账号登陆的时候使用,当【IsOthreShare】为"true",并且【AccountType】为"1"时,该账号拥有管理员权限 ///// //public int AccountType { get; set; } ///// ///// 经度 ///// //public double Longitude = 0; ///// ///// 纬度 ///// //public double Latitude = 0; /// /// 区域服务器 /// public string regionUrl; } /// /// 新云端住宅列表返回字段 /// [Serializable] public class RegionInfoResNew { /// /// 住宅ID /// public string Id; /// /// 住宅名字 /// public string homeName; /// /// 是否为其他主用户分享过来的住宅 /// public bool IsOtherShare; /// /// 仅子账号登陆的时候使用,当【IsOthreShare】为"true", /// 子账户类型 1.ORDINARY 2.DEBUG 3.ADMIN /// public string accountType; /// /// 是否支持远程 /// public bool isRemoteControl; /// /// 住宅空间结构Id /// public string structId; /// /// 经度 /// public double longitude; /// /// 纬度 /// public double latitude; /// /// 交付状态 /// public string deliverstatus; /// /// 住宅类型 Zigbee, Buspro, A /// public string homeType; /// /// /// public string createonutc; /// /// 区域服务器 /// public string regionUrl; /// /// 区域服务器 /// public string emqUrl; /// /// 住宅区域Id /// public string homeRegionId; /// /// 住宅区域名字 /// public string homeRegionName; /// /// 是否绑定网关 /// public bool isBindGateway; /// /// 住宅地址 /// public string homeAddress; /// /// 是否允许创建场景 /// public bool isAllowCreateScene; } [Serializable] public class HomeGateways { public string GatewayUniqueId { get; set; } } [Serializable] public class ResidenceRes { public int PageIndex; public int PageSize; public int TotalCount; public int TotalPages; public bool HasPreviousPage; public bool HasNextPage; public string RegionName; public List PageData = new List (); } }