//--------------------------------------------------------------------------- #ifndef EVSPH10MFH #define EVSPH10MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "CDSObjectF.h" #include "cxButtons.hpp" #include "cxCalc.hpp" #include "cxCalendar.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDropDownEdit.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 "cxGroupBox.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxMaskEdit.hpp" #include "cxSpinEdit.hpp" #include "cxSplitter.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "cxTimeEdit.hpp" #include "cxTrackBar.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "FRAME_OpenMapF.h" #include "dxSkinMcSkin.hpp" //--------------------------------------------------------------------------- class TEVSPH10M : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TEdit *EdFocus; TPanel *PnlBack; TPanel *PnlLeft; TcxSplitter *cxSplitter1; TcxGroupBox *cxGroupBox2; TImage *ImgDesc01; TLabel *Label26; TImage *ImgDesc02; TLabel *Label6; TcxButton *BtnSearch; TcxGroupBox *cxGroupBox1; TcxLabel *cxLabel1; TcxGroupBox *cxGroupBox3; TcxGroupBox *cxGroupBox5; TcxGrid *CxList; TcxGridTableView *TvList; TcxGridColumn *Column02; TcxGridColumn *Column01; TcxGridColumn *Column03; TcxGridLevel *GlList; TcxGridColumn *Column04; TADOQuery *ADOQry; TADOQuery *ADOSta; TLabel *LblRecords; TcxLabel *lblText1; TcxLabel *lblText2; TcxLabel *lblText3; TFRAMEOpenMap *FRAMEOpenMap1; TDateTimePicker *DtEdTime; TDateTimePicker *DtEdDate; TDateTimePicker *DtStDate; TDateTimePicker *DtStTime; TcxGrid *CxHist; TcxGridTableView *TvHist; TcxGridColumn *ColHist01; TcxGridColumn *ColHist02; TcxGridColumn *ColHist03; TcxGridColumn *ColHist04; TcxGridLevel *GlHist; TcxGridColumn *Column05; TcxGridColumn *ColHist05; TcxGridColumn *ColHist06; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall DtStDatePropertiesValidate(TObject *Sender, Variant &DisplayValue, TCaption &ErrorText, bool &Error); void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose); void __fastcall DtStDateChange(TObject *Sender); void __fastcall TvHistCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); private: // User declarations void __fastcall CommClose(); String FTitle; TcxDataController *m_pGDC; void __fastcall InitGisLink(); public: String sJs; int FLayerIdx; int FLinkLevel; String FStDateTime; String FEdDateTime; String FServiceId; String FVehicleId; int FSimIndex; TTrafficValManager *FLinkMngr; TTrafficValManager *FIfscMngr; TTrafficValManager *FRoadMngr; public: // User declarations __fastcall TEVSPH10M(TComponent* Owner); void __fastcall FormInit(); void __fastcall SelHistorySummary(); void __fastcall DspHistorySummary(); void __fastcall SelHistory(String AServiceId, String AVehicleId); void __fastcall DspHistory(); void __fastcall ClearGis(); void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst); }; //--------------------------------------------------------------------------- extern PACKAGE TEVSPH10M *EVSPH10M; //--------------------------------------------------------------------------- #endif