添加资源,总览页面添加图表,其它逻辑修正
This commit is contained in:
commit
4449530bb7
14 files changed
+222
-57
No files matched your search
@@ -387,8 +387,12 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
|
||||
.SetMinBufferSize(1024*64)
|
||||
.SetRemoteIPHost(ip + ":" + port)
|
||||
.ConfigurePlugins(a =>
|
||||
{
|
||||
// a.UseTcpReconnection();//触发型重连
|
||||
{
|
||||
//触发型重连
|
||||
// a.UseTcpReconnection();
|
||||
//使用Polling轮询连接插件
|
||||
a.UseTcpReconnection()
|
||||
.UsePolling(TimeSpan.FromSeconds(5));
|
||||
})
|
||||
.ConfigureContainer(a =>
|
||||
{
|
||||
@@ -396,7 +400,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
|
||||
}));
|
||||
|
||||
// Result result = await
|
||||
_ = tcpClient.TryConnectAsync();
|
||||
await tcpClient.TryConnectAsync();
|
||||
// return result.IsSuccess;
|
||||
/* try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user