From c9e48bd2dff2b5766589024cf7264189b5f2a05c Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 03 一月 2025 14:03:33 +0800 Subject: [PATCH] cpp释放java占用内存 --- iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java index f4bb80e..d9ef3d8 100644 --- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java +++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java @@ -1,9 +1,12 @@ package com.iailab.module.model.api.mdk.dto; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import javax.validation.constraints.NotNull; import java.util.Date; +import java.util.Map; /** * @author PanZhibao @@ -14,7 +17,18 @@ @Data public class MdkScheduleReqDTO { + @Schema(description = "调度方案编号") + @NotNull(message="调度方案编号不能为空") + private String scheduleCode; + + @Schema(description = "调度方案时间") + @NotNull(message="调度方案时间不能为空") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date scheduleTime; - private String modelCode; + @Schema(description = "动态数据长度(输入端口,数据长度)") + private Map<Integer, Integer> dynamicDataLength; + + @Schema(description = "动态模型设置参数") + private Map<String, String> dynamicSettings; } \ No newline at end of file -- Gitblit v1.9.3