|
@@ -56,16 +56,18 @@ namespace Venus_RT.Instances
|
|
|
Singleton<OperationManager>.Instance.Initialize();
|
|
|
|
|
|
Singleton<DataManager>.Instance.Initialize();
|
|
|
-
|
|
|
- if (RtInstance.pressureType == PressureType.mTorr)
|
|
|
- {
|
|
|
- Singleton<SystemConfigManager>.Instance.Initialize(PathManager.GetCfgDir() + "System.sccfg", PressureType.mTorr);
|
|
|
- }
|
|
|
- else
|
|
|
+
|
|
|
+
|
|
|
+ PressureType pressureType = PressureType.mTorr;
|
|
|
+
|
|
|
+ if (RtInstance.ConfigType == ConfigType.Kepler2200)
|
|
|
{
|
|
|
- Singleton<SystemConfigManager>.Instance.Initialize(PathManager.GetCfgDir() + "System_Kepler2200.sccfg", PressureType.Pa);
|
|
|
+ pressureType = PressureType.Pa;
|
|
|
}
|
|
|
|
|
|
+ Singleton<SystemConfigManager>.Instance.Initialize(PathManager.GetCfgDir() + $"System_{RtInstance.ConfigType}.sccfg", RtInstance.ConfigType);
|
|
|
+
|
|
|
+
|
|
|
RecipeFileManager.Instance.Initialize(new VenusRecipeFileContext(), new VenusSequenceFileContext(), true);
|
|
|
|
|
|
IoProviderManager.Instance.Initialize(PathManager.GetCfgDir() + "IoProviderConfig.xml");
|
|
@@ -76,7 +78,7 @@ namespace Venus_RT.Instances
|
|
|
WaferManager.Instance.Initialize();
|
|
|
|
|
|
AccountExManager.Instance.Initialize(true);
|
|
|
-
|
|
|
+
|
|
|
Singleton<DeviceManager>.Instance.Initialize();
|
|
|
|
|
|
Singleton<DeviceEntity>.Instance.Initialize();
|
|
@@ -98,7 +100,7 @@ namespace Venus_RT.Instances
|
|
|
string s1 = System.Diagnostics.FileVersionInfo.GetVersionInfo(Path.Combine(PathManager.GetAppDir(), "Venus_RT.exe")).ProductVersion;
|
|
|
|
|
|
DATA.Subscribe("GetRTPath", () => AppDomain.CurrentDomain.BaseDirectory);
|
|
|
- DATA.Subscribe("System.PressureUnitType", () => (int)RtInstance.pressureType,SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
+ DATA.Subscribe("System.PressureUnitType", () => (int)pressureType, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
|
|
|
|
|
|
Singleton<ResourceMonitor>.Instance.Initialize();
|