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

#ifndef FRAME_AtmpPltnListFH
#define FRAME_AtmpPltnListFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
//---------------------------------------------------------------------------
#include "CDSCodeF.h"
#include "CDSVilgFrcsF.h"
#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 "cxGridBandedTableView.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "dxSkinMcSkin.hpp"
//---------------------------------------------------------------------------
class TFRAMEAtmpPltnList : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridBandedTableView *TvList;
    TcxGridBandedColumn *Col00;
    TcxGridBandedColumn *Col01;
    TcxGridBandedColumn *Col02;
    TcxGridBandedColumn *Col03;
    TcxGridBandedColumn *Col04;
    TcxGridBandedColumn *Col05;
    TcxGridBandedColumn *Col06;
    TcxGridBandedColumn *Col07;
    TcxGridBandedColumn *Col08;
    TcxGridBandedColumn *Col09;
    TcxGridBandedColumn *Col10;
    TcxGridBandedColumn *Col11;
    TcxGridBandedColumn *Col12;
    TcxGridBandedColumn *Col13;
    TcxGridBandedColumn *Col14;
    TcxGridBandedColumn *Col15;
    TcxGridBandedColumn *Col16;
    TcxGridBandedColumn *Col17;
    TcxGridBandedColumn *Col18;
    TcxGridBandedColumn *Col19;
    TcxGridBandedColumn *Col20;
    TcxGridBandedColumn *Col21;
    TcxGridBandedColumn *TvListColumn23;
    TcxGridBandedColumn *TvListColumn24;
    TcxGridBandedColumn *Col30;
    TcxGridBandedColumn *Col31;
    TcxGridBandedColumn *Column99;
    TPanel *Panel1;
    TPanel *Panel2;
    TPanel *Panel3;
    TcxLabel *Lbl1;
    TcxLabel *cxLabel8;
    TcxLabel *Lbl2;
    TcxLabel *cxLabel6;
    TcxLabel *Lbl3;
    TcxLabel *cxLabel4;
    TcxLabel *Lbl4;
    TcxLabel *cxLabel2;
    TcxLabel *Lbl0;
    TcxLabel *cxLabel1;
    TcxLabel *LblAlarm;
    TcxGridBandedColumn *ColUPDT_DT;
    void __fastcall Col13CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
          TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
    void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
          TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);

private:	// User declarations
    TcxDataController *m_pGDC;

public:
    //String  FLastAnsTime;
    int FAlarmCount1;

public:		// User declarations
    __fastcall TFRAMEAtmpPltnList(TComponent* Owner);

    void __fastcall UpdateList();
    void __fastcall RefreshList();
    void __fastcall UpdateSprpList();
    int __fastcall GetAlarmCount() { return FAlarmCount1; }
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMEAtmpPltnList *FRAMEAtmpPltnList;
//---------------------------------------------------------------------------
#endif

