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.
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.Cloud.Req
{
/// <summary>
/// 3.2.10.1 后台服务器下发离线换电车辆数据
/// </summary>
public class SetChangeCarData : ICmd
{
/// <summary>
/// 更新方式
/// 1: 覆盖所有记录 2: 增量更新
/// <see cref="Entity.Constant.CloudEnum.RenewalMethod"/>
/// </summary>
public int um { get ; set ; }
public List < Data > data { get ; set ; }
public string GetCmd ( )
{
return CloudConst . setChangeCarData ;
}
}
public class Data
{
/// <summary>
/// 时段序号
/// </summary>
public int pr { get ; set ; }
/// <summary>
/// 车辆VIN
/// </summary>
public string vin { get ; set ; }
/// <summary>
/// mac地址
/// 乘用车选填,商用车必填
/// </summary>
public string mac { get ; set ; }
/// <summary>
/// 认证方式
/// 1:车牌号 2: rfid
/// <see cref="Entity.Constant.CloudEnum.AuthenticationMethod"/>
/// </summary>
public int ty { get ; set ; }
/// <summary>
/// 车牌号
/// 选填, ty 为 1 时必填
/// </summary>
public string cn { get ; set ; }
/// <summary>
/// 所属车队
/// 选填, ty 为 2 时必填
/// </summary>
public string mc { get ; set ; }
/// <summary>
/// 生效时间
/// 格式”HH:mm:ss” 精确到小时
/// </summary>
public DateTime st { get ; set ; }
/// <summary>
/// 失效时间
/// 格式“HH:mm:ss” 精确到小时
/// </summary>
public DateTime et { get ; set ; }
}
}