| | |
| | | upWarnMsgAdptInfo.setWarnTime(LocalDateTime.parse(data.getAlarmTime(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toEpochSecond(ZoneOffset.ofHours(8))); |
| | | upWarnMsgAdptInfo.setInfoId(data.getAlarmId()); |
| | | upWarnMsgAdptInfo.setLevel(getLevel(data.getLevel())); |
| | | upWarnMsgAdptInfo.setLongitude(data.getLongitude().intValue()); |
| | | upWarnMsgAdptInfo.setLatitude(data.getLatitude().intValue()); |
| | | upWarnMsgAdptInfo.setLongitude(data.getLatitude().intValue() * 10); |
| | | upWarnMsgAdptInfo.setLatitude(data.getLongitude().intValue()); |
| | | upWarnMsgAdptInfo.setAltitude(data.getHeight().intValue() / 10); |
| | | upWarnMsgAdptInfo.setSpeed(data.getSpeed().intValue() / 100000); |
| | | upWarnMsgAdptInfo.setVec2(data.getSpeed().intValue() / 100000); |