VDSH0101F.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. //---------------------------------------------------------------------------
  2. #ifndef VDSH0101FH
  3. #define VDSH0101FH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <Provider.hpp>
  12. #include <ExtCtrls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Buttons.hpp>
  15. #include <ADODB.hpp>
  16. #include <Menus.hpp>
  17. //---------------------------------------------------------------------------
  18. #include "WindowMsgF.h"
  19. #include "cxButtons.hpp"
  20. #include "cxCheckBox.hpp"
  21. #include "cxClasses.hpp"
  22. #include "cxContainer.hpp"
  23. #include "cxControls.hpp"
  24. #include "cxCustomData.hpp"
  25. #include "cxData.hpp"
  26. #include "cxDataStorage.hpp"
  27. #include "cxEdit.hpp"
  28. #include "cxFilter.hpp"
  29. #include "cxGraphics.hpp"
  30. #include "cxGrid.hpp"
  31. #include "cxGridCustomTableView.hpp"
  32. #include "cxGridCustomView.hpp"
  33. #include "cxGridLevel.hpp"
  34. #include "cxGridTableView.hpp"
  35. #include "cxLabel.hpp"
  36. #include "cxLookAndFeelPainters.hpp"
  37. #include "cxLookAndFeels.hpp"
  38. #include "cxStyles.hpp"
  39. #include "cxTextEdit.hpp"
  40. #include "dxSkinBlack.hpp"
  41. #include "dxSkinBlue.hpp"
  42. #include "dxSkinsCore.hpp"
  43. #include "dxSkinscxPCPainter.hpp"
  44. #include "dxSkinMcSkin.hpp"
  45. //---------------------------------------------------------------------------
  46. class TVDSH0101 : public TForm
  47. {
  48. __published: // IDE-managed Components
  49. TADOQuery *ADOQry;
  50. TTimer *TmrShow;
  51. TPanel *PnlTop;
  52. TPanel *PnlList;
  53. TLabel *LblSearch;
  54. TImage *ImgDesc01;
  55. TLabel *LblRecords;
  56. TcxButton *BtnExlSave;
  57. TcxCheckBox *ChkExpand;
  58. TcxGrid *CxList;
  59. TcxGridTableView *TvList;
  60. TcxGridColumn *Column01;
  61. TcxGridColumn *Column02;
  62. TcxGridColumn *Column03;
  63. TcxGridColumn *Column04;
  64. TcxGridLevel *GlList;
  65. TcxGridColumn *Column00;
  66. TcxGridColumn *Column05;
  67. TcxGridColumn *Column06;
  68. TcxGridColumn *Column07;
  69. TcxGridColumn *Column08;
  70. TcxGridColumn *Column09;
  71. TcxGridColumn *Column10;
  72. TcxGridColumn *Column11;
  73. TcxGridColumn *Column12;
  74. TcxGridColumn *Column13;
  75. TcxLabel *lblMOS0;
  76. TcxLabel *lblMOS1;
  77. TcxLabel *lblPWS0;
  78. TcxLabel *lblPWS1;
  79. TcxLabel *lblCDS0;
  80. TcxLabel *lblCDS1;
  81. TcxLabel *lblPAS0;
  82. TcxLabel *lblPAS1;
  83. TcxLabel *lblHTS0;
  84. TcxLabel *lblHTS1;
  85. TcxLabel *lblUnknown;
  86. void __fastcall FormShow(TObject *Sender);
  87. void __fastcall TmrShowTimer(TObject *Sender);
  88. void __fastcall ChkExpandClick(TObject *Sender);
  89. void __fastcall BtnExlSaveClick(TObject *Sender);
  90. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  91. void __fastcall Column02CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  92. bool &ADone);
  93. private: // User declarations
  94. TcxDataController *m_pGDC;
  95. public:
  96. HWND FParent;
  97. String FStDateTime;
  98. String FEdDateTime;
  99. String FIdList;
  100. public: // User declarations
  101. __fastcall TVDSH0101(TComponent* Owner, HWND hHandle, String sFrom, String sTo, String sIdList);
  102. __fastcall ~TVDSH0101(void);
  103. void __fastcall OnMessage(TMessage &Msg);
  104. void __fastcall CommClose();
  105. void __fastcall FormInit();
  106. void __fastcall SelHistory();
  107. void __fastcall DspHistory();
  108. };
  109. //---------------------------------------------------------------------------
  110. extern PACKAGE TVDSH0101 *VDSH0101;
  111. //---------------------------------------------------------------------------
  112. #endif