📄 cz_cl.h
字号:
#if !defined(AFX_CZ_CL_H__6BD14D8F_B643_4122_BA0D_B11047CAF6F4__INCLUDED_)
#define AFX_CZ_CL_H__6BD14D8F_B643_4122_BA0D_B11047CAF6F4__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Cz_cl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCz_cl dialog
#include "Ser_ReadorWrite.h"
class CCz_cl : public CDialog
{
// Construction
public:
bool jl_check();
int getfxsum(int chs);
bool saveall();
bool jul_save(CString table);
bool sj_save(CString talbe);
bool clean();
double GetMax(double *fxz,int rec, int *maxrec,int *minrec);
bool compare_a();
bool compare_f();
bool compare_one_ch();
bool compare_I();
bool compare_spj_2c();
int czj_xcjs(int chs);
int spj_xcjs(int chs);
double m_wtof(CString str);
void save_py();
void save_pz();
void split_jl(TCHAR *jl1,TCHAR *jl2,TCHAR *jl3,TCHAR *jl4);
void TOP_strspl();//拓扑康数据分离
void set_cbg(int index);
double search_cbg(int index);
bool str_copy(TCHAR dec [2048],CString src);
double js_glc(int chs);//计算归零差
int search_czj_record(CString table,int chs,TCHAR *cdm);//某测回垂直角搜索
void SaveData(bool LR);
CCz_cl(CWnd* pParent = NULL); // standard constructor
CSer_ReadorWrite com;//串口
bool spj_del,czj_del;
double spj_glc;//归零差
int clsx_index;
int pre_chs;
double jl;
bool sp,cz;//经过比较后得出重测是否存盘 fasle
// Dialog
//{{AFX_DATA(CCz_cl)
enum { IDD = IDD_CD_GC };
CComboBox m_CDM;
CString m_cdm;
double m_cdg;
double m_spj;
double m_czj;
double m_distance;
double m_dfm;
UINT m_chs;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCz_cl)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
LRESULT OnUserMessage(WPARAM wParam,LPARAM lParam);//用户自定义消息
LRESULT OnUserMessage1(WPARAM wParam,LPARAM lParam);//用户自定义消息
LRESULT OnUserMessage_data(WPARAM wParam,LPARAM lParam);//用户自定义消息
// Generated message map functions
//{{AFX_MSG(CCz_cl)
afx_msg void OnCdCj();//测角
virtual BOOL OnInitDialog();
afx_msg void OnCdCb();//测边
afx_msg void OnStop();
afx_msg void OnSaveOne();//单次测量存盘
afx_msg void OnSelchangeCdm();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnChangeCdg();
afx_msg void OnKillfocus();
afx_msg void OnSetfocus();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CZ_CL_H__6BD14D8F_B643_4122_BA0D_B11047CAF6F4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -