fix ota
This commit is contained in:
parent
b3980da48f
commit
fd52e9c843
|
@ -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请求反馈事件
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue