IRP00101F.h 4.0 KB

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