diff --git a/et_calc/dataCalc.go b/et_calc/dataCalc.go index 93f0e0d..82e16d7 100644 --- a/et_calc/dataCalc.go +++ b/et_calc/dataCalc.go @@ -122,8 +122,14 @@ func (the *CalcHandler) calcFormula(p *common_models.ProcessData) *common_models } //todo 测点多设备特殊处理.. + + phyData := map[string]any{} + for k, v := range outMap { + phyData[k] = v + } if len(p.Stations[i].Info.Devices) == 1 { p.Stations[i].Data.ThemeData = outMap + p.Stations[i].Data.PhyData = phyData p.Stations[i].Data.CollectTime = p.DeviceData.AcqTime } }