GlobalEvents.cs 653 B

123456789101112131415161718192021222324252627
  1. using OpenSEMI.Ctrlib.Controls;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Venus_Core
  8. {
  9. public static class VenusGlobalEvents
  10. {
  11. public static event Action<Slot> SlotRightClickChangedEvent;
  12. public static event Action<DragDropEventArgs> SlotWaferTransferEvent;
  13. public static void OnSlotRightClickChanged(Slot slot)
  14. {
  15. SlotRightClickChangedEvent?.Invoke(slot);
  16. }
  17. public static void OnSlotWaferTransfer(DragDropEventArgs e)
  18. {
  19. SlotWaferTransferEvent?.Invoke(e);
  20. }
  21. }
  22. }