duheng
2024-11-29 5c14c9686d2bd7c99fdd6cc6fc19404e6e4b8e4d
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
using Yw.Model;
 
namespace HStation.Model
{
    /// <summary>
    ///
    ///</summary>
    [SysType("assets-packagerseries-manufacturer-mapping")]
    public class AssetsPackageMfrMapping : BaseModel, IParas, IFlags, ITagName, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public AssetsPackageMfrMapping()
        { }
 
        /// <summary>
        ///
        /// </summary>
        public AssetsPackageMfrMapping(AssetsPackageMfrMapping rhs) : base(rhs)
        {
            this.SeriesID = rhs.SeriesID;
            this.ManufacturerID = rhs.ManufacturerID;
            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.Description = rhs.Description;
        }
 
        /// <summary>
        ///
        /// </summary>
        public void Reset(AssetsPackageMfrMapping rhs)
        {
            this.ID = rhs.ID;
            this.SeriesID = rhs.SeriesID;
            this.ManufacturerID = rhs.ManufacturerID;
            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.Description = rhs.Description;
        }
 
        /// <summary>
        /// 系列ID
        ///</summary>
        public long SeriesID { get; set; }
 
        /// <summary>
        /// 厂家ID
        ///</summary>
        public long ManufacturerID { get; set; }
 
        /// <summary>
        ///
        ///</summary>
        public Dictionary<string, string> Paras { get; set; }
 
        /// <summary>
        ///
        ///</summary>
        public List<string> Flags { get; set; }
 
        /// <summary>
        ///
        ///</summary>
        public string TagName { get; set; }
 
        /// <summary>
        ///
        ///</summary>
        public string Description { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        public AssetsPackageMfrMapping Clone()
        {
            return (AssetsPackageMfrMapping)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
}