using MECF.Framework.Common.Equipment; using MECF.Framework.UI.Client.ClientBase; using System.Collections.Generic; using System.Linq; namespace EfemDualUI { public class ClientApp : BaseApp { public MainViewModel ViewModelSwitcher { get; set; } public ClientApp() { } protected override void OnInitialize() { WaferMoveManager.Instance.ShowCooling = false; WaferMoveManager.Instance.ShowAligner = false; ModuleManager.Initialize(new List() { new ModuleInfo(ModuleName.LLA.ToString(),null, $"{ModuleName.LLA}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.LLB.ToString(),null, $"{ModuleName.LLB}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.EfemRobot.ToString(),null, $"{ModuleName.EfemRobot}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.Aligner.ToString(),null, $"{ModuleName.Aligner}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.LP1.ToString(),null, $"{ModuleName.LP1}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.LP2.ToString(),null, $"{ModuleName.LP2}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.LP3.ToString(),null, $"{ModuleName.LP3}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.TMRobot.ToString(),null, $"{ModuleName.TMRobot}.ModuleWaferList", true, true), new ModuleInfo(ModuleName.PMA.ToString(),null, $"{ModuleName.PMA}.ModuleWaferList", false, true), new ModuleInfo(ModuleName.PMB.ToString(),null, $"{ModuleName.PMB}.ModuleWaferList", false, true), new ModuleInfo(ModuleName.PMC.ToString(),null, $"{ModuleName.PMC}.ModuleWaferList", false, true), } ); } public override void SwitchPage(string mainMenu, string subMenu, object parameter) { ViewModelSwitcher.SwitchPage(mainMenu, subMenu, parameter); } } }