using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapMachine.Model { /// /// 排气压力设置 /// [Table(Name = "MeterExPress")] public class MeterExPress { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 程序步骤序号 /// [Column(Name = "StepNo")] public int StepNo { get; set; } /// /// 开始值 /// [Column(Name = "StartValue")] public double StartValue { get; set; } /// /// 结束值 /// [Column(Name = "EndValue")] public double EndValue { get; set; } /// /// 维持时间 /// [Column(Name = "KeepTime")] public double KeepTime { get; set; } /// /// 配置值类型 /// [Column(MapType = typeof(int))] public ConfigValueType ValueType { get; set; } /// /// 常值 /// 在ValueType为常值时会使用 /// [Column(Name = "Constant")] public double Constant { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long ProStepId { get; set; } public ProStep? ProStep { get; set; } } }