|
@@ -452,6 +452,14 @@ public class RyTask
|
|
showValueChartBasic.setF(DecimalUtils.getAbsAndScale(tXinyiWarningRecord.getControlVal(), INT_2));
|
|
showValueChartBasic.setF(DecimalUtils.getAbsAndScale(tXinyiWarningRecord.getControlVal(), INT_2));
|
|
showValueChartBasic.setG(DecimalUtils.getAbsAndScale(tXinyiWarningRecord.getDesignVal(), INT_2));
|
|
showValueChartBasic.setG(DecimalUtils.getAbsAndScale(tXinyiWarningRecord.getDesignVal(), INT_2));
|
|
// showValueChartBasic.setH(Math.min(count, MAX_COUNT));
|
|
// showValueChartBasic.setH(Math.min(count, MAX_COUNT));
|
|
|
|
+ //2024年7月20日17:28:17 增加数据来源展示
|
|
|
|
+ String category = tXinyiWarningRecord.getCategory();
|
|
|
|
+ if(BusinessEnum.WarningCategoryEnum.CS_COD_YC.getCode().equals(category)
|
|
|
|
+ || BusinessEnum.WarningCategoryEnum.CS_SS_YC.getCode().equals(category)
|
|
|
|
+ || BusinessEnum.WarningCategoryEnum.CS_AD_YC.getCode().equals(category))
|
|
|
|
+ showValueChartBasic.setH(ZAIXIANYIBIAO);
|
|
|
|
+ else
|
|
|
|
+ showValueChartBasic.setH(LIANXUJIANCE);
|
|
if(tXinyiWarningRecord.getType() != 2)
|
|
if(tXinyiWarningRecord.getType() != 2)
|
|
showValueChartBasic.setI(status == 0 ? "报警中" : status == 1 ? "用户关闭" : status == 2 ? "系统关闭" : "应急处理中");
|
|
showValueChartBasic.setI(status == 0 ? "报警中" : status == 1 ? "用户关闭" : status == 2 ? "系统关闭" : "应急处理中");
|
|
else
|
|
else
|