FrmEmptyCameraF.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmEmptyCameraFH
  3. #define FrmEmptyCameraFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. //---------------------------------------------------------------------------
  10. #include "CDSCctvF.h"
  11. #include <ExtCtrls.hpp>
  12. #include <OleCtrls.hpp>
  13. #include <Menus.hpp>
  14. #include "cxContainer.hpp"
  15. #include "cxControls.hpp"
  16. #include "cxEdit.hpp"
  17. #include "cxGraphics.hpp"
  18. #include "cxLabel.hpp"
  19. #include "cxLookAndFeelPainters.hpp"
  20. #include "cxLookAndFeels.hpp"
  21. #include "dxSkinsCore.hpp"
  22. #include "dxSkinBlack.hpp"
  23. #include "dxSkinBlue.hpp"
  24. //---------------------------------------------------------------------------
  25. class TFrmEmptyCamera : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TPanel *PnlCamera;
  29. TTimer *TmrPlay;
  30. TTimer *TmrStop;
  31. TImage *ImgNoData;
  32. TPanel *PnlName;
  33. void __fastcall TmrPlayTimer(TObject *Sender);
  34. void __fastcall TmrStopTimer(TObject *Sender);
  35. private: // User declarations
  36. public: // User declarations
  37. __fastcall TFrmEmptyCamera(TComponent* Owner, TXCctv *ACctv, bool AAutoPlay);
  38. //TAcesTechXPlayer2 *AcesTechXPlayer21;
  39. bool FAutoPlay;
  40. bool FPlay;
  41. long FConHandle;
  42. bool FInstalled;
  43. String FId;
  44. String FGroup;
  45. String FName;
  46. String FStreamingType;
  47. String FViewAddress;
  48. String FFullAddress;
  49. void __fastcall InitCamera(TXCctv *ACctv, bool AAutoPlay=true);
  50. void __fastcall DisplayName(String AName);
  51. void __fastcall Connect();
  52. void __fastcall Disconnect();
  53. void __fastcall CameraRelease();
  54. };
  55. //---------------------------------------------------------------------------
  56. extern PACKAGE TFrmEmptyCamera *FrmEmptyCamera;
  57. //---------------------------------------------------------------------------
  58. #endif