00001
#ifndef _TOPOGRFY_H
00002
#define _TOPOGRFY_H
00003
00005
#include "detecuse\detecuse.h"
00006
00007
00008
00009 class TTopographyExecuteDlg :
public TModalDlg
00010 {
00011
public:
00012
TTopographyExecuteDlg(
void );
00013 BOOL
Dlg_OnInit( HWND, HWND, LPARAM );
00014
void Dlg_OnCommand( HWND,
int, HWND, UINT );
00015
void Dlg_OnTimer( HWND, UINT );
00016
void LeaveDialog(
void );
00017
private:
00018 BOOL bControlActive;
00019 BOOL bSetupOk;
00020 BOOL bStartPointOk;
00021
int RestShots;
00022 BOOL bStarted;
00023 BOOL bTimeFinish;
00024 BOOL bAdditionalTime;
00025 BOOL bExeptionOccured;
00026 BOOL bTimeRunning;
00027 DWORD CurrentTime, StartTime;
00028
TDetector *Detector;
00029
int nMotor;
00030 };
00031
00032 class TTopographySetParamDlg :
public TModalDlg
00033 {
00034
public:
00035
TTopographySetParamDlg(
int );
00036 char SensorList[7][30];
00037 BOOL
CanClose(
void );
00038
void Dlg_OnCommand( HWND,
int, HWND, UINT );
00039 BOOL
Dlg_OnInit( HWND, HWND, LPARAM );
00040
void LeaveDialog(
void );
00041
private:
00042
int nRestrictions;
00043 HWND hDetectorList, hMotorList;
00044
int nMotor;
00045
00046
TDetector *Detector;
00047
TDetector *Monitor;
00048 };
00049
00050
00051 class TTopographyOld
00052 {
00053
friend TTopographyExecuteDlg;
00054
friend TTopographySetParamDlg;
00055
public:
00056
TTopographyOld(
void );
00057
void Initialize(
void );
00058
protected:
00059 BOOL
bSmallAngleSide;
00060
00061 WORD
nNumberCycle;
00062 float fWorkPoint;
00063 float fControlRange;
00064 float fControlStep;
00065 float fMoveStep;
00066 float fMaxAngleEscape;
00067 long lMeasurementTime;
00068 int nMotor;
00069 TDetector *
Sensor;
00070 float fFailure;
00071 float fMaxTime;
00072 DWORD
dwMaxCounts;
00073 BOOL
bMonitorUsed;
00074 TDetector *
Monitor;
00075 BOOL
bMultibleShot;
00076 double dStartAngle;
00077 float fAngleBetweenShots;
00078 };
00079
00080
00081
#endif
00082
00083