using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Models.ProModelPars
{
///
/// 程序步骤里面一个整步运行时间
///
public class ProStepRunTime : BindableBase
{
public EventHandler RunTimeCallSglEvent;
///
/// 是否启用
///
public bool RunEnable { get; set; } = false;
///
/// 当前仪表程序步骤
///
public int ProStep { get; set; }
///
/// 当前步骤开始运行时间
///
public DateTime StartDt { get; set; }
private DateTime currentDateTime;
///
/// 当前时间
///
public DateTime CurrentDateTime
{
get
{
return currentDateTime;
}
set
{
currentDateTime = value;
}
}
///
/// 当前步骤已经运行时长-秒
///
public int RunTime { get; set; }
}
}