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

#ifndef FRAME_UtisStatusListFH
#define FRAME_UtisStatusListFH
//---------------------------------------------------------------------------
#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 <Graphics.hpp>
//---------------------------------------------------------------------------
#include "CDSCodeF.h"
#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 "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxPC.hpp"
#include "cxPCdxBarPopupMenu.hpp"
#include "cxStyles.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
//---------------------------------------------------------------------------
class TFRAMEUtisStatusList : public TFrame
{
__published:	// IDE-managed Components
    TcxPageControl *PgUtis;
    TcxTabSheet *cxTabSheet1;
    TcxGrid *CxUtisRun;
    TcxGridTableView *TvUtisRun;
    TcxGridColumn *ColUtisRunName;
    TcxGridColumn *ColUtisRunCnt;
    TcxGridColumn *ColUtisRunStatus;
    TcxGridColumn *ColUtisRunStatusCd;
    TcxGridColumn *cxGridColumn11;
    TcxGridLevel *GlUtisRun;
    TcxTabSheet *TsUtisRse;
    TcxGrid *CxUtisRse;
    TcxGridTableView *TvUtisRse;
    TcxGridColumn *ColRseType;
    TcxGridColumn *ColRseKind;
    TcxGridColumn *ColRseCnt;
    TcxGridColumn *cxGridColumn4;
    TcxGridColumn *cxGridColumn8;
    TcxGridLevel *GlUtisRse;
    TImage *ImgModule;
    TImage *ImgStop;
    TImage *ImgRun;
    void __fastcall TvUtisRunCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall ColUtisRunStatusCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall ColRseCntCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);

private:	// User declarations
	TItsCode *FCodeCMS;
	TItsCode *FCodeCDS;

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

    void __fastcall InitList();
    void __fastcall InitUtisRun();
    void __fastcall InitRseRun();
    
    void __fastcall UpdateList();
    void __fastcall RefreshList();
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMEUtisStatusList *FRAMEUtisStatusList;
//---------------------------------------------------------------------------
#endif

