From 4e861ec2da763cebd2b3c629b693fdc984dd609f Mon Sep 17 00:00:00 2001 From: SL <123@123.com> Date: Wed, 2 Aug 2023 22:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Recipe=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=B2=A1=E6=9C=89=E8=AE=B0=E5=BD=95=E5=88=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SicRT/Instances/ToolLoader.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SicRT/Instances/ToolLoader.cs b/SicRT/Instances/ToolLoader.cs index e16f497..8928d58 100644 --- a/SicRT/Instances/ToolLoader.cs +++ b/SicRT/Instances/ToolLoader.cs @@ -84,8 +84,6 @@ namespace SicRT.Instances Singleton.Instance.Initialize(PathManager.GetCfgDir() + "tm\\DeviceModelSystem.xml", "Sic", ModuleName.System, "TM", true); - Singleton.Instance.Initialize(); - RtSystemManager.Instance.AddCustomBackend("SC", new BackendSCConfigView()); RecipeFileManager.Instance.Initialize(new SicRecipeFileContext(), true, SC.GetValue("System.RecipeSaveToDB")); @@ -102,6 +100,9 @@ namespace SicRT.Instances //Singleton.Instance.Initialize(); HistoryCoatingManager.Instance.Initialize(); + + //! DataCollectionManager必须在最后初始化,否则在其之后注册的DATA数据均会被忽略 + Singleton.Instance.Initialize(); }