using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapMachine.Model { /// /// 速度表设置 /// [Table(Name = "MeterSpeed")] public class MeterSpeed { /// /// 主键 /// [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 int KeepTime { get; set; } /// /// 配置值类型 /// [Column(MapType = typeof(int))] public ConfigValueType ValueType { get; set; } /// /// 常值 /// 在ValueType为常值时会使用 /// [Column(Name = "Constant")] public double Constant { get; set; } /// /// ///////////////////////////////////////////跟随速度小步骤的常量数据/////////////////////////////////////////////////////// /// /// /// 输出锁定(0/1) /// 跟随速度步骤的常值数据 /// [Column(Name = "OutLock")] public bool OutLock { get; set; } /// ///参数编号(1~16) /// 跟随速度步骤的常值数据 /// [Column(Name = "ParNo")] public int ParNo { get; set; } /// ///EV(1~4) /// 跟随速度步骤的常值数据 /// [Column(Name = "Ev")] public int Ev { get; set; } // /// 压缩机使能(0/1) /// 跟随速度步骤的常值数据 /// [Column(Name = "CapEnable")] public bool CapEnable { get; set; } // /// 吸排气阀(0/1) /// 跟随速度步骤的常值数据 /// [Column(Name = "InhExhValve")] public bool InhExhValve { get; set; } // /// 加热器使能(0/1)PTC使能 /// 跟随速度步骤的常值数据 /// [Column(Name = "PTCEnable")] public bool PTCEnable { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long ProStepId { get; set; } public ProStep? ProStep { get; set; } } }