|
|
|
@ -0,0 +1,100 @@
|
|
|
|
|
using Magicodes.ExporterAndImporter.Core;
|
|
|
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Dto;
|
|
|
|
|
|
|
|
|
|
[ExcelExporter(Name = "换电站日运行统计结果", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
|
|
|
public class ExchangeStationDayRunDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 平均充电时长
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "平均充电时长", IsBold = true)]
|
|
|
|
|
public string AvgChgTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 平均换电时长
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "平均换电时长", IsBold = true)]
|
|
|
|
|
public string AvgRepTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电日期", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public string SwapDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 首次换电时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "首次换电时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public string FristSwapTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结束换电时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "结束换电时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public string StopTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运行开始时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "运行开始时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public string RunStartTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运行结束时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "运行结束时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public string RunEndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充电总次数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "充电总次数", IsBold = true)]
|
|
|
|
|
public int ChgCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运营状态1:营业状态 2:暂停营业状态 3:设备维护状态 4:歇业状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "运营状态", IsBold = true)]
|
|
|
|
|
public string OperationalStatus
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return State switch
|
|
|
|
|
{
|
|
|
|
|
1 => "营业状态",
|
|
|
|
|
2 => "暂停营业状态",
|
|
|
|
|
3 => "设备维护状态",
|
|
|
|
|
4 => "歇业状态",
|
|
|
|
|
_ => "未知"
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运营状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
public int State { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电总次数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电总次数", IsBold = true)]
|
|
|
|
|
public int ToltalSwapCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电总时长
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电总时长", IsBold = true)]
|
|
|
|
|
public float ToltalSwapAllTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 站运行总时长
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "站运行总时长", IsBold = true)]
|
|
|
|
|
public float ToltalTimeCount { get; set; }
|
|
|
|
|
}
|