diff --git a/Rs.DeweyTester/Flow/SubFlow/FixedGrabProductFlow.cs b/Rs.DeweyTester/Flow/SubFlow/FixedGrabProductFlow.cs index 2885789..c1b8151 100644 --- a/Rs.DeweyTester/Flow/SubFlow/FixedGrabProductFlow.cs +++ b/Rs.DeweyTester/Flow/SubFlow/FixedGrabProductFlow.cs @@ -150,6 +150,7 @@ namespace Rs.MotionPlat.Flow.SubFlow //VisionResult vResult = VisionHelper.Grab(EVisionScene.SingleScanBarcode); if ((result != null && result.Result == EOneGrabSixteenResult.Ok) || GlobalVar.RunSpace) { + LogHelper.Debug("result=ok"); finished = true; if (GlobalVar.RunSpace) { @@ -159,6 +160,7 @@ namespace Rs.MotionPlat.Flow.SubFlow } else { + LogHelper.Debug("result=ng"); if (curGrabNum <= 3) { step = EFixedGrabProductFlowStep.到拍照位上方; diff --git a/Rs.DeweyTester/Properties/AssemblyInfo.cs b/Rs.DeweyTester/Properties/AssemblyInfo.cs index efe2604..2bf7cdd 100644 --- a/Rs.DeweyTester/Properties/AssemblyInfo.cs +++ b/Rs.DeweyTester/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ using System.Runtime.InteropServices; // //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //通过使用 "*",如下所示: - [assembly: AssemblyVersion("20.25.28.1")] + [assembly: AssemblyVersion("20.25.29.1")] //[assembly: AssemblyVersion("1.0.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rs.DeweyTester/Vision/OneGrabOneVision.cs b/Rs.DeweyTester/Vision/OneGrabOneVision.cs index 8527ea0..face0f6 100644 --- a/Rs.DeweyTester/Vision/OneGrabOneVision.cs +++ b/Rs.DeweyTester/Vision/OneGrabOneVision.cs @@ -31,7 +31,8 @@ namespace Rs.MotionPlat.Vision { MessageQueue.Instance.Insert($">>> {data}"); } - else if (Regex.IsMatch( data,"C\\d{0,1},0"))// == "C,0") + //else if (Regex.IsMatch( data,"C\\d{0,1},0"))// == "C,0") + else if (data == "C,0" || data == "C2,0") { visionGrabEvent.Set(); MessageQueue.Instance.Insert($" >>> {data}");