[go: up one dir, main page]

Menu

[r369]: / trunk / VTS3 / SendReadRange.h  Maximize  Restore  History

Download this file

89 lines (69 with data), 2.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#if !defined(AFX_SENDREADRANGE_H__FF515791_1E69_11D6_B126_00A024B53CCB__INCLUDED_)
#define AFX_SENDREADRANGE_H__FF515791_1E69_11D6_B126_00A024B53CCB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SendReadRange.h : header file
//
#include "SendPage.h"
#include "VTSCtrl.h"
//class BACnetDateTime : public
/////////////////////////////////////////////////////////////////////////////
// SendReadRange dialog
class SendReadRange : public CSendPage
{
DECLARE_DYNCREATE(SendReadRange)
// Construction
public:
SendReadRange(void);
VTSObjectIdentifierCtrl m_ObjectID;
VTSEnumeratedCtrl m_PropCombo;
VTSUnsignedCtrl m_ArrayIndex, m_ReadRangePosRef;
VTSDateCtrl m_ReadRangeStartDate, m_ReadRangeEndDate;
VTSTimeCtrl m_ReadRangeStartTime, m_ReadRangeEndTime;
VTSIntegerCtrl m_ReadRangeCount;
void SynchronizeControls( void );
void InitPage( void ); // give it a chance to init
void EncodePage( CByteArray* contents ); // encode the page
static BACnetAPDUEncoder pageContents;
void SavePage( void ); // save contents
void RestorePage( int index = 0 ); // restore contents to last saved values
// unsigned int m_DatumChoice;
// Dialog Data
//{{AFX_DATA(SendReadRange)
enum { IDD = IDD_SENDREADRANGE };
int m_RadioChoice;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(SendReadRange)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(SendReadRange)
virtual BOOL OnInitDialog();
afx_msg void OnChangeArrayindex();
afx_msg void OnChangeEnddatum();
afx_msg void OnObjectidbtn();
afx_msg void OnSelchangePropcombo();
afx_msg void OnRadionone();
afx_msg void OnRadioposition();
afx_msg void OnRadiotime();
afx_msg void OnRadiotimerange();
afx_msg void OnChangeObjectid();
afx_msg void OnSetfocusEnddatum();
afx_msg void OnChangeStartdatum();
afx_msg void OnSetfocusStartdatum();
afx_msg void OnChangeTimestart();
afx_msg void OnChangeEndtime();
afx_msg void OnChangePosRef();
afx_msg void OnChangeCount();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SENDREADRANGE_H__FF515791_1E69_11D6_B126_00A024B53CCB__INCLUDED_)