You can not 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 Magicodes.ExporterAndImporter.Core;
|
|
|
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Dto;
|
|
|
|
|
|
|
|
|
|
[ExcelExporter(Name = "设备报警基础信息", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
|
|
|
public class EquipAlarmDefineDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备类型编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "设备类型编码", IsBold = true)]
|
|
|
|
|
public int EquipTypeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "设备编码", IsBold = true)]
|
|
|
|
|
public string EquipCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "报警编码", IsBold = true)]
|
|
|
|
|
public string ErrorCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警等级
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "报警等级", IsBold = true)]
|
|
|
|
|
public string ErrorLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警描述
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "报警描述", IsBold = true)]
|
|
|
|
|
public string ErrorMsg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:处理方法
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "处理方法", IsBold = true)]
|
|
|
|
|
public string ProcessMethod { get; set; }
|
|
|
|
|
}
|