using SqlSugar; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Admin.Core.Model { /// /// 测温历史记录 /// [Table("BOX_TEMPERATUREHISTORY")] [SugarTable("BOX_TEMPERATUREHISTORY", "AUCMA_SCADA")] public class TemperatureHistory { /// /// 主键 /// [SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_TEMPERATUREMEASUREMENTHISTORY")] public int ObjId { get; set; } /// /// 线号 /// [SugarColumn(ColumnName = "LINE_NO")] public int Line_No { get; set; } /// /// 工位号 /// [SugarColumn(ColumnName = "GONGWNO")] public int GongwNo { get; set; } /// /// 产品条码 /// [SugarColumn(ColumnName = "CPNO")] public string CpNo { get; set; } /// /// 产品型号 /// [SugarColumn(ColumnName = "CPMODEL")] public string CpModel { get; set; } /// /// 基准型号 /// [SugarColumn(ColumnName = "FACTORYMODEL")] public string FactoryModel { get; set; } /// /// 工作电压 /// [SugarColumn(ColumnName = "VOLTAGE")] public int Voltage { get; set; } /// /// 供电频率 /// [SugarColumn(ColumnName = "FREQUENCY")] public int Frequency { get; set; } /// /// 测试通道 /// [SugarColumn(ColumnName = "POINT2")] public string Point2 { get; set; } /// /// 计划测试时间 /// [SugarColumn(ColumnName = "TESTTIME")] public int TestTime { get; set; } /// /// 实际测试时间 /// [SugarColumn(ColumnName = "TESTEDTIME")] public decimal TestedTime { get; set; } /// /// 环温 /// [SugarColumn(ColumnName = "ETEMP")] public decimal Etemp { get; set; } /// /// 开始测试时间 /// [SugarColumn(ColumnName = "BEGINDATETIME")] public DateTime BeginDateTime { get; set; } /// /// 测试结果 /// [SugarColumn(ColumnName = "CPRESULT")] public string CpResult { get; set; } /// /// 测试结束时间 /// [SugarColumn(ColumnName = "ENDDATETIME")] public DateTime EndDateTime { get; set; } /// /// 系统用户 /// [SugarColumn(ColumnName = "USERNAME")] public string UserName { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "REMARK")] public string Remark { get; set; } /// /// 第几次测试 /// [SugarColumn(ColumnName = "TESTNO")] public int TestNo { get; set; } /// /// 温度数据 /// [SugarColumn(ColumnName = "TEMP_MES")] public string Temp_Mes { get; set; } /// /// 功率数据 /// [SugarColumn(ColumnName = "POWER_MES")] public string Power_Mes { get; set; } /// /// 部件测试数据 /// [SugarColumn(ColumnName = "PART_MES")] public string Part_Mes { get; set; } /// /// 是否测试部件(”Y”测试) /// [SugarColumn(ColumnName = "ISORDER")] public string IsOrder { get; set; } /// /// 低压启动测试时间 /// [SugarColumn(ColumnName = "LOWV_TIME")] public int LowV_Time { get; set; } /// /// 低压启动标准下限 /// [SugarColumn(ColumnName = "LOWV_POWERMIN")] public decimal LowV_PowerMin { get; set; } /// /// 低压启动标准上限 /// [SugarColumn(ColumnName = "LOWV_POWERMAX")] public decimal LowV_PowerMax { get; set; } /// /// 低压启动实际采集值 /// [SugarColumn(ColumnName = "LOWV_POWERFACT")] public decimal LowV_PowerFact { get; set; } /// /// 低压启动测试电压 /// [SugarColumn(ColumnName = "LOWVOLTAGE")] public decimal LowVoltage { get; set; } /// /// 同步时间 /// [SugarColumn(ColumnName = "SYNC_DATETIME")] public DateTime SyncDate { get; set; } } }