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

#ifndef FRAME_IncidentListFH
#define FRAME_IncidentListFH
//---------------------------------------------------------------------------
#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 "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 "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "dxSkinMcSkin.hpp"
//---------------------------------------------------------------------------
class TFRAMEIncidentList : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxList;
    TcxGridTableView *TvList;
    TcxGridLevel *GlList;
	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;
	TcxGridColumn *Column19;
	TcxGridColumn *Column20;
	TcxGridColumn *Column21;
	TcxGridColumn *Column22;
	TcxGridColumn *Column23;
	TcxGridColumn *Column24;
	TcxGridColumn *Column25;
	TcxGridColumn *Column26;
	TcxGridColumn *Column27;
	TcxGridColumn *Column28;
	TcxGridColumn *Column29;
	TcxGridColumn *Column30;
	TcxGridColumn *Column31;
	TcxGridColumn *Column32;
	TcxGridColumn *Column33;
	TcxGridColumn *Column34;
	TcxGridColumn *Column35;

private:	// User declarations
    TcxDataController *m_pGDC;

    TItsCode   *FCodeIST;	//돌발상황 원본 코드 : IST
    TItsCode   *FCodeLTCU;	//소통 등급 코드 : LTCU
    TItsCode   *FCodeICM;	//돌발상황 확인 방법 코드 : ICM
    TItsCode   *FCodeIDTU;	//돌발상황 유형 분류 코드 : IDTU

    TItsCode   *FCodeACTU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나
    TItsCode   *FCodeCRTU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나
    TItsCode   *FCodeEVTU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나
    TItsCode   *FCodeWETU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나
    TItsCode   *FCodeCNTU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나
    TItsCode   *FCodeCATU;	//돌발상황 유형 코드 : ACTU, CRTU, EVTU, WETU 중 하나

    TItsCode   *FCodeSRLU;	//돌발상황 심각도 코드 : SRLU
    TItsCode   *FCodePRTU;	//통행 제한 유형 코드 : PRTU
    TItsCode   *FCodeRSL;	//대응 수준 코드 : RSL
    TItsCode   *FCodeISS;	//돌발상황 진행 단계 코드 : ISS
    //TItsCode   *FCodeICM;	//돌발상황 종료 확인 방법 코드 : ICM
    TItsCode   *FCodeDFW;	//기상 코드 : DFW
    TItsCode   *FCodeVIT;	//VMS 돌발 유형 코드 : VIT
    TItsCode   *FCodeIDT;	//VMS 돌발 유형 세부 코드 : IDT
    TItsCode   *FCodeEDT;	//VMS 돌발 유형 세부 코드 : EDT

public:
    //String  FLastAnsTime;

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

    void __fastcall UpdateList();
};
//---------------------------------------------------------------------------
//extern PACKAGE TFRAMEIncidentList *FRAMEIncidentList;
//---------------------------------------------------------------------------
#endif

