FrmVmsMsgF.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. #include "dxSkinMcSkin.hpp"
  29. class TFrmVmsMsg : public TForm
  30. {
  31. __published: // IDE-managed Components
  32. TTimer *TmrShow;
  33. TPanel *PnlVmsMsgDisp;
  34. TImage *ImgForm;
  35. TTimer *TmrVmsMsgDisp;
  36. TADOQuery *pADO;
  37. TPanel *PnlOffer;
  38. TcxLabel *lblTm;
  39. TTimer *TmrTicker;
  40. TFFPlayer *FFPlayer1;
  41. TPanel *LblTicker;
  42. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  43. void __fastcall FormShow(TObject *Sender);
  44. void __fastcall TmrShowTimer(TObject *Sender);
  45. void __fastcall TmrVmsMsgDispTimer(TObject *Sender);
  46. void __fastcall FormDestroy(TObject *Sender);
  47. void __fastcall TmrTickerTimer(TObject *Sender);
  48. void __fastcall FFPlayer1State(TObject *Sender, TPlayState APlayState);
  49. private: // User declarations
  50. public:
  51. TVmsCtlr *FObj;
  52. int FDispIndex;
  53. int FPhaseCnt;
  54. TImage *FVmsImage[INT_VMS_MAX_FORM];
  55. int FInterval[INT_VMS_MAX_FORM];
  56. bool FOffer[INT_VMS_MAX_FORM];
  57. String FOfferTime[INT_VMS_MAX_FORM];
  58. int FVMS_SCH_FORM_TYPE[INT_VMS_MAX_FORM];
  59. String FVMS_DSPL_MSG_TXT[INT_VMS_MAX_FORM];
  60. int FQryHour;
  61. int FQryMin;
  62. int FCycle;
  63. bool FFormQuery;
  64. bool FFormClose;
  65. void __fastcall ClearVmsForm();
  66. void __fastcall SetVmsForm();
  67. void __fastcall SelectVmsForm_HANTE();
  68. void __fastcall SelectVmsForm();
  69. void __fastcall VmsFormReload();
  70. public: // User declarations
  71. __fastcall TFrmVmsMsg(TComponent* Owner, TVmsCtlr *AObj);
  72. };
  73. //---------------------------------------------------------------------------
  74. extern PACKAGE TFrmVmsMsg *FrmVmsMsg;
  75. //---------------------------------------------------------------------------
  76. #endif