using NPOI.Util; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.Core.Model { /// /// 测温历史记录 /// [Table("TemperatureHistory")] [SugarTable("TemperatureHistory", "Hsdb")] public class TemperatureHistory { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int ObjId { get; set; } /// /// 线号 /// public int Line_No { get; set; } /// /// 工位号 /// public int Gongwno { get; set; } /// /// 产品条码 /// public string Cpno { get; set; } /// /// 产品型号 /// public string CpModel { get; set; } /// /// 基准型号 /// public string FactoryModel { get; set; } /// /// 工作电压 /// public int Voltage { get; set; } /// /// 测试通道 /// public string Point2 { get; set; } /// /// 计划测试时间 /// public int TestTime { get; set; } /// /// 实际测试时间 /// public decimal TestedTime { get; set; } /// /// 环温 /// public decimal Etemp { get; set; } /// /// 开始测试时间 /// public DateTime BeginDateTime { get; set; } /// /// 测试结果 /// public string CpResult { get; set; } /// /// 测试结束时间 /// public DateTime EndDateTime { get; set; } /// /// 系统用户 /// public string UserName { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 第几次测试 /// public int TestNo { get; set; } /// /// 温度数据 /// public string Temp_Mes { get; set; } /// /// 功率数据 /// public string Power_Mes { get; set; } /// /// 部件测试数据 /// public string Part_Mes { get; set; } /// /// 故障代码 /// public string ErrorCode_Mes { get; set; } /// /// 内部传感器 1 名称 /// public string T1Name { get; set; } /// /// 内部传感器 2 名称 /// public string T2Name { get; set; } /// /// 内部传感器 3 名称 /// public string T3Name { get; set; } /// /// 内部传感器 4 名称 /// public string T4Name { get; set; } /// /// 内部传感器 5 名称 /// public string T5Name { get; set; } /// /// 内部传感器 6 名称 /// public string T6Name { get; set; } /// /// 是否测试部件(”Y”测试) /// public string IsOrder { get; set; } /// /// 低压启动测试时间 /// public int LowV_Time { get; set; } /// /// 低压启动标准下限 /// public decimal LowV_PowerMin { get; set; } /// /// 低压启动标准上限 /// public decimal LowV_PowerMax { get; set; } /// /// 低压启动实际采集值 /// public decimal LowV_PowerFact { get; set; } /// /// 低压启动测试电压 /// public decimal LowVoltage { get; set; } /// /// 同步标识 /// public int flag { get; set; } } }