Browse Source

update 匹配加上 通道 pos

dev
lucas 2 weeks ago
parent
commit
e59c21c27d
  1. 3
      adaptors/视觉位移to魏家滑坡.go

3
adaptors/视觉位移to魏家滑坡.go

@ -25,7 +25,8 @@ func (the Adaptor_SJWY_WJHP) GDRDtoUpload(devModule, rawRecords string) (result
return nil return nil
} }
sensorInfo := the.matchStationId(devModule) devId := fmt.Sprintf("%s-%s", devModule, d.Pos)
sensorInfo := the.matchStationId(devId)
if sensorInfo.StationId == 0 { if sensorInfo.StationId == 0 {
return nil return nil
} }

Loading…
Cancel
Save