You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mesnac.Action.ChemicalWeighing.Entity
{
/// <summary>
/// 计划日志,用于记录最后一次执行的计划信息
/// </summary>
[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 属性定义
/// <summary>
/// 最后一次执行计划时选择的日期
/// </summary>
public DateTime LastDate { get { return this._lastDate; } set { this._lastDate = value; } }
/// <summary>
/// 最后一次执行的计划号
/// </summary>
public string LastPlanID { get { return this._lastPlanID; } set { this._lastPlanID = value; } }
/// <summary>
/// 最后一次执行计划选择的班次ID
/// </summary>
public int LastShiftID { get { return this._lastShiftID; } set { this._lastShiftID = value; } }
/// <summary>
/// 最后一次执行计划选择的班次名称
/// </summary>
public string LastShiftName { get { return this._lastShiftName; } set { this._lastShiftName = value; } }
/// <summary>
/// 最后一次执行计划对应的班组ID
/// </summary>
public int LastClassID { get { return this._lastClassID; } set { this._lastClassID = value; } }
/// <summary>
/// 最后一次执行计划对应的班组名称
/// </summary>
public string LastClassName { get { return this._lastClassName; } set { this._lastClassName = value; } }
#endregion
}
}