tx
2025-04-09 fa7510e1ed63df0366787fa4ed1b3db6426d2b46
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
namespace TProduct.Model
{
    /// <summary>
    /// 判定结果
    /// </summary>
    public class TestJudgeItemResultViewModel
    {
        public TestJudgeItemResultViewModel(TestGradeJudgeItem item)
        {
            this.JudgeItem = item;
            this.ThresholdValue = item.ThresholdValue;
            this.ThresholdType = item.ThresholdType;
        }
        public TestJudgeItemResultViewModel(TestJudgeItemResultViewModel item)
        {
            this.JudgeItem = item.JudgeItem;
            this.ThresholdValue = item.ThresholdValue;
            this.ThresholdType = item.ThresholdType;
            this.TargeType = item.TargeType;
            this.TargetTypeName = item.TargetTypeName;
            this.Name = item.Name;
            this.RequestValue = item.RequestValue;
            this.RequestPercent = item.RequestPercent;
            this.RatedValue = item.RatedValue;
            this.ThresholdValue = item.ThresholdValue;
            this.JudgeValue = item.JudgeValue;
            this.TargetJudgResultName = item.TargetJudgResultName;
            this.ItemJudgResultName = item.ItemJudgResultName;
            this.ItemJudgResult = item.ItemJudgResult;
            this.IsQualified = item.IsQualified;
            this.Notice = item.Notice;
        }
        public TestGradeJudgeItem JudgeItem { get; set; }
        public TestGradeJudgeItem.eThresholdType ThresholdType { get; set; }
        public eTestJudgeTargetType TargeType { get; set; }
        public string TargetTypeName { get; set; }
        public string Name { get; set; } //检测项目
        public string RequestValue { get; set; }//要求(绝对值)
        public string RequestPercent { get; set; }//要求(百分率)
        public double RatedValue { get; set; }//额定值
        public double ThresholdValue { get; set; }//偏差值 
        public double JudgeValue { get; set; }//判定值
        public string TargetJudgResultName { get; set; }//整个流量判断结果
        public string ItemJudgResultName { get; set; }//单项判断结果
        public eTestJudgeResult ItemJudgResult { get; set; }//判定结果
        public bool IsQualified { get; set; }
        public string Notice { get; set; }//备注
 
    }
}