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; } }