123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- //---------------------------------------------------------------------------
- #ifndef VDSM010MFH
- #define VDSM010MFH
- //---------------------------------------------------------------------------
- #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 "FRAME_VdsListF.h"
- #include "cxButtons.hpp"
- #include "cxCheckBox.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxDropDownEdit.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxGroupBox.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxMaskEdit.hpp"
- #include "cxSpinEdit.hpp"
- #include "cxSplitter.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "FRAME_GoogleMapF.h"
- #include "GMClasses.hpp"
- #include "GMLinkedComponents.hpp"
- #include "GMMap.hpp"
- #include "GMMarker.hpp"
- #include "GMMarkerVCL.hpp"
- class TVDSM010M : 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;
- TPanel *PnlBottom;
- TcxGroupBox *GrpInfo;
- TPanel *PnlMenu;
- TcxSplitter *cxSplitter2;
- TcxGroupBox *GrpMap;
- TcxCheckBox *ChkViewIcon;
- TcxCheckBox *ChkViewName;
- TFRAMEGoogleMap *FRAMEGoogleMap1;
- TGMMarker *GMMarker1;
- TGMMarker *GMMarkerNew;
- TcxLabel *lblFileName;
- TcxLabel *lblInput;
- TcxLabel *lblInQry;
- TcxLabel *lblDigit;
- TcxLabel *lblDigitErr;
- TcxLabel *lblDel1;
- TcxLabel *lblDel2;
- TcxLabel *lblDel3;
- TFRAMEVdsList *FRAMEVdsList1;
- TcxButton *BtnEdit;
- TcxButton *BtnInsert;
- TcxButton *BtnDelete;
- TcxButton *BtnSave;
- TPanel *PnlEdit;
- TImage *ImgDesc01;
- TImage *ImgDesc02;
- TImage *ImgDesc03;
- TImage *ImgDesc04;
- TImage *ImgDesc05;
- TImage *ImgDesc06;
- TImage *ImgDesc07;
- TImage *ImgDesc08;
- TImage *ImgDesc09;
- TImage *ImgDesc10;
- TImage *ImgDesc11;
- TImage *ImgDesc21;
- TcxTextEdit *EdMngmNmbr;
- TcxTextEdit *EdLctn;
- TcxTextEdit *EdIP;
- TcxTextEdit *EdPort;
- TcxSpinEdit *SePosX;
- TcxSpinEdit *SePosY;
- TcxLabel *cxLabel1;
- TcxLabel *cxLabel2;
- TcxLabel *cxLabel3;
- TcxLabel *cxLabel4;
- TcxLabel *cxLabel6;
- TcxLabel *cxLabel7;
- TcxLabel *cxLabel8;
- TcxLabel *cxLabel9;
- TcxLabel *cxLabel10;
- TcxComboBox *CbTypeCd;
- TcxLabel *cxLabel11;
- TcxLabel *cxLabel12;
- TcxComboBox *CbValidYn;
- TcxLabel *cxLabel5;
- TcxLabel *cxLabel13;
- TcxSpinEdit *SeClctCycle;
- TcxSpinEdit *SeSttsCycl;
- TcxSpinEdit *SeBordNum;
- TcxTextEdit *EdVdsId;
- TcxLabel *cxLabel14;
- TcxTextEdit *EdId;
- 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 ChkViewIconClick(TObject *Sender);
- void __fastcall BtnEditClick(TObject *Sender);
- void __fastcall BtnInsertClick(TObject *Sender);
- void __fastcall BtnDeleteClick(TObject *Sender);
- void __fastcall BtnSaveClick(TObject *Sender);
- void __fastcall FRAMEVdsList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
- TMouseButton AButton, TShiftState AShift, bool &AHandled);
- void __fastcall GMMarker1Click(TObject *Sender, TLatLng *LatLng, int Index, TLinkedComponent *LinkedComponent);
- void __fastcall GMMarker1DragEnd(TObject *Sender, TLatLng *LatLng, int Index,
- TLinkedComponent *LinkedComponent);
- void __fastcall GMMarkerNewDragEnd(TObject *Sender, TLatLng *LatLng, int Index,
- TLinkedComponent *LinkedComponent);
- private: // User declarations
- void __fastcall CommClose();
- TcxDataController *m_pGDC;
- String FTitle;
- bool FUpdate;
- bool FNewDb;
- bool MapStart;
- bool EditMode;
- public:
- TMarker *FNewMkr;
- TMarker *FSelMkr;
- public: // User declarations
- __fastcall TVDSM010M(TComponent* Owner);
- void __fastcall FormInit();
- void __fastcall UpdateIcon();
- void __fastcall DisplayInfo(TItsVds* AObj, bool AMoveVms=false);
- void __fastcall SelListData();
- TMarker * _fastcall FindObjectMarker(String AId);
- void __fastcall ChangeEditMode(int AEdit);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TVDSM010M *VDSM010M;
- //---------------------------------------------------------------------------
- #endif
|