VMS0410MF.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //---------------------------------------------------------------------------
  2. #ifndef VMS0410MFH
  3. #define VMS0410MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. //---------------------------------------------------------------------------
  11. #include "VMSWCAM0F.h"
  12. #include "WindowMsgF.h"
  13. #include "CDSCctvF.h"
  14. #include "cxControls.hpp"
  15. #include "cxGraphics.hpp"
  16. #include "cxLookAndFeelPainters.hpp"
  17. #include "cxLookAndFeels.hpp"
  18. #include "cxPC.hpp"
  19. #include "cxPCdxBarPopupMenu.hpp"
  20. //---------------------------------------------------------------------------
  21. //---------------------------------------------------------------------------
  22. class TVMS0410M : public TForm
  23. {
  24. __published: // IDE-managed Components
  25. TPanel *PnlClient;
  26. private: // User declarations
  27. int FLayout;
  28. void __fastcall SetLayout(int ALayout);
  29. public: // User declarations
  30. __fastcall TVMS0410M(TComponent* Owner, HWND AHandle, TcxTabSheet *ASheet, TXView *AObj);
  31. public:
  32. TcxTabSheet *FSheet;
  33. int FCols, FRows;
  34. TXView *FView;
  35. TVMSWCAM0 *FFrmCamera[MAX_VMS_CAMERA];
  36. HWND FWndParent;
  37. void __fastcall RecalFormSize();
  38. void __fastcall InitCamera();
  39. void __fastcall UpdateCctvMasterInfo();
  40. void __fastcall Play();
  41. void __fastcall Stop();
  42. __property int Layout = { read=FLayout, write=SetLayout };
  43. void __fastcall OnVmsSelectMessage(TMessage &Msg);
  44. void __fastcall OnVmsSelectDblClickMessage(TMessage &Msg);
  45. BEGIN_MESSAGE_MAP
  46. MESSAGE_HANDLER(WM_VMS_SELECT, TMessage, OnVmsSelectMessage)
  47. MESSAGE_HANDLER(WM_VMS_SELECT_DBLCLICK, TMessage, OnVmsSelectDblClickMessage)
  48. END_MESSAGE_MAP(TForm)
  49. };
  50. //---------------------------------------------------------------------------
  51. //extern PACKAGE TVMS0410M *VMS0410M;
  52. //---------------------------------------------------------------------------
  53. #endif