00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
#ifndef __MJ_OLD_H
00014
#define __MJ_OLD_H
00015
00016
#include "utils\u_utils.h"
00017
00018
#include "detecuse\detecuse.h"
00019
00020
00021
00022
00023
00024
00025
00026 class TAngleControlDlg :
public TModalDlg
00027 {
00028
public:
00029
TAngleControlDlg();
00030
int GetBarEgde(
EScrollBarSide );
00031
int GetBarPos(
void );
00032
void Dlg_OnHScrollBar( HWND, HWND, UINT,
int );
00033
void Dlg_OnTimer( HWND, UINT );
00034
void Dlg_OnCommand( HWND,
int, HWND, UINT );
00035 BOOL
Dlg_OnInit( HWND, HWND, LPARAM );
00036
void Interrupt(
void );
00037
void LeaveDialog(
void );
00038
private:
00039
int AskTime;
00040 BOOL bStepMode;
00041 BOOL bMoveActive;
00042 BOOL bLongMove;
00043 BOOL bMeasureHwb;
00044 HWND BarHandle;
00045 HWND hMotorList;
00046
int BarFactor;
00047
int nMotor;
00048
TDetector* Sensor;
00049
double* MoveSpeed;
00050 };
00051
00052
#endif //__MJ_OLD.H
00053
00054
00055
00056