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