|
@@ -171,9 +171,7 @@ class TemperatureEnvironmentAnalyst(AnalystWithGoodBadLimitPoint):
|
|
|
# fig1.write_html(htmlFilePath)
|
|
|
|
|
|
# 将JSON对象保存到文件
|
|
|
- jsonFileName = '{}环境温差Bias.json'.format(
|
|
|
- self.powerFarmInfo[Field_PowerFarmName].iloc[0])
|
|
|
- output_json_path = os.path.join(outputAnalysisDir, jsonFileName)
|
|
|
+ output_json_path = os.path.join(outputAnalysisDir, f"total_Bias.json")
|
|
|
with open(output_json_path, 'w', encoding='utf-8') as f:
|
|
|
import json
|
|
|
json.dump(json_output, f, ensure_ascii=False, indent=4)
|
|
@@ -259,9 +257,7 @@ class TemperatureEnvironmentAnalyst(AnalystWithGoodBadLimitPoint):
|
|
|
# fig2.write_html(htmlFilePath)
|
|
|
|
|
|
# 将JSON对象保存到文件
|
|
|
- jsonFileName = '{}环境温度中位数.json'.format(
|
|
|
- self.powerFarmInfo[Field_PowerFarmName].iloc[0])
|
|
|
- output_json_path = os.path.join(outputAnalysisDir, jsonFileName)
|
|
|
+ output_json_path = os.path.join(outputAnalysisDir, f"total_Mid.json")
|
|
|
with open(output_json_path, 'w', encoding='utf-8') as f:
|
|
|
import json
|
|
|
json.dump(json_output, f, ensure_ascii=False, indent=4)
|