mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-01 14:06:36 +08:00
取消使用流程上下文自定义的字典数据;更改流程环境接口的输出方式
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using Serein.Library;
|
||||
using Serein.Library.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
@@ -45,13 +47,13 @@ namespace Serein.Workbench.Themes
|
||||
var result = tcpClient.BeginConnect(addres, port, null, null);
|
||||
success = result.AsyncWaitHandle.WaitOne(TimeSpan.FromSeconds(3));
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
|
||||
success = false;
|
||||
}
|
||||
if (!success)
|
||||
{
|
||||
Console.WriteLine($"无法连接远程:{addres}:{port}");
|
||||
SereinEnv.WriteLine(InfoType.ERROR, $"无法连接远程:{addres}:{port}");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user