ProcessAlarm.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #if !defined(AFX_ProcessAlarm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_ProcessAlarm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ProcessAlarm.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ProcessAlarm form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. // Á÷³Ì¼à¿ØÊÓ´°;
  14. class ProcessAlarm : public MyFormView
  15. {
  16. CTimeSpan tmdt;
  17. CTime tmdoday;
  18. CTime tmdindan;
  19. CArray<CStringArray, CStringArray>m_List1array;
  20. protected:
  21. ProcessAlarm(); // protected constructor used by dynamic creation
  22. DECLARE_DYNCREATE(ProcessAlarm)
  23. // Form Data
  24. public:
  25. //{{AFX_DATA(ProcessAlarm)
  26. enum { IDD = IDD_DLGProcessAlarm };
  27. CComboBox m_combo1;
  28. CSortListCtrl3 m_List1;
  29. CStatic m_static1;
  30. CString m_filter;
  31. BOOL m_check1;
  32. BOOL m_check2;
  33. //}}AFX_DATA
  34. // Attributes
  35. public:
  36. // Operations
  37. public:
  38. void HidePrice();
  39. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  40. int FindArray(CStringArray *pArray, CString Str);
  41. void GetSavePath(CString &path);
  42. void GetNo(CString str, CStringArray &array);
  43. void FillGrid(BOOL bStatus=0);
  44. // Overrides
  45. // ClassWizard generated virtual function overrides
  46. //{{AFX_VIRTUAL(ProcessAlarm)
  47. public:
  48. virtual void OnInitialUpdate();
  49. virtual BOOL PreTranslateMessage(MSG* pMsg);
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. virtual ~ProcessAlarm();
  56. #ifdef _DEBUG
  57. virtual void AssertValid() const;
  58. virtual void Dump(CDumpContext& dc) const;
  59. #endif
  60. // Generated message map functions
  61. //{{AFX_MSG(ProcessAlarm)
  62. afx_msg void OnBUTclose();
  63. afx_msg void OnButton1();
  64. afx_msg void OnSelchangeCombo1();
  65. afx_msg void OnTimer(UINT nIDEvent);
  66. afx_msg void OnBUTshowphoto();
  67. afx_msg void OnBUTexportphoto();
  68. afx_msg void OnBUTimportphoto();
  69. afx_msg void OnButton2();
  70. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  71. afx_msg void OnBUTProcessAlarm();
  72. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  73. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  74. afx_msg void OnBUTburncd2();
  75. afx_msg void OnCheck1();
  76. afx_msg void OnCheck2();
  77. //}}AFX_MSG
  78. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  79. DECLARE_MESSAGE_MAP()
  80. };
  81. /////////////////////////////////////////////////////////////////////////////
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  84. #endif // !defined(AFX_ProcessAlarm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)