You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

192 lines
4.5 KiB
C#

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