FrmVmsLogSttsSubF.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmVmsLogSttsSubFH
  3. #define FrmVmsLogSttsSubFH
  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 "cxButtons.hpp"
  19. #include "cxCalc.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 "cxLookAndFeelPainters.hpp"
  36. #include "cxLookAndFeels.hpp"
  37. #include "cxSplitter.hpp"
  38. #include "cxStyles.hpp"
  39. #include "cxTextEdit.hpp"
  40. #include "dxSkinBlack.hpp"
  41. #include "dxSkinBlue.hpp"
  42. #include "dxSkinCaramel.hpp"
  43. #include "dxSkinCoffee.hpp"
  44. #include "dxSkinDarkRoom.hpp"
  45. #include "dxSkinDarkSide.hpp"
  46. #include "dxSkinFoggy.hpp"
  47. #include "dxSkinGlassOceans.hpp"
  48. #include "dxSkiniMaginary.hpp"
  49. #include "dxSkinLilian.hpp"
  50. #include "dxSkinLiquidSky.hpp"
  51. #include "dxSkinLondonLiquidSky.hpp"
  52. #include "dxSkinMcSkin.hpp"
  53. #include "dxSkinMoneyTwins.hpp"
  54. #include "dxSkinOffice2007Black.hpp"
  55. #include "dxSkinOffice2007Blue.hpp"
  56. #include "dxSkinOffice2007Green.hpp"
  57. #include "dxSkinOffice2007Pink.hpp"
  58. #include "dxSkinOffice2007Silver.hpp"
  59. #include "dxSkinOffice2010Black.hpp"
  60. #include "dxSkinOffice2010Blue.hpp"
  61. #include "dxSkinOffice2010Silver.hpp"
  62. #include "dxSkinsCore.hpp"
  63. #include "dxSkinscxPCPainter.hpp"
  64. #include "dxSkinSeven.hpp"
  65. #include "dxSkinSharp.hpp"
  66. #include "dxSkinSilver.hpp"
  67. #include "dxSkinStardust.hpp"
  68. #include "cxLabel.hpp"
  69. #include "cxGridBandedTableView.hpp"
  70. //---------------------------------------------------------------------------
  71. #define POST_MSG(x,y,z,p) ::PostMessage(x, y, (WPARAM)z, (LPARAM)p)
  72. #define USER_MSG(x,y) ::PostMessage(x, WM_USER, (WPARAM)y, (LPARAM)0)
  73. #define WM_SUBFORM_CLOSE (WM_USER + 0xF2) // Sub Form Close
  74. //---------------------------------------------------------------------------
  75. class TFrmVmsLogSttsSub : public TForm
  76. {
  77. __published: // IDE-managed Components
  78. TADOQuery *ADOQry;
  79. TTimer *TmrShow;
  80. TPanel *PnlTop;
  81. TPanel *PnlList;
  82. TLabel *LblSearch;
  83. TImage *ImgDesc01;
  84. TLabel *LblRecords;
  85. TcxButton *BtnExlSave;
  86. TcxCheckBox *ChkExpand;
  87. TcxGrid *CxList;
  88. TcxGridBandedTableView *TvList;
  89. TcxGridBandedColumn *Col01;
  90. TcxGridBandedColumn *Col02;
  91. TcxGridBandedColumn *Col03;
  92. TcxGridBandedColumn *Col04;
  93. TcxGridBandedColumn *Col05;
  94. TcxGridBandedColumn *Col11;
  95. TcxGridBandedColumn *Col12;
  96. TcxGridBandedColumn *Col13;
  97. TcxGridBandedColumn *Col14;
  98. TcxGridBandedColumn *Col15;
  99. TcxGridBandedColumn *Col16;
  100. TcxGridBandedColumn *Col17;
  101. TcxGridBandedColumn *Col22;
  102. TcxGridBandedColumn *Col23;
  103. TcxGridLevel *GlList;
  104. TcxLabel *lblText1;
  105. TcxLabel *lblText2;
  106. TcxLabel *lblSucc;
  107. TcxLabel *lblFai;
  108. TcxLabel *lblCnt;
  109. TcxLabel *lblMOS0;
  110. TcxLabel *lblMOS1;
  111. TcxLabel *lblPWS0;
  112. TcxLabel *lblPWS1;
  113. TcxLabel *lblCDS0;
  114. TcxLabel *lblCDS1;
  115. TcxLabel *lblPAS0;
  116. TcxLabel *lblPAS1;
  117. TcxLabel *lblHTS0;
  118. TcxLabel *lblHTS1;
  119. TcxGridBandedColumn *Col24;
  120. void __fastcall FormShow(TObject *Sender);
  121. void __fastcall TmrShowTimer(TObject *Sender);
  122. void __fastcall ChkExpandClick(TObject *Sender);
  123. void __fastcall BtnExlSaveClick(TObject *Sender);
  124. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  125. void __fastcall FormDestroy(TObject *Sender);
  126. void __fastcall Col05CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  127. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  128. void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  129. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  130. void __fastcall Col17CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  131. bool &ADone);
  132. private: // User declarations
  133. TcxDataController *m_pGDC;
  134. public:
  135. HWND FParent;
  136. String FStDateTime;
  137. String FEdDateTime;
  138. String FIdList;
  139. public: // User declarations
  140. __fastcall TFrmVmsLogSttsSub(TComponent* Owner, HWND hHandle, String sFrom, String sTo, String sIdList);
  141. void __fastcall CommClose();
  142. void __fastcall FormInit();
  143. void __fastcall SelHistory();
  144. void __fastcall DspHistory();
  145. };
  146. //---------------------------------------------------------------------------
  147. //extern PACKAGE TFrmVmsLogSttsSub *FrmVmsLogSttsSub;
  148. //---------------------------------------------------------------------------
  149. #endif