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

#ifndef FrmFacilityAlarmFH
#define FrmFacilityAlarmFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
#include "CDSCodeF.h"
#include "CDSFacilityF.h"
#include "cxButtons.hpp"
#include "cxCalc.hpp"
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxGroupBox.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinCaramel.hpp"
#include "dxSkinCoffee.hpp"
#include "dxSkinDarkRoom.hpp"
#include "dxSkinDarkSide.hpp"
#include "dxSkinFoggy.hpp"
#include "dxSkinGlassOceans.hpp"
#include "dxSkiniMaginary.hpp"
#include "dxSkinLilian.hpp"
#include "dxSkinLiquidSky.hpp"
#include "dxSkinLondonLiquidSky.hpp"
#include "dxSkinMcSkin.hpp"
#include "dxSkinMoneyTwins.hpp"
#include "dxSkinOffice2007Black.hpp"
#include "dxSkinOffice2007Blue.hpp"
#include "dxSkinOffice2007Green.hpp"
#include "dxSkinOffice2007Pink.hpp"
#include "dxSkinOffice2007Silver.hpp"
#include "dxSkinOffice2010Black.hpp"
#include "dxSkinOffice2010Blue.hpp"
#include "dxSkinOffice2010Silver.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "dxSkinSeven.hpp"
#include "dxSkinSharp.hpp"
#include "dxSkinSilver.hpp"
#include "dxSkinStardust.hpp"
#include <Graphics.hpp>
#include "cxCheckBox.hpp"
//---------------------------------------------------------------------------
class TFrmFacilityAlarm : public TForm
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridColumn *ColumnSeq;
    TcxGridColumn *Column01;
    TcxGridColumn *Column02;
    TcxGridColumn *Column03;
    TcxGridColumn *Column04;
    TcxGridColumn *Column05;
    TcxGridColumn *Column06;
    TcxGridColumn *Column07;
    TcxGridColumn *Column99;
    TcxGridLevel *GlList;
    TImage *ImgModule;
    TImage *ImgRun;
    TImage *ImgStop;
    TTimer *TmrTimeOut;
    TcxGridColumn *Column08;
    TPanel *Panel1;
    TcxCheckBox *chkViewAlway;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall Column04CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall TmrTimeOutTimer(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall chkViewAlwayClick(TObject *Sender);
private:	// User declarations
    TItsCode *FCodeRDR;	// µµ·Îµî±Þ

public:
    String  m_sLinkId;
    int     m_nLinkLevel;

    void __fastcall ShowFacilityAlarm();

public:		// User declarations
    __fastcall TFrmFacilityAlarm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmFacilityAlarm *FrmFacilityAlarm;
//---------------------------------------------------------------------------
#endif

