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.
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Admin.Core.Model.Model_New
|
|
|
|
|
{
|
|
|
|
|
[SugarTable("RECORD_ALARM_DEVICE", "AUCMA_MES")]
|
|
|
|
|
public class Record_DeviceAlarmInfo
|
|
|
|
|
{
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, OracleSequenceName = "SQE_DEVICE_ALARM_RECORD")]
|
|
|
|
|
public decimal ObjId { get; set; }
|
|
|
|
|
|
|
|
|
|
[SugarColumn(ColumnName = "BATCH_ID")]
|
|
|
|
|
public string BatchId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DEVICE_CODE")]
|
|
|
|
|
public string DeviceCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备类型:1-生产设备;2-计量设备
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DEVICE_TYPE")]
|
|
|
|
|
public string DeviceType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName ="PARAM_CODE")]
|
|
|
|
|
public string ParamCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 参数值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PARAM_VALUE")]
|
|
|
|
|
public string ParamValue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警信息
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ALARM_INFO")]
|
|
|
|
|
public string AlarmInfo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ALARM_TIME")]
|
|
|
|
|
public DateTime AlarmTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
|
|
|
public DateTime CreadtedTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|