1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- 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<string> ProcessJobNameList { get; set; }
- public EnumControlJobState State { get; set; }
- public ControlJobInfo()
- {
- ProcessJobNameList = new List<string>();
- State = EnumControlJobState.Queued;
- InnerId = Guid.NewGuid();
- }
- public void SetState(EnumControlJobState state)
- {
- State = state;
- }
- }
- }
|