tangxu
2022-11-03 e32f35f3850e3209f15d81b0b41117764febc6e2
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Application
{
    /// <summary>
    /// 机泵详细信息
    /// </summary>
    public class DemoEnginePumpDetailDto 
    {
        /// <summary>
        /// 
        /// </summary>
        public DemoEnginePumpDetailDto() { }
 
        /// <summary>
        /// 
        /// </summary>
        public DemoEnginePumpDetailDto(Model.Product<Model.EnginePump> rhs, List<Model.ProductTypePropertyGroupExItems> propertyGroupList = null)
        {
            this.ID = rhs.ID;
            this.CorpID = rhs.CorpID;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.Specification = rhs.Specification;
            this.Material = rhs.Material;
            this.Size = rhs.Size;
            this.UnitName = rhs.UnitName;
            this.Quantity = rhs.Quantity;
            this.ManufacturerNO = rhs.ManufacturerNO;
            this.ManufacturerDay = rhs.ManufacturerDay;
            this.ContractNO = rhs.ContractNO;
            this.StorageLocation = rhs.StorageLocation;
            this.StartUseDay = rhs.StartUseDay?.ToString("yyyy-MM-dd");
            this.RealImage = rhs.RealImage;
            this.SiteImage = rhs.SiteImage;
            this.Model3DViewUrl = rhs.Model3DViewUrl;
            this.ExplosionImage = rhs.ExplosionImage;
            this.Address = rhs.Address;
            this.InspectionSchedule = rhs.InspectionSchedule;
            this.PropsParas = propertyGroupList?.Select(x => new DemoProductPropertyGroupDto(x, rhs.PropsParas)).ToList();
            this.RatedParas = rhs.RatedParas == null ? null : new DemoEnginePumpRatedParasDto(rhs.RatedParas);
            this.TerminalId = rhs.TerminalId;
            this.TagName = rhs.TagName;
            this.UseStatus = rhs.UseStatus;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
 
 
        /// <summary>
        /// 标识
        /// </summary>    
        public long ID { get; set; }
 
        /// <summary>
        /// 客户标识
        /// </summary>    
        public long CorpID { get; set; }
 
        /// <summary>
        /// 编号
        /// </summary>
        public string NO { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>    
        public string Name { get; set; }
 
        /// <summary>
        /// 型号
        /// </summary>    
        public string Code { get; set; }
 
        /// <summary>
        /// 规格
        /// </summary>    
        public string Specification { get; set; }
 
        /// <summary>
        /// 材质
        /// </summary>    
        public string Material { get; set; }
 
        /// <summary>
        /// 尺寸
        /// </summary>    
        public string Size { get; set; }
 
        /// <summary>
        /// 单位
        /// </summary>    
        public string UnitName { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>    
        public double Quantity { get; set; }
 
        /// <summary>
        /// 厂商名称
        /// </summary>
        public string ManufacturerName { get; set; }
 
        /// <summary>
        /// 出厂编号
        /// </summary>    
        public string ManufacturerNO { get; set; }
 
        /// <summary>
        /// 出场日期
        /// </summary>    
        public string ManufacturerDay { get; set; }
 
        /// <summary>
        /// 合同编号
        /// </summary>    
        public string ContractNO { get; set; }
 
        /// <summary>
        /// 存储位置
        /// </summary>    
        public string StorageLocation { get; set; }
 
        /// <summary>
        /// 开始使用日期
        /// </summary>    
        public string StartUseDay { get; set; }
 
        /// <summary>
        /// 实物图
        /// </summary>    
        public string RealImage { get; set; }
 
        /// <summary>
        /// 现场图片
        /// </summary>    
        public string SiteImage { get; set; }
 
        /// <summary>
        /// 三维图 路径
        /// </summary>    
        public string Model3DViewUrl { get; set; }
 
        /// <summary>
        /// 爆炸图
        /// </summary>    
        public string ExplosionImage { get; set; }
 
        /// <summary>
        /// 地址
        /// </summary>    
        public string Address { get; set; }
 
        /// <summary>
        /// 巡检周期
        /// </summary>
        public Model.Product.eInspectionSchedule InspectionSchedule { get; set; }
 
        /// <summary>
        /// 属性参数
        /// </summary>    
        public List<DemoProductPropertyGroupDto> PropsParas { get; set; } 
 
        /// <summary>
        /// 额定参数
        /// </summary>    
        public DemoEnginePumpRatedParasDto RatedParas { get; set; }
 
        /// <summary>
        /// 终端标识
        /// </summary>    
        public string TerminalId { get; set; }
 
        /// <summary>
        /// 标签
        /// </summary>    
        public string TagName { get; set; }
 
        /// <summary>
        /// 排序码
        /// </summary>    
        public int SortCode { get; set; }
 
        /// <summary>
        /// 使用状态
        /// </summary>    
        public Model.Product.eUseStatus UseStatus { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>    
        public string Description { get; set; }
 
        /// <summary>
        /// 泵
        /// </summary>
        public DemoPumpDetailDto Pump { get; set; }
 
        /// <summary>
        /// 电机
        /// </summary>
        public DemoMotorDetailDto Motor { get; set; }
    }
 
}