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.

227 lines
7.0 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Service.Cloud.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Cloud.Msg.Host.Req
{
/// <summary>
/// 4.2.1.1 换电上传换电订单
/// </summary>
public class UploadPowerChangeOrder : ICmd
{
/// <summary>
/// 换电站编码
/// 换电站唯一码,区域码+类型码+流水号
/// </summary>
public string sn { get; set; }
/// <summary>
/// 换电订单号
/// 场站编码+时间yyyyMMddHHmmss)+车牌号,唯一,索引
/// </summary>
public string son { get; set; }
/// <summary>
/// 订单是否取消
/// 0:正常1:取消
/// <see cref="Entity.Constant.CloudEnum.OrderCancellation"/>
/// </summary>
public byte od { get; set; }
/// <summary>
/// 是否成功换电
/// 本次换电是否成功.0:失败1:成功
/// <see cref="Entity.Constant.CloudEnum.WhetherTheBatterySwapIsSuccessful"/>
/// </summary>
public byte ic { get; set; }
/// <summary>
/// 换电结果
/// 0:正常 1失败
/// <see cref="Entity.Constant.CloudEnum.BatterySwapResults"/>
/// </summary>
public byte rs { get; set; }
/// <summary>
/// 失败原因
/// </summary>
public byte fr { get; set; }
/// <summary>
/// 车牌号
/// </summary>
public string cn { get; set; }
/// <summary>
/// 车辆VIN码
/// 车辆唯一识别码
/// </summary>
public string vin { get; set; }
/// <summary>
/// rfid卡号
/// 商用车必填
/// </summary>
public string rfid { get; set; }
/// <summary>
/// 所属车队
/// </summary>
public string mC { get; set; }
/// <summary>
/// 出仓安装电池序列号
/// </summary>
public string dbid { get; set; }
/// <summary>
/// 出仓安装电池SOC
/// </summary>
public int dsoc { get; set; }
/// <summary>
/// 取车电池上次换电结算时 的SOC
/// </summary>
public int lsoc { get; set; }
/// <summary>
/// 出仓安装电池的SOE
/// 单位:kWh,保留两位小数
/// </summary>
public float dsoe { get; set; }
/// <summary>
/// 取车电池上次换电结算时 的 SOE
/// 单位:kWh,保留两位小数
/// </summary>
public float lsoe { get; set; }
/// <summary>
/// 拆卸入仓电池序列号
/// </summary>
public string ubid { get; set; }
/// <summary>
/// 拆卸入仓电池SOC
/// 单位:kWh,保留两位小数
/// </summary>
public int usoc { get; set; }
/// <summary>
/// 拆卸入仓电池SOE
/// 单位:kWh,保留两位小数
/// </summary>
public float usoe { get; set; }
/// <summary>
/// 装上电池行驶里程
/// 单位:kWh,保留两位小数
/// </summary>
public float tm { get; set; }
/// <summary>
/// 此次换电次序
/// 本日第几次换电
/// </summary>
public int so { get; set; }
/// <summary>
/// 车牌识别时间(或车辆进 站时间)
/// 单位:秒
/// </summary>
public DateTime? ct { get; set; }
/// <summary>
/// 换电开始时刻
/// 格式”yyyy-MMddHH:mm:ss”
/// </summary>
public DateTime? st { get; set; }
/// <summary>
/// 换电结来时刻
/// 格式”yyyy-MMddHH:mm:ss”
/// </summary>
public DateTime? et { get; set; }
/// <summary>
/// 车辆高开时间
/// 格式”yyyy-MMdd
/// </summary>
public DateTime? ot { get; set; }
/// <summary>
/// 本次换电时同
/// 单位:秒 (车辆进站到出站的时间)
/// </summary>
public int wt { get; set; }
/// <summary>
/// 出仓安装地仓位号
/// </summary>
public int? deno { get; set; }
/// <summary>
/// 拆卸入仓池仓位号
/// </summary>
public int? ueno { get; set; }
/// <summary>
/// 车朝总里程
/// 单位:kWh, 保留两位小数
/// </summary>
public float vtm { get; set; }
/// <summary>
/// 车制累计换电次数
/// </summary>
public int vct { get; set; }
/// <summary>
/// 车辆累计放电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float vtdc { get; set; }
/// <summary>
/// 车辆系计回馈电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float vtfe { get; set; }
/// <summary>
/// 车朝累计插枪充电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float vtcc { get; set; }
/// <summary>
/// 车制累计综合能耗
/// 单位:kWh, 保留两位小数
/// </summary>
public float vtec { get; set; }
/// <summary>
/// 本次实时放电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float rtdc { get; set; }
/// <summary>
/// 上一次结算放电量
/// 至少保留两位有效小数
/// </summary>
public float lsdc { get; set; }
/// <summary>
/// 本次实时回馈电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float rtfc { get; set; }
/// <summary>
/// 上一才生笙回性中量
/// 单位:kWh, 保留两位
/// </summary>
public float lsfc { get; set; }
/// <summary>
/// 本次实时插枪充电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float rtce { get; set; }
/// <summary>
/// 上一次结算插枪充电量
/// 单位:kWh, 保留两位小数
/// </summary>
public float lscc { get; set; }
/// <summary>
/// 本次实时综合能耗
/// 单位:kWh, 保留两位小数
/// </summary>
public float rtec { get; set; }
/// <summary>
/// 上报方式
/// 1自动2人工手动
/// <see cref="Entity.Constant.CloudEnum.EscalationMethod"/>
/// </summary>
public int sfs { get; set; }
/// <summary>
/// 是否是离线订单
/// 0不是1
/// <see cref="Entity.Constant.CloudEnum.OrderType"/>
/// </summary>
public int sflx { get; set; }
public string GetCmd()
{
return CloudConst.staSwapRecord;
}
}
}