开仓关仓状态同步
This commit is contained in:
parent
ab6318aa9c
commit
15fbad2334
|
|
@ -81,6 +81,9 @@ public class DaJiangBufferDeviceImpl implements IBufferDeviceService
|
||||||
Device device = deviceDomain.selectDeviceByDeviceId(dock.getDeviceId());
|
Device device = deviceDomain.selectDeviceByDeviceId(dock.getDeviceId());
|
||||||
log.info("selectDeviceByDeviceId {}",JSON.toJSONString(device));
|
log.info("selectDeviceByDeviceId {}",JSON.toJSONString(device));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DockStatusEnum
|
||||||
|
*/
|
||||||
DockDetailDTO dto = getChangeAbleDockDetailDTO(device.getIotDeviceId());
|
DockDetailDTO dto = getChangeAbleDockDetailDTO(device.getIotDeviceId());
|
||||||
dto.setDockId(dock.getDockId());
|
dto.setDockId(dock.getDockId());
|
||||||
dto.setDockName(dock.getDockName());
|
dto.setDockName(dock.getDockName());
|
||||||
|
|
@ -125,6 +128,7 @@ public class DaJiangBufferDeviceImpl implements IBufferDeviceService
|
||||||
AircraftDetailDTO aircraftDetailDTO = getChangeAbleAirDetailDTO(airDevice.getIotDeviceId(), device.getIotDeviceId());
|
AircraftDetailDTO aircraftDetailDTO = getChangeAbleAirDetailDTO(airDevice.getIotDeviceId(), device.getIotDeviceId());
|
||||||
/**
|
/**
|
||||||
* 设置无人机状态
|
* 设置无人机状态
|
||||||
|
* AircraftStatusEnum
|
||||||
*/
|
*/
|
||||||
dto.setAircraftStatus(aircraftDetailDTO.getAircraftStatus());
|
dto.setAircraftStatus(aircraftDetailDTO.getAircraftStatus());
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue