using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Diagnostics.Metrics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapMachine.Model { /// /// 步骤 /// [Table(Name = "ProStep")] public class ProStep { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 程序步骤序号 /// [Column(Name = "StepNo")] public int StepNo { get; set; } ///// ///// 程序步骤反复次数 ///// 速度的循环次数 ///// //[Column(Name = "StepRepeat")] //public int StepRepeat { get; set; } ///// ///// 程序段反复 ///// //[Column(Name = "ProRepeat")] //public int ProRepeat { get; set; } /// /// 备注 /// [Column(Name = "Remark", IsNullable = false, StringLength = 200)] public string Remark { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } /// /// 速度内部步骤的循环次数 /// [Column(Name = "SpeedCycle")] public int SpeedCycle { get; set; } /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// /// /// 转速 /// public List? MeterSpeeds { get; set; } = new List(); /// /// COND1温度/冷凝器出口水温 /// public List? MeterCond1Temps { get; set; } = new List(); /// /// COND2温度 /// public List? MeterCond2Temps { get; set; } = new List(); /// /// COND2压力 /// public List? MeterCond2Presss { get; set; } = new List(); /// /// EVAP出口温度 /// public List? MeterEVAPExpTemps { get; set; } = new List(); /// /// 排气压力 /// public List? MeterExPresss { get; set; } = new List(); /// /// HV电压 /// public List? MeterHVVols { get; set; } = new List(); /// /// 吸气压力 /// public List? MeterInhPresss { get; set; } = new List(); /// /// 吸气温度 /// public List? MeterInhTemps { get; set; } = new List(); /// /// 润滑油压力 /// public List? MeterLubePresss { get; set; } = new List(); /// /// LV电压 /// public List? MeterLVVols { get; set; } = new List(); /// /// OCR /// public List? MeterOCRs { get; set; } = new List(); /// /// OS1温度 /// public List? MeterOS1Temps { get; set; } = new List(); /// /// OS2温度/吸气混合器温度 /// public List? MeterOS2Temps { get; set; } = new List(); /// /// PTC入口水温 /// public List? MeterPTCEntTemps { get; set; } = new List(); /// /// PTC流量 /// public List? MeterPTCFlows { get; set; } = new List(); /// /// PTC功率 /// public List? MeterPTCPws { get; set; } = new List(); /// /// 试验箱湿度 /// public List? MeterEnvRHs { get; set; } = new List(); /// /// 试验箱温度 /// public List? MeterEnvTemps { get; set; } = new List(); /// /// ///////////////////////////////////////////导航属性/////////////////////////////////////////////////////// /// public long ProgramSegId { get; set; } public ProgramSeg? ProgramSeg { get; set; } } }