| | |
| | | pauseDisableList.Add(AblationSteps.S5470_LASER_OFF); |
| | | pauseDisableList.Add(AblationSteps.S5480_LASER_OFF_CHECK); |
| | | |
| | | MotorX.Check_Jog_Interlock = Jog_Interlock; |
| | | MotorX.Check_Move_Interlock = Move_Interlock; |
| | | MotorX.Check_Jog_Interlock = Jog_Interlock_MotorX; |
| | | MotorX.Check_Move_Interlock = Move_Interlock_MotorX; |
| | | MotorZ.Check_Jog_Interlock = Jog_Interlock; |
| | | MotorZ.Check_Move_Interlock = Move_Interlock; |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region Function |
| | | private bool Move_Interlock_MotorX() |
| | | { |
| | | if (equipment.User.Level != En_User_Level.Master && equipment.Door_Opened) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | double position = Get_Scanner_Z_A1_Stay_Position(); |
| | | |
| | | if (MotorZ.Is_Inposition(position, equipment.Setting.Inposition_Offset) == false) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | return false; |
| | | } |
| | | |
| | | private bool Jog_Interlock_MotorX(bool positive) |
| | | { |
| | | if (equipment.User.Level != En_User_Level.Master && equipment.Door_Opened) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | double position = Get_Scanner_Z_A1_Stay_Position(); |
| | | |
| | | if (MotorZ.Is_Inposition(position, equipment.Setting.Inposition_Offset) == false) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | return false; |
| | | } |
| | | |
| | | private bool Move_Interlock() |
| | | { |
| | | if (equipment.User.Level != En_User_Level.Master && equipment.Door_Opened) |
| | |
| | | if (on) |
| | | { |
| | | equipment.scanner.Set_Stop(); |
| | | equipment.scanner.Set_Laser_Off(); |
| | | } |
| | | } |
| | | } |