|
|
using NPOI.Util;
|
|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 测温历史记录
|
|
|
/// </summary>
|
|
|
[SugarTable("BOX_TEMPERATUREHISTORY", "AUCMA_SCADA")]
|
|
|
|
|
|
public class BoxTemperatureMeasurementHistory
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true, OracleSequenceName = "SEQ_TEMPERATUREMEASUREMENTHISTORY")]
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 线号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "LINE_NO")]
|
|
|
public int LineNo { 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 = "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>
|
|
|
/// 故障代码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "ERRORCODE_MES")]
|
|
|
public string ErrorCode_Mes { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 1 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T1NAME")]
|
|
|
public string T1Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 2 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T2NAME")]
|
|
|
public string T2Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 3 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T3NAME")]
|
|
|
public string T3Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 4 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T4NAME")]
|
|
|
public string T4Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 5 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T5NAME")]
|
|
|
public string T5Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内部传感器 6 名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "T6NAME")]
|
|
|
public string T6Name { 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 = "CREATE_TIME")]
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|