12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // CPZMedical2121ZDlg.h : header file
- //
- #pragma once
- #include "LogFile.h"
- #include "AcqCtrl.h"
- // CPZMedical2121ZDlg dialog
- class CPZMedical2121ZDlg : public CDialogEx
- {
- // Construction
- public:
- CPZMedical2121ZDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- enum { IDD = IDD_PZMedical2121Z_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- bool Initial();
- // Implementation
- protected:
- HICON m_hIcon;
- CWnd *m_pWnd; // Output handle
- bool m_bConnected; // 记录状态备用,服务方与客户方都连接后置为true否则为false
- CLogFile *m_pTest;
- CAcqCtrl *m_pDetectAcq; // 指向实例化
- bool MSGControl(CWnd *Wnd, int nMSGType, int nMSGwParam, int nMSGpParam, int nMSGOutMode = ZSKK_MSG_TYPE_SYNC_NO, int nTargetPosition = ZSKK_MSG_TARGETHANDLE_NULL);
- // Generated message map functions
- virtual BOOL OnInitDialog();
- afx_msg LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- // 响应 WM_COPYDATA 的消息函数 -- 用作进程间传递数据使用
- afx_msg LRESULT OnCOPYDATA_MSG(WPARAM wParam, LPARAM lParam);
- // 响应其他消息
- // 工作流消息处理
- afx_msg LRESULT OnMSGWORKFLOW(WPARAM wParam, LPARAM lParam);
- // GUI映射消息处理
- afx_msg LRESULT OnMSGCALIBRATION(WPARAM wParam, LPARAM lParam);
- // 参数设置消息处理
- afx_msg LRESULT OnMSGPARAMETER(WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- afx_msg void OnBnClickedOk();
- afx_msg void OnBnClickedCancel();
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- afx_msg void OnBnClickedButtonRadacq();
- afx_msg void OnBnClickedButtonCfacq();
- afx_msg void OnBnClickedButtonSelectcf();
- afx_msg void OnBnClickedButtonStop();
- afx_msg void OnBnClickedButtonOffset();
- afx_msg void OnBnClickedButtonGain();
- afx_msg void OnBnClickedButtonSelectrad();
- };
|