/// <summary> /// 设置捕获的电平状态 /// </summary> /// <param name="nCardNum"></param> /// <param name="nAxis">轴号</param> /// <param name="mode">方式 1:Home 捕获 2:Index 捕获</param> /// <returns></returns> public override short SetCaptureMode(short nCardNum, short nAxis, short mode) { short nRtn = 0; nRtn |= CMc.GT_SetCaptureMode(nCardNum, nAxis, mode); return(nRtn); }