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.

63 lines
2.2 KiB

5 months ago
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
5 months ago
{
/// <summary>
/// 换电通道编号
/// 从 1 开始递增, 0表示默认单仓单通道
5 months ago
/// </summary>
public int ec { get; set; }
/// <summary>
/// 工作状态
/// 0:未知 1空闲 2工作中 3工作完成
/// <see cref="Entity.Constant.CloudEnum.WorkingStatus"/>
5 months ago
/// </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"/>
5 months ago
/// </summary>
public int cs { get; set; }
/// <summary>
/// 是否有车
/// 0未知 1有车 2无车
/// <see cref="Entity.Constant.CloudEnum.WhetherThereIsACarOrNot"/>
5 months ago
/// </summary>
public int iv { get; set; }
/// <summary>
/// 锁止状态
/// 商用车有效 0未知 1加锁状态 2解锁状态
/// <see cref="Entity.Constant.CloudEnum.LockedState"/>
5 months ago
/// </summary>
public int ls { get; set; }
/// <summary>
/// 换电站通道故障等级
/// 0 正常 1故障等级一 2故障等级二 3故障等级三 4故障等级四 5故障等级五 6故障等级六
/// <see cref="Entity.Constant.CloudEnum.FailureLevel"/>
5 months ago
/// </summary>
public int fl { get; set; }
/// <summary>
/// 更新时间
/// 格式”yyyy-MM-dd HH:mm:ss”
5 months ago
/// </summary>
public int ut { get; set; }
public string GetCmd()
{
return CloudConst.stationChnRunStatus;
}
}
}