Advanced status calculation fully implemented
[public/netxms.git] / src / console / win32 / ObjectPropsStatus.h
1 #if !defined(AFX_OBJECTPROPSSTATUS_H__F62963D6_0352_4013_99D8_A5F2575A18BD__INCLUDED_)
2 #define AFX_OBJECTPROPSSTATUS_H__F62963D6_0352_4013_99D8_A5F2575A18BD__INCLUDED_
3
4 #include "..\..\..\INCLUDE\nxclapi.h" // Added by ClassView
5 #if _MSC_VER > 1000
6 #pragma once
7 #endif // _MSC_VER > 1000
8 // ObjectPropsStatus.h : header file
9 //
10
11 /////////////////////////////////////////////////////////////////////////////
12 // CObjectPropsStatus dialog
13
14 class CObjectPropsStatus : public CPropertyPage
15 {
16 DECLARE_DYNCREATE(CObjectPropsStatus)
17
18 // Construction
19 public:
20 CObjectPropsStatus();
21 ~CObjectPropsStatus();
22
23 // Dialog Data
24 //{{AFX_DATA(CObjectPropsStatus)
25 enum { IDD = IDD_OBJECT_STATUS };
26 CComboBox m_wndComboS4;
27 CComboBox m_wndComboS3;
28 CComboBox m_wndComboS2;
29 CComboBox m_wndComboS1;
30 CComboBox m_wndComboFixed;
31 int m_iRelChange;
32 double m_dSingleThreshold;
33 double m_dThreshold1;
34 double m_dThreshold2;
35 double m_dThreshold3;
36 double m_dThreshold4;
37 int m_iCalcAlg;
38 int m_iPropAlg;
39 int m_iFixedStatus;
40 int m_iStatusTranslation1;
41 int m_iStatusTranslation2;
42 int m_iStatusTranslation3;
43 int m_iStatusTranslation4;
44 //}}AFX_DATA
45
46
47 // Overrides
48 // ClassWizard generate virtual function overrides
49 //{{AFX_VIRTUAL(CObjectPropsStatus)
50 public:
51 virtual void OnOK();
52 protected:
53 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
54 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
55 //}}AFX_VIRTUAL
56
57 // Implementation
58 protected:
59 void OnCalcAlgChange(void);
60 void OnPropAlgChange(void);
61 // Generated message map functions
62 //{{AFX_MSG(CObjectPropsStatus)
63 virtual BOOL OnInitDialog();
64 //}}AFX_MSG
65 DECLARE_MESSAGE_MAP()
66
67 private:
68 BOOL m_bIsModified;
69 NXC_OBJECT_UPDATE *m_pUpdate;
70 };
71
72 //{{AFX_INSERT_LOCATION}}
73 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
74
75 #endif // !defined(AFX_OBJECTPROPSSTATUS_H__F62963D6_0352_4013_99D8_A5F2575A18BD__INCLUDED_)