using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEAWCS_DTO.PDA { /// /// 容器绑定DTO /// public class ContainerbindingDTO { /// /// 载具编号 /// public string VehicleNumber { get; set; } /// /// 零件编号 /// public string materSn { get; set; } /// /// 当前点位 /// public string Position { get; set; } /// /// 车型 /// public string Carmodel { get; set; } } /// /// 容器解绑DTO /// public class ContainerUnbindingDTO { } /// /// 容器入场请求参数 /// public class ContainerInDTO { /// /// 请求 id,幂等 uuid32 位 /// public string requestId { get; set; } /// /// 容器类型 /// 货架:RACK /// 料箱:BIN(暂未实现) /// public string containerType { get; set; } = "RACK"; /// /// 容器模型编码 /// 当 isNew=true 时必传 /// public string containerModelCode { get; set; } /// /// 容器编号 /// public string containerCode { get; set; } /// /// 容器入场角度 /// 货架入场时对角度有特殊要求 /// public string enterOrientation { get; set; } /// /// 容器当前对应位置 /// public string position { get; set; } /// /// 是否新增容器 /// 默认值:false /// public bool? isNew { get; set; } = false; /// /// 容器校验码 /// 当 isNew=true 时可以指定是否配置 /// public string containerValidationCode { get; set; } /// /// 是否配置容器默认校验码 /// 默认值:false /// 当 isNew=true 时配置容器默认校验码(同容器编号) /// public bool? withDefaultValidationCode { get; set; } = false; } /// /// 容器出场请求参数 /// public class ContainerOutDTO { /// /// 请求 id,幂等 uuid32 位 /// public string requestId { get; set; } /// /// 容器类型 /// 货架:RACK /// 料箱:BIN(暂未实现) /// 默认值:RACK /// public string containerType { get; set; } = "RACK"; /// /// 容器编号 /// public string containerCode { get; set; } /// /// 容器出场位置 /// public string position { get; set; } /// /// 出场后是否删除 /// 默认值:false /// public bool isDelete { get; set; } = false; } }