FrmVmsMsgF.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmVmsMsgFH
  3. #define FrmVmsMsgFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <ADODB.hpp>
  11. #include <DB.hpp>
  12. #include "cxContainer.hpp"
  13. #include "cxControls.hpp"
  14. #include "cxEdit.hpp"
  15. #include "cxGraphics.hpp"
  16. #include "cxLabel.hpp"
  17. #include "cxLookAndFeelPainters.hpp"
  18. #include "cxLookAndFeels.hpp"
  19. #include "dxSkinBlack.hpp"
  20. #include "dxSkinBlue.hpp"
  21. #include "dxSkinsCore.hpp"
  22. //---------------------------------------------------------------------------
  23. #include "CDSVmsCtlrF.h"
  24. #include "CenterCommF.h"
  25. #include "FFBaseComponent.hpp"
  26. #include "FFBasePlay.hpp"
  27. #include "FFPlay.hpp"
  28. class TFrmVmsMsg : public TForm
  29. {
  30. __published: // IDE-managed Components
  31. TTimer *TmrShow;
  32. TPanel *PnlVmsMsgDisp;
  33. TImage *ImgForm;
  34. TTimer *TmrVmsMsgDisp;
  35. TADOQuery *pADO;
  36. TPanel *PnlOffer;
  37. TcxLabel *lblTm;
  38. TTimer *TmrTicker;
  39. TFFPlayer *FFPlayer1;
  40. TPanel *LblTicker;
  41. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  42. void __fastcall FormShow(TObject *Sender);
  43. void __fastcall TmrShowTimer(TObject *Sender);
  44. void __fastcall TmrVmsMsgDispTimer(TObject *Sender);
  45. void __fastcall FormDestroy(TObject *Sender);
  46. void __fastcall TmrTickerTimer(TObject *Sender);
  47. void __fastcall FFPlayer1State(TObject *Sender, TPlayState APlayState);
  48. private: // User declarations
  49. public:
  50. TVmsCtlr *FObj;
  51. int FDispIndex;
  52. int FPhaseCnt;
  53. TImage *FVmsImage[INT_VMS_MAX_FORM];
  54. int FInterval[INT_VMS_MAX_FORM];
  55. bool FOffer[INT_VMS_MAX_FORM];
  56. String FOfferTime[INT_VMS_MAX_FORM];
  57. int FVMS_SCH_FORM_TYPE[INT_VMS_MAX_FORM];
  58. String FVMS_DSPL_MSG_TXT[INT_VMS_MAX_FORM];
  59. int FQryHour;
  60. int FQryMin;
  61. int FCycle;
  62. bool FFormQuery;
  63. void __fastcall ClearVmsForm();
  64. void __fastcall SetVmsForm();
  65. void __fastcall SelectVmsForm();
  66. void __fastcall VmsFormReload();
  67. public: // User declarations
  68. __fastcall TFrmVmsMsg(TComponent* Owner, TVmsCtlr *AObj);
  69. };
  70. //---------------------------------------------------------------------------
  71. extern PACKAGE TFrmVmsMsg *FrmVmsMsg;
  72. //---------------------------------------------------------------------------
  73. #endif