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.

43 lines
1.3 KiB

This file contains ambiguous Unicode 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.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;
}
}
}