Kaynağa Gözat

更正CP,修改环境温度传递参数

wei_lai 4 ay önce
ebeveyn
işleme
5d12e480cf

+ 1 - 1
dataAnalysisBusiness/algorithm/cpAnalyst.py

@@ -5,7 +5,7 @@ import plotly.graph_objects as go
 from algorithmContract.confBusiness import *
 from algorithmContract.contract import Contract
 from behavior.analystWithGoodPoint import AnalystWithGoodPoint
-from plotly.subplots import make_subplotscd
+from plotly.subplots import make_subplots
 
 
 class CpAnalyst(AnalystWithGoodPoint):

+ 2 - 2
dataAnalysisBusiness/algorithm/temperatureEnvironmentAnalyst.py

@@ -182,7 +182,7 @@ class TemperatureEnvironmentAnalyst(AnalystWithGoodBadLimitPoint):
             Field_PowerFarmCode: conf.dataContract.dataFilter.powerFarmID,
             Field_Return_BatchCode: conf.dataContract.dataFilter.dataBatchNum,
             Field_CodeOfTurbine: 'total',
-            Field_MillTypeCode: 'total',
+            Field_MillTypeCode: 'total_Bias',
             Field_Return_FilePath: output_json_path,
             Field_Return_IsSaveDatabase: True
         })
@@ -268,7 +268,7 @@ class TemperatureEnvironmentAnalyst(AnalystWithGoodBadLimitPoint):
             Field_PowerFarmCode: conf.dataContract.dataFilter.powerFarmID,
             Field_Return_BatchCode: conf.dataContract.dataFilter.dataBatchNum,
             Field_CodeOfTurbine: 'total',
-            Field_MillTypeCode: 'total',
+            Field_MillTypeCode: 'total_Mid',
             Field_Return_FilePath: output_json_path,
             Field_Return_IsSaveDatabase: True
         })