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.
31 lines
1.1 KiB
31 lines
1.1 KiB
using Magicodes.ExporterAndImporter.Core;
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
namespace Entity.Dto;
|
|
|
|
[ExcelExporter(Name = "PLC HAS PROCESSED ALARM LOG", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
public class PlcEquipAlarmProcessRecordDto2
|
|
{
|
|
/// <summary>
|
|
/// 站号
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "STATION NUMBER", IsBold = true)]
|
|
public string StationNumber { get; set; } = "STATION 2";
|
|
|
|
/// <summary>
|
|
/// Desc:报警描述
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "ALARM NAME", IsBold = true)]
|
|
public string ErrorMsg { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报警开始时间
|
|
/// </summary>
|
|
[ExporterHeader(DisplayName = "ALARM START TIME", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
[ExporterHeader(DisplayName = "ALARM END TIME", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
public DateTime? ProcessTime { get; set; }
|
|
} |