拓恒接入
This commit is contained in:
parent
81242c6ef5
commit
b3bcaa89d1
|
|
@ -184,7 +184,12 @@ public class TuohengService {
|
|||
if (dockDevice != null && aircraftDevice != null) {
|
||||
String airportSn = dockDevice.getDeviceSn();
|
||||
String droneSn = aircraftDevice.getDeviceSn();
|
||||
|
||||
if (airportSn != null && droneSn != null) {
|
||||
if (airportSn.startsWith("THJS") || droneSn.startsWith("THJS")) {
|
||||
log.debug("跳过大疆设备 - 机场SN: {}, 无人机SN: {}", airportSn, droneSn);
|
||||
continue;
|
||||
}
|
||||
mapping.put(airportSn, droneSn);
|
||||
log.info("加载机场-无人机映射: {} -> {}", airportSn, droneSn);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue