using FreeSql.DataAnnotations; namespace CapMachine.Model { /// /// PTC目标水温 表设置 给压缩机的PTC使用 /// PTC目标水温 /// [Table(Name = "MeterPTCWaterTemp")] public class MeterPTCWaterTemp { /// /// 主键 /// [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; } /// /// PID No /// [Column(Name = "PIDNo")] public int PIDNo { get; set; } /// /// 限幅 No /// [Column(Name = "LimitNo")] public int LimitNo { get; set; } /// /// 报警 No /// [Column(Name = "AlarmNo")] public int AlarmNo { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long ProStepId { get; set; } public ProStep? ProStep { get; set; } } }