This commit is contained in:
wangkaiyi 2024-09-11 16:50:49 +08:00
parent b3980da48f
commit fd52e9c843
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class ProcessTopics
/// <summary> /// <summary>
/// OTA请求事件 /// OTA请求事件
/// </summary> /// </summary>
public const string OTAQueryEvent = "OTAUpdataQueryEvent"; public const string OTAQueryEvent = "OTAQueryEvent";
/// <summary> /// <summary>
/// OTA请求反馈事件 /// OTA请求反馈事件

View File

@ -54,7 +54,8 @@ public class OTAService : Instant
/// Masstransfer 请求OTA事件响应向云端发送请求信息 /// Masstransfer 请求OTA事件响应向云端发送请求信息
/// </summary> /// </summary>
/// <param name="topic"></param> /// <param name="topic"></param>
public static async Task HandleOTAQueryEvent(string topic) /// <param name="mess"></param>
public static async Task HandleOTAQueryEvent(string topic, string mess)
{ {
await MessageQueueHelper.Publish(Topics.QueryOTA, new object()); await MessageQueueHelper.Publish(Topics.QueryOTA, new object());
} }