yangys
2024-09-02 a33c33d48c2c16995130b825355b6883be4eb159
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
package com.qianwen.mdc.collect.entity.mgr;
 
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 全局工况设置,采集分析-应用设置-状态和绩效时间设置,界面下有具体公式和T值的详细说明
 */
@TableName("blade_global_wcs_of_rps")
public class GlobalWcsOfRps {
    /**
     * 计划内0
     */
    public static final int IN_PLAN = 0;
    /**
     * 计划外1
     */
    public static final int OUT_PLAN = 1;
    /**
     * 编码
     */
    private String code;
    /**
     * 前置条件,界面没有
     */
    private int precondition;
    /**
     * 绩效时间1-4 -> T1-T4,人工反馈状态rps都等于0
     * 计算公式 :
     * 运行率:T1 /(T1+T2+T3+T4+T5+T6)
       报警率:T4 /(T1+T2+T3+T4+T5+T6)
     */
    private int rps;
    private String remark;
    /*
     * 计划内外:0 计划内  1 计划外
     */
    private int isPlan;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setPrecondition(final int precondition) {
        this.precondition = precondition;
    }
 
    public void setRps(final int rps) {
        this.rps = rps;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setIsPlan(final int isPlan) {
        this.isPlan = isPlan;
    }
 
 
    protected boolean canEqual(final Object other) {
        return other instanceof GlobalWcsOfRps;
    }
 
    public int hashCode() {
        int result = (1 * 59) + getPrecondition();
        int result2 = (((result * 59) + getRps()) * 59) + getIsPlan();
        Object $code = getCode();
        int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $remark = getRemark();
        return (result3 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public String toString() {
        return "GlobalWcsOfRps(code=" + getCode() + ", precondition=" + getPrecondition() + ", rps=" + getRps() + ", remark=" + getRemark() + ", isPlan=" + getIsPlan() + ")";
    }
 
 
    public GlobalWcsOfRps() {
    }
 
    public String getCode() {
        return this.code;
    }
 
    public int getPrecondition() {
        return this.precondition;
    }
 
    public int getRps() {
        return this.rps;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public int getIsPlan() {
        return this.isPlan;
    }
}