using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Mesnac.Action.ChemicalWeighing.Entity { /// /// 计划日志,用于记录最后一次执行的计划信息 /// [Serializable] public class PlanLog { #region 字段定义 private DateTime _lastDate = DateTime.Now; private string _lastPlanID = String.Empty; private int _lastShiftID = 1; private string _lastShiftName = String.Empty; private int _lastClassID = 1; private string _lastClassName = String.Empty; #endregion #region 属性定义 /// /// 最后一次执行计划时选择的日期 /// public DateTime LastDate { get { return this._lastDate; } set { this._lastDate = value; } } /// /// 最后一次执行的计划号 /// public string LastPlanID { get { return this._lastPlanID; } set { this._lastPlanID = value; } } /// /// 最后一次执行计划选择的班次ID /// public int LastShiftID { get { return this._lastShiftID; } set { this._lastShiftID = value; } } /// /// 最后一次执行计划选择的班次名称 /// public string LastShiftName { get { return this._lastShiftName; } set { this._lastShiftName = value; } } /// /// 最后一次执行计划对应的班组ID /// public int LastClassID { get { return this._lastClassID; } set { this._lastClassID = value; } } /// /// 最后一次执行计划对应的班组名称 /// public string LastClassName { get { return this._lastClassName; } set { this._lastClassName = value; } } #endregion } }