hoursselector.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #if !defined(AFX_HOURSSELECTOR_H__9DF42AC5_C378_11D3_9FF5_0004AC1DC008__INCLUDED_)
  2. #define AFX_HOURSSELECTOR_H__9DF42AC5_C378_11D3_9FF5_0004AC1DC008__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  8. // Microsoft Visual C++, your modifications will be overwritten.
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CHoursSelector wrapper class
  11. class CHoursSelector : public CWnd
  12. {
  13. protected:
  14. DECLARE_DYNCREATE(CHoursSelector)
  15. public:
  16. CLSID const& GetClsid()
  17. {
  18. static CLSID const clsid
  19. = { 0xeb3e1b3f, 0xb948, 0x11d3, { 0x9f, 0xee, 0x0, 0x4, 0xac, 0x1d, 0xc0, 0x8 } };
  20. return clsid;
  21. }
  22. virtual BOOL Create(LPCTSTR lpszClassName,
  23. LPCTSTR lpszWindowName, DWORD dwStyle,
  24. const RECT& rect,
  25. CWnd* pParentWnd, UINT nID,
  26. CCreateContext* pContext = NULL)
  27. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  28. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  29. const RECT& rect, CWnd* pParentWnd, UINT nID,
  30. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  31. BSTR bstrLicKey = NULL)
  32. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  33. pPersist, bStorage, bstrLicKey); }
  34. // Attributes
  35. public:
  36. // Operations
  37. public:
  38. VARIANT GetHoursArray();
  39. BOOL SetHoursArray(const VARIANT& Array);
  40. BOOL WriteDataBase();
  41. void SetDBInfo(LPCTSTR pDataSource, LPCTSTR pDBName, LPCTSTR pUserID, LPCTSTR pPassword);
  42. void SetDvsInfo(LONG PCIP, LONG WndID, LONG DvsIP, LONG VideoChannelID );
  43. void GetDetectDate(LONG PCIP, LONG WndID, LONG DvsIP, LONG VideoChannelID );
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_HOURSSELECTOR_H__9DF42AC5_C378_11D3_9FF5_0004AC1DC008__INCLUDED_)