JobOperationView.xaml.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using OpenSEMI.Ctrlib.Controls;
  2. using CyberX8_Core;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Diagnostics;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows;
  10. using System.Windows.Controls;
  11. using System.Windows.Data;
  12. using System.Windows.Documents;
  13. using System.Windows.Input;
  14. using System.Windows.Media;
  15. using System.Windows.Media.Imaging;
  16. using System.Windows.Navigation;
  17. using System.Windows.Shapes;
  18. namespace CyberX8_MainPages.Views
  19. {
  20. /// <summary>
  21. /// JobOperationView.xaml 的交互逻辑
  22. /// </summary>
  23. public partial class JobOperationView : UserControl
  24. {
  25. public JobOperationView()
  26. {
  27. InitializeComponent();
  28. }
  29. private void Slot_SlotMouseButtonDown(object sender, MouseButtonEventArgs e)
  30. {
  31. GlobalEvents.OnSlotRightClickChanged(sender as Slot);
  32. }
  33. private void Slot_WaferTransferStarted(object sender, DragDropEventArgs e)
  34. {
  35. try
  36. {
  37. GlobalEvents.OnSlotWaferTransfer(e);
  38. }
  39. catch (Exception ex)
  40. {
  41. Trace.WriteLine(ex);
  42. }
  43. }
  44. }
  45. }