wxr
2020-09-11 8df24b0a3dfd5b6f39c5393ef24eab25b70ab858
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
using System;
using System.Collections.Generic;
 
namespace HDL_ON.Entity
{
    /// <summary>
    /// 住宅成员的信息列表
    /// </summary>
    public class ResidenceMemberInfo
    {
        public ResidenceMemberInfo()
        {
        }
        public string Account = "";
 
        public string UserName = "";
 
        public string SubAccountDistributedMark = "";
 
        public string DistributedMark = "";
 
        public string Nickname = "";
 
        public int AccountType = 0;
        /// <summary>
        /// <!--此成员帐号是否具有远程控制权限-->
        /// </summary>
        public bool IsAllowRemoteCtrl = false;
        /// <summary>
        /// 是否允许子账号创建场景
        /// </summary>
        public bool IsAllowCreateScene = false;
 
        public string headImagePagePath = "LoginIcon/2.png";
 
        /// <summary>
        /// 子账号获得的当前住宅的功能数据
        /// </summary>
        public List<ShareData> CurResidenceShareDate = new List<ShareData>();
 
    }
 
    public class ShareData
    {
        /// <summary>
        /// 备份名称
        /// </summary>
        public string ShareName = "";
        /// <summary>
        /// 备份的数据ID
        /// </summary>
        public string DistributedMark = "";
        /// <summary>
        /// 备份所属的住宅ID
        /// </summary>
        public string HouseDistributedMark = "";
        /// <summary>
        /// 子账号ID
        /// </summary>
        public string SubAccountDistributedMark = "";
        /// <summary>
        /// 功能数据
        /// </summary>
        public byte[] ShareDataBytes;
 
    }
}