📄 lsetting.h
字号:
#if !defined(AFX_LSETTING_H__D63B82AB_9C56_45FF_820B_D5FD1D19F51C__INCLUDED_)
#define AFX_LSETTING_H__D63B82AB_9C56_45FF_820B_D5FD1D19F51C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LSetting.h : header file
//
#include "UserChangeI.h"
#include "QueryDecState.h"
#include "RightLogin.h"
/////////////////////////////////////////////////////////////////////////////
// CLSetting dialog
class CLSetting : public CDialog
{
// Construction
public:
CLSetting(CWnd* pParent = NULL); // standard constructor
void updatefile();
bool addfile();
void Openfile();
void savefile();
void delfile();
void update();
bool checkdvrname(CString m_str);
void openmachine();
void savemachine();
void postmsg();
void savedecodestate();
void opendecodestate();
void openalarmserver();
void savealarmserver();
ULONG create_randomdata();
bool testadd(CString m_str, USHORT port);
Remote_Station_setting m_station[120];
Machine_Channel_Setting m_machine[300];
inspect_date_query m_station_data[120];
Alarm_Server_Linking m_alarmserver[300];
bool m_control;
int m_file_length;
int m_file_length1;
int m_file_length2;
int m_file_length3;
// Dialog Data
//{{AFX_DATA(CLSetting)
enum { IDD = IDD_LOGINSETTING };
CTransButton m_ok;
CTransButton m_cancel;
CEdit m_dvrcontrol;
//CIPAddressCtrl m_ipcontrol;
CString m_dvrname;
CString m_ip;
CString m_loginpass;
int m_port;
CString m_loginuser;
CString m_setname;
CLabel m_lable6;
CLabel m_lable5;
CLabel m_lable4;
CLabel m_lable3;
CLabel m_lable2;
CLabel m_lable1;
CTransGroup m_grp1;
CBrush m_brush;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLSetting)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLSetting)
virtual void OnOK();
virtual BOOL OnInitDialog();
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_LSETTING_H__D63B82AB_9C56_45FF_820B_D5FD1D19F51C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -