|
|
|
@ -18,6 +18,7 @@ using Newtonsoft.Json.Converters;
|
|
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
using Service.Cloud.Handler;
|
|
|
|
|
using Service.Cloud.Msg;
|
|
|
|
|
using Service.Cloud.Msg.Cloud.Req;
|
|
|
|
|
using Service.Cloud.Msg.Host.Req;
|
|
|
|
|
|
|
|
|
|
namespace Service.Cloud.Client;
|
|
|
|
@ -55,9 +56,16 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
|
|
|
|
|
public int Encrypt { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? AesKey { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool Authed { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Cmd
|
|
|
|
|
|
|
|
|
|
public CarCanStart? CarCanStart { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private IMqttClient? MqttClient;
|
|
|
|
|
|
|
|
|
|