Browse Source

remove 清理无用的日志

dev
lucas 1 month ago
parent
commit
2f00e42aae
  1. 1
      et_calc/algorithm/strainCompensationByTemperature.go
  2. 3
      node/stages/stageManage.go

1
et_calc/algorithm/strainCompensationByTemperature.go

@ -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

3
node/stages/stageManage.go

@ -33,8 +33,7 @@ func (the *StageManager) Run() {
//todo 替换为sink
go func() {
for {
a := <-the.out
log.Printf("流程处理完毕===>%s", a.DeviceData.Name)
<-the.out
}
}()
}

Loading…
Cancel
Save