//--------------------------------------------------------------------------- #ifndef CRSM200MFH #define CRSM200MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "CDSCodeF.h" #include "FRAME_CrsCamListF.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" #include "FRAME_OpenMapF.h" #include "cxCalc.hpp" #include "dxSkinMcSkin.hpp" class TCRSM200M : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TEdit *EdFocus; TPanel *PnlBack; TcxLabel *lblText1; TcxLabel *lblText2; TcxLabel *lblText3; TcxLabel *lblText4; TcxLabel *lblText5; TPanel *PnlBottom; TcxSplitter *cxSplitter3; TcxGroupBox *GrpInfo; TPanel *PnlMenu; TcxButton *BtnEdit; TcxButton *BtnInsert; TcxButton *BtnDelete; TcxButton *BtnSave; TcxLabel *cxLabel11; TcxLabel *cxLabel12; TPanel *PnlEdit; TcxGroupBox *GrpInfoDet; TImage *ImgDesc05; TImage *ImgDesc07; TImage *ImgDesc11; TImage *ImgDesc02; TImage *ImgDesc03; TImage *ImgDesc08; TImage *ImgDesc09; TImage *ImgDesc01; TcxLabel *cxLabel5; TcxLabel *cxLabel7; TcxComboBox *CbCTLR_MNGM_NMBR; TcxComboBox *Cb_USE_YN; TcxSpinEdit *SeRtspPort; TcxSpinEdit *SeHttpPort; TcxLabel *cxLabel16; TcxTextEdit *EdCamId; TcxTextEdit *EdCamNm; TcxTextEdit *EdNmbr; TcxLabel *cxLabel2; TcxLabel *cxLabel3; TcxLabel *cxLabel18; TcxCheckBox *ChkRightTurn; TcxLabel *cxLabel4; TcxLabel *cxLabel8; TcxTextEdit *EdCrossId; TcxGroupBox *GrpMap; TFRAMEOpenMap *FRAMEOpenMap1; TcxCheckBox *ChkViewIcon; TcxSplitter *cxSplitter2; TcxGroupBox *cxGroupBox5; TcxLabel *cxLabel13; TImage *ImgDesc19; TcxLabel *cxLabel14; TImage *ImgDesc20; TcxMaskEdit *EdCtlrIp; TcxTextEdit *EdRtspUrl; TcxTextEdit *EdRtspId; TcxTextEdit *EdRtspPwd; TcxSpinEdit *SePosX; TcxSpinEdit *SePosY; TcxSpinEdit *SeAngle; TcxLabel *cxLabel1; TImage *ImgDesc99; TFRAMECrsCamList *FRAMECrsCamList1; 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 FRAMECrsCamList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall ChkViewIconClick(TObject *Sender); 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 TCRSM200M(TComponent* Owner); void __fastcall FormInit(); void __fastcall UpdateIcon(); void __fastcall UpdateList(); void __fastcall UpdateEditLink(); void __fastcall DisplayInfo(TCrossCam* 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 TCRSM200M *CRSM200M; //--------------------------------------------------------------------------- #endif