using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ICSSoft.Frame.APP.Model { class ParamsModel { } public class SelectItemExt { public string Key { get; set; } public string Text { get; set; } public string Value { get; set; } } public class OpDto { public string key { get; set; } /// /// 工序代码 /// public string opCode { get; set; } /// /// 工序名称 /// public string opName { get; set; } /// /// 工序序号 /// public int opSeq { get; set; } /// /// 工序描述 /// public string opDesc { get; set; } /// /// 车间代码 /// public string segCode { get; set; } /// /// 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 /// public string opCollection { get; set; } /// /// 工序类型记录(装配,试压。。。。) /// public string opControl { get; set; } /// /// 工序类型记录集合 /// public string[] opControlList { get; set; } /// /// 是否上料 /// public string isMaterial { get; set; } /// /// 是否合并 /// public string isMerge { get; set; } /// /// 工序等级(A,B,C,D,E) , E:固定委外工序 /// public string opLevel { get; set; } /// /// 标准工时(某些工序工时和工艺路线没关系) /// public decimal? sTime { get; set; } /// /// 准备工时(某些工序工时和工艺路线没关系) /// public decimal? rTime { get; set; } /// /// 后处理工时 /// public decimal? ATime { get; set; } /// /// 资源 /// public string ResId { get; set; } /// /// 备注 /// public string memo { get; set; } /// /// 工序控制序号(实际加工序号,并行工序设置序号一样) /// public int opControlSeq { get; set; } /// /// 可流转数量 /// public decimal CanCollectQty { get; set; } /// /// 可流转数量 /// public decimal CanCollectMaxQty { get; set; } /// /// 可流转数量 /// public decimal CanCollectMinQty { get; set; } /// /// 当前工序可报数量 /// public decimal OpCanQty { get; set; } /// /// 报工不良数据 /// public List lotEcDataDtos { get; set; } } public class IcsLotEcDataDto { public string key { get; set; } public long Id { get; set; } /// /// 序列号 /// public string LotNo { get; set; } /// /// 批次行号 /// public int LotSeq { get; set; } /// /// 序号 /// public int Seq { get; set; } /// /// 工单代码 /// public string MoCode { get; set; } /// /// 工单行号 /// public int MoSeq { get; set; } /// /// 产品代码 /// public string ItemCode { get; set; } /// /// 设备代码 /// public string EqpCode { get; set; } /// /// 不良代码 /// public string EcCode { get; set; } /// /// 不良代码名称 /// public string EcName { get; set; } /// /// 不良数量 /// public decimal OpNgQty { get; set; } public decimal NgQty { get; set; } /// /// 备注 /// public string Memo { get; set; } } public class IcsEquipmentDto { /// /// 设备编码 /// public string EqpCode { get; set; } /// /// 设备名称 /// public string EqpName { get; set; } /// /// 设备描述 /// public string EqpDesc { get; set; } /// /// 设备编号 /// public string EqpNo { get; set; } /// /// 设备品牌 /// public string EqpBrand { get; set; } /// /// 设备类型 /// public string EqpType { get; set; } /// /// 设备型号 /// public string EqpModel { get; set; } /// /// 设备状态 /// public string EqpStatus { get; set; } /// /// 使用状态 /// public string EqpUseStatus { get; set; } /// /// 设备公司 /// public string Company { get; set; } /// /// 联系地址 /// public string Address { get; set; } /// /// IP地址 /// public string IpAddress { get; set; } /// /// 联系电话 /// public string TelPhone { get; set; } /// /// 联系人 /// public string TelUser { get; set; } /// /// 加工单元 /// public string McCode { get; set; } /// /// 产线代码 /// public string SsCode { get; set; } /// /// 工厂点阵 /// public string PointAddress { get; set; } /// /// X坐标 /// public string XAxis { get; set; } /// /// Y坐标 /// public string YAxis { get; set; } /// /// 资产编号 /// public string AssetsNO { get; set; } /// /// 设备图片 /// public string EqpImage { get; set; } /// /// 备注 /// public string Memo { get; set; } /// /// 图片路径(前端拼接/File/GetFile?filePath=获取真实路径) /// public string ImagePath { get; set; } /// /// 保留字段1 /// public string Default1 { get; set; } /// /// 保留字段2 /// public string Default2 { get; set; } /// /// 保留字段3 /// public string Default3 { get; set; } /// /// 保留字段4 /// public string Default4 { get; set; } /// /// 保留字段5 /// public string Default5 { get; set; } /// /// 保留字段6 /// public string Default6 { get; set; } /// /// 保留字段7 /// public string Default7 { get; set; } /// /// 保留字段8 /// public string Default8 { get; set; } /// /// 保留字段9 /// public string Default9 { get; set; } /// /// 保留字段10 /// public string Default10 { get; set; } } public class IcsLotOnWipDto { public string key { get; set; } public long? Id { get; set; } public long? OnWipID { get; set; } public long? OnWipDetailID { get; set; } public string IsCom { get; set; } /// /// 序列号 /// public string LotNo { get; set; } public string LotStatus { get; set; } /// /// 产品序列号流水号 /// public int LotSeq { get; set; } /// /// 工单代码 /// public string MoCode { get; set; } /// /// 工单流水号 /// public int MoSeq { get; set; } /// /// 转换前的产品序列号 /// public string TLotNo { get; set; } /// /// 转换前的产品序列号流水号 /// public int? TLotSeq { get; set; } /// /// 第一个产品序列号 /// public string SLotNo { get; set; } /// /// 第一个产品序列号流水号 /// public int? SLotSeq { get; set; } /// /// 采集流水号 /// public int? Seq { get; set; } /// /// 采集方式 /// public string CollectForm { get; set; } /// /// 产品别代码 /// public string ModelCode { get; set; } /// /// 产品编码 /// public string ItemCode { get; set; } public string ItemName { get; set; } public string ItemDesc { get; set; } /// /// 散件条码 /// public string BarCode { get; set; } public string FeedMessage { get; set; } public string ItemControlType { get; set; } /// /// 是否需要上料 /// public bool IsNeedFeed { get; set; } /// /// 序列号比对 /// public bool SerialCodeCompare { get; set; } /// /// 当前Lot数量 /// public decimal LotQty { get; set; } /// /// 当前工序数量 /// public decimal OpQty { get; set; } /// /// 流转数量 /// public decimal CollectQty { get; set; } /// /// 是否可编辑数量 /// public bool IsDisabledEditQty { get; set; } /// /// 剩余流转数量 /// public decimal LeftCollectQty { get; set; } /// /// 当前Lot中良品数量 /// public decimal GoodQty { get; set; } /// /// 当前Lot中不良数量 /// public decimal NGQty { get; set; } /// /// 途程代码 /// public string RouteCode { get; set; } public string RouteName { get; set; } public string ResCode { get; set; } public string ResName { get; set; } /// /// 工序代码 /// public string OpCode { get; set; } public int OpSeq { get; set; } public string OpName { get; set; } /// /// 车间代码 /// public string SegCode { get; set; } /// /// 车间代码 /// public string SSCode { get; set; } public string CrewCode { get; set; } /// /// /// public string McCode { get; set; } /// /// /// public string McName { get; set; } /// /// /// public string SSName { get; set; } public string EqpCode { get; set; } public string EqpName { get; set; } /// /// 设备类型 /// public string EqpType { get; set; } /// /// 设备型号 /// public string EqpModel { get; set; } public string DispatchEqpCode { get; set; } public string DispatchEqpName { get; set; } /// /// 过帐事件代码 /// public string Action { get; set; } /// /// 过帐事件结果 /// public string ActionResult { get; set; } /// /// NG总次数 /// public int? NGTimes { get; set; } /// /// 采集状态 /// public string CollectStatus { get; set; } /// /// 老化车号 /// public string ShelfNo { get; set; } /// /// RMA代码 /// public string RmaBillCode { get; set; } /// /// 是否做过产量计算 /// public string Processed { get; set; } public string UserCode { get; set; } public string UserName { get; set; } public bool NeedFirstCheck { get; set; } /// /// 备注 /// public string Memo { get; set; } /// /// 保留字段1 /// public string Default1 { get; set; } /// /// 保留字段2 /// public string Default2 { get; set; } /// /// 保留字段3 /// public string Default3 { get; set; } /// /// 保留字段4 /// public string Default4 { get; set; } /// /// 保留字段5 /// public string Default5 { get; set; } /// /// 保留字段6 /// public string Default6 { get; set; } /// /// 保留字段7 /// public string Default7 { get; set; } /// /// 保留字段8 /// public string Default8 { get; set; } /// /// 保留字段9 /// public string Default9 { get; set; } /// /// 保留字段10 /// public string Default10 { get; set; } public string CreateCompRptMsg { get; set; } /// /// 锅具 /// public string PotCode { get; set; } /// /// /// public string PotName { get; set; } /// /// 产品工序转化比 /// public decimal ItemOpTransRate { get; set; } /// /// 产品超报百分比 /// public decimal ItemBeyondRate { get; set; } public List lotEcDataDtos { get; set; } public decimal MinOpQty { get; set; } public decimal MaxOpQty { get; set; } /// /// 批次号 /// public string TrackingCode { get; set; } } public class IcsPotListDto { public string key { get; set; } /// /// 锅具编码 /// public string PotCode { get; set; } /// /// 锅具名称 /// public string PotName { get; set; } /// /// 规格 /// public string PotStd { get; set; } /// /// 最大产量 /// public decimal? MaxOutQty { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 保留字段2 /// public string Default2 { get; set; } /// /// 保留字段3 /// public string Default3 { get; set; } /// /// 保留字段4 /// public string Default4 { get; set; } /// /// 保留字段5 /// public string Default5 { get; set; } /// /// 保留字段6 /// public string Default6 { get; set; } /// /// 保留字段7 /// public string Default7 { get; set; } /// /// 保留字段8 /// public string Default8 { get; set; } /// /// 保留字段9 /// public string Default9 { get; set; } /// /// 保留字段10 /// public string Default10 { get; set; } } public class IcsOPListDto { public string key { get; set; } /// /// 工序代码 /// public string opCode { get; set; } /// /// 工序名称 /// public string opName { get; set; } /// /// 工序序号 /// public int opSeq { get; set; } /// /// 工序描述 /// public string opDesc { get; set; } /// /// 车间代码 /// public string segCode { get; set; } /// /// 数据收集方式 AUTO: 自动收集, MANUAL: 人工收集 /// public string opCollection { get; set; } /// /// 工序类型记录(装配,试压。。。。) /// public string opControl { get; set; } /// /// 工序类型记录集合 /// public string[] opControlList { get; set; } /// /// 是否上料 /// public string isMaterial { get; set; } /// /// 是否合并 /// public string isMerge { get; set; } /// /// 工序等级(A,B,C,D,E) , E:固定委外工序 /// public string opLevel { get; set; } /// /// 标准工时(某些工序工时和工艺路线没关系) /// public decimal? sTime { get; set; } /// /// 准备工时(某些工序工时和工艺路线没关系) /// public decimal? rTime { get; set; } /// /// 后处理工时 /// public decimal? ATime { get; set; } /// /// 资源 /// public string ResId { get; set; } /// /// 备注 /// public string memo { get; set; } /// /// 工序控制序号(实际加工序号,并行工序设置序号一样) /// public int opControlSeq { get; set; } } /// /// 鉴权模型 /// public class AuthenticateModel { /// /// 用户名或邮箱地址 /// public string UserNameOrEmailAddress { get; set; } /// /// 密码 /// public string Password { get; set; } /// /// 验证码 /// public string VerificationCode { get; set; } /// /// 记住连接 /// public bool RememberClient { get; set; } /// /// 返回Url /// public string ReturnUrl { get; set; } /// /// 授权提供者 /// public string AuthProvider { get; set; } /// /// 提供方密钥 /// public string ProviderKey { get; set; } /// /// 客户端,PC,App /// public string ClientType { get; set; } /// /// PDA租户名称 /// public string PdaTenantName { get; set; } } public class AuthenticateResultDto { /// /// 访问令牌 /// public string AccessToken { get; set; } /// /// 加密访问令牌 /// public string EncryptedAccessToken { get; set; } /// /// 刷新令牌 /// public string RefreshToken { get; set; } /// /// 过期时间 /// public int ExpireInSeconds { get; set; } /// /// 用户编号 /// public string UserId { get; set; } /// /// 是否需要重置密码 /// public bool ShouldResetPassword { get; set; } /// /// 密码重置代码 /// public string PasswordResetCode { get; set; } /// /// 刷新令牌过期时间 /// public int RefreshTokenExpireInSeconds { get; set; } /// /// 登录成功后的跳转地址。 /// public string ReturnUrl { get; set; } /// /// 是否需要进行账号绑定激活。 /// public bool WaitingForActivation { get; set; } } public class IcsLot2OpMixListDto { /// /// 搅拌单明细表ID /// public long MixDetailId { get; set; } /// /// 物料编码 /// public string ItemCode { get; set; } /// /// 产品跟踪单 /// public string LotNo { get; set; } /// /// 工序 /// public string OpCode { get; set; } /// /// 产量 /// public int ProductQty { get; set; } /// /// 累计用量 /// public decimal TotalUseQty { get; set; } /// /// 累计损耗量 /// public decimal TotalLoseQty { get; set; } /// /// 上料状态 /// public string MixStatus { get; set; } /// /// 搅拌类型 public string MixType { get; set; } /// /// 子件物料编码 /// public string SbItemCode { get; set; } /// /// 投料类型 /// public string SendType { get; set; } /// /// 标准值 /// public decimal StandValue { get; set; } /// /// 用量上限 /// public decimal MaxValue { get; set; } /// /// 用量下限 /// public decimal MinValue { get; set; } /// /// 投料次序 /// public int SendSeq { get; set; } /// /// 搅拌时间 /// public decimal MixTime { get; set; } /// /// 真空度 /// public string Vacuo { get; set; } /// /// 转速 /// public string Speed { get; set; } /// /// 扩展字段1 /// public string Default1 { get; set; } /// /// 扩展字段2 物料单位 /// public string Default2 { get; set; } /// /// 扩展字段3 搅拌特殊类型 /// public string Default3 { get; set; } /// /// 扩展字段4 /// public string Default4 { get; set; } /// /// 租户ID /// public string TenantId { get; set; } /// /// 子件物料名称 /// public string SbItemName { get; set; } /// /// 子件物料单位(搅拌单维护单位) /// public string SbItemUnit { get; set; } public long? Id { get; set; } //上料条码批次汇总 public string BatchCodes { get; set; } public string TemperAture { get; set; } } public class IcsLot2OpMixDetailsListDto { /// /// 条码搅拌主表ID /// public long? LotOpMixId { get; set; } /// /// 本次用量 /// public decimal UseQty { get; set; } /// /// 本次损耗量 /// public decimal LoseQty { get; set; } /// /// 上料时间 /// public DateTime MixDate { get; set; } /// /// 搅拌人 /// public string UserCode { get; set; } /// /// 扩展字段1 上料条码 /// public string Default1 { get; set; } /// /// 扩展字段2 /// public string Default2 { get; set; } /// /// 扩展字段3 /// public string Default3 { get; set; } /// /// 扩展字段4 上料条码批次号 /// public string Default4 { get; set; } /// /// 租户ID /// public string TenantId { get; set; } /// /// 主表信息 /// public IcsLot2OpMixListDto LotOpMix { get; set; } /// /// 最新上料时间 /// public DateTime? NewestMixDate { get; set; } public long? Id { get; set; } } public class ReturnDto { public T result { get; set; } public bool success { get; set; } public ErrorDto error { get; set; } } public class ErrorDto { public int code { get; set; } public string message { get; set; } } public class StringDtoEx { /// /// 参数1 /// public string Parameter1 { get; set; } /// /// 参数2 /// public string Parameter2 { get; set; } /// /// 参数2 /// public string Parameter3 { get; set; } /// /// 参数2 /// public string Parameter4 { get; set; } /// /// 参数2 /// public string Parameter5 { get; set; } /// /// 参数2 /// public string Parameter6 { get; set; } /// /// 参数2 /// public string Parameter7 { get; set; } /// /// 参数2 /// public string Parameter8 { get; set; } /// /// 参数2 /// public string Parameter9 { get; set; } /// /// 参数2 /// public string Parameter10 { get; set; } /// /// 参数2 /// public string Parameter11 { get; set; } /// /// 参数2 /// public string Parameter12 { get; set; } /// /// 参数2 /// public string Parameter13 { get; set; } /// /// 参数2 /// public string Parameter14 { get; set; } /// /// 参数2 /// public string Parameter15 { get; set; } /// /// 参数2 /// public string Parameter16 { get; set; } /// /// 参数2 /// public string Parameter17 { get; set; } /// /// 参数2 /// public string Parameter18 { get; set; } /// /// 参数2 /// public string Parameter19 { get; set; } /// /// 参数2 /// public string Parameter20 { get; set; } /// /// 参数2 /// public string Parameter21 { get; set; } /// /// 参数2 /// public string Parameter22 { get; set; } /// /// 参数2 /// public string Parameter23 { get; set; } /// /// 参数2 /// public string Parameter24 { get; set; } /// /// 参数2 /// public string Parameter25 { get; set; } /// /// 参数2 /// public string Parameter26 { get; set; } /// /// 参数2 /// public string Parameter27 { get; set; } /// /// 参数2 /// public string Parameter28 { get; set; } /// /// 参数2 /// public string Parameter29 { get; set; } /// /// 参数2 /// public string Parameter30 { get; set; } } public interface ComResult { string result { get; set; } } public class WmsStockDownDto { /// /// 站点 /// public string Workpoint { get; set; } public string TransSequence { get; set; } public string User { get; set; } public string TransCode { get; set; } public string Amount { get; set; } public string Quantity { get; set; } public string TransType { get; set; } public string MTime { get; set; } public string TransID { get; set; } public List Detail { get; set; } } public class WmsStockDownDetailsDto { public string LotNo { get; set; } public string CurrentQuantity { get; set; } public string CurrentAmount { get; set; } } public class WmsReturnDto { public bool Success { get; set; } public string Message { get; set; } } public class PrintModel { public string LotNo { get; set; } public string ItemCode { get; set; } public string ItemDesc { get; set; } public string ItemStd { get; set; } public string Qty { get; set; } public string ItemUnit { get; set; } public string InDate { get; set; } public string ExpirationDate { get; set; } public string ProductDate { get; set; } public string BatchCode { get; set; } } }