private void SetCurCmd(AxisPara Para) { int Result; Result = (int)Motion.mAcm_AxSetCmdPosition(_AxHand, Para.CurCmd); Log.log("Set CurCmd"); if (Result != (int)ErrorCode.SUCCESS) { Log.ErrorLog("Set CurCmd", Result); } }
public Axis(IntPtr AxisHand, AxisPara Para) { _AxHand = AxisHand; this.Para = Para; SetCurCmd(Para); }