using System; using System.Collections.Generic; using Aitex.Core.Common; namespace MECF.Framework.Common.Jobs { [Serializable] public class ControlJobInfo { public string Name { get; set; } public Guid InnerId { get; set; } public string Module { get; set; } public List ProcessJobNameList { get; set; } public EnumControlJobState State { get; set; } public string LotName { get; set; } public Guid LotInnerId { get; set; } public List LotWafers { get; set; } public string CarrierID { get; set; } public DateTime CreateTime { get; set; } public DateTime BeginTime { get; set; } public DateTime EndTime { get; set; } /// /// job优先级,默认是0,值越大优先级越高 /// 以应对有些job需要优先执行 /// public int PriorityExecuteLevel { get; set; } public ControlJobInfo() { ProcessJobNameList = new List(); State = EnumControlJobState.Queued; InnerId = Guid.NewGuid(); } public void SetState(EnumControlJobState state) { State = state; } } }