コード例 #1
0
ファイル: GTSMotion.cs プロジェクト: yisea123/AnsonGlue
        /// <summary>
        ///     获取捕获状态
        /// </summary>
        /// <param name="nCardNum"></param>
        /// <param name="nAxis">轴号</param>
        /// <param name="pStatus">状态</param>
        /// <param name="pValue">捕获位置</param>
        /// <param name="count">轴数</param>
        /// <returns></returns>
        public override short GetCaptureStatus(short nCardNum, short nAxis, out short pStatus, out int pValue,
                                               short count)
        {
            short nRtn = 0;

            nRtn |= CMc.GT_GetCaptureStatus(nCardNum, nAxis, out pStatus, out pValue, count, out m_oClk);

            if (nRtn != 0)
            {
                return(nRtn);
            }
            return(nRtn);
        }