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

#ifndef FRAME_TrafficLinkListFH
#define FRAME_TrafficLinkListFH
//---------------------------------------------------------------------------
#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 "cxButtons.hpp"
#include "cxCalc.hpp"
#include "cxCheckBox.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 "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "cxLabel.hpp"
//---------------------------------------------------------------------------
class TFRAMETrafficLinkList : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridColumn *Column01;
    TcxGridColumn *Column02;
    TcxGridColumn *Column03;
    TcxGridColumn *Column04;
    TcxGridColumn *Column05;
    TcxGridColumn *Column06;
    TcxGridColumn *Column07;
    TcxGridColumn *Column08;
    TcxGridColumn *Column09;
    TcxGridColumn *Column10;
    TcxGridColumn *Column11;
    TcxGridColumn *Column12;
    TcxGridColumn *Column13;
    TcxGridColumn *Column14;
    TcxGridColumn *Column15;
    TcxGridColumn *Column16;
    TcxGridColumn *Column17;
    TcxGridColumn *Column18;
    TcxGridLevel *GlList;
    TPanel *PnlBottom;
    TcxCheckBox *ChkDispExt;
    TcxButton *BtnExlSave;
    TLabel *LblRecords;
    TcxLabel *lblFileName;
    void __fastcall ChkDispExtPropertiesChange(TObject *Sender);
    void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
    void __fastcall BtnExlSaveClick(TObject *Sender);
    void __fastcall Column09CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall Column11CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);

private:	// User declarations
    TcxDataController *m_pGDC;
    TItsCode   *FCodeLTC;
    TItsCode   *FCodeCST;
    TItsCode   *FCodeMCS;

public:
    String  FLastAnsTime;

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

    void __fastcall UpdateList();
    int  __fastcall GetSelLinkIds(String &ALinkIds);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMETrafficLinkList *FRAMETrafficLinkList;
//---------------------------------------------------------------------------
#endif

