//--------------------------------------------------------------------------- #ifndef DSRM010MFH #define DSRM010MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "CDSCodeF.h" #include "CDSFacilityF.h" //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "FRAME_DsrcListF.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 "dxSkinMcSkin.hpp" #include "FRAME_OpenMapF.h" class TDSRM010M : 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; TFRAMEDsrcList *FRAMEDsrcList1; TcxGroupBox *GrpInfo; TPanel *PnlMenu; TcxSplitter *cxSplitter2; TcxButton *BtnEdit; TcxButton *BtnInsert; TcxButton *BtnDelete; TcxButton *BtnSave; TFRAMEOpenMap *FRAMEOpenMap1; 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 *ImgDesc12; TcxLabel *cxLabel7; TcxLabel *cxLabel10; TcxTextEdit *EdRseId; TcxTextEdit *EdRoadSpotId; TcxTextEdit *EdLogCnncId; TcxTextEdit *EdLogCnncPwd; TcxTextEdit *EdIstlLctnNm; TcxTextEdit *EdIP; TcxTextEdit *EdPort; TcxTextEdit *EdId; TcxSpinEdit *SePosX; TcxSpinEdit *SePosY; TcxLabel *cxLabel1; TcxLabel *cxLabel2; TcxLabel *cxLabel3; TcxLabel *cxLabel4; TcxLabel *cxLabel5; TcxLabel *cxLabel6; TcxLabel *cxLabel8; TcxLabel *cxLabel9; TcxLabel *cxLabel11; TcxLabel *cxLabel12; TcxComboBox *CbMnfcCmpyCd; TcxLabel *cxLabel18; TcxLabel *cxLabel19; TcxSpinEdit *SeCLCT_ABNR_BASI; TcxGroupBox *cxGroupBox1; TcxLabel *cxLabel20; TcxSpinEdit *SeAbnrAll; TcxButton *BtnSaveAll; 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 FRAMEDsrcList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall BtnEditClick(TObject *Sender); void __fastcall BtnInsertClick(TObject *Sender); void __fastcall BtnDeleteClick(TObject *Sender); void __fastcall BtnSaveClick(TObject *Sender); void __fastcall BtnSaveAllClick(TObject *Sender); void __fastcall EdPortKeyPress(TObject *Sender, wchar_t &Key); private: // User declarations void __fastcall CommClose(); TcxDataController *m_pGDC; String FTitle; bool FUpdate; bool FNewDb; bool EditMode; public: String sJs; int FLayerIdx; public: // User declarations __fastcall TDSRM010M(TComponent* Owner); void __fastcall FormInit(); void __fastcall UpdateIcon(); void __fastcall DisplayInfo(TItsDsrc* AObj, bool AMoveObj=true); void __fastcall ChangeEditMode(int AEdit); void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst); }; //--------------------------------------------------------------------------- extern PACKAGE TDSRM010M *DSRM010M; //--------------------------------------------------------------------------- #endif