/// <summary> /// 设置板卡规划位置 /// </summary> /// <param name="card"></param> /// <param name="axis"></param> /// <param name="pos"></param> /// <param name="count"></param> /// <returns></returns> public short _SR_SetPrfPos(short card, short axis, double pos) { if (tag_CardCount < 1 || card >= tag_CardCount) { return(-1); } short ret = (short)Dmc1000.d1000_set_command_pos(card * tag_AxisCount + axis, (int)pos); return(ret); }
public short _SR_SetEncPos(short card, short axis, double pos) { short ret = (short)Dmc1000.d1000_set_command_pos(card * tag_AxisCount + axis, (int)pos); return(ret); }