1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Venus_Themes.Unity
- {
- public static class UIEvents
- {
-
- public static event Action<DoorPara> PMDoorRaiseChangedEvent;
- public static void OnPMDoorRaiseChanged(DoorPara para)
- {
- PMDoorRaiseChangedEvent?.Invoke(para);
- }
- public static event Action<DoorPara> LLTDoorRaiseChangedEvent;
- public static void OnLLTDoorRaiseChanged(DoorPara para)
- {
- LLTDoorRaiseChangedEvent?.Invoke(para);
- }
- public static event Action<DoorPara> LLEDoorRaiseChangedEvent;
- public static void OnLLEDoorRaiseChanged(DoorPara para)
- {
- LLEDoorRaiseChangedEvent?.Invoke(para);
- }
- public static event Action<WaferOperation> ChamberCreateDeleteWaferEvent;
- public static void OnChamberCreateDeleteWafer(WaferOperation para)
- {
- ChamberCreateDeleteWaferEvent?.Invoke(para);
- }
- public static event Action<int> CurrentPageChangedEvent;
- public static void OnCurrentPageChanged(int para)
- {
- CurrentPageChangedEvent?.Invoke(para);
- }
- public static event Action<string> InitRaiseChangedEvent;
- public static void OnInitRaiseChanged(string module)
- {
- InitRaiseChangedEvent?.Invoke(module);
- }
- public static event Action<IncludePara> IncludeRaiseChangedEvent;
- public static void OnIncludeRaiseChanged(IncludePara para)
- {
- IncludeRaiseChangedEvent?.Invoke(para);
- }
- public static event Action<IncludePara> OnlineRaiseChangedEvent;
- public static void OnOnlineRaiseChanged(IncludePara para)
- {
- OnlineRaiseChangedEvent?.Invoke(para);
- }
- }
- public class DoorPara
- {
- public string ModuleName { get; set; }
- public string IsOpen { get; set; }
- }
- public class WaferOperation
- {
- public string ModuleName { get; set; }
- public bool IsCreate { get; set; }
- }
- public class IncludePara
- {
- public string ModuleName { get; set; }
- public bool IsInclude { get; set; }
- }
- }
|