拓恒接入

This commit is contained in:
孙小云 2026-02-10 10:54:54 +08:00
parent 81242c6ef5
commit b3bcaa89d1
1 changed files with 5 additions and 0 deletions

View File

@ -184,7 +184,12 @@ public class TuohengService {
if (dockDevice != null && aircraftDevice != null) { if (dockDevice != null && aircraftDevice != null) {
String airportSn = dockDevice.getDeviceSn(); String airportSn = dockDevice.getDeviceSn();
String droneSn = aircraftDevice.getDeviceSn(); String droneSn = aircraftDevice.getDeviceSn();
if (airportSn != null && droneSn != null) { if (airportSn != null && droneSn != null) {
if (airportSn.startsWith("THJS") || droneSn.startsWith("THJS")) {
log.debug("跳过大疆设备 - 机场SN: {}, 无人机SN: {}", airportSn, droneSn);
continue;
}
mapping.put(airportSn, droneSn); mapping.put(airportSn, droneSn);
log.info("加载机场-无人机映射: {} -> {}", airportSn, droneSn); log.info("加载机场-无人机映射: {} -> {}", airportSn, droneSn);
} }