|
|
@ -30,6 +30,25 @@ public class ChargeOrderDto
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "启动报文状态", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "启动报文状态", IsBold = true)]
|
|
|
|
|
|
|
|
public string CmdStatusDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return CmdStatus switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0 => "初始化",
|
|
|
|
|
|
|
|
1 => "启动成功",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Desc:启动报文状态;0-初始化;1-启动成功
|
|
|
|
|
|
|
|
/// Default:0
|
|
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int? CmdStatus { get; set; }
|
|
|
|
public int? CmdStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -51,10 +70,28 @@ public class ChargeOrderDto
|
|
|
|
|
|
|
|
|
|
|
|
public string ChargerGunNo { get; set; }
|
|
|
|
public string ChargerGunNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 0:站内充电 1:站外充电
|
|
|
|
/// 0:站内充电 1:站外充电
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "充电位置", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "充电位置", IsBold = true)]
|
|
|
|
|
|
|
|
public string ChargeModeDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return ChargeMode switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0 => "站内充电",
|
|
|
|
|
|
|
|
1 => "站外充电",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 0:站内充电 1:站外充电
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int ChargeMode { get; set; }
|
|
|
|
public int ChargeMode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -62,13 +99,30 @@ public class ChargeOrderDto
|
|
|
|
/// 1:站控启动 2:本地启动
|
|
|
|
/// 1:站控启动 2:本地启动
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "启动方式", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "启动方式", IsBold = true)]
|
|
|
|
|
|
|
|
public string StartModeDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return StartMode switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
1 => "站控启动",
|
|
|
|
|
|
|
|
2 => "本地启动",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 1:站控启动 2:本地启动
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int StartMode { get; set; }
|
|
|
|
public int StartMode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 充电开始时间
|
|
|
|
/// 充电开始时间
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "充电开始时间", IsBold = true,Width = 25)]
|
|
|
|
[ExporterHeader(DisplayName = "充电开始时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -77,7 +131,7 @@ public class ChargeOrderDto
|
|
|
|
/// Default:
|
|
|
|
/// Default:
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "充电结束时间", IsBold = true,Width = 25)]
|
|
|
|
[ExporterHeader(DisplayName = "充电结束时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -159,6 +213,24 @@ public class ChargeOrderDto
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "停止原因", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "停止原因", IsBold = true)]
|
|
|
|
|
|
|
|
public string StopReasonDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return StopReason switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0 => "满电自动停止",
|
|
|
|
|
|
|
|
1 => "人工停止",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Desc:停止原因;0:满电自动停止;1-人工停止
|
|
|
|
|
|
|
|
/// Default:0
|
|
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int? StopReason { get; set; }
|
|
|
|
public int? StopReason { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -258,6 +330,21 @@ public class ChargeOrderDto
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "上传云平台状态", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "上传云平台状态", IsBold = true)]
|
|
|
|
|
|
|
|
public string CloudReportStatusDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return CloudReportStatus switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0 => "未上传",
|
|
|
|
|
|
|
|
1 => "已上传",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int? CloudReportStatus { get; set; }
|
|
|
|
public int? CloudReportStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -275,7 +362,7 @@ public class ChargeOrderDto
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "创建时间", IsBold = true,Width = 25)]
|
|
|
|
[ExporterHeader(DisplayName = "创建时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -293,7 +380,7 @@ public class ChargeOrderDto
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "更新时间", IsBold = true,Width = 25)]
|
|
|
|
[ExporterHeader(DisplayName = "更新时间", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -310,6 +397,25 @@ public class ChargeOrderDto
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "是否可以上传云平台", IsBold = true)]
|
|
|
|
[ExporterHeader(DisplayName = "是否可以上传云平台", IsBold = true)]
|
|
|
|
|
|
|
|
public string CanUploadDisplay
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return CanUpload switch
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
0 => "不可用",
|
|
|
|
|
|
|
|
1 => "可以",
|
|
|
|
|
|
|
|
_ => "未知"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Desc:是否可以上传云平台
|
|
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
|
|
|
|
|
|
|
public int? CanUpload { get; set; }
|
|
|
|
public int? CanUpload { get; set; }
|
|
|
|
}
|
|
|
|
}
|