ningshuxia
2022-09-21 d994f82c57d350f7b85f96dfe8f18369cadc0cec
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class InspectRecordItem
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public InspectRecordItem(IStation.Model.InspectRecord rhs)
        {
 
            this.ID = rhs.ID;
 
            this.ProductID = rhs.ProductID;
            this.RepairRequestID = rhs.RepairRequestID;
            this.WorryCount = rhs.WorryCount;
            this.EmployeeID = rhs.EmployeeID;
            this.RecordDay = rhs.RecordDay;
            this.Note = rhs.Note;
 
            if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.巡检中)
                this.CompleteStatusName = "部分完成";
            else if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.巡检完成)
                this.CompleteStatusName = "完成";
            else if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.未巡检)
                this.CompleteStatusName = "未巡检";
            this.ProgressInfo = rhs.ProgressInfo;//进度 类似 2/10 表示10项 填写了2项
 
        }
        /// <summary>
        /// 
        /// </summary>
        public long ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RecordDay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long ProductID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProductNO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long RepairRequestID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CompleteStatusName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int WorryCount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long EmployeeID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EmployeeName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProgressInfo { get; set; }
    }
 
 
}