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.

98 lines
2.6 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: PropLgsDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropLgsDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_)
  15. #define AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // PropLgsDlg.h : header file
  20. //
  21. #include "..\DLIB\ObjectFactory.h"
  22. #include "..\DLIB\SingleIPI.h" // Added by ClassView
  23. #include "afxcmn.h"
  24. #include "afxwin.h"
  25. using namespace OFNS;
  26. class CPropLgsDlg : public CDialog
  27. {
  28. // Construction
  29. public:
  30. CPropLgsDlg(CWnd* pParent = NULL); // standard constructor
  31. int DoModal(COFDevice *pDevice);
  32. // Dialog Data
  33. //{{AFX_DATA(CPropLgsDlg)
  34. enum { IDD = IDD_LGS_DLG };
  35. CSpinButtonCtrl m_AddressCCC;
  36. CSpinButtonCtrl m_SpinAddress;
  37. CSpinButtonCtrl m_SpinZero;
  38. CButton m_ButtonSingleIPI;
  39. CEdit m_Address;
  40. CComboBox m_Type;
  41. int m_nAddress;
  42. CString m_Name;
  43. CSpinButtonCtrl m_SpinImageCount;
  44. //}}AFX_DATA
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(CPropLgsDlg)
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. protected:
  53. // Generated message map functions
  54. //{{AFX_MSG(CPropLgsDlg)
  55. virtual BOOL OnInitDialog();
  56. virtual void OnOK();
  57. afx_msg void OnSelchangeComboLgsType();
  58. afx_msg void OnButtonIpiOperator();
  59. afx_msg void OnButtonClearDraw();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. private:
  63. CSingleIPI m_SingleIPI;
  64. COFDeviceLGS *m_pDevice;
  65. BOOL m_bSingleIPI;
  66. public:
  67. CListCtrl m_ListRemote;
  68. CListCtrl m_ListTilt;
  69. CSpinButtonCtrl m_SpinTilt;
  70. CEdit m_EditMaster;
  71. CEdit m_EditSlave;
  72. CEdit m_EditPanShift;
  73. CSpinButtonCtrl m_SpinPanShift;
  74. CEdit m_EditTilt;
  75. CButton m_CheckRemote;
  76. public:
  77. afx_msg void OnBnClickedCheckRemote();
  78. afx_msg void OnLvnItemchangedListRemote(NMHDR *pNMHDR, LRESULT *pResult);
  79. afx_msg void OnEnChangeEditRemote();
  80. afx_msg void OnLvnItemchangedListTilt(NMHDR *pNMHDR, LRESULT *pResult);
  81. afx_msg void OnEnChangeEditTilt();
  82. };
  83. //{{AFX_INSERT_LOCATION}}
  84. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  85. #endif // !defined(AFX_PROPLGSDLG_H__25DB3F9A_F1CA_45B0_B5FE_D832D13FD262__INCLUDED_)