コード例 #1
0
ファイル: Frm_Main.cs プロジェクト: JasmineZK/AsuMotionDevice
        private void AsuMotionDirectPlanFlush(object sender, EventArgs e)
        {
            int ret = AsuInvoke.AsuMotion_DirectPlanFlush(handle);

            switch (ret)
            {
            case 0:
                Print("将缓冲区中添加的直接规划刷新 成功");
                break;

            case 1:
                Print("将缓冲区中添加的直接规划刷新 失败,设备句柄为空指针,一般因为没有打开设备导致");
                break;

            default:
                Print("将缓冲区中添加的直接规划刷新 失败,当前缓冲区满,等待一会再添加");
                break;
            }
        }