mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 00:06:45 +08:00
修改了logwindows输出,避免高频输出时卡死。修改了流程运行上下文,使节点具备终止分支运行的能力。
This commit is contained in:
@@ -6,7 +6,6 @@ using Serein.Library.Api;
|
||||
using Serein.Library.Attributes;
|
||||
using Serein.Library.Enums;
|
||||
using Serein.Library.Ex;
|
||||
using Serein.Library.Framework.NodeFlow;
|
||||
using Serein.Library.Network.WebSocketCommunication;
|
||||
using Serein.Library.NodeFlow.Tool;
|
||||
using Serein.Library.Web;
|
||||
@@ -80,7 +79,7 @@ namespace Net462DllTest.Web
|
||||
});
|
||||
context.Env.IOC.Run<WebSocketServer>((socketServer) =>
|
||||
{
|
||||
socketServer.MsgHandleHelper.RemoteModule(this);
|
||||
socketServer.MsgHandleHelper.RemoveModule(this);
|
||||
socketServer?.Stop(); // 关闭 Web 服务
|
||||
});
|
||||
MyPlc.Close();
|
||||
@@ -88,6 +87,8 @@ namespace Net462DllTest.Web
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
[AutoSocketHandle]
|
||||
public async Task BatchReadVar(Func<string, Task> SendMsg, Func<object, Task> SendObj)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user