//---------------------------------------------------------------------------

#ifndef FrmCctvImgFH
#define FrmCctvImgFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
#include "CDSFacilityF.h"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
//---------------------------------------------------------------------------
class TFrmCctvImg : public TForm
{
__published:	// IDE-managed Components
    TTimer *TmrShow;
    TPanel *PnlBack;
    TImage *ImgStop;
    TADOQuery *pADO;
    TcxLabel *lblErr1;
    TcxLabel *lblErr2;
    TcxLabel *lblErr3;
    TcxLabel *lblErr4;
    TcxLabel *lblErr6;
    TcxLabel *lblErr5;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall TmrShowTimer(TObject *Sender);
private:	// User declarations
public:		// User declarations

    TCctvCtlr *FObj;

    void __fastcall LoadStopImage();
    bool __fastcall LoadDbImage();
    
public:		// User declarations
    __fastcall TFrmCctvImg(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmCctvImg *FrmCctvImg;
//---------------------------------------------------------------------------
#endif

