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 System;
using System.Collections.Generic;
namespace BatCharging.Model
{
public class RemoteStartCharging
{
/// <summary>
/// SOC 限制
/// </summary>
public byte SocLimit { get; set; }
/// <summary>
/// 功率调节指令类型
/// </summary>
public byte ChangePowerCmdType { get; set; } = 1;
/// <summary>
/// 功率调节参数
/// </summary>
public UInt16 ChangePower { get; set; }
/// <summary>
/// 启动充电 0站内启动 1站外启动
/// </summary>
public UInt16 StartModel { get; set; }
/// <summary>
/// 结构体
/// </summary>
/// <param name="socLimit">SOC限制.百分比</param>
/// <param name="changePowerCmdType">功率调节指令类型.默认1 绝对功率值</param>
/// <param name="changePower">功率调节参数.0.1kw/位</param>
public RemoteStartCharging(byte socLimit, byte changePowerCmdType, UInt16 changePower,byte startModel)
{
this.SocLimit = socLimit;
this.ChangePowerCmdType = changePowerCmdType;
this.ChangePower = changePower;
//this.StartModel = startModel;
}
}
}