//--------------------------------------------------------------------------- #ifndef AVIM010MFH #define AVIM010MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "FRAME_AviListF.h" #include "FRAME_FlashMapF.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" class TAVIM010M : 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; TcxGroupBox *GrpInfo; TPanel *PnlMenu; TcxSplitter *cxSplitter2; TcxButton *BtnEdit; TcxButton *BtnInsert; TcxButton *BtnDelete; TcxButton *BtnSave; TcxTextEdit *EdAVI_CTLR_MNGM_NMBR; TcxTextEdit *EdAVI_LCTN_NM; TcxTextEdit *EdAVI_CTLR_IP; TcxTextEdit *EdAVI_CTLR_CMNC_PORT; TcxTextEdit *EdId; TcxSpinEdit *SeX_CRDN; TcxSpinEdit *SeY_CRDN; TcxLabel *cxLabel1; TImage *ImgDesc01; TcxLabel *cxLabel2; TImage *ImgDesc02; TcxLabel *cxLabel3; TcxLabel *cxLabel4; TcxLabel *cxLabel6; TcxLabel *cxLabel7; TcxLabel *cxLabel8; TcxLabel *cxLabel9; TcxLabel *cxLabel10; TImage *ImgDesc03; TImage *ImgDesc04; TImage *ImgDesc05; TImage *ImgDesc06; TImage *ImgDesc07; TImage *ImgDesc08; TImage *ImgDesc09; TImage *ImgDesc10; TcxLabel *cxLabel11; TcxLabel *cxLabel12; TcxLabel *cxLabel15; TcxCheckBox *ChkViewIcon; TcxComboBox *CbAVI_VALD_YN; TcxLabel *cxLabel5; TcxLabel *cxLabel13; TImage *ImgDesc11; TcxSpinEdit *SeAVI_MNGM_LANE_NUM; TcxSpinEdit *SeAVI_CMRA_NUM; TcxSpinEdit *SeAVI_DTCT_NUM; TcxLabel *cxLabel16; TFRAMEAviList *FRAMEAviList1; TcxTextEdit *EdAVI_ID; TcxLabel *cxLabel17; TcxTextEdit *EdLINK_ID; TcxComboBox *CbAVI_MAIN_CTLR_YN; TcxTextEdit *EdAVI_DTCT_NM; TImage *ImgDesc12; TcxLabel *cxLabel14; TcxLabel *cxLabel18; TcxSpinEdit *SeAVI_CLCT_CYCL; TImage *ImgDesc13; TcxLabel *cxLabel19; TImage *ImgDesc14; TcxComboBox *CbAVI_LAMP_AUTO_YN; TcxLabel *cxLabel20; TImage *ImgDesc15; TcxTextEdit *EdAVI_LAMP_ON_HMS; TcxTextEdit *EdAVI_LAMP_OFF_HMS; TcxLabel *cxLabel21; TImage *ImgDesc16; TImage *ImgDesc17; TcxLabel *cxLabel22; TcxComboBox *CbAVI_LAMP_ON_YN; TcxTextEdit *EdRMRK; TcxLabel *cxLabel23; TImage *ImgDesc18; TFRAMEFlashMap *FRAMEGisMap1; TcxCheckBox *ChkViewName; 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 FRAMEAviList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); private: // User declarations void __fastcall CommClose(); TcxDataController *m_pGDC; String FTitle; bool FUpdate; bool FNewDb; bool MapStart; public: public: // User declarations __fastcall TAVIM010M(TComponent* Owner); void __fastcall FormInit(); void __fastcall UpdateAviIcon(); void __fastcall DisplayInfo(TItsAvi* AObj); void __fastcall ChangeEditMode(int AEdit); void __fastcall ShockwaveFlash1FlashCall1(TObject *ASender, const WideString request); }; //--------------------------------------------------------------------------- extern PACKAGE TAVIM010M *AVIM010M; //--------------------------------------------------------------------------- #endif