12345678910111213141516171819202122232425262728293031323334 |
- using OpenSEMI.Ctrlib.Controls;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Venus_Core
- {
- public static class VenusGlobalEvents
- {
- public static event Action<Slot> SlotRightClickChangedEvent;
- public static event Action<DragDropEventArgs> SlotWaferTransferEvent;
- public static event Action<string> ReConnectPLCEvent;
- public static void OnSlotRightClickChanged(Slot slot)
- {
- SlotRightClickChangedEvent?.Invoke(slot);
- }
- public static void OnSlotWaferTransfer(DragDropEventArgs e)
- {
- SlotWaferTransferEvent?.Invoke(e);
- }
- public static void OnReConnectPLC(string moduleName)
- {
- ReConnectPLCEvent?.Invoke(moduleName);
- }
- }
- }
|