Commit 69c0e782 authored by caotao's avatar caotao

1.新增线程调用日志

parent a5c8a5d1
...@@ -26,17 +26,21 @@ public class MyServiceThread extends Thread { ...@@ -26,17 +26,21 @@ public class MyServiceThread extends Thread {
public void run() { public void run() {
if (type.equals(SmartAnalyseEnum.FAN_QJHF.getKey())) { if (type.equals(SmartAnalyseEnum.FAN_QJHF.getKey())) {
this.commonService.getFanConditionVariablesByTime(this.startTime, this.endTime); this.commonService.getFanConditionVariablesByTime(this.startTime, this.endTime);
logger.info("--------------------------开始调用风机区间划分算法-----------------------"); logger.info("--------------------------开始通过线程调用风机区间划分算法-----------------------");
} else if (type.equals(SmartAnalyseEnum.FAN_XGX.getKey())) { } else if (type.equals(SmartAnalyseEnum.FAN_XGX.getKey())) {
this.commonService.getFanConditionVariablesByTimeAnalyse(startTime, endTime); this.commonService.getFanConditionVariablesByTimeAnalyse(startTime, endTime);
logger.info("--------------------------开始通过线程调用风机相关性算法-----------------------");
} else if (type.equals(SmartAnalyseEnum.FAN_ZXZ.getKey())) { } else if (type.equals(SmartAnalyseEnum.FAN_ZXZ.getKey())) {
this.commonService.getFanConditionVariablesByTimeAnalyse1(startTime, endTime); this.commonService.getFanConditionVariablesByTimeAnalyse1(startTime, endTime);
logger.info("--------------------------开始通过线程调用风机中心值算法-----------------------");
} else if (type.equals(SmartAnalyseEnum.PV_QJHF.getKey())) { } else if (type.equals(SmartAnalyseEnum.PV_QJHF.getKey())) {
this.commonService.getPvConditionVariablesByTime(startTime, endTime); this.commonService.getPvConditionVariablesByTime(startTime, endTime);
logger.info("--------------------------开始通过线程调用光伏区间划分算法-----------------------");
} else if (type.equals(SmartAnalyseEnum.PV_XGX.getKey())) { } else if (type.equals(SmartAnalyseEnum.PV_XGX.getKey())) {
this.commonService.getPvConditionVariablesByTimeAnalyse(startTime, endTime); this.commonService.getPvConditionVariablesByTimeAnalyse(startTime, endTime);
logger.info("--------------------------开始通过线程调用光伏相关性算法-----------------------");
} else if (type.equals(SmartAnalyseEnum.PV_ZXZ.getKey())) { } else if (type.equals(SmartAnalyseEnum.PV_ZXZ.getKey())) {
this.commonService.getPvConditionVariablesByTimeAnalyse1(startTime, endTime); this.commonService.getPvConditionVariablesByTimeAnalyse1(startTime, endTime);
} logger.info("--------------------------开始通过线程调用光伏中心值算法-----------------------"); }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment