//--------------------------------------------------------------------------- #ifndef CFG0000MFH #define CFG0000MFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include "cxButtonEdit.hpp" #include "cxButtons.hpp" #include "cxCheckBox.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxGroupBox.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxMaskEdit.hpp" #include "cxSpinEdit.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "cxLabel.hpp" #include "dxSkinMcSkin.hpp" //--------------------------------------------------------------------------- class TCFG0000M : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TEdit *EdFocus; TcxButton *BtnSave; TOpenDialog *OpenDialog1; TPanel *Panel1; TcxGroupBox *cxGroupBox4; TLabel *Label1; TImage *ImgDesc01; TLabel *Label2; TImage *ImgDesc02; TcxTextEdit *EdCenterId; TcxTextEdit *EdCenterName; TcxGroupBox *GrpMap; TLabel *Label36; TImage *ImgDesc03; TcxButtonEdit *EdGisFile; TcxGroupBox *cxGroupBox2; TImage *ImgDesc04; TLabel *Label3; TImage *ImgDesc05; TLabel *Label4; TImage *ImgDesc07; TLabel *Label5; TLabel *Label6; TImage *ImgDesc06; TcxTextEdit *EdDbProvider; TcxTextEdit *EdDbUser; TcxTextEdit *EdDbSource; TcxTextEdit *EdDbPasswd; TcxGroupBox *cxGroupBox3; TLabel *Label7; TImage *ImgDesc08; TcxTextEdit *EdProcessId; TcxGroupBox *GrpLogout; TcxCheckBox *ChkAutoLogout; TLabel *Label11; TImage *Image1; TcxSpinEdit *SeInterevalMin; TLabel *Label9; TImage *ImgDesc10; TImage *ImgDesc11; TLabel *Label10; TcxTextEdit *EdTaskId; TcxTextEdit *EdNodeId; TcxTextEdit *EdSequence; TcxCheckBox *ChkSaveForm; TcxGroupBox *GrpAlarm; TLabel *Label12; TImage *ImgDesc12; TcxCheckBox *ChkAlarm; TcxSpinEdit *SeAlarmTimeOut; TLabel *Label13; TImage *ImgDesc13; TcxCheckBox *ChkIncident; TcxSpinEdit *SeIncidentTimeOut; TImage *ImgDesc14; TcxSpinEdit *SeTemp; TLabel *Label14; TcxCheckBox *ChkAlarmWindow; TcxLabel *lblQry; TcxLabel *lblQryRes; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall BtnSaveClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall EdGisFilePropertiesButtonClick(TObject *Sender, int AButtonIndex); private: // User declarations void __fastcall CommClose(); String FTitle; String FIniFile; public: public: // User declarations __fastcall TCFG0000M(TComponent* Owner); void __fastcall RefreshData(); String __fastcall GetConfigValue(String sSection, String sIdent, String sDefVal); void __fastcall SetConfigValue(String sSection, String sIdent, String sSetVal); __property String IniFile = {read=FIniFile, write=FIniFile}; }; //--------------------------------------------------------------------------- extern PACKAGE TCFG0000M *CFG0000M; //--------------------------------------------------------------------------- #endif