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 System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace Models
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备报警记录
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarTable("DMS_RECORD_ALARM_INFO"), TenantAttribute("mes")]
|
|
|
|
|
|
public class BaseDeviceAlarmVal
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:主键标识
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="ALARM_ID" , OracleSequenceName = "PARAMRECORD_SEQ_ID", IsPrimaryKey = true) ]
|
|
|
|
|
|
public decimal ALARM_ID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:设备台账id,关联dms_base_device_ledger的device_id
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="DEVICE_ID" ) ]
|
|
|
|
|
|
public decimal DEVICE_ID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:报警开始时间
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="ALARM_BEGIN_TIME" ) ]
|
|
|
|
|
|
public DateTime? ALARM_BEGIN_TIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:报警结束时间
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="ALARM_END_TIME" ) ]
|
|
|
|
|
|
public DateTime? ALARM_END_TIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备 注:报警持续时间(ms)
|
|
|
|
|
|
/// 默认值:
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="CONTINUE_TIME" ) ]
|
|
|
|
|
|
public decimal? CONTINUE_TIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|