|
@@ -224,6 +224,7 @@ public class RyTask
|
|
|
} else if ("信义污水厂升级出水SS".equals(type)) {
|
|
|
industry.setCsSs(value);
|
|
|
} else if ("信义污水厂升级出水TN".equals(type)) {
|
|
|
+ log.info("************----------真实的出水总氮的值为{}\n时间为{}", value, k);
|
|
|
industry.setCsTn(value);
|
|
|
} else if ("信义污水厂升级出水TP".equals(type)) {
|
|
|
industry.setCsTp(value);
|
|
@@ -334,6 +335,8 @@ public class RyTask
|
|
|
|
|
|
private void handleWarning(TXinyiIndustry tXinyiIndustry) {
|
|
|
log.info("进入了定时任务保存工业库数据并触发报警操作");
|
|
|
+ //todo 临时改一下出水总氮 模拟异常
|
|
|
+ tXinyiIndustry.setCsTn(new BigDecimal(17));
|
|
|
//获取配置表
|
|
|
List<TXinyiNormConfig> tXinyiNormConfigs = this.xinyiNormConfigMapper.selectTXinyiNormConfigList(null);
|
|
|
if(CollectionUtils.isEmpty(tXinyiNormConfigs))
|