IRP00101F.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. //---------------------------------------------------------------------------
  2. #ifndef IRP00101FH
  3. #define IRP00101FH
  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 "cxClasses.hpp"
  21. #include "cxControls.hpp"
  22. #include "cxCustomData.hpp"
  23. #include "cxData.hpp"
  24. #include "cxDataStorage.hpp"
  25. #include "cxEdit.hpp"
  26. #include "cxFilter.hpp"
  27. #include "cxGraphics.hpp"
  28. #include "cxGrid.hpp"
  29. #include "cxGridCustomTableView.hpp"
  30. #include "cxGridCustomView.hpp"
  31. #include "cxGridLevel.hpp"
  32. #include "cxGridTableView.hpp"
  33. #include "cxLabel.hpp"
  34. #include "cxLookAndFeelPainters.hpp"
  35. #include "cxLookAndFeels.hpp"
  36. #include "cxStyles.hpp"
  37. #include "dxSkinBlack.hpp"
  38. #include "dxSkinBlue.hpp"
  39. #include "dxSkinsCore.hpp"
  40. #include "dxSkinscxPCPainter.hpp"
  41. #include "dxmdaset.hpp"
  42. #include "cxContainer.hpp"
  43. class TIRP00101 : public TForm
  44. {
  45. __published: // IDE-managed Components
  46. TADOQuery *ADOQry;
  47. TTimer *TmrShow;
  48. TPanel *PnlTop;
  49. TPanel *PnlList;
  50. TLabel *LblSearch;
  51. TImage *ImgDesc01;
  52. TcxButton *BtnExlSave;
  53. TcxGrid *CxList;
  54. TcxGridTableView *TvList;
  55. TcxGridColumn *Column01;
  56. TcxGridColumn *Column02;
  57. TcxGridLevel *GlList;
  58. TcxGridColumn *Column03;
  59. TcxGridColumn *Column04;
  60. TcxGridColumn *Column05;
  61. TcxGridColumn *Column06;
  62. TcxGridColumn *Column07;
  63. TcxGridColumn *Column08;
  64. TcxGridColumn *Column09;
  65. TcxGridColumn *Column10;
  66. TcxGridColumn *Column90;
  67. TcxGridColumn *Column91;
  68. TdxMemData *dxMemData1;
  69. TcxLabel *lblType2;
  70. TcxLabel *lblType1;
  71. TcxLabel *cxLabel1;
  72. TcxLabel *cxLabel2;
  73. TcxLabel *cxLabel3;
  74. TcxLabel *cxLabel4;
  75. TcxLabel *cxLabel5;
  76. TcxLabel *cxLabel6;
  77. TcxLabel *cxLabel7;
  78. TcxLabel *cxLabel8;
  79. TcxLabel *cxLabel10;
  80. TcxLabel *cxLabel11;
  81. TcxLabel *cxLabel9;
  82. TcxLabel *cxLabel12;
  83. TcxLabel *cxLabel13;
  84. TcxLabel *cxLabel14;
  85. TcxLabel *cxLabel15;
  86. TcxLabel *cxLabel16;
  87. TcxLabel *cxLabel17;
  88. TcxLabel *cxLabel18;
  89. TcxLabel *cxLabel19;
  90. void __fastcall FormShow(TObject *Sender);
  91. void __fastcall TmrShowTimer(TObject *Sender);
  92. void __fastcall BtnExlSaveClick(TObject *Sender);
  93. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  94. void __fastcall TvListCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  95. bool &ADone);
  96. void __fastcall FormDestroy(TObject *Sender);
  97. private: // User declarations
  98. TcxDataController *m_pGDC;
  99. public:
  100. HWND FParent;
  101. String FStDateTime;
  102. String FEdDateTime;
  103. int FRptType;
  104. String FTitle;
  105. int FRows;
  106. public: // User declarations
  107. __fastcall TIRP00101(TComponent* Owner, HWND hHandle, int ARptType, String sFrom, String sTo, String ATitle);
  108. __fastcall ~TIRP00101(void);
  109. void __fastcall OnMessage(TMessage &Msg);
  110. void __fastcall CommClose();
  111. void __fastcall FormInit();
  112. void __fastcall SelReportFacility1();
  113. void __fastcall DspReportFacility1();
  114. void __fastcall SelReportFacility2();
  115. void __fastcall DspReportFacility2();
  116. void __fastcall DspReportFacility1MemData();
  117. void __fastcall DspReportFacility2MemData();
  118. void __fastcall SelReportTraffic1();
  119. void __fastcall DspReportTraffic1();
  120. void __fastcall SelReportTraffic2();
  121. void __fastcall DspReportTraffic2();
  122. void __fastcall DspReportTraffic1MemData();
  123. void __fastcall DspReportTraffic2MemData();
  124. };
  125. //---------------------------------------------------------------------------
  126. extern PACKAGE TIRP00101 *IRP00101;
  127. //---------------------------------------------------------------------------
  128. #endif