//--------------------------------------------------------------------------- #ifndef EVSP300MFH #define EVSP300MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #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 "cxTimeEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinCaramel.hpp" #include "dxSkinCoffee.hpp" #include "dxSkinDarkRoom.hpp" #include "dxSkinDarkSide.hpp" #include "dxSkinFoggy.hpp" #include "dxSkinGlassOceans.hpp" #include "dxSkiniMaginary.hpp" #include "dxSkinLilian.hpp" #include "dxSkinLiquidSky.hpp" #include "dxSkinLondonLiquidSky.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinMoneyTwins.hpp" #include "dxSkinOffice2007Black.hpp" #include "dxSkinOffice2007Blue.hpp" #include "dxSkinOffice2007Green.hpp" #include "dxSkinOffice2007Pink.hpp" #include "dxSkinOffice2007Silver.hpp" #include "dxSkinOffice2010Black.hpp" #include "dxSkinOffice2010Blue.hpp" #include "dxSkinOffice2010Silver.hpp" #include "dxSkinsCore.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinStardust.hpp" #include "cxClasses.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxFilter.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxStyles.hpp" #include "dxSkinscxPCPainter.hpp" #include "FRAME_VmsListF.h" #include "FRAME_OpenMapF.h" #include "CDSVmsIxrF.h" #include "CDSVmsCtlrF.h" #include "CDSSgnlCtlrF.h" #include "cxCalc.hpp" class TEVSP300M : 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 *PnlMap; TFRAMEVmsList *FRAMEVmsList1; TcxSplitter *cxSplitter2; TPanel *PnlGrp; TPanel *PnlMenu; TcxButton *BtnEdit; TcxButton *BtnDelete; TcxButton *BtnSave; TcxGroupBox *GrpInfo; TcxLabel *cxLabel11; TcxLabel *cxLabel12; TPanel *PnlEdit; TImage *ImgDesc19; TImage *ImgDesc02; TImage *ImgDesc11; TcxTextEdit *EdCtlrId; TcxTextEdit *EdCtlrlNm; TcxTextEdit *EdNmbr; TcxLabel *cxLabel2; TcxLabel *cxLabel5; TcxLabel *cxLabel14; TcxGroupBox *GrpLink; TcxLabel *cxLabel9; TcxLabel *cxLabel15; TPanel *Panel1; TPanel *PnlLink; TImage *ImgDesc06; TcxLabel *cxLabel6; TcxTextEdit *EdVmsNmbr; TcxButton *BtnLinkCopy; TcxGrid *CxIxr; TcxGridTableView *TvIxr; TcxGridColumn *ColLink1; TcxGridColumn *ColLink2; TcxGridColumn *ColLink3; TcxGridColumn *ColLink4; TcxGridColumn *ColLink5; TcxGridColumn *ColLink6; TcxGridLevel *GlIxr; TcxButton *BtnUp; TcxButton *BtnDown; TcxButton *BtnLinkDel; TcxCheckBox *ChkViewIcon; TcxLabel *lblNone; TcxLabel *lblSpdErr; TcxLabel *lblText1; TcxLabel *lblText2; TcxLabel *lblText3; TcxLabel *lblText6; TcxLabel *lblText5; TcxLabel *lblText4; TcxLabel *lblText9; TcxLabel *lblText8; TcxLabel *lblText7; TcxLabel *lblText10; TcxLabel *lblText11; TcxLabel *lblText12; TcxLabel *lblText13; TFRAMEOpenMap *FRAMEOpenMap1; TcxGridColumn *ColSeq; TcxButton *BtnInsert; TcxCheckBox *cxCheckBox1; 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 BtnSaveClick(TObject *Sender); void __fastcall BtnLinkCopyClick(TObject *Sender); void __fastcall TvIxrCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall FRAMEVmsList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall BtnLinkDelClick(TObject *Sender); void __fastcall BtnUpClick(TObject *Sender); void __fastcall BtnDownClick(TObject *Sender); void __fastcall ChkViewIconClick(TObject *Sender); void __fastcall ColSeqCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); private: // User declarations void __fastcall CommClose(); TcxDataController *m_pGDC; String FTitle; bool FUpdate; bool FNewDb; bool EditMode; public: String sJs; int FLayerIdx; int FInitComm; int FSelComm; public: // User declarations __fastcall TEVSP300M(TComponent* Owner); void __fastcall UpdateSkin(); void __fastcall FormInit(); void __fastcall UpdateList(); void __fastcall UpdateIcon(); void __fastcall UpdateIconIxr(); void __fastcall UpdateEditLink(); void __fastcall UpdateIxrSelect(String AIxrNmbr, int ASelFalg); void __fastcall DisplayInfo(TVmsCtlr* AObj); void __fastcall DisplayRltnIxr(TVmsCtlr* AObj); void __fastcall RefreshRltnIxr(); void __fastcall ChangeEditMode(int AEdit); void __fastcall AddRemoveIxr(String AIxrNmbr); void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst); }; //--------------------------------------------------------------------------- extern PACKAGE TEVSP300M *EVSP300M; //--------------------------------------------------------------------------- #endif