コード例 #1
0
ファイル: GTSMotion.cs プロジェクト: yisea123/AnsonGlue
        /// <summary>
        ///     读取坐标系缓冲区剩余空间大小
        /// </summary>
        /// <param name="nCardNum"></param>
        /// <param name="crd">坐标系号,取值范围[1,2]</param>
        /// <param name="pSpace">插补缓存的剩余空间</param>
        /// <param name="count">(灵猴)轴数</param>
        /// <param name="fifo">插补缓存区号,0:FIFO1 1:FIFO2</param>
        /// <returns></returns>
        public override short CrdSpace(short nCardNum, short crd, out int pSpace, short count = 1, short fifo = 0)
        {
            short nRtn = 0;

            nRtn |= CMc.GT_CrdSpace(nCardNum, crd, out pSpace, fifo);

            return(nRtn);
        }