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;
|
}
|