diff --git a/Rs.SkyLine/Flow/SubFlow/LaserFlow.cs b/Rs.SkyLine/Flow/SubFlow/LaserFlow.cs index 1f9cbec..2b18d77 100644 --- a/Rs.SkyLine/Flow/SubFlow/LaserFlow.cs +++ b/Rs.SkyLine/Flow/SubFlow/LaserFlow.cs @@ -210,7 +210,7 @@ namespace Rs.MotionPlat.Flow.SubFlow if (trayType == ETrayType.Test) { //HasProduct = Math.Abs(Math.Abs(TestHeight1 - TestHeight2) - GlobalVar.TestFixtureTrayOffsetHeight)>0.6; - HasProduct = TestHeight1 - TestHeight1 < GlobalVar.TestFixtureTrayOffsetHeight - 0.3; + HasProduct = TestHeight1 - TestHeight2 < GlobalVar.TestFixtureTrayOffsetHeight - 0.3; } else if (trayType == ETrayType.Turnover) {