#pragma once


#include "bombax.h"

#include "..\pilelibs\includes\robbase\Options.h"


class BOMBAX_API CZmotOpts : public COptions
{
public:
	enum{
		ZO_HALT_CUR =0,     //0 :缺省）取消当前运动
		ZO_HALT_BUFFER,     //1 :取消缓冲的运动
		ZO_HALT_CUR_BUFF,   //2 :取消当前运动和缓冲运动
		ZO_HALT_IMMED,      //3 :立即中断脉冲发送
	};
	//回零方式
	enum{
		ZO_HOME_FWD_Z = 1,
		ZO_HOME_BCK_Z = 2 , 
		ZO_HOME_FWD_ORI = 3, 
		ZO_HOME_BCK_ORI = 4, 
		ZO_HOME_FWD_ORI_Z = 5 ,
		ZO_HOME_BCK_ORI_Z = 6, 
	};
	  
	CZmotOpts( );
	//CZmotOpts(int scene);

	virtual ~CZmotOpts(void);
	  
	virtual COptions* Clone();

public:
	 
	float initSpeed;
	float sramp;         //减速曲线,时间
//	float creep;         //回零反找速度
	
	
	BOOL  bMoveSp;   //插补是否按照sp模式进行移动
	//int   homeMode;
};

