| | |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | @ApiModel(value = "TaskParameters", description = "多设备任务执行参数") |
| | | public class TaskParameters implements Serializable { |
| | | |
| | | @ApiModelProperty(value = "玻璃ID列表(保持执行顺序)", required = true) |
| | | @NotEmpty(message = "玻璃ID列表不能为空") |
| | | @ApiModelProperty(value = "玻璃ID列表(保持执行顺序),可为空表示由后台自动获取最近扫码的玻璃ID") |
| | | private List<String> glassIds; |
| | | |
| | | @ApiModelProperty(value = "上大车位置编码") |
| | |
| | | @ApiModelProperty(value = "执行间隔(毫秒)") |
| | | private Integer executionInterval; |
| | | |
| | | @ApiModelProperty(value = "单片间隔(毫秒),多个玻璃ID时每个玻璃ID之间的间隔时间,0表示一次性全部传递") |
| | | private Integer glassIntervalMs; |
| | | |
| | | @ApiModelProperty(value = "是否在任务开始前先触发请求(plcRequest),仅在未提供玻璃ID时生效,默认true") |
| | | private Boolean triggerRequestFirst; |
| | | |
| | | @ApiModelProperty(value = "任务超时时间(分钟),默认30分钟") |
| | | private Integer timeoutMinutes; |
| | | |
| | | @ApiModelProperty(value = "重试次数,默认3次") |
| | | private Integer retryCount; |
| | | |
| | | @ApiModelProperty(value = "设备级别参数覆盖,key可以是设备类型或设备编码") |
| | | private Map<String, Map<String, Object>> deviceOverrides; |
| | | |