huang
2025-11-18 1566e4c7604d85737ea67fe6757e71b8185fa48e
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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 玻璃写入请求
 */
@Data
@ApiModel(value = "DeviceGlassFeedRequest", description = "设备玻璃写入请求")
public class DeviceGlassFeedRequest {
 
    @NotNull
    @ApiModelProperty(value = "设备ID", required = true)
    private Long deviceId;
 
    @ApiModelProperty(value = "玻璃ID列表", example = "GLS001")
    private List<String> glassIds;
 
    @ApiModelProperty(value = "进片位置标识(与控制参数中的 positionMappings 对应)")
    private String positionCode;
 
    @ApiModelProperty(value = "直接指定的位置值(优先级高于 positionCode)")
    private Integer positionValue;
 
    @ApiModelProperty(value = "是否自动写入请求字", example = "true")
    private Boolean triggerRequest = true;
}