From 706896efd6b2ec43ce3cdd948aca85ef36f93ed7 Mon Sep 17 00:00:00 2001
From: 천호석 <hosuk1418@naver.com>
Date: 화, 06 12월 2022 13:50:57 +0900
Subject: [PATCH] Auto power 측정 중 Laser On 상태에서 power meter 측정 위치가 아닐 시 Laser off후 sequence step 초기화.

---
 SHARP_CLAS_UI/500.Equipment/Equipment.cs |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs
index 84c27e2..4a9ce5f 100644
--- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs
+++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs
@@ -564,7 +564,7 @@
         private User_Info _user;
         private SequenceTimer _modeChangeTime = new SequenceTimer();
 
-        private string _programVersion = "001.002.000";
+        private string _programVersion = "001.002.001";
         #endregion
 
         #region Construct
@@ -997,6 +997,25 @@
                     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)
             {

--
Gitblit v1.9.3