Commit 9c47e72a authored by caotao's avatar caotao

当车辆坐标发生变化时,更新车辆的坐标数据

parent e0922755
......@@ -85,6 +85,8 @@ public class CarIotNewListener extends EmqxListener {
}
ThreadCar threadCar = new ThreadCar(topic, jsonObject, this.iWlCarMileageService, this.iotFeign, this.iCarService, this.emqkeeper, clipping_time);
deviceInfo.put(topic, threadCar);
//更新车辆的最新坐标数据
deviceLastInfo.put(topic,coordinate);
threadCar.start();
}
if (iWlCarMileageService.getUncompleteMileagByIotCode(iotCode)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment