huang
2025-11-17 e76f0739e647fe8a7e0e2618914e2faff554b1b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.mes.device.request;
 
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 玻璃写入请求
 */
@Data
@Schema(name = "DeviceGlassFeedRequest", description = "设备玻璃写入请求")
public class DeviceGlassFeedRequest {
 
    @NotNull
    @Schema(description = "设备ID", required = true)
    private Long deviceId;
 
    @ArraySchema(schema = @Schema(description = "玻璃ID列表", example = "GLS001"), minItems = 1)
    private List<String> glassIds;
 
    @Schema(description = "进片位置标识(与控制参数中的 positionMappings 对应)")
    private String positionCode;
 
    @Schema(description = "直接指定的位置值(优先级高于 positionCode)")
    private Integer positionValue;
 
    @Schema(description = "是否自动写入请求字", defaultValue = "true")
    private Boolean triggerRequest = true;
}