?? stationstatus.h
字號:
#if !defined(AFX_STATIONSTATUS_H__3F1639DF_2166_4D06_842E_E0ABB66C5CFA__INCLUDED_)
#define AFX_STATIONSTATUS_H__3F1639DF_2166_4D06_842E_E0ABB66C5CFA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StationStatus.h : header file
//
#include "msflexgrid.h"
#include "../utils/TransCK.h"
#include "RightLogin.h"
#include "../utils/TransButton.h"
/////////////////////////////////////////////////////////////////////////////
// CStationStatus dialog
class CStationStatus : public CDialog
{
// Construction
public:
CStationStatus(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStationStatus)
enum { IDD = IDD_STATUS_QUERY };
CComboBox m_stationctl;
CString m_station;
CMSFlexGrid m_grid;
BOOL m_alarmout1;
BOOL m_alarmout2;
BOOL m_alarmout3;
BOOL m_alarmout4;
CTransCK m_alarmout1ctl;
CTransCK m_alarmout2ctl;
CTransCK m_alarmout3ctl;
CTransCK m_alarmout4ctl;
CTransButton m_turnonctl;
CLabel m_lable;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStationStatus)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CBrush m_brush;
int cyc_num;
int all_chnls;
void turnon();
void onintigrid();
LRESULT on_get_ok(WPARAM, LPARAM);
void OnQueryTitle(int channel);
void OnQueryRecord(int channel);
void OnQueryMotionRecord(int channel);
void OnQueryAlarmRecord(int channel);
void OnQuerySchedRecord(int channel);
void onsetgrid(int row, int col, CString str);
BOOL onsetonoffgrid(int row, int col, BOOL m_bool);
BOOL checktime(CTime &t1, CTime &t2, CTime &t3, CTime &t4);
// Generated message map functions
//{{AFX_MSG(CStationStatus)
virtual BOOL OnInitDialog();
afx_msg void OnSetfocusStation();
afx_msg void OnSelchangeStation();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STATIONSTATUS_H__3F1639DF_2166_4D06_842E_E0ABB66C5CFA__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -