1234567891011121314151617181920212223242526272829303132333435363738 |
- using OpenSEMI.Ctrlib.Controls;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CyberX8_Core
- {
- public static class GlobalEvents
- {
- public static event Action<Slot> SlotRightClickChangedEvent;
- public static event Action<DragDropEventArgs> SlotWaferTransferEvent;
- public static event Action<string, string, string> SwitchFixedTabItem;
- public static event Action<string, string> SwitchFixedChildSubItem;
- public static void OnSlotRightClickChanged(Slot slot)
- {
- SlotRightClickChangedEvent?.Invoke(slot);
- }
- public static void OnSlotWaferTransfer(DragDropEventArgs e)
- {
- SlotWaferTransferEvent?.Invoke(e);
- }
- public static void OnSwitchFixedTabItem(string root,string parent,string child)
- {
- SwitchFixedTabItem?.Invoke(root, parent, child);
- }
- public static void OnSwitchFixedChildSubItem(string child,string subItem)
- {
- SwitchFixedChildSubItem?.Invoke(child, subItem);
- }
- }
- }
|