00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
#ifndef _S_INTERN_H
00012
#define _S_INTERN_H
00013
00014
#include "utils\u_utils.h"
00015
00016
#include "difrkmty\d_extern.h"
00017
00018
00019
00020
class TScanWindow;
00021
00022
00023
00024
00025
00026
00027 class TSetupStepScanDlg :
public TModalDlg
00028 {
00029
public:
00030
TSetupStepScanDlg(
TScanWindow* );
00031
00032
00033
private:
00034
virtual BOOL Dlg_OnInit( HWND, HWND, LPARAM );
00035
virtual void Dlg_OnCommand( HWND,
int, HWND, UINT );
00036
virtual BOOL
CanClose(
void );
00037
00038
00039
private:
00040
void OnChooseScanType(UINT);
00041
void OnParamSet();
00042
void OnChooseMotor(UINT);
00043
void OnChooseDetector(UINT);
00044
void OnChooseMonitor(UINT);
00045
void OnDynamicActive();
00046
00047
00048
private:
00050
TScanWindow *Scan;
00051
00053 HWND hScanTypeList;
00054
00055
double dArgumentMin,
00056 dArgumentMax,
00057 dArgumentWidth;
00058
00060 DWORD dwMaxCounts;
00061
00063
float fMaxTime;
00064
00066 BOOL bSaveOnReady;
00067
00069
ExScanType eScanType;
00070
00072 BOOL bSaveContinuous;
00073
00075
char szPath[ _MAX_PATH ];
00076
00078
double d2ThetaStart;
00079
00081
00082 };
00083
00084
00085
00086
00087
00088
00089 class TSetupContinuousScanDlg :
public TModalDlg
00090 {
00091
public:
00092
TSetupContinuousScanDlg(
TScanWindow* );
00093
00094
00095
private:
00096
virtual BOOL Dlg_OnInit( HWND, HWND, LPARAM );
00097
virtual void Dlg_OnCommand( HWND,
int, HWND, UINT );
00098
virtual BOOL
CanClose(
void );
00099
00100
00101
private:
00103
TScanWindow *Scan;
00104
00106 HWND hDetectorList, hMotorList;
00107
00108
double dArgumentMin,
00109 dArgumentMax,
00110 dArgumentWidth,
00111 dSpeed;
00112
00114
int nCollectionAmount;
00115
00117
float fMaxTime;
00118
00120 BOOL bSaveOnReady;
00121
00123
00125
00126 };
00127
00128
00129
00130
00131
00132
00133 class TSetupDynamicStepDlg :
public TModalDlg
00134 {
00135
public:
00136
TSetupDynamicStepDlg(
TScanWindow* );
00137
00138
00139
private:
00140
virtual BOOL Dlg_OnInit( HWND, HWND, LPARAM );
00141
virtual void Dlg_OnCommand( HWND,
int, HWND, UINT );
00142
virtual BOOL
CanClose(
void );
00143
00144
00145
private:
00146
int GetStaticId(UINT aBereich);
00147
int GetFactorId(UINT aBereich);
00148
int GetIntensityId(UINT aBereich);
00149
00150
00151
private:
00153
TScanWindow* Scan;
00154
00157
TFloatList ScalerDummy;
00158 };
00159
00160
#endif // _S_INTERN_H
00161
00162
00163
00164