//--------------------------------------------------------------------------- #ifndef TAS0010MFH #define TAS0010MFH //--------------------------------------------------------------------------- #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 TTAS0010M : 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; TImage *ImgDesc03; TLabel *Label1; TcxComboBox *CbLinkLevel; TcxGroupBox *cxGroupBox3; TcxGroupBox *cxGroupBox5; TcxButton *BtnPlay; TcxButton *BtnStop; TcxTrackBar *cxTrackBar1; TcxGrid *CxList; TcxGridTableView *TvList; TcxGridColumn *Column02; TcxGridColumn *Column01; TcxGridColumn *Column03; TcxGridLevel *GlList; TcxGridColumn *Column04; TADOQuery *ADOQry; TImage *ImgDesc04; TLabel *Label2; TcxSpinEdit *SeRefreshSec; TLabel *Label3; TADOQuery *ADOSta; TcxGroupBox *cxGroupBox4; TcxButton *BtnSearch2; TcxTextEdit *EdLinkId; TLabel *Label4; TImage *ImgDesc05; TTimer *TmrClear; TLabel *LblRecords; TcxComboBox *CbTarget; TcxLabel *lblText1; TcxLabel *lblText2; TcxLabel *lblText3; TFRAMEOpenMap *FRAMEOpenMap1; TDateTimePicker *DtStDate; TDateTimePicker *DtEdDate; TDateTimePicker *DtEdTime; TDateTimePicker *DtStTime; 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 BtnPlayClick(TObject *Sender); void __fastcall BtnStopClick(TObject *Sender); void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall BtnSearch2Click(TObject *Sender); void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose); void __fastcall DtStDateChange(TObject *Sender); private: // User declarations void __fastcall CommClose(); String FTitle; TcxDataController *m_pGDC; void __fastcall InitGisLink(); public: String sJs; int FLayerIdx; int FLinkLevel; TTrafficValManager *FIfscMngr; String FStDateTime; String FEdDateTime; int FTargetIdx; String FStatTime; int FSimIndex; public: // User declarations __fastcall TTAS0010M(TComponent* Owner); void __fastcall FormInit(); void __fastcall SelHistory(); void __fastcall DspHistory(); void __fastcall SelStatisticsHistory(String AStatTime); void __fastcall ClearGis(); void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst); }; //--------------------------------------------------------------------------- extern PACKAGE TTAS0010M *TAS0010M; //--------------------------------------------------------------------------- #endif