|
|
|
|
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.Resp
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2 换电站应答车辆开始换电指令
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CarCanStartRes : ICmd
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接收结果
|
|
|
|
|
/// 0:成功 1:失败
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.ResultInt"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int re { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车辆所在的换电 通道
|
|
|
|
|
/// 从 1 开始递增, 0:表示默认单仓单通道
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int en { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单号
|
|
|
|
|
/// 场站编码(12 字节)+时间(yyyyMMddHHmmss)14 位 + 2 位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string on { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电请求应答
|
|
|
|
|
/// 0 无 1 换电请求成功 2 换电请求失败3 取消换电请求成功 4 取消换电请求失败
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.AnsweringTheBatterySwapRequest"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int cs { get; set; }
|
|
|
|
|
public string GetCmd()
|
|
|
|
|
{
|
|
|
|
|
return CloudConst.carCanStartRes;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|