| | |
| | | package com.mes.device.request; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.ArraySchema; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | |
| | | * 玻璃写入请求 |
| | | */ |
| | | @Data |
| | | @Schema(name = "DeviceGlassFeedRequest", description = "设备玻璃写入请求") |
| | | @ApiModel(value = "DeviceGlassFeedRequest", description = "设备玻璃写入请求") |
| | | public class DeviceGlassFeedRequest { |
| | | |
| | | @NotNull |
| | | @Schema(description = "设备ID", required = true) |
| | | @ApiModelProperty(value = "设备ID", required = true) |
| | | private Long deviceId; |
| | | |
| | | @ArraySchema(schema = @Schema(description = "玻璃ID列表", example = "GLS001"), minItems = 1) |
| | | @ApiModelProperty(value = "玻璃ID列表", example = "GLS001") |
| | | private List<String> glassIds; |
| | | |
| | | @Schema(description = "进片位置标识(与控制参数中的 positionMappings 对应)") |
| | | @ApiModelProperty(value = "进片位置标识(与控制参数中的 positionMappings 对应)") |
| | | private String positionCode; |
| | | |
| | | @Schema(description = "直接指定的位置值(优先级高于 positionCode)") |
| | | @ApiModelProperty(value = "直接指定的位置值(优先级高于 positionCode)") |
| | | private Integer positionValue; |
| | | |
| | | @Schema(description = "是否自动写入请求字", defaultValue = "true") |
| | | @ApiModelProperty(value = "是否自动写入请求字", example = "true") |
| | | private Boolean triggerRequest = true; |
| | | } |
| | | |