using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
///
/// 快速设置程序段具体步骤执行信息
///
[Table(Name = "QuickProStepExecute")]
public class QuickProStepExecute
{
///
/// 主键
///
[Column(IsPrimary = true)]
public Guid Id { get; set; }
///
/// 程序段名称
///
[Column(Name = "ProName", IsNullable = false, StringLength = 30)]
public string ProName { get; set; }
///
/// 程序段步骤
///
[Column(Name = "ProStep", IsNullable = false)]
public int ProStep { get; set; }
///
/// 程序段反复
///
[Column(Name = "ProRepeat")]
public int ProRepeat { get; set; }
///
/// 是否正在执行当前程序段
///
[Column(Name = "IsCurrentProStep")]
public bool IsCurrentProStep { get; set; }
/////////////////////////////////////////////////////////////////
////////////////////////程序步骤///////////////////////////////
////////////////////////////////////////////////////////////////
///
/// 是否正在执行当前程序段
///
[Column(Name = "IsCurrentMeterStep")]
public bool IsCurrentMeterStep { get; set; }
///
/// 仪表功能名称
///
[Column(Name = "MeterName", IsNullable = false, StringLength = 20)]
public string MeterName { get; set; }
///
/// 步骤
///
[Column(Name = "MeterStep", IsNullable = false)]
public int MeterStep { get; set; }
///
/// 这个步骤是打开具体设置步骤界面的那个层面的信息,例如:2-3,代表是程序2里面的仪表步骤3,方便调试和给液击使用
///
[Column(Name = "ProStepInfo", IsNullable = false)]
public string ProStepInfo { get; set; }
///
/// SV DegC
///
[Column(Name = "SV", IsNullable = true)]
public int SV { get; set; }
///
/// 时间-分钟-步骤维持时间
///
[Column(Name = "TimeMin", IsNullable = true)]
public int TimeMin { get; set; }
///
/// 时间-秒-步骤维持时间
///
[Column(Name = "TimeSec", IsNullable = true)]
public int TimeSec { get; set; }
///
/// PID NO-PID序号
///
[Column(Name = "PIDNo", IsNullable = true)]
public int PIDNo { get; set; }
///
/// 是否启用坡度
///
[Column(Name = "ExistSlop", IsNullable = false)]
public bool ExistSlop { get; set; }
///
/// 时间-秒-斜坡时间
///
[Column(Name = "SlopTimeSec", IsNullable = true)]
public int SlopTimeSec { get; set; }
///
/// 启用状态-没有启用就是什么数据都没有
/// Const-常值-常值,StepValue有值,只有一个步骤,CycleTime为0
/// MultisStep-有步骤细节-此时在一个仪表下就会有很多步骤的细节数据
///
[Column(Name = "ConfigState", IsNullable = false, StringLength = 10)]
public string ConfigState { get; set; }
///
/// PID NO-CpPIDNoInfo-用的是Cp表的QuickCpPIDNo模型,是一样的,因为里面有仪表名称
///
public ConfigPID KpPIDNoInfo { get; set; }
///
/// Limit NO
///
[Column(Name = "LitmitNo", IsNullable = true)]
public int LitmitNo { get; set; }
///
/// PID NO-CpPIDNoInfo 用的是Cp表的QuickCpLimtNo模型,是一样的,因为里面有仪表名称
///
public ConfigLimit KpLimitNoInfo { get; set; }
///
/// Alarm NO
///
[Column(Name = "AlarmNo", IsNullable = true)]
public int AlarmNo { get; set; }
/////
///// 步进重复
/////
//[Column(Name = "Repeat", IsNullable = true)]
//public int StepRepeat { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
/////////////////////////////////////////////////////////////////
////////////////////////步骤运行时间//////////////////////////
////////////////////////////////////////////////////////////////
/////
///// 当前仪表步骤执行时间信息
/////
//public CpRunTime CpRunTimeInfo { get; set; }
}
}