|
@@ -1,42 +1,22 @@
|
|
|
-package cn.com.taiji.beidou.listener;
|
|
|
+package cn.com.taiji.track.listener;
|
|
|
|
|
|
-import cn.com.taiji.beidou.dto.HistoryTrackQueryDTO;
|
|
|
-import cn.com.taiji.beidou.dto.IGeomesaTrackDTO;
|
|
|
-import cn.com.taiji.beidou.entity.BeidouTrackEntity;
|
|
|
-import cn.com.taiji.beidou.entity.FocusShipEntity;
|
|
|
-import cn.com.taiji.beidou.event.ChannelAddEvent;
|
|
|
-import cn.com.taiji.beidou.event.ChannelRemoveEvent;
|
|
|
-import cn.com.taiji.beidou.event.EventType;
|
|
|
-import cn.com.taiji.beidou.event.HistoryTrackChannelAddEvent;
|
|
|
-import cn.com.taiji.beidou.handler.HistoryTrackHandler;
|
|
|
-import cn.com.taiji.beidou.handler.WebSocketHandler;
|
|
|
-import cn.com.taiji.beidou.service.IBeidouTrackService;
|
|
|
-import cn.com.taiji.beidou.service.IFocusShipService;
|
|
|
-import cn.hutool.json.JSONArray;
|
|
|
+import cn.com.taiji.track.dto.HistoryTrackQueryDTO;
|
|
|
+import cn.com.taiji.track.entity.BeidouTrackEntity;
|
|
|
+import cn.com.taiji.track.event.HistoryTrackChannelAddEvent;
|
|
|
+import cn.com.taiji.track.handler.HistoryTrackHandler;
|
|
|
+import cn.com.taiji.track.service.IBeidouTrackService;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
|
|
import io.netty.util.AttributeKey;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.geotools.data.FeatureReader;
|
|
|
-import org.geotools.data.Query;
|
|
|
-import org.geotools.data.Transaction;
|
|
|
-import org.geotools.filter.text.cql2.CQLException;
|
|
|
-import org.geotools.filter.text.ecql.ECQL;
|
|
|
-import org.locationtech.geomesa.redis.data.RedisDataStore;
|
|
|
-import org.locationtech.jts.geom.Geometry;
|
|
|
-import org.opengis.feature.Property;
|
|
|
-import org.opengis.feature.simple.SimpleFeature;
|
|
|
-import org.opengis.feature.simple.SimpleFeatureType;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.event.EventListener;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
-import java.io.IOException;
|
|
|
import java.util.ArrayList;
|
|
|
-import java.util.Collection;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.*;
|
|
|
|