|
|
@ -100,7 +100,7 @@ public class CloudClientMgr
|
|
|
|
Log.Info($"receive ChargeData={value}");
|
|
|
|
Log.Info($"receive ChargeData={value}");
|
|
|
|
if (value.HasValue)
|
|
|
|
if (value.HasValue)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BatteryStatus? data = JsonConvert.DeserializeObject<BatteryStatus>(value.ToString());
|
|
|
|
Charge? data = JsonConvert.DeserializeObject<Charge>(value.ToString());
|
|
|
|
if (data != null)
|
|
|
|
if (data != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|