12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- //---------------------------------------------------------------------------
- #ifndef FrmCameraFH
- #define FrmCameraFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- //---------------------------------------------------------------------------
- #include "CDSCctvF.h"
- #include <ExtCtrls.hpp>
- #include "AcesTechXPlayer2Lib_OCX.h"
- #include <OleCtrls.hpp>
- #include <Menus.hpp>
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- //---------------------------------------------------------------------------
- class TFrmCamera : public TForm
- {
- __published: // IDE-managed Components
- TPanel *PnlCamera;
- TPopupMenu *PopupMenu1;
- TMenuItem *MnuConnect;
- TMenuItem *MnuDisconnect;
- TMenuItem *MnuRelease;
- TMenuItem *N2;
- TTimer *TmrPlay;
- TTimer *TmrStop;
- TImage *ImgNoData;
- TcxLabel *LblName;
- TAcesTechXPlayer2 *AcesTechXPlayer21;
- void __fastcall MnuConnectClick(TObject *Sender);
- void __fastcall MnuDisconnectClick(TObject *Sender);
- void __fastcall MnuReleaseClick(TObject *Sender);
- void __fastcall TmrPlayTimer(TObject *Sender);
- void __fastcall TmrStopTimer(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TFrmCamera(TComponent* Owner, TXCctv *ACctv, bool AAutoPlay);
- //TAcesTechXPlayer2 *AcesTechXPlayer21;
- bool FAutoPlay;
- bool FPlay;
- long FConHandle;
- bool FInstalled;
- String FId;
- String FGroup;
- String FName;
- String FStreamingType;
- String FViewAddress;
- String FFullAddress;
- void __fastcall InitCamera(TXCctv *ACctv, bool AAutoPlay=true);
- void __fastcall DisplayName(String AName);
- void __fastcall Connect();
- void __fastcall Disconnect();
- void __fastcall CameraRelease();
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmCamera *FrmCamera;
- //---------------------------------------------------------------------------
- #endif
|