This commit is contained in:
xy
2026-01-20 11:12:57 +08:00
parent 4d1af87153
commit bda31ce52a
4 changed files with 6 additions and 6 deletions

View File

@@ -272,9 +272,9 @@ public class RtServiceImpl implements IRtService {
baseRealDataSet.setVThdB(FloatUtils.get2Float(map.get("Pq_ThdUB"))); baseRealDataSet.setVThdB(FloatUtils.get2Float(map.get("Pq_ThdUB")));
baseRealDataSet.setVThdC(FloatUtils.get2Float(map.get("Pq_ThdUC"))); baseRealDataSet.setVThdC(FloatUtils.get2Float(map.get("Pq_ThdUC")));
} else { } else {
baseRealDataSet.setVThdA(FloatUtils.get2Float(map.get("Pq_ThdLUA"))); baseRealDataSet.setVThdA(FloatUtils.get2Float(map.get("Pq_ThdLUAB")));
baseRealDataSet.setVThdB(FloatUtils.get2Float(map.get("Pq_ThdLUB"))); baseRealDataSet.setVThdB(FloatUtils.get2Float(map.get("Pq_ThdLUBC")));
baseRealDataSet.setVThdC(FloatUtils.get2Float(map.get("Pq_ThdLUC"))); baseRealDataSet.setVThdC(FloatUtils.get2Float(map.get("Pq_ThdLUCA")));
} }
//电流总谐波畸变率 //电流总谐波畸变率
baseRealDataSet.setIThdA(FloatUtils.get2Float(map.get("Pq_ThdIA"))); baseRealDataSet.setIThdA(FloatUtils.get2Float(map.get("Pq_ThdIA")));

View File

@@ -185,7 +185,7 @@ public class StatServiceImpl implements IStatService {
} }
} }
} }
redisUtil.saveByKey(AppRedisKey.LINE_POSITION+id,map); redisUtil.saveByKeyWithExpire(AppRedisKey.LINE_POSITION+id,map,30L);
} }
/** /**

View File

@@ -184,6 +184,6 @@ public class CsWaveAnalysisServiceImpl implements ICsWaveAnalysisService {
map.put(2,item.getLineId()); map.put(2,item.getLineId());
} }
} }
redisUtil.saveByKeyWithExpire(AppRedisKey.LINE_POSITION+id,map,600L); redisUtil.saveByKeyWithExpire(AppRedisKey.LINE_POSITION+id,map,30L);
} }
} }

View File

@@ -370,7 +370,7 @@ public class EventServiceImpl implements IEventService {
map.put(2,item.getLineId()); map.put(2,item.getLineId());
} }
} }
redisUtil.saveByKeyWithExpire(AppRedisKey.LINE_POSITION+id,map,600L); redisUtil.saveByKeyWithExpire(AppRedisKey.LINE_POSITION+id,map,30L);
} }
/** /**