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

#ifndef FRAME_RepeatCongestListFH
#define FRAME_RepeatCongestListFH
//---------------------------------------------------------------------------
#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 "CDSRepeatCongestF.h"
#include "CDSCodeF.h"
#include "cxCalc.hpp"
#include "cxCheckBox.hpp"
#include "cxClasses.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 "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"
//---------------------------------------------------------------------------
class TFRAMERepeatCongestList : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridColumn *Column00;
    TcxGridColumn *ColumnSeq;
    TcxGridColumn *Column01;
    TcxGridColumn *Column02;
    TcxGridColumn *Column03;
    TcxGridColumn *Column09;
    TcxGridColumn *Column10;
    TcxGridColumn *Column11;
    TcxGridColumn *Column12;
    TcxGridColumn *Column07;
    TcxGridColumn *Column08;
    TcxGridColumn *Column04;
    TcxGridColumn *Column05;
    TcxGridColumn *Column06;
    TcxGridColumn *Column18;
    TcxGridLevel *GlList;
    TcxGridColumn *Column20;
    void __fastcall Column20CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
          TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);

private:	// User declarations
    TcxDataController *m_pGDC;

    TItsCode   *FCodeRCS;
    TItsCode   *FCodeDTW;
    TItsCode   *FCodeLTC;
    TItsCode   *FCodeIFD;

public:
    //String  FLastAnsTime;

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

    void __fastcall UpdateList();
    void __fastcall UpdateListWthr();
    int  __fastcall GetSelLinkIds(String &ALinkIds);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMERepeatCongestList *FRAMERepeatCongestList;
//---------------------------------------------------------------------------
#endif

