| | |
| | | } |
| | | case AblationSteps.S5320_LASER_ON: |
| | | { |
| | | if (equipment.scanner.Set_Laser_On()) |
| | | if (equipment.process.ablation.MotorX.MotionComplete && equipment.process.ablation.MotorZ.MotionComplete) |
| | | { |
| | | auto_power_view.Add_Info($"Laser On."); |
| | | Step = AblationSteps.S5330_LASER_ON_CHECK; |
| | | if (equipment.process.ablation.Get_Is_Position_X_Power_Meter() && equipment.process.ablation.Get_Is_Position_Z_Power_Meter()) |
| | | { |
| | | if (equipment.scanner.Set_Laser_On()) |
| | | { |
| | | auto_power_view.Add_Info($"Laser On."); |
| | | Step = AblationSteps.S5330_LASER_ON_CHECK; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | Step = AblationSteps.S0000_WAIT; |
| | | } |
| | | } |
| | | break; |
| | | } |
| | |
| | | } |
| | | case AblationSteps.S5420_LASER_ON: |
| | | { |
| | | if (equipment.scanner.Set_Laser_On()) |
| | | if (equipment.process.ablation.MotorX.MotionComplete && equipment.process.ablation.MotorZ.MotionComplete) |
| | | { |
| | | Step = AblationSteps.S5430_LASER_ON_CHECK; |
| | | if (equipment.process.ablation.Get_Is_Position_X_Power_Meter() && equipment.process.ablation.Get_Is_Position_Z_Power_Meter()) |
| | | { |
| | | if (equipment.scanner.Set_Laser_On()) |
| | | { |
| | | auto_power_view.Add_Info($"Laser On."); |
| | | Step = AblationSteps.S5430_LASER_ON_CHECK; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | Step = AblationSteps.S0000_WAIT; |
| | | } |
| | | } |
| | | break; |
| | | } |