12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- 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<ModuleInfo>()
- {
- 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.Aligner1.ToString(),null, $"{ModuleName.Aligner1}.ModuleWaferList", true, true),
- new ModuleInfo(ModuleName.Aligner2.ToString(),null, $"{ModuleName.Aligner2}.ModuleWaferList", true, true),
- new ModuleInfo(ModuleName.Cooling1.ToString(),null, $"{ModuleName.Cooling1}.ModuleWaferList", true, true),
- new ModuleInfo(ModuleName.Cooling2.ToString(),null, $"{ModuleName.Cooling2}.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);
- }
- }
- }
|