@ -8,7 +8,6 @@ import (
// StrainCompensationByExternalTemperature
// y=x-k*(T-To)
func StrainCompensationByExternalTemperature(device common_models.SecureStationDevice, RawData map[string]any, RawsUnit map[string]string, temperature float64) (result map[string]any, unit map[string]string) {
log.Printf("开始计算 应变外联温补")
var k float64
var x float64
var Tid int
@ -33,8 +33,7 @@ func (the *StageManager) Run() {
//todo 替换为sink
go func() {
for {
a := <-the.out
log.Printf("流程处理完毕===>%s", a.DeviceData.Name)
<-the.out
}
}()