lixiaojun
2024-04-04 0a48aec6a38d34db6e9194920aac7d2d19cadcb3
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
namespace IStation.Application
{
    /// <summary>
    /// 
    /// </summary>
    public class EquipmentFullLogicalTreeDto : Yw.Dto.LogicalTreeDto
    {
        /// <summary>
        /// 
        /// </summary>
        public EquipmentFullLogicalTreeDto() { }
 
        /// <summary>
        /// 
        /// </summary>
        public EquipmentFullLogicalTreeDto(Model.LogicSite rhs)
        {
            this.Id = $"{IStation.DataType.LogicSite}_{rhs.ID}";
            this.ParentId = string.Empty;
            this.LogicalName = rhs.Name;
            this.LogicalType = DataType.LogicSite;
            this.LogicalID = rhs.ID;
            this.LogicalModel = null;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.Children = new List<LogicalTreeDto>();
        }
 
        /// <summary>
        /// 
        /// </summary>
        public EquipmentFullLogicalTreeDto(Yw.Model.Equipment rhs)
        {
            this.Id = $"{Yw.Assets.DataType.Equipment}_{rhs.ID}";
            this.ParentId = string.Empty;
            this.LogicalName = rhs.Name;
            this.LogicalType = Yw.Assets.DataType.Equipment;
            this.LogicalID = rhs.ID;
            this.LogicalModel = null;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.Children = new List<LogicalTreeDto>();
        }
 
 
 
 
 
 
 
    }
}