|
|
|
|
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.4.2 换电站通道状态上报
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class StationChnRunStatus : ICmd
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电通道编号
|
|
|
|
|
/// 从 1 开始递增, 0:表示默认单仓单通道
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ec { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作状态
|
|
|
|
|
/// 0:未知 1:空闲 2:工作中 3:工作完成
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.WorkingStatus"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ws { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电通道状态
|
|
|
|
|
/// 0:未知 1:空闲 2:占位 3:换电准备 4:换电开始 5:换电中 6:换电完成 7:换电中故障,等待修复
|
|
|
|
|
/// 8:换电中故障,修复完成 9:换电暂停 10:换电继续 11:换电完成,车辆未驶离 12:换电完成,车辆驶离
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.BatterySwapStatus"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int cs { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否有车
|
|
|
|
|
/// 0:未知 1:有车 2:无车
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.WhetherThereIsACarOrNot"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int iv { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 锁止状态
|
|
|
|
|
/// 商用车有效 0:未知 1:加锁状态 2:解锁状态
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.LockedState"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ls { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电站通道故障等级
|
|
|
|
|
/// 0 正常 1:故障等级一 2:故障等级二 3:故障等级三 4:故障等级四 5:故障等级五 6:故障等级六
|
|
|
|
|
/// <see cref="Entity.Constant.CloudEnum.FailureLevel"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int fl { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// 格式”yyyy-MM-dd HH:mm:ss”
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ut { get; set; }
|
|
|
|
|
|
|
|
|
|
public string GetCmd()
|
|
|
|
|
{
|
|
|
|
|
return CloudConst.stationChnRunStatus;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|