Files
CapMachine/CapMachine.Model/ProKpStepExecute.cs
2024-07-04 17:42:03 +08:00

166 lines
4.6 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 = "ProStepExecute")]
public class ProStepExecute
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true)]
public Guid Id { get; set; }
/// <summary>
/// 程序段名称
/// </summary>
[Column(Name = "ProName", IsNullable = false, StringLength = 20)]
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>
/// 速度 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
/// </summary>
[Column(Name = "PIDNo", IsNullable = true)]
public int PIDNo { get; set; }
/// <summary>
/// Limit NO
/// </summary>
[Column(Name = "LitmitNo", IsNullable = true)]
public int LitmitNo { get; set; }
/// <summary>
/// Alarm NO
/// </summary>
[Column(Name = "AlarmNo", IsNullable = true)]
public int AlarmNo { get; set; }
///// <summary>
///// 时间信号
///// </summary>
//[Column(Name = "TimeSign1", IsNullable = true)]
//public int TimeSign1 { get; set; }
///// <summary>
///// 时间信号
///// </summary>
//[Column(Name = "TimeSign2", IsNullable = true)]
//public int TimeSign2 { get; set; }
///// <summary>
///// 时间信号
///// </summary>
//[Column(Name = "TimeSign3", IsNullable = true)]
//public int TimeSign3 { get; set; }
/// <summary>
/// 步进重复
/// </summary>
[Column(Name = "Repeat", IsNullable = true)]
public int StepRepeat { get; set; }
///// <summary>
///// 拓展字段1
///// </summary>
//[Column(Name = "FeildExte1", IsNullable = true)]
//public string FeildExte1 { get; set; }
///// <summary>
///// 拓展字段1
///// </summary>
//[Column(Name = "FeildExte2", IsNullable = true)]
//public string FeildExte2 { get; set; }
///// <summary>
///// 拓展字段1
///// </summary>
//[Column(Name = "FeildExte3", IsNullable = true)]
//public string FeildExte3 { get; set; }
///// <summary>
///// 拓展字段1
///// </summary>
//[Column(Name = "FeildExte4", IsNullable = true)]
//public string FeildExte4 { get; set; }
///// <summary>
///// 拓展字段1
///// </summary>
//[Column(Name = "FeildExte5", IsNullable = true)]
//public string FeildExte5 { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
}
}