PZMedical2121ZDlg.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // CPZMedical2121ZDlg.h : header file
  2. //
  3. #pragma once
  4. #include "LogFile.h"
  5. #include "AcqCtrl.h"
  6. // CPZMedical2121ZDlg dialog
  7. class CPZMedical2121ZDlg : public CDialogEx
  8. {
  9. // Construction
  10. public:
  11. CPZMedical2121ZDlg(CWnd* pParent = NULL); // standard constructor
  12. // Dialog Data
  13. enum { IDD = IDD_PZMedical2121Z_DIALOG };
  14. protected:
  15. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  16. bool Initial();
  17. // Implementation
  18. protected:
  19. HICON m_hIcon;
  20. CWnd *m_pWnd; // Output handle
  21. bool m_bConnected; // 记录状态备用,服务方与客户方都连接后置为true否则为false
  22. CLogFile *m_pTest;
  23. CAcqCtrl *m_pDetectAcq; // 指向实例化
  24. bool MSGControl(CWnd *Wnd, int nMSGType, int nMSGwParam, int nMSGpParam, int nMSGOutMode = ZSKK_MSG_TYPE_SYNC_NO, int nTargetPosition = ZSKK_MSG_TARGETHANDLE_NULL);
  25. // Generated message map functions
  26. virtual BOOL OnInitDialog();
  27. afx_msg LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  28. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  29. afx_msg void OnPaint();
  30. afx_msg HCURSOR OnQueryDragIcon();
  31. // 响应 WM_COPYDATA 的消息函数 -- 用作进程间传递数据使用
  32. afx_msg LRESULT OnCOPYDATA_MSG(WPARAM wParam, LPARAM lParam);
  33. // 响应其他消息
  34. // 工作流消息处理
  35. afx_msg LRESULT OnMSGWORKFLOW(WPARAM wParam, LPARAM lParam);
  36. // GUI映射消息处理
  37. afx_msg LRESULT OnMSGCALIBRATION(WPARAM wParam, LPARAM lParam);
  38. // 参数设置消息处理
  39. afx_msg LRESULT OnMSGPARAMETER(WPARAM wParam, LPARAM lParam);
  40. DECLARE_MESSAGE_MAP()
  41. public:
  42. virtual BOOL PreTranslateMessage(MSG* pMsg);
  43. afx_msg void OnBnClickedOk();
  44. afx_msg void OnBnClickedCancel();
  45. afx_msg void OnTimer(UINT_PTR nIDEvent);
  46. afx_msg void OnBnClickedButtonRadacq();
  47. afx_msg void OnBnClickedButtonCfacq();
  48. afx_msg void OnBnClickedButtonSelectcf();
  49. afx_msg void OnBnClickedButtonStop();
  50. afx_msg void OnBnClickedButtonOffset();
  51. afx_msg void OnBnClickedButtonGain();
  52. afx_msg void OnBnClickedButtonSelectrad();
  53. };