private void AsuMotionDirectPlanAddMoveIncrease(object sender, EventArgs e) { AsuDll.AsuMotionDirectMoveInc Inc = new AsuDll.AsuMotionDirectMoveInc() { }; int ret = AsuInvoke.AsuMotion_DirectPlanAddMoveIncrease(handle, ref Inc); switch (ret) { case 0: Print("添加一次坐标增量 成功"); break; case 1: Print("添加一次坐标增量 失败,设备句柄为空指针,一般因为没有打开设备导致"); break; default: Print("添加一次坐标增量 失败,当前缓冲区满,等待一会再添加"); break; } }