using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; namespace WIDESEAWCS_DTO.MES { public class Reports { /// /// 报工信息 /// public report report { get; set; } /// /// 是否强制入库 /// public bool FocusStopIn { get; set; } /// /// 报工条码 /// public List barcodeSN { get; set; } /// /// 报工信息自定义字段 /// public List cusValues { get; set; } } public class report { /// /// 报工数量必填 /// public decimal Qty { get; set; } /// /// 派工单ID必填 /// public string DispatchID { get; set; } /// /// 转换数量decimal /// public decimal ConversionQty { get; set; } /// /// 转换率decimal /// public decimal ConversionRate { get; set; } /// /// 转换单位id /// public int ConversionUnitId { get; set; } /// /// 报工人员id /// public string CreateEmpId { get; set; } /// /// 工序id /// public string ProcessId { get; set; } /// /// 设备id /// public string FacilityId { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 标包数量decimal /// public int MinPackage { get; set; } /// /// 入库仓库id /// public string WarehouseId { get; set; } /// /// 入库库位id /// public int WareareaId { get; set; } /// /// 返工数量 /// public int ReworkQty { get; set; } /// /// 报废数量 /// public int ScrapQty { get; set; } /// /// 报工单号 /// public string ReportNo { get; set; } /// /// 单价 /// public decimal PriceOne { get; set; } /// /// 任务单号 /// public string TaskBillNo { get; set; } /// /// 工序序号 /// public int SubNo { get; set; } /// /// 生产类型(委外/自制) /// public string RouteType { get; set; } /// /// 班次Id /// public string ClassId { get; set; } /// /// /// public string EmpCode { get; set; } } public class barcodeSN { /// /// 条码必填 /// public string Barcode { get; set; } /// /// 条码类型必填 0物料条码 1箱条码 3SN码 4托码 /// public int BarcodeType { get; set; } /// /// 必填 /// public int Id { get; set; } /// /// 数量必填decimal /// public int Quantity { get; set; } /// /// 物料ID必填 /// public int MaterialId { get; set; } /// /// 辅助数量decimal /// public int AuxQty { get; set; } /// /// 重量decimal /// public int BarWeight { get; set; } /// /// 标箱数量decimal /// public int PackageQty { get; set; } /// /// 入库数量 /// public int QuantityIn { get; set; } /// /// 出库数量 /// public int QuantityOut { get; set; } /// /// 状态 /// public int Status { get; set; } /// /// 批次 /// public int BatchNum { get; set; } /// /// 创建人员Id /// public int CreateEmpId { get; set; } /// /// 任务单Id /// public int TaskId { get; set; } /// /// 任务工序Id /// public int TaskSubId { get; set; } /// /// 报工不良id /// public int ReportNGId { get; set; } /// /// 派工单Id /// public int DispatchId { get; set; } /// /// 报工单id /// public int ReportId { get; set; } /// /// 来源类型 /// public int SourceType { get; set; } /// /// 客户条码 /// public int CustomerBarcode { get; set; } /// /// 客户品名 /// public int CustomerMaterialName { get; set; } /// /// 客户品号 /// public int CustomerMaterialCode { get; set; } /// /// 客户型号 /// public int CustomerMaterialModel { get; set; } /// /// 客户规格 /// public int CustomerMaterialSpecification { get; set; } /// /// 备注 /// public int Remark { get; set; } /// /// 体积 /// public int Volume { get; set; } /// /// 质检单Id /// public int QcRecordId { get; set; } /// /// 供应商Id /// public int SupplierId { get; set; } /// /// 设备Id /// public int FacId { get; set; } /// /// 仓库 /// public int WarehouseId { get; set; } /// /// 库位 /// public int WareareaId { get; set; } /// /// 工作中心 /// public int WorkcenterId { get; set; } /// /// /// public int EntityId { get; set; } /// /// /// public int CreateTime { get; set; } /// /// /// public int CreateUserId { get; set; } /// /// /// public int CreateUserName { get; set; } /// /// /// public int LastUpdateTime { get; set; } /// // /// public int LastUpdateUserId { get; set; } /// /// /// public int LastUpdateUserName { get; set; } } public class cusValues { /// /// 字段内码 /// public int FormFieldCode { get; set; } /// /// 字段值 /// public int FieldValue { get; set; } } }