using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/*==================================================
* Name:任務實體
* Author:John.yuan
* Time:2015-01-08
* Modify:
====================================================*/
namespace TimingTask
{
public class TimingTaskInfo
{
///
/// 任務執行類
///
public TimingTaskBase.TimingTaskBase TaskObject
{
set;
get;
}
///
/// 任務類型
///
public TaskType TaskType
{
set;
get;
}
///
/// 任務計時器
///
public Timer TaskTimer
{
set;
get;
}
///
/// 任務開始時間
///
public DateTime BeginTime
{
set;
get;
}
///
/// 任務結束時間
///
public DateTime EndTime
{
set;
get;
}
///
/// 任務執行週期 ms
///
public long Period
{
set;
get;
}
///
/// 任務名稱
///
public string TaskName
{
set;
get;
}
///
/// 任務編號
///
public string TaskID
{
set;
get;
}
///
/// 最後一次成功完成時間
///
public DateTime? LastCompleteTime
{
set;
get;
}
}
}