| | |
| | | MdkScheduleReqDTO dto = new MdkScheduleReqDTO(); |
| | | dto.setScheduleTime(scheduleTime); |
| | | dto.setScheduleCode(scheme.getCode()); |
| | | MdkScheduleRespDTO mdkScheduleRespDTO = mdkApi.doSchedule(dto); |
| | | LocalDateTime now = LocalDateTime.now(); |
| | | LocalDate startOfMonth = LocalDate.now().withDayOfMonth(1); |
| | | LocalDateTime startOfMonthAtMidnight = startOfMonth.atStartOfDay(); |
| | |
| | | Map<String, String> dynamicSettings = new HashMap<>(); |
| | | dynamicSettings.put("embedDim", String.valueOf(timeDifference)); |
| | | dto.setDynamicSettings(dynamicSettings); |
| | | MdkScheduleRespDTO mdkScheduleRespDTO = mdkApi.doSchedule(dto); |
| | | // 结果写入测点 |
| | | mdkApi.scheduleModelOut(mdkScheduleRespDTO); |
| | | } |