|
@@ -67,7 +67,9 @@ namespace DataVAPI.UpAndDown |
|
|
{ |
|
|
{ |
|
|
ConsoleHelper.WriteSuccessLine($"阿里云【Transit】连接失败"); |
|
|
ConsoleHelper.WriteSuccessLine($"阿里云【Transit】连接失败"); |
|
|
} |
|
|
} |
|
|
|
|
|
//订阅上下线 |
|
|
Subscribe(IOTDevServer.HeartbeatSubTopic); |
|
|
Subscribe(IOTDevServer.HeartbeatSubTopic); |
|
|
|
|
|
//订阅主播消息 |
|
|
Subscribe(IOTDevServer.BroadcastTopic); |
|
|
Subscribe(IOTDevServer.BroadcastTopic); |
|
|
|
|
|
|
|
|
IOTDevServer.UNConnectMqtt += new Action<string>((o) => { ConsoleHelper.WriteSuccessLine(o); }); |
|
|
IOTDevServer.UNConnectMqtt += new Action<string>((o) => { ConsoleHelper.WriteSuccessLine(o); }); |
|
|