diff --git a/Service/Charger/Client/ChargerClient.cs b/Service/Charger/Client/ChargerClient.cs index d351fbf..2df4680 100644 --- a/Service/Charger/Client/ChargerClient.cs +++ b/Service/Charger/Client/ChargerClient.cs @@ -426,7 +426,8 @@ public class ChargerClient : TcpClient redisHelper.SetKeyValueStr($"chargeNo{BinNo}Start", DateTime.Now.ToString("f"), TimeSpan.FromMinutes(1)); byte chargeSoc = StaticStationInfo.ChargeSoc; - string chargeOrderNo = SendRemoteStartCharging(chargeSoc); + float chargePower = StaticStationInfo.ChargePower; + string chargeOrderNo = SendRemoteStartCharging(chargeSoc, chargePower); _chargeOrderRepository.Insert(new ChargeOrder() { diff --git a/Service/Init/StaticStationInfo.cs b/Service/Init/StaticStationInfo.cs index ddfa8f0..ec3f013 100644 --- a/Service/Init/StaticStationInfo.cs +++ b/Service/Init/StaticStationInfo.cs @@ -94,6 +94,12 @@ public class StaticStationInfo get => byte.Parse(Resolve(StationParamConst.ChargeSoc)); set => Set(StationParamConst.ChargeSoc, value); } + + public static float ChargePower + { + get => float.Parse(Resolve(StationParamConst.ChargePower)); + set => Set(StationParamConst.ChargeSoc, value); + } /// /// 0-关闭 1-开启 diff --git a/Service/Station/StationParamConst.cs b/Service/Station/StationParamConst.cs index c4434e6..74fd343 100644 --- a/Service/Station/StationParamConst.cs +++ b/Service/Station/StationParamConst.cs @@ -189,6 +189,7 @@ public class StationParamConst //充电soc public static readonly string ChargeSoc = "Station.ChargeSoc"; + public static readonly string ChargePower = "Station.ChargePower"; public static readonly string AutoChargeEnabled = "Station.AutoChargeEnabled"; public static readonly string Eid = "Station.Eid"; public static readonly string Oid = "Station.Oid";