예제 #1
0
 protected override void CaptureEnded()
 {
     SetToolOneLocationCommand.RaiseCanExecuteChanged();
     SetToolTwoLocationCommand.RaiseCanExecuteChanged();
     SetTopCameraLocationCommand.RaiseCanExecuteChanged();
     SetBottomCameraLocationCommand.RaiseCanExecuteChanged();
     SetToolOneMovePositionCommand.RaiseCanExecuteChanged();
     SetToolOnePickPositionCommand.RaiseCanExecuteChanged();
     SetToolOnePlacePositionCommand.RaiseCanExecuteChanged();
 }
예제 #2
0
        public void SetTopCameraLocation()
        {
            if (Machine.Settings.MachineType == FirmwareTypes.LagoVista_PnP)
            {
                Machine.SendCommand("M75");
            }

            TopCameraLocation = new Point2D <double>(Machine.MachinePosition.X, Machine.MachinePosition.Y);
            SetToolOneLocationCommand.RaiseCanExecuteChanged();
            SetToolTwoLocationCommand.RaiseCanExecuteChanged();
        }