//--------------------------------------------------------------------------- #ifndef FrmVmsMsgFH #define FrmVmsMsgFH //--------------------------------------------------------------------------- #include #include #include #include #include #include "CDSFacilityF.h" #include #include #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" //--------------------------------------------------------------------------- #define MAX_VMSPHASE 16 class TFrmVmsMsg : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TPanel *PnlVmsMsgDisp; TImage *ImgForm; TTimer *TmrVmsMsgDisp; TADOQuery *pADO; TPanel *PnlOffer; TcxLabel *lblTm; void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall TmrVmsMsgDispTimer(TObject *Sender); void __fastcall FormDestroy(TObject *Sender); private: // User declarations public: TItsVms *FObj; int FDispIndex; int FPhaseCnt; TImage *FVmsImage[MAX_VMSPHASE]; int FInterval[MAX_VMSPHASE]; bool FOffer[MAX_VMSPHASE]; String FOfferTime[MAX_VMSPHASE]; int FQryHour; int FQryMin; void __fastcall ClearVmsForm(); void __fastcall SetVmsForm(); void __fastcall SelectVmsForm(); public: // User declarations __fastcall TFrmVmsMsg(TComponent* Owner, TItsVms *AObj); }; //--------------------------------------------------------------------------- extern PACKAGE TFrmVmsMsg *FrmVmsMsg; //--------------------------------------------------------------------------- #endif