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