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.
28 lines
895 B
28 lines
895 B
using Magicodes.ExporterAndImporter.Core;
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
namespace Entity.Dto;
|
|
|
|
[ExcelExporter(Name = "PLc未处理报警日志", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
public class PlcEquipAlarmRecordDto
|
|
{
|
|
/// <summary>
|
|
/// 站号
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "站号", IsBold = true)]
|
|
public string StationNumber { get; set; } = "2号站";
|
|
|
|
/// <summary>
|
|
/// Desc:报警描述
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "报警名称", IsBold = true)]
|
|
public string ErrorMsg { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报警开始时间
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "报警开始时间", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
public DateTime? StartTime { get; set; }
|
|
} |