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