| | |
| | | private User_Info _user; |
| | | private SequenceTimer _modeChangeTime = new SequenceTimer(); |
| | | |
| | | private string _programVersion = "001.002.000"; |
| | | private string _programVersion = "001.002.001"; |
| | | #endregion |
| | | |
| | | #region Construct |
| | |
| | | LD_Stop = true; |
| | | panel_count_info.CleaningCount = 0; |
| | | Panel_Count_Info_Manager.Instance.Save_Panel_Count_Info(panel_count_info); |
| | | } |
| | | |
| | | if(equip_mode != En_Equipment_Mode.Auto) // Auto mode가 아닐 때 |
| | | { |
| | | if(equip_mode == En_Equipment_Mode.Pause && units.Exists(x => x.UnitMode != equip_mode)) |
| | | { |
| | | // Pause wait 상태 일 때는 interlock 발생 X |
| | | } |
| | | else |
| | | { |
| | | if (process.ablation.Get_Is_Position_X_Power_Meter() && process.ablation.Get_Is_Position_Z_Power_Meter()) |
| | | { |
| | | if (sm.Get_Bit(Input_Memory_Address.Laser_Active)) |
| | | { |
| | | scanner.Set_Laser_Off(); |
| | | Interlock_Manager.Add_Interlock_Msg("Laser can't on.", "Please move power meter position."); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | catch(Exception e) |
| | |
| | | return false; |
| | | } |
| | | |
| | | if(Door_Opened) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please door close."); |
| | | return false; |
| | | } |
| | | |
| | | if(!Is_Home_Complete) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please Set Home."); |