Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: PropSocketDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropSocketDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_PROPSOCKETDLG_H__CFC2170D_BCC0_4207_9F85_1DD118D0A9EC__INCLUDED_)
  15. #define AFX_PROPSOCKETDLG_H__CFC2170D_BCC0_4207_9F85_1DD118D0A9EC__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // PropSocketDlg.h : header file
  20. //
  21. #include "..\DLIB\ObjectFactory.h"
  22. using namespace OFNS;
  23. class CPropSocketDlg : public CDialog
  24. {
  25. // Construction
  26. public:
  27. int DoModal( COFDevice *pDevice );
  28. CPropSocketDlg(CWnd* pParent = NULL); // standard constructor
  29. // Dialog Data
  30. //{{AFX_DATA(CPropSocketDlg)
  31. enum { IDD = IDD_SOCKET_DLG };
  32. CEdit m_EditSelfTest;
  33. CButton m_CheckSelfTest;
  34. CSpinButtonCtrl m_SpinSelfTest;
  35. CButton m_SpyMode;
  36. CComboBox m_Type;
  37. CComboBox m_Port;
  38. CComboBox m_BaudRate;
  39. CButton m_Ok;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(CPropSocketDlg)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CPropSocketDlg)
  51. virtual BOOL OnInitDialog();
  52. virtual void OnOK();
  53. afx_msg void OnSelchangeComboSocketType();
  54. afx_msg void OnCheckSelftest();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. private:
  58. COFDeviceSocket *m_pDevice;
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_PROPSOCKETDLG_H__CFC2170D_BCC0_4207_9F85_1DD118D0A9EC__INCLUDED_)