123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- //---------------------------------------------------------------------------
- #ifndef AVIM020MFH
- #define AVIM020MFH
- //---------------------------------------------------------------------------
- #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 "CDSCodeF.h"
- #include "CDSDsrcF.h"
- #include "CDSDsrcOfferSectF.h"
- #include "FRAME_AviListF.h"
- #include "FRAME_AviSectListF.h"
- #include "FRAME_FlashMapF.h"
- #include "cxButtons.hpp"
- #include "cxCheckBox.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 "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- class TAVIM020M : 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 *cxGroupBox3;
- TcxGroupBox *GrpMap;
- TPanel *PnlMenu;
- TcxButton *BtnEdit;
- TcxButton *BtnInsert;
- TcxButton *BtnDelete;
- TcxButton *BtnSave;
- TcxLabel *cxLabel11;
- TcxLabel *cxLabel12;
- TcxGroupBox *cxGroupBox5;
- TcxSplitter *cxSplitter2;
- TPanel *PnlInfo;
- TcxGroupBox *GrpInfo;
- TImage *ImgDesc01;
- TImage *ImgDesc03;
- TImage *ImgDesc04;
- TImage *ImgDesc05;
- TImage *ImgDesc07;
- TImage *ImgDesc12;
- TImage *ImgDesc08;
- TImage *ImgDesc09;
- TImage *ImgDesc10;
- TImage *ImgDesc13;
- TImage *ImgDesc14;
- TImage *ImgDesc11;
- TcxLabel *cxLabel1;
- TcxLabel *cxLabel3;
- TcxLabel *cxLabel4;
- TcxLabel *cxLabel5;
- TcxSpinEdit *SeAVI_SECT_DSTC;
- TcxLabel *cxLabel7;
- TcxLabel *cxLabel8;
- TcxLabel *cxLabel9;
- TcxComboBox *CbAVI_CTLR_MNGM_NMBR;
- TcxTextEdit *EdAVI_SECT_NMBR;
- TcxLabel *cxLabel2;
- TcxLabel *cxLabel10;
- TcxLabel *cxLabel13;
- TcxSpinEdit *SeSPOT_NUM;
- TcxSpinEdit *SeSTND_DRFT_VAL;
- TcxLabel *cxLabel14;
- TcxSpinEdit *SeSMTH_FCTR;
- TcxLabel *cxLabel15;
- TcxLabel *cxLabel16;
- TcxTextEdit *EdId;
- TPanel *PnlMap;
- TcxGroupBox *GrpLink;
- TcxGrid *CxLink;
- TcxGridTableView *TvLink;
- TcxGridColumn *ColLink1;
- TcxGridColumn *ColLink2;
- TcxGridColumn *ColLink3;
- TcxGridColumn *ColLink4;
- TcxGridColumn *ColLink5;
- TcxGridColumn *ColLink6;
- TcxGridLevel *GlLink;
- TPanel *PnlLinkEdit;
- TImage *ImgDesc06;
- TcxLabel *cxLabel6;
- TcxTextEdit *EdLinkId;
- TcxButton *BtnLinkAdd;
- TcxButton *BtnLinkDel;
- TcxGroupBox *GrpGis;
- TcxCheckBox *ChkGisZoom;
- TcxLabel *cxLabel17;
- TFRAMEAviList *FRAMEAviList1;
- TFRAMEAviSectList *FRAMEAviSectList1;
- TcxTextEdit *EdAVI_SECT_NM;
- TcxLabel *cxLabel18;
- TcxSpinEdit *SeSHRT_PASS_HH;
- TcxSpinEdit *SeLNST_PASS_HH;
- TcxTextEdit *EdSTRT_SPOT_NM;
- TcxTextEdit *EdEND_SPOT_NM;
- TcxSpinEdit *SeMIN_SPED;
- TcxSpinEdit *SeMAX_SPED;
- TcxCheckBox *ChkViewIcon;
- TcxCheckBox *ChkViewName;
- TFRAMEFlashMap *FRAMEGisMap1;
- void __fastcall FormShow(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall BtnCloseClick(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall BtnEditClick(TObject *Sender);
- void __fastcall BtnInsertClick(TObject *Sender);
- void __fastcall BtnDeleteClick(TObject *Sender);
- void __fastcall BtnSaveClick(TObject *Sender);
- void __fastcall BtnLinkDelClick(TObject *Sender);
- void __fastcall BtnLinkAddClick(TObject *Sender);
- void __fastcall TvLinkCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
- TShiftState AShift, bool &AHandled);
- void __fastcall FRAMEAviSectList1TvListCellDblClickSect(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
- TMouseButton AButton, TShiftState AShift, bool &AHandled);
- void __fastcall FRAMEAviList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
- TMouseButton AButton, TShiftState AShift, bool &AHandled);
- void __fastcall ChkGisZoomClick(TObject *Sender);
- void __fastcall ChkViewIconClick(TObject *Sender);
- private: // User declarations
- void __fastcall CommClose();
- TcxDataController *m_pGDC;
- String FTitle;
- bool FUpdate;
- bool FNewDb;
- bool MapStart;
- public:
- public: // User declarations
- __fastcall TAVIM020M(TComponent* Owner);
- void __fastcall FormInit();
- void __fastcall UpdateAviIcon();
- void __fastcall UpdateList();
- void __fastcall DisplayInfo(TItsAviSect* AObj);
- void __fastcall DisplayParam(TItsAviSect* AObj);
- void __fastcall DisplayCndt(TItsAviSect* AObj);
- void __fastcall DisplayLink(TItsAviSect* AObj);
- void __fastcall RefreshLink();
- void __fastcall ChangeEditMode(int AEdit);
- void __fastcall ShockwaveFlash1FlashCall1(TObject *ASender, const WideString request);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TAVIM020M *AVIM020M;
- //---------------------------------------------------------------------------
- #endif
|