@@ -58,9 +58,9 @@ public class ChargeState : IChargeState
5858 /// <param name="notEnoughPowerToHeat">The <see cref="NotEnoughPowerToHeat"/>.</param>
5959 /// <param name="timestamp">The <see cref="Timestamp"/>.</param>
6060 public ChargeState (
61- string chargingState = null ,
62- string fastChargerType = null ,
63- string fastChargerBrand = null ,
61+ string ? chargingState = null ,
62+ string ? fastChargerType = null ,
63+ string ? fastChargerBrand = null ,
6464 long ? chargeLimitSoc = null ,
6565 long ? chargeLimitSocStd = null ,
6666 long ? chargeLimitSocMin = null ,
@@ -84,13 +84,13 @@ public ChargeState(
8484 bool ? tripCharging = null ,
8585 long ? chargeRate = null ,
8686 bool ? chargePortDoorOpen = null ,
87- string connChargeCable = null ,
87+ string ? connChargeCable = null ,
8888 long ? scheduledChargingStartTime = null ,
8989 bool ? scheduledChargingPending = null ,
9090 bool ? userChargeEnableRequest = null ,
9191 bool ? chargeEnableRequest = null ,
9292 int ? chargerPhases = null ,
93- string chargePortLatch = null ,
93+ string ? chargePortLatch = null ,
9494 long ? chargeCurrentRequest = null ,
9595 long ? chargeCurrentRequestMax = null ,
9696 bool ? managedChargingActive = null ,
@@ -146,17 +146,17 @@ public ChargeState(
146146 /// <summary>
147147 /// Gets the charging state of a <see cref="IVehicle"/>.
148148 /// </summary>
149- public string ChargingState { get ; }
149+ public string ? ChargingState { get ; }
150150
151151 /// <summary>
152152 /// Gets the type of fast charging.
153153 /// </summary>
154- public string FastChargerType { get ; }
154+ public string ? FastChargerType { get ; }
155155
156156 /// <summary>
157157 /// Gets the brand of fast charging.
158158 /// </summary>
159- public string FastChargerBrand { get ; }
159+ public string ? FastChargerBrand { get ; }
160160
161161 /// <summary>
162162 /// Gets the charge limit <see cref="IVehicle"/>.
@@ -276,7 +276,7 @@ public ChargeState(
276276 /// <summary>
277277 /// Gets the type of the charge cable connected to a <see cref="IVehicle"/>.
278278 /// </summary>
279- public string ConnChargeCable { get ; }
279+ public string ? ConnChargeCable { get ; }
280280
281281 /// <summary>
282282 /// Gets the schedule charging start time of a <see cref="IVehicle"/>.
@@ -311,7 +311,7 @@ public ChargeState(
311311 /// <summary>
312312 /// Gets the charge port latch of a <see cref="IVehicle"/>.
313313 /// </summary>
314- public string ChargePortLatch { get ; }
314+ public string ? ChargePortLatch { get ; }
315315
316316 /// <summary>
317317 /// Gets the charge current request of a <see cref="IVehicle"/>.
0 commit comments