123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- //---------------------------------------------------------------------------
- #ifndef IAN0040MFH
- #define IAN0040MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <FMTBcd.hpp>
- #include <Provider.hpp>
- #include <SqlExpr.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- #include <ADODB.hpp>
- #include <Dialogs.hpp>
- #include <ExtDlgs.hpp>
- //---------------------------------------------------------------------------
- #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 TIAN0040M : 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;
- TLabel *LblRecords;
- TcxLabel *lblText1;
- TcxLabel *lblText2;
- TcxLabel *lblText3;
- TFRAMEOpenMap *FRAMEOpenMap1;
- TDateTimePicker *DtEdTime;
- TDateTimePicker *DtEdDate;
- TDateTimePicker *DtStDate;
- 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;
- String FStDateTime;
- String FEdDateTime;
- String FStatTime;
- int FSimIndex;
- TTrafficValManager *FLinkMngr;
- TTrafficValManager *FIfscMngr;
- TTrafficValManager *FRoadMngr;
- public: // User declarations
- __fastcall TIAN0040M(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 TIAN0040M *IAN0040M;
- //---------------------------------------------------------------------------
- #endif
|