📄 livecontrollerdlg.h
字号:
// LiveControllerDlg.h : header file
//
#if !defined(AFX_LIVECONTROLLERDLG_H__A5311C64_0D4C_46C9_B5E9_487D9F9BD77C__INCLUDED_)
#define AFX_LIVECONTROLLERDLG_H__A5311C64_0D4C_46C9_B5E9_487D9F9BD77C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DBInterface.h"
#include "NI_InfoServer.h"
#include "NI_StreamServer.h"
#include "ViewScheDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CLiveControllerDlg dialog
class CLiveControllerDlg : public CDialog
{
// Construction
public:
CLiveControllerDlg(CWnd* pParent = NULL); // standard constructor
CDBInterface m_DBInterface;
// Dialog Data
//{{AFX_DATA(CLiveControllerDlg)
enum { IDD = IDD_LIVECONTROLLER_DIALOG };
CEdit m_ctrHistoryInfo;
CEdit m_ctrHistorySS;
CListCtrl m_ctrScheList;
CString m_strStateSS;
CString m_strStateInfo;
CString m_strHistorySS;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLiveControllerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
NI_StreamServer *m_pStreamServer;
CMap<DWORD, DWORD, CSchedule*, CSchedule*> m_ScheMap;
CViewScheDlg m_ViewScheDlg;
void UpdateScheList();
void UpdateScheList( CSchedule *pSche );
void UpdateScheItem( int nIndex, CSchedule *pSche );
// Generated message map functions
//{{AFX_MSG(CLiveControllerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBnAddSche();
afx_msg void OnBnUpdSche();
afx_msg void OnBnDelSche();
afx_msg void OnClickSchelist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkSchelist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBnViewSche();
afx_msg void OnDestroy();
afx_msg void OnBnDetailSs();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnExpertInfo();
afx_msg void OnChannel();
afx_msg void OnWordList();
afx_msg void OnVideoSource();
afx_msg void OnNameList();
//}}AFX_MSG
afx_msg void OnRecvSS_Workstate( WPARAM wParam, LPARAM lParam );
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LIVECONTROLLERDLG_H__A5311C64_0D4C_46C9_B5E9_487D9F9BD77C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -