Browse Source

放开湿球温度计算数据日志打印,便于验证计算

miaolijing 2 years ago
parent
commit
5582c43e59

+ 1 - 1
src/main/java/com/persagy/apm/diagnose/maintenance/service/impl/ProjectDataRecordServiceImpl.java

@@ -1100,7 +1100,7 @@ public class ProjectDataRecordServiceImpl implements IProjectDataRecordService {
                         Double hVal = getHVal(dto.getTemperature(), dto.getHumidity());
                         //根据允许范围推出Tw值
                         Double Tw = getTw(dto.getTemperature(), hVal, TwdTemp_Limit);
-//                        log.info("项目编号为:" + projectDTO.getProjectId() + "日期为:" + dto.getHourTime() + "温度:" + dto.getTemperature() + "湿度:" + dto.getHumidity() + "湿球温度:" + Tw);
+                        log.info("项目编号为:" + projectDTO.getProjectId() + "日期为:" + dto.getHourTime() + "温度:" + dto.getTemperature() + "湿度:" + dto.getHumidity() + "湿球温度:" + Tw);
                         //小时时间
                         Date hour = dto.getHourTime();
                         Date nextHour = com.persagy.apm.diagnose.utils.DateUtils.addHours(hour, 1);