~d-nelson/research-assistant/nextDNK

« back to all changes in this revision

Viewing changes to RAPlugins/RigakuAPRI/RigakuScan.h

  • Committer: Viktor Bursian
  • Date: 2013-06-06 15:10:08 UTC
  • Revision ID: vbursian@gmail.com-20130606151008-6641eh62f0lgx8jt
Tags: version_0.3.0
version 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
////////////////////////////////////////////////////////////////////////////////
2
 
/*! @file RigakuScan.h   Людмил - прибор Русланы.
 
2
/*! @file RigakuScan.h   XRD Rigaku Scanner.
3
3
- Part of RigakuAPRI - Research Assistant Plugin package.
4
4
- Uses  RAGUI - Research Assistant Graphical User Interface.
5
5
- Uses  QtGui v.4.6  -  http://qt.nokia.com/
21
21
ANNOUNCE_CLASS(sRigakuScan)
22
22
 
23
23
//-------------------------------------------------------------- sRigakuScan ---
24
 
/*! Консоль Людмила.
 
24
/*! XRD Rigaku Scanner.
25
25
*/
26
26
class  RigakuAPRI_EXPORT   sRigakuScan : public sPeriodicGageRecorder
27
27
{
28
28
  Q_OBJECT
29
29
  CONSOLE(sRigakuScan)
 
30
  public://static const
 
31
    static csString           SpeedUnits;
 
32
 
30
33
  public:
31
34
    virtual                   ~sRigakuScan ();
 
35
    virtual void              RestoreState ();
 
36
    virtual void              StoreState ();
32
37
 
33
38
  public slots:
34
 
    virtual void              Connect ();
35
39
 
36
 
  private slots:
37
 
    void                      EnterStandby ();
38
 
    void                      ReportError ();
39
 
    void                      OnStartScan ();
40
 
    void                      OnFinishScan ();
 
40
  protected slots:
 
41
    virtual void              StartScan ();
 
42
    virtual void              StartRecording ();
 
43
    virtual void              FinishScan ();
41
44
 
42
45
  protected: //fields
43
46
    sAPRI_ML327_Counter::sPtr PhotonCounter;
44
 
 
45
 
  private: //fields
 
47
                              /*!< Совпадает с sPeriodicGageRecorder::Gage,
 
48
                                   но позволяет пользоваться дополнительными
 
49
                                   возможностями класса sAPRI_ML327_Counter */
 
50
 
 
51
    sPhysValue                StartQuantum;
 
52
 
 
53
    static const int          MaxNumOfSpeeds = 12;
 
54
    real                      Speeds[MaxNumOfSpeeds];
 
55
    int                       NumOfSpeeds;
 
56
 
 
57
  protected: //fields
 
58
 
46
59
    QLabel *                  LblStepUnit;
47
60
    QLabel *                  LblSpeed;
48
61
    QComboBox *               FldSpeed;
49
62
    QLabel *                  LblSpeedUnit;
50
 
    real                      Speeds[12];
51
 
    real                      StartQuantum;
52
 
    int                       NumOfSpeeds;
53
63
};
54
64
 
55
65
//------------------------------------------------------------------------------