📄 rightcamera.h
字号:
#if !defined(AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_)
#define AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightCamera.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightCamera dialog
#include "../utils/CameraButton.h"
#include "../utils/filter_accel.h"
#include "../utils/Label.h"
#include "../utils/TransButton.h"
#include "../utils/TransGroup.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "notif_opt.h"
#include "ip_port.h"
//##ModelId=3F90BAB402A4
class CRightCamera : public em_dlg<accel_dlg<CDialog> >
{
//##ModelId=3F90BAB402C2
void send_camera_cmd(USHORT cmd);
//##ModelId=3F90BAB402CC
void send_stop();
LONG cmd_mode;
//##ModelId=3F90BAB402D9
static CRightCamera* self;
//##ModelId=3F90BAB402EA
virtual void on_join();
//##ModelId=3F90BAB402F4
virtual void on_leave();
// Construction
public:
//##ModelId=3F90BAB402F6
CRightCamera(CWnd* pParent = NULL); // standard constructor
//##ModelId=3F90BAB402FF
static CRightCamera* the_one();
BOOL checkcamerapopedom(ip_port ipp ,int channel);
//##ModelId=3F90BAB40313
ip_port ipp;
//##ModelId=3F90BAB40317
int channel;
// Dialog Data
//{{AFX_DATA(CRightCamera)
enum { IDD = IDD_RIGHT_CAMERA };
CLabel m_channel;
CLabel m_13;
CSeparator m_s;
CTransButton m_brush_onoff;
CTransButton m_zoom_i;
CTransButton m_zoom_d;
CTransButton m_light_onoff;
CTransButton m_iris_i;
CTransButton m_iris_d;
CTransButton m_focus_i;
CTransButton m_focus_d;
CLabel m_8;
CLabel m_7;
CLabel m_5;
CLabel m_4;
CLabel m_3;
CLabel m_ctrl;
CTransButton m_btn_set;
CTransButton m_btn_load;
CTransGroup m_6;
CTransGroup m_2;
CLabel m_1;
CLabel m_title;
CCameraButton m_btn_dir;
CString m_control;
int m_cam_pos;
ULONG m_savenub;
CString m_chnl;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightCamera)
public:
//##ModelId=3F90BAB500F6
virtual BOOL PreTranslateMessage(MSG* msg);
protected:
//##ModelId=3F90BAB5010A
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//##ModelId=3F90BAB50129
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
//##ModelId=3F90BAB5015B
LRESULT on_update_data(WPARAM, LPARAM);
//##ModelId=3F90BAB50183
LRESULT on_camera_button(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CRightCamera)
//##ModelId=3F90BAB501A1
virtual BOOL OnInitDialog();
//##ModelId=3F90BAB501AC
afx_msg void OnLoad();
//##ModelId=3F90BAB501BF
afx_msg void OnSet();
//##ModelId=3F90BAB501C1
afx_msg void OnIrisD();
//##ModelId=3F90BAB501CA
afx_msg void OnIrisI();
//##ModelId=3F90BAB501D4
afx_msg void OnFocusD();
//##ModelId=3F90BAB501DE
afx_msg void OnFocusI();
//##ModelId=3F90BAB501E8
afx_msg void OnZoomD();
//##ModelId=3F90BAB501F1
afx_msg void OnZoomI();
//##ModelId=3F90BAB501FB
afx_msg void OnLightOnoff();
//##ModelId=3F90BAB50205
afx_msg void OnBrushOnoff();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -