-
Notifications
You must be signed in to change notification settings - Fork 6
/
StatusBitsDlg.h
61 lines (47 loc) · 1.35 KB
/
StatusBitsDlg.h
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
#if !defined(AFX_StatusBitsDLG_H__E0E7EDF0_4DB7_11D3_8DE5_00E018900F2A__INCLUDED_)
#define AFX_StatusBitsDLG_H__E0E7EDF0_4DB7_11D3_8DE5_00E018900F2A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BaseDefines.h"
#include <afxwin.h>
#include <afxdlgs.h>
#include "EcuData.h"
#include "SupervisorInterface.h"
#include "Led.h"
#include "resource.h"
class CStatusBitsDlg : public CPropertyPage
{
DECLARE_DYNCREATE(CStatusBitsDlg)
// Construction
public:
CStatusBitsDlg();
~CStatusBitsDlg();
// Dialog Data
private:
//{{AFX_DATA(CStatusBitsDlg)
enum { IDD = IDD_STATUSBITS };
CLed m_led3;
CLed m_led2;
CLed m_led1;
//}}AFX_DATA
CSupervisorInterface* m_pSupervisor;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CStatusBitsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
void Refresh(const CEcuData* const ecuData);
void RegisterSupervisor(CSupervisorInterface* const pSupervisor);
// Implementation
private:
// Generated message map functions
//{{AFX_MSG(CStatusBitsDlg)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_StatusBitsDLG_H__E0E7EDF0_4DB7_11D3_8DE5_00E018900F2A__INCLUDED_)