using HybirdFrameworkCore.Autofac.Attribute; namespace Service.Charger.Msg.Host.Req { /// /// 3.3.5 监控平台远程启动充电 /// public class RemoteStartCharging { public RemoteStartCharging(byte socLimit, byte changePowerCmdType, float changePower, string chargeOrderNo) { SocLimit = socLimit; ChangePowerCmdType = changePowerCmdType; ChangePower = changePower; ChargeOrderNo = chargeOrderNo; } /// /// SOC 限制 /// [Property(0, 8)] public byte SocLimit { get; set; } /// /// 功率调节指令类型 /// [Property(8, 8)] public byte ChangePowerCmdType { get; set; } = 1; /// /// 功率调节参数 /// [Property(16, 16, PropertyReadConstant.Bit, 0.1, 1)] public float ChangePower { get; set; } /// /// 充电流水号 /// [Property(32, 256)] public string ChargeOrderNo { get; set; } } }