using System; using System.Collections; using ICSSoft.Frame.Data; namespace ICSSoft.Frame.DataConnect.Action { /// /// ActionEventArgs 的摘要说明。 /// /// [Serializable] public class ActionEventArgs : System.EventArgs { public ActionEventArgs() { } /// /// 当前工单 /// public ICSSoft.Frame.Data.Entity.ICSMO CurrentMO; /// /// 当前工单途程 /// public ICSSoft.Frame.Data.Entity.ICSITEMROUTE2OP CurrentItemRoute2OP; public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; } public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo) : this(actionType, runningCard, userCode, resourceCode) { this.ProductInfo = productInfo; } public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, object[] param) : this(actionType, runningCard, userCode, resourceCode) { this.Params = param; } public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, object[] param) : this(actionType, runningCard, userCode, resourceCode) { this.Params = param; this.ProductInfo = productInfo; } public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string maintainUser) : this(actionType, runningCard, userCode, resourceCode) { this.MaintainUser = maintainUser; } public ActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string shelfNO, ProductInfo productInfo) : this(actionType, runningCard, userCode, resourceCode) { this.ProductInfo = productInfo; this.ShelfNO = shelfNO; } public ActionEventArgs(string actionType, object[] ICTobjects) { this.ActionType = actionType; this.ICTobjects = ICTobjects; } public string ActionType = string.Empty; public string RunningCard = string.Empty; public string UserCode = string.Empty; public string ResourceCode = string.Empty; public string CollectType = string.Empty; public string Passwod = String.Empty; public object[] UserGroup; public ProductInfo ProductInfo = null; public object[] Params = null; public IList OnWIP = new ArrayList(); public string MaintainUser = string.Empty; public string ShelfNO = string.Empty; public bool NeedUpdateReport = true; public bool IsRMA = false; public int orgid = 0; public object[] ICTobjects = null; /// /// 责任部门 /// public string DutyDepartment = string.Empty; /// /// 故障发生阶段 /// public string TroubleStage = string.Empty; } [Serializable] public class GoToMOActionEventArgs : ActionEventArgs { public GoToMOActionEventArgs() { } public GoToMOActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string moCode) : base(actionType, runningCard, userCode, resourceCode) { this.MOCode = moCode.Trim().ToUpper(); } public GoToMOActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string moCode) : base(actionType, runningCard, userCode, resourceCode) { this.MOCode = moCode.Trim().ToUpper(); this.ProductInfo = productInfo; } public string Memo = String.Empty; public string MOCode = string.Empty; public bool PassCheck = true; } [Serializable] public class CINNOActionEventArgs : ActionEventArgs { public CINNOActionEventArgs() { } public CINNOActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string iNNO ) : base(actionType, runningCard, userCode, resourceCode) { this.INNO = iNNO.ToUpper(); this.ProductInfo = productInfo; } public string INNO = string.Empty; } [Serializable] public class CKeypartsActionEventArgs : ActionEventArgs { public CKeypartsActionEventArgs() { } public CKeypartsActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, OPBomKeyparts keyParts ) : base(actionType, runningCard, userCode, resourceCode) { this.Keyparts = keyParts; this.ProductInfo = productInfo; } public OPBomKeyparts Keyparts = null; } [Serializable] public class OutLineActionEventArgs : ActionEventArgs { public OutLineActionEventArgs() { } public OutLineActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string opCode) : base(actionType, runningCard, userCode, resourceCode) { this.OPCode = opCode; this.ProductInfo = productInfo; } public OutLineActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string opCode, object[] errorCodes, string memo) : base(actionType, runningCard, userCode, resourceCode) { this.ErrorCodes = errorCodes; this.Memo = memo; this.ProductInfo = productInfo; this.OPCode = opCode; } public string OPCode = string.Empty; public object[] ErrorCodes = null; public string Memo = null; } [Serializable] public class SplitIDActionEventArgs : ActionEventArgs { public SplitIDActionEventArgs() { } public SplitIDActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, object[] splitedIDs, string idMergeType) : base(actionType, runningCard, userCode, resourceCode) { this.SplitedIDs = splitedIDs; this.IDMergeType = idMergeType; } public SplitIDActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfro, object[] splitedIDs, string idMergeType) : base(actionType, runningCard, userCode, resourceCode, productInfro) { this.SplitedIDs = splitedIDs; this.IDMergeType = idMergeType; } public SplitIDActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfro, object[] splitedIDs, string idMergeType, bool isSameMO, int existIMEISeq, bool updateSimulation) : base(actionType, runningCard, userCode, resourceCode, productInfro) { this.SplitedIDs = splitedIDs; this.IDMergeType = idMergeType; this.IsSameMO = isSameMO; this.ExistIMEISeq = existIMEISeq; this.UpdateSimulation = updateSimulation; } public object[] SplitedIDs = null; public string IDMergeType = string.Empty; public bool IsSameMO = false; public int ExistIMEISeq = 0; public bool UpdateSimulation = false; public bool IsUndo = false;//是否在做Undo } [Serializable] public class BurnInActionEventArgs : ActionEventArgs { public BurnInActionEventArgs() { } } [Serializable] public class PackActionEventArgs : ActionEventArgs { public PackActionEventArgs() { } public PackActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, object[] idDatas) : base(actionType, runningCard, userCode, resourceCode) { this.IDDatas = idDatas; } public object[] IDDatas = null; } [Serializable] public class OQCFuncTestActionEventArgs : ActionEventArgs { public OQCFuncTestActionEventArgs() { } public decimal minDutyRatoValue = 0; public decimal burstMdFreValue = 0; public Hashtable listTestValueFre = null; public Hashtable listTestValueEle = null; public bool Result = true; } [Serializable] public class TSActionEventArgs : OutLineActionEventArgs { public TSActionEventArgs() { } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, object[] errorCodes, object[] errorLocations, string memo) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.ErrorCodes = errorCodes; this.ErrorLocations = errorLocations; this.Memo = memo; this.ProductInfo = productInfo; } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, object[] errorCodes, object[] errorLocations, string memo) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.ErrorCodes = errorCodes; this.ErrorLocations = errorLocations; this.Memo = memo; } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, object[] errorCodes, object[] errorLocations, string memo, object[] testData) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.ErrorCodes = errorCodes; this.ErrorLocations = errorLocations; this.Memo = memo; this.ProductInfo = productInfo; this.Params = testData; } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, object[] errorInfor, string memo) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.ErrorInfor = errorInfor; this.Memo = memo; this.ProductInfo = productInfo; } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string tsStatus, string moCode, string itemCode, string routeCode, string opCode) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.TSStatus = tsStatus; this.MOCode = moCode; this.ItemCode = itemCode; this.OPCode = opCode; this.RouteCode = routeCode; } public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string tsStatus, string moCode, string itemCode, string routeCode, string opCode, string maintenUser) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.TSStatus = tsStatus; this.MOCode = moCode; this.ItemCode = itemCode; this.OPCode = opCode; this.RouteCode = routeCode; this.MaintainUser = maintenUser; } ///增加代录人,报废原因 public TSActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string tsStatus, string moCode, string itemCode, string routeCode, string opCode, string maintainUser, string scrapCause) { this.UserCode = userCode; this.ResourceCode = resourceCode; this.RunningCard = runningCard; this.ActionType = actionType; this.TSStatus = tsStatus; this.MOCode = moCode; this.ItemCode = itemCode; this.OPCode = opCode; this.RouteCode = routeCode; this.MaintainUser = maintainUser; this.ScrapCause = scrapCause; } // public object[] ErrorCodes = null; public object[] ErrorInfor = null; public object[] ErrorLocations = null; // public string Memo = null; public string TSStatus = String.Empty; public string MOCode = String.Empty; public string ItemCode = String.Empty; public string RouteCode = String.Empty; public string MaiternUser = String.Empty; public string ScrapCause = String.Empty; //忽略检查Resource是否在TS的工序中 public bool IgnoreResourceInOPTS = false; } [Serializable] public class EcnTryActionEventArgs : ActionEventArgs { public EcnTryActionEventArgs() { } public EcnTryActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string ecnNo, string tryNo) : base(actionType, runningCard, userCode, resourceCode) { this.ECNNo = ecnNo.Trim().ToUpper(); this.TryNo = tryNo.Trim().ToUpper(); } public EcnTryActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string ecnNo, string tryNo) : base(actionType, runningCard, userCode, resourceCode) { this.ECNNo = ecnNo.Trim().ToUpper(); this.TryNo = tryNo.Trim().ToUpper(); this.ProductInfo = productInfo; } public string ECNNo = string.Empty; public string TryNo = string.Empty; } [Serializable] public class SoftwareActionEventArgs : ActionEventArgs { public SoftwareActionEventArgs() { } public SoftwareActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string softwareVersion, string softwareName) : base(actionType, runningCard, userCode, resourceCode) { this.SoftwareVersion = softwareVersion; this.SoftwareName = softwareName; } public SoftwareActionEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string softwareVersion, string softwareName) : base(actionType, runningCard, userCode, resourceCode) { this.SoftwareVersion = softwareVersion; this.SoftwareName = softwareName; this.ProductInfo = productInfo; } //public public string SoftwareVersion = string.Empty; public string SoftwareName = string.Empty; } [Serializable] public class CartonPackEventArgs : ActionEventArgs { public CartonPackEventArgs() { } public CartonPackEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string cartonMemo, string cartonNo, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.ProductInfo = productInfo; this.CartonMemo = cartonMemo; this.CartonNo = cartonNo; } public string CartonMemo = string.Empty; public string CartonNo = String.Empty; } #region this is for packing produce OQCLot [Serializable] public class OQCLotAddIDEventArgs : ActionEventArgs { public OQCLotAddIDEventArgs() { } public OQCLotAddIDEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, string oqcLotNOType, decimal oqcLotMaxSize, bool isRemixMO) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.OQCLotNOType = oqcLotNOType; this.OQCLotMaxSize = oqcLotMaxSize; this.IsRemixMO = isRemixMO; } public OQCLotAddIDEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, string oqcLotNOType, bool checkOQCLotMaxSize, decimal oqcLotMaxSize, bool isRemixMO, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.OQCLotNOType = oqcLotNOType; this.IsCheckOQCLotMaxSize = checkOQCLotMaxSize; this.OQCLotMaxSize = oqcLotMaxSize; this.IsRemixMO = isRemixMO; this.ProductInfo = productInfo; } //Carton Memo public string CartonMemo = string.Empty; //Support Carton Number public string CartonNo = String.Empty; public string OQCLotNO = string.Empty; public decimal OQCLotMaxSize = -1; public bool IsRemixMO = false; public bool IsCheckOQCLotMaxSize = false; public string OQCLotNOType = string.Empty; } [Serializable] public class OQCLotRemoveIDEventArgs : ActionEventArgs { public OQCLotRemoveIDEventArgs() { } public OQCLotRemoveIDEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; } public string OQCLotNO = string.Empty; } [Serializable] public class OQCGoodEventArgs : ActionEventArgs { public OQCGoodEventArgs() { } public OQCGoodEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, object[] objsCheckItems, object[] objsCheckGroups, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; this.OQCLOTCardCheckLists = objsCheckItems; this.OQCLot2CheckGroupList = objsCheckGroups; } public OQCGoodEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, object[] objsCheckItems, object[] objsCheckGroups, ProductInfo productInfo, object[] testDatas) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; this.OQCLOTCardCheckLists = objsCheckItems; this.OQCLot2CheckGroupList = objsCheckGroups; this.Params = testDatas; } public string IsDataLink = "1"; //标识样本是不是从数据连线来的 public string Memo = String.Empty; public string OQCLotNO = string.Empty; public object[] OQCLOTCardCheckLists = null; //Add CheckGroup public object[] OQCLot2CheckGroupList = null; //End Added public decimal CheckSequence = 1; } [Serializable] public class OQCNGEventArgs : ActionEventArgs { public OQCNGEventArgs() { } public OQCNGEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, object[] objsCheckItems, object[] objsCheckGroups, object[] objsErrorCodeInformations, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; this.OQCLOTCardCheckLists = objsCheckItems; this.ErrorCodeInformations = objsErrorCodeInformations; this.OQCLot2CheckGroupList = objsCheckGroups; } public OQCNGEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, object[] objsCheckItems, object[] objsCheckGroups, object[] objsErrorCodeInformations, ProductInfo productInfo, object[] testDatas) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; this.OQCLOTCardCheckLists = objsCheckItems; this.ErrorCodeInformations = objsErrorCodeInformations; this.OQCLot2CheckGroupList = objsCheckGroups; this.Params = testDatas; } public string IsDataLink = "1"; //标识样本是不是从数据连线来的 public string OQCLotNO = string.Empty; public object[] OQCLOTCardCheckLists = null; public object[] ErrorCodeInformations = null; public string Memo = String.Empty; //Add CheckGroup public object[] OQCLot2CheckGroupList = null; //End Added public decimal CheckSequence = 1; public string rightResource = string.Empty; } [Serializable] public class OQCPASSEventArgs : ActionEventArgs { public OQCPASSEventArgs() { } //批中的RCARD public object[] CardOfLot = null; //批中的报废或拆解RCARD public ArrayList CardOfLotForDelete = new ArrayList(); //检查过的MO列表 public Hashtable listActionCheckStatus = new Hashtable(); //批 public object Lot; //最后工序 public bool isLastOp; public OQCPASSEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; } public string OQCLotNO = string.Empty; public bool IsForcePass = false; public string Memo = string.Empty; public bool IsUnFrozen = false; public string UnFrozenReason = string.Empty; } [Serializable] public class OQCRejectEventArgs : ActionEventArgs { public OQCRejectEventArgs() { } //检查过的MO列表 public Hashtable listActionCheckStatus = new Hashtable(); //MoCode public string MOCODE; //批中的RCARD public object[] CardOfLot = null; //批 public object Lot; //最后工序 public bool isLastOp; public OQCRejectEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string oqcLotNO, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.OQCLotNO = oqcLotNO; this.ProductInfo = productInfo; } public string OQCLotNO = string.Empty; public bool IsForceReject = false; public bool IsAutoGenerateReworkSheet = false; public bool IsCreateNewLot = false; public string Memo = string.Empty; public bool IsUnFrozen = false; public string UnFrozenReason = string.Empty; public string rightResource = string.Empty; } //脱离工单 [Serializable] public class OffMoEventArgs : ActionEventArgs { public string MOCode = string.Empty; public bool PassCheck = true; public string MOType = String.Empty; public OffMoEventArgs(string actionType, string runningCard, string userCode, string resourceCode, string moCode) : base(actionType, runningCard, userCode, resourceCode) { this.MOCode = moCode.Trim().ToUpper(); } public OffMoEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo, string moCode) : base(actionType, runningCard, userCode, resourceCode) { this.MOCode = moCode.Trim().ToUpper(); this.ProductInfo = productInfo; } } //下料 [Serializable] public class DropMaterialEventArgs : ActionEventArgs { public bool PassCheck = true; public object[] OnwipItems = null; public DropMaterialEventArgs(string actionType, string runningCard, string userCode, string resourceCode) : base(actionType, runningCard, userCode, resourceCode) { } public DropMaterialEventArgs(string actionType, string runningCard, string userCode, string resourceCode, ProductInfo productInfo) : base(actionType, runningCard, userCode, resourceCode) { this.ProductInfo = productInfo; } } //试流处理的参数 [Serializable] public class TryEventArgs : ActionEventArgs { public string OPCode = string.Empty; public string MRunningCard = string.Empty; public string MItemCode = string.Empty; public string ItemCode = string.Empty; public string TryCode = string.Empty; public bool ForCollect = true; public bool ForLinkLot = false; public TryEventArgs(string actionType, string userCode, string opCode, string resourceCode, string itemCode, string runningCard, string mItemCode, string mRunningCard, string tryCode, bool forCollect, bool forLinkLot) : base(actionType, runningCard, userCode, resourceCode) { this.OPCode = opCode; this.MRunningCard = mRunningCard; this.MItemCode = mItemCode; this.ItemCode = itemCode; this.TryCode = tryCode; this.ForCollect = forCollect; this.ForLinkLot = forLinkLot; } } #endregion /// /// 产品信息 /// /// [Serializable] public class ProductInfo { public DateTime WorkDateTime; //public Domain.TS.TS LastTS; public string ECG2ErrCodes; public ExtendSimulation LastSimulation; public ICSSoft.Frame.Data.Entity.ICSSimulation NowSimulation; public ICSSoft.Frame.Data.Entity.ICSSimulationReport NowSimulationReport; public ICSSoft.Frame.Data.Entity.ICSRES Resource; public ICSSoft.Frame.Data.Entity.ICSTP TimePeriod; // Added end /// /// 当前工单途程 /// public ICSSoft.Frame.Data.Entity.ICSITEMROUTE2OP CurrentItemRoute2OP; /// /// 当前工单 /// public ICSSoft.Frame.Data.Entity.ICSMO CurrentMO; public ProductInfo() { // // TODO: 在此处添加构造函数逻辑 // } public override string ToString() { string s = ""; if (LastSimulation != null) { s = LastSimulation.ToString(); } s = string.Format("{0}&", s); if (NowSimulation != null) { s = string.Format("{0}{1}", s, NowSimulation.ToString()); } return s; } } [Serializable] public class ExtendSimulation : ICSSoft.Frame.Data.Entity.ICSSimulation { public ExtendSimulation(ICSSoft.Frame.Data.Entity.ICSSimulation simulation) { if (simulation == null) { return; } this.ACTIONLIST = simulation.ACTIONLIST; this.CARTONCODE = simulation.CARTONCODE; this.EATTRIBUTE1 = simulation.EATTRIBUTE1; this.EATTRIBUTE2 = simulation.EATTRIBUTE2; this.FROMOP = simulation.FROMOP; this.FROMROUTE = simulation.FROMROUTE; this.IDMERGERULE = simulation.IDMERGERULE; this.ISCOM = simulation.ISCOM; this.ITEMCODE = simulation.ITEMCODE; this.LACTION = simulation.LACTION; this.LOTNO = simulation.LOTNO; this.MTIME = simulation.MTIME; this.MUSER = simulation.MUSER; this.MOCODE = simulation.MOCODE; this.MODELCODE = simulation.MODELCODE; this.NGTIMES = simulation.NGTIMES; this.OPCODE = simulation.OPCODE; this.PALLETCODE = simulation.PALLETCODE; this.PRODUCTSTATUS = simulation.PRODUCTSTATUS; this.RESCODE = simulation.RESCODE; this.ROUTECODE = simulation.ROUTECODE; this.RCARD = simulation.RCARD; this.RCARDSEQ = simulation.RCARDSEQ; this.SCARD = simulation.SCARD; this.SCARDSEQ = simulation.SCARDSEQ; this.TCARD = simulation.TCARD; this.TCARDSEQ = simulation.TCARDSEQ; this.IsHold = simulation.ISHOLD; this.MOSEQ = simulation.MOSEQ; } public string NextOPCode = string.Empty; public string NextRouteCode = string.Empty; public string AdjustProductStatus = string.Empty; public string NextAction = string.Empty; public string NextActionList = string.Empty; public string IsHold = string.Empty;//Web.Helper.CycleStatus.Pass; } /// /// /// 标识Action过程中对Check点的执行情况 /// 在Action执行时,先检查相应状态是否被执行过,如果被执行过,则不用再次Check /// /// [Serializable] public class ActionCheckStatus { /// /// 是否做过CheckMO操作 (检查MO状态) /// public bool CheckedMO = false; /// /// 是否做过CheckOP操作 (检查途程、OP) /// public bool CheckedOP = false; /// /// 是否做过CheckID操作 /// public bool CheckedID = false; /// /// 是否检查过NextOP,用在CheckOnlineOP函数中 /// public bool CheckedNextOP = false; /// /// 在检查NextOP时,原来的NextOPCode,用在CheckOnlineOP函数中 /// public string CheckedNextOPCode = string.Empty; /// /// 在检查NextOP时,原来的NextRouteCode,用在CheckOnlineOP函数中 /// public string CheckedNextRouteCode = string.Empty; /// /// 是否需要更新Simulation /// public bool NeedUpdateSimulation = true; /// /// 是否需要写报表 /// public bool NeedFillReport = true; /// /// 依次执行过的Action列表 /// public IList ActionList = new ArrayList(); /// /// MO /// public ICSSoft.Frame.Data.Entity.ICSMO MO = null; /// /// MOType的Parameter值 /// public string MOTypeParamValue = string.Empty; /// /// Route /// public ICSSoft.Frame.Data.Entity.ICSMO2ROUTE Route = null; /// /// OP /// public ICSSoft.Frame.Data.Entity.ICSITEMROUTE2OP OP = null; /// /// Model /// public ICSSoft.Frame.Data.Entity.ICSMODEL Model = null; /// /// ProductInfo /// public ProductInfo ProductInfo = null; /// /// 是否是最后一个工序,N表示否,Y表示yes,string.Empty表示未赋值 /// public string IsLastOP = string.Empty; /// /// 是否是中间工序, "No"表示否,"Yes"表示是,""表示未检查 /// public string IsMidOutputOP = string.Empty; /// /// 是否是中间投入工序, "No"表示否,"Yes"表示是,""表示未检查 /// public string IsMidInputOP = string.Empty; /// /// 是否执行过updateItem2Route /// public bool IsUpdateRefItem2Route = false; /// /// OP BOM类型 /// public string opBOMType = string.Empty; /// /// Keypart数量 /// public int keypartTimes = 0; /// /// 集成上料数量 /// public int innoTimes = 0; /// /// 责任部门 /// public string DutyDepartment = string.Empty; /// /// 故障发生阶段 /// public string TroubleStage = string.Empty; } // Added end }