领胜LDS 键盘AOI检测项目
src/Bro.Device.GTSCard/GTSCardDriver.cs
@@ -312,7 +312,6 @@
            }
        }
        public override bool AllAxisOn()
        {
            List<Task<bool>> taskList = new List<Task<bool>>(); ;
@@ -387,7 +386,7 @@
                responseMessage.Result = resultList.All(u => u == true);
                if (!responseMessage.Result)
                {
                    responseMessage.Message = $"点位运动异常";
                    responseMessage.Message = $"点位运动异常,运动结果:{string.Join(" ", resultList.Select(u => u ? "1" : "0"))}";
                }
            }
            return responseMessage;
@@ -770,7 +769,14 @@
                    repeatTime--;
                }
                return (ret == (short)GTSRetCode.GRCRunOK) && isStop;
                if (repeatTime <= 0)
                {
                    LogAsync(DateTime.Now, "轴" + optionPara.AxisIndex + "APS_absolute_move未停止", "");
                    return false;
                }
                //return (ret == (short)GTSRetCode.GRCRunOK) && isStop;
                return true;
            }
            catch (Exception ex)
            {
@@ -1056,6 +1062,10 @@
                OnExceptionOccured?.Invoke(DateTime.Now, ex);
                return false;
            }
            finally
            {
            }
        }
        /// <summary>
@@ -1235,7 +1245,9 @@
                            }
                        });
                        _positionWait.SpinOnce();
                        Task.Delay(100).Wait();
                        //_positionWait.SpinOnce();
                    }
                    catch (Exception ex)
                    {
@@ -1272,7 +1284,8 @@
                            }
                        });
                        _statusWait.SpinOnce();
                        Thread.Sleep(10);
                        //Task.Delay(10).Wait();
                    }
                    catch (Exception ex)
                    {