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