|
|
@ -116,6 +116,9 @@ func (the *consumerJSNCGLQL) getAdaptor(flag string) (adaptor adaptors.IAdaptor4 |
|
|
|
case "upload/ZD": |
|
|
|
log.Printf("[振动软件]-上报,准备处理") |
|
|
|
adaptor = adaptors.Adaptor_ZD_JSNCGLQL{IdMap: the.Info.ZDsensorMap, BridgeCode: bridgeCode} |
|
|
|
case "upload/gdnd": |
|
|
|
log.Printf("[光电挠度]-上报,准备处理") |
|
|
|
adaptor = adaptors.Adaptor_GDND2LA_JSNCGLQL{IdMap: the.Info.GDNDsensorMap, BridgeCode: bridgeCode} |
|
|
|
default: |
|
|
|
log.Printf("[无匹配 %s],不处理", flag) |
|
|
|
} |
|
|
|