//--------------------------------------------------------------------------- #ifndef VMSM100MFH #define VMSM100MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "cxButtons.hpp" #include "cxCalendar.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 "cxPC.hpp" #include "cxPCdxBarPopupMenu.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 "dxSkinscxPCPainter.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinStardust.hpp" #include "cxRadioGroup.hpp" #include "cxClasses.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDBData.hpp" #include "cxFilter.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridDBTableView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxStyles.hpp" #include "cxCheckBox.hpp" #include "FRAME_VmsListF.h" class TVMSM100M : 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; TcxButton *BtnEdit; TcxButton *BtnInsert; TcxButton *BtnDelete; TcxButton *BtnSave; TcxLabel *cxLabel11; TcxLabel *cxLabel12; TPanel *PnlEdit; TImage *ImgDesc01; TImage *ImgDesc02; TImage *ImgDesc03; TImage *ImgDesc04; TImage *ImgDesc05; TImage *ImgDesc06; TImage *ImgDesc07; TImage *ImgDesc11; TImage *ImgDesc08; TcxTextEdit *EdVmsId; TcxTextEdit *EdVmsNm; TcxTextEdit *EdNmbr; TcxSpinEdit *SePosX; TcxSpinEdit *SePosY; TcxLabel *cxLabel1; TcxLabel *cxLabel2; TcxLabel *cxLabel3; TcxLabel *cxLabel6; TcxLabel *cxLabel7; TcxLabel *cxLabel18; TcxTextEdit *EdId; TcxMaskEdit *EdCtlrIp; TcxComboBox *CbUsagType; TcxComboBox *CbType; TcxLabel *cxLabel8; TcxLabel *cxLabel22; TcxLabel *cxLabel5; TcxMaskEdit *EdWebCamIp; TcxTextEdit *EdWebCamPort; TcxLabel *cxLabel15; TcxTextEdit *EdWebCamId; TcxTextEdit *EdWebCamPswd; TcxTextEdit *EdWebCamStrm; TcxLabel *cxLabel16; TcxTextEdit *EdCmncPort; TcxGroupBox *cxGroupBox1; TcxTimeEdit *cxTimeOn; TcxTimeEdit *cxTimeOff; TcxLabel *cxLabel4; TcxButton *BtnSaveAll; TcxSplitter *cxSplitter2; TcxGroupBox *GrpMap; TFRAMEVmsList *FRAMEVmsList1; TcxSpinEdit *SeMaxPhase; TImage *ImgDesc14; TcxLabel *cxLabel9; TcxButton *cxButton1; 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 FRAMEVmsList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall EdWebCamPortKeyPress(TObject *Sender, wchar_t &Key); void __fastcall BtnSaveAllClick(TObject *Sender); void __fastcall FRAMEVmsList1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); void __fastcall SeMaxPhasePropertiesChange(TObject *Sender); void __fastcall LblCaptionDblClick(TObject *Sender); void __fastcall cxButton1Click(TObject *Sender); private: // User declarations void __fastcall CommClose(); TcxDataController *m_pGDC; String FTitle; bool FUpdate; bool FNewDb; bool MapStart; bool EditMode; public: public: // User declarations __fastcall TVMSM100M(TComponent* Owner); void __fastcall FormInit(); void __fastcall UpdateVmsIcon(); void __fastcall DisplayInfo(TVmsCtlr* AObj, bool AMoveVms=false); void __fastcall SelListData(); void __fastcall ChangeEditMode(int AEdit); void __fastcall MakeVmsWebCamHtml_ICSVIEW(TVmsCtlr *AObj); void __fastcall MakeVmsWebCamHtml_STWEB(TVmsCtlr *AObj); }; //--------------------------------------------------------------------------- extern PACKAGE TVMSM100M *VMSM100M; //--------------------------------------------------------------------------- #endif