Commit 9004bf19 by 真的三个金鑫

UOM 上报 打印返回结果日志

parent 89a509ea
......@@ -207,7 +207,8 @@ public class SDKDeviceService extends AbstractDeviceService {
uomDroneFlightRecordDTO.setGS((int) (NumberUtil.round(request.getData().getHorizontalSpeed(),1, RoundingMode.DOWN).doubleValue() * 10));
uomDroneFlightRecordDTO.setCourse(-999);
try {
uomRecordService.sendRecord(uomDroneFlightRecordDTO);
String body = uomRecordService.sendRecord(uomDroneFlightRecordDTO);
log.info("UOM Record: " + body);
} catch (Exception e) {
e.printStackTrace();
}
......
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