|
|
using System; using System.Collections; using ICSSoft.Frame.Data;
namespace ICSSoft.Frame.DataConnect.Action { /// <summary>
/// ActionEventArgs ��ժҪ˵����
/// </summary>
///
[Serializable] public class ActionEventArgs : System.EventArgs { public ActionEventArgs() { }
/// <summary>
/// ��ǰ����
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSMO CurrentMO;
/// <summary>
/// ��ǰ����;��
/// </summary>
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;
/// <summary>
/// �����
/// </summary>
public string DutyDepartment = string.Empty;
/// <summary>
/// ���Ϸ�����
/// </summary>
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"; //��ʶ�����Dz��Ǵ�������������
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"; //��ʶ�����Dz��Ǵ�������������
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; }
}
//���������IJ���
[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
/// <summary>
/// ��Ʒ��Ϣ
/// </summary>
///
[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
/// <summary>
/// ��ǰ����;��
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSITEMROUTE2OP CurrentItemRoute2OP;
/// <summary>
/// ��ǰ����
/// </summary>
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;
}
///
/// <summary>
/// ��ʶAction�����ж�Check����ִ������
/// ��Actionִ��ʱ���ȼ�����Ӧ״̬�Ƿ���ִ�й���������ִ�й����������ٴ�Check
/// </summary>
///
[Serializable] public class ActionCheckStatus { /// <summary>
/// �Ƿ�����CheckMO���� (����MO״̬)
/// </summary>
public bool CheckedMO = false;
/// <summary>
/// �Ƿ�����CheckOP���� (����;�̡�OP)
/// </summary>
public bool CheckedOP = false;
/// <summary>
/// �Ƿ�����CheckID����
/// </summary>
public bool CheckedID = false;
/// <summary>
/// �Ƿ�������NextOP������CheckOnlineOP������
/// </summary>
public bool CheckedNextOP = false; /// <summary>
/// �ڼ���NextOPʱ��ԭ����NextOPCode������CheckOnlineOP������
/// </summary>
public string CheckedNextOPCode = string.Empty; /// <summary>
/// �ڼ���NextOPʱ��ԭ����NextRouteCode������CheckOnlineOP������
/// </summary>
public string CheckedNextRouteCode = string.Empty;
/// <summary>
/// �Ƿ���Ҫ����Simulation
/// </summary>
public bool NeedUpdateSimulation = true;
/// <summary>
/// �Ƿ���Ҫд����
/// </summary>
public bool NeedFillReport = true;
/// <summary>
/// ����ִ�й���Action�б�
/// </summary>
public IList ActionList = new ArrayList();
/// <summary>
/// MO
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSMO MO = null;
/// <summary>
/// MOType��Parameterֵ
/// </summary>
public string MOTypeParamValue = string.Empty;
/// <summary>
/// Route
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSMO2ROUTE Route = null;
/// <summary>
/// OP
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSITEMROUTE2OP OP = null;
/// <summary>
/// Model
/// </summary>
public ICSSoft.Frame.Data.Entity.ICSMODEL Model = null;
/// <summary>
/// ProductInfo
/// </summary>
public ProductInfo ProductInfo = null;
/// <summary>
/// �Ƿ�������һ��������N��ʾ����Y��ʾyes��string.Empty��ʾδ��ֵ
/// </summary>
public string IsLastOP = string.Empty;
/// <summary>
/// �Ƿ����м乤��, "No"��ʾ����"Yes"��ʾ�ǣ�""��ʾδ����
/// </summary>
public string IsMidOutputOP = string.Empty;
/// <summary>
/// �Ƿ����м�Ͷ�빤��, "No"��ʾ����"Yes"��ʾ�ǣ�""��ʾδ����
/// </summary>
public string IsMidInputOP = string.Empty;
/// <summary>
/// �Ƿ�ִ�й�updateItem2Route
/// </summary>
public bool IsUpdateRefItem2Route = false;
/// <summary>
/// OP BOM����
/// </summary>
public string opBOMType = string.Empty; /// <summary>
/// Keypart����
/// </summary>
public int keypartTimes = 0; /// <summary>
/// ������������
/// </summary>
public int innoTimes = 0;
/// <summary>
/// �����
/// </summary>
public string DutyDepartment = string.Empty;
/// <summary>
/// ���Ϸ�����
/// </summary>
public string TroubleStage = string.Empty; } // Added end
}
|