|
@@ -77,6 +77,18 @@ func GenerateStlEdbData(req *request.STLReq) (resp *response.StlPreviewResp, msg
|
|
msg = "解析Excel失败"
|
|
msg = "解析Excel失败"
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ resp.TrendChartInfo = trendChart
|
|
|
|
+ resp.TrendChartInfo.Title = edbInfo.EdbName + "Trend"
|
|
|
|
+ resp.TrendChartInfo.Frequency = edbInfo.Frequency
|
|
|
|
+ resp.TrendChartInfo.Unit = edbInfo.Unit
|
|
|
|
+ resp.SeasonalChartInfo = seasonalChart
|
|
|
|
+ resp.SeasonalChartInfo.Title = edbInfo.EdbName + "Seasonal"
|
|
|
|
+ resp.SeasonalChartInfo.Frequency = edbInfo.Frequency
|
|
|
|
+ resp.SeasonalChartInfo.Unit = edbInfo.Unit
|
|
|
|
+ resp.ResidualChartInfo = residualChart
|
|
|
|
+ resp.ResidualChartInfo.Title = edbInfo.EdbName + "Residual"
|
|
|
|
+ resp.ResidualChartInfo.Frequency = edbInfo.Frequency
|
|
|
|
+ resp.ResidualChartInfo.Unit = edbInfo.Unit
|
|
resp.EvaluationResult.Mean = result.ResidualMean
|
|
resp.EvaluationResult.Mean = result.ResidualMean
|
|
resp.EvaluationResult.Std = result.ResidualVar
|
|
resp.EvaluationResult.Std = result.ResidualVar
|
|
resp.EvaluationResult.AdfPValue = result.AdfPValue
|
|
resp.EvaluationResult.AdfPValue = result.AdfPValue
|