예제 #1
0
        /// <summary>
        ///     二维位置比较强制输出
        /// </summary>
        /// <param name="cardNo">卡号</param>
        /// <param name="chn">通道号</param>
        /// <param name="level">位置比较输出电平起始电平 0 1</param>
        /// <param name="outputType">输出类型:0 表示脉冲输出,1 表示电平输出</param>
        /// <param name="time">脉冲模式下输出脉冲的时间</param>
        public override short D2DComparePulse(short cardNo, short chn, short level, short outputType, short time)
        {
            short nRtn = 0;

            //清除
            nRtn |= CMc.GT_2DCompareClear(cardNo, chn);
            nRtn |= CMc.GT_2DComparePulse(cardNo, chn, level, outputType, time);
            return(nRtn);
        }