using OpenSEMI.Ctrlib.Controls;
using CyberX8_Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CyberX8_MainPages.Views
{
    /// <summary>
    /// JobOperationView.xaml 的交互逻辑
    /// </summary>
    public partial class JobOperationView : UserControl
    {
        public JobOperationView()
        {
            InitializeComponent();
        }

        private void Slot_SlotMouseButtonDown(object sender, MouseButtonEventArgs e)
        {
            GlobalEvents.OnSlotRightClickChanged(sender as Slot);
        }

        private void Slot_WaferTransferStarted(object sender, DragDropEventArgs e)
        {
            try
            {
                GlobalEvents.OnSlotWaferTransfer(e);
            }
            catch (Exception ex)
            {
                Trace.WriteLine(ex);
            }
        }
        
    }
}