00001
#ifndef _TGOTOINTENSITYCMD_H
00002
#define _TGOTOINTENSITYCMD_H
00003
00004
#include "workflow\TCmd.h"
00005
00008 extern TSteering Steering;
00009
00022 class TGotoIntensityCmd :
public TCmd
00023 {
00024
00025
public:
00026
00032
TGotoIntensityCmd (
TCmdTag ct );
00033
00036
virtual ~TGotoIntensityCmd ();
00037
00038
00039
public:
00040
00041
00042
virtual bool GetShowData ( LPSTR );
00043
00044
00045 virtual void GetName ( LPSTR aName )
00046 {
00047 strcpy( aName,
"GotoIntensity" );
00048 }
00049
00050
00051
public:
00052
00053
00054
ECmdCode FirstStep (
void );
00055
00056
00057
ECmdCode ControlStep (
void );
00058
00059
00060
ECmdCode ReadyStep (
void );
00061
00062
00063
private:
00064
00065
int nMotor;
00066
00067 BOOL bSmallAngleSide;
00068
00069
float fSearchIntensity;
00070
00071
double *dDistance;
00072
00073
float *fIntensity;
00074
00075
ECmdParam nReadyAction;
00076
00077
static const UINT nLifo;
00078 };
00079
00080
#endif