VDSM400MF.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. //---------------------------------------------------------------------------
  2. #ifndef VDSM400MFH
  3. #define VDSM400MFH
  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 <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. //---------------------------------------------------------------------------
  20. //---------------------------------------------------------------------------
  21. #include "DataTypesF.h"
  22. #include "CDSCompanyF.h"
  23. #include "cxButtons.hpp"
  24. #include "cxCheckBox.hpp"
  25. #include "cxClasses.hpp"
  26. #include "cxContainer.hpp"
  27. #include "cxControls.hpp"
  28. #include "cxCustomData.hpp"
  29. #include "cxData.hpp"
  30. #include "cxDataStorage.hpp"
  31. #include "cxEdit.hpp"
  32. #include "cxFilter.hpp"
  33. #include "cxGraphics.hpp"
  34. #include "cxGrid.hpp"
  35. #include "cxGridBandedTableView.hpp"
  36. #include "cxGridCustomTableView.hpp"
  37. #include "cxGridCustomView.hpp"
  38. #include "cxGridLevel.hpp"
  39. #include "cxGridTableView.hpp"
  40. #include "cxGroupBox.hpp"
  41. #include "cxLabel.hpp"
  42. #include "cxLookAndFeelPainters.hpp"
  43. #include "cxLookAndFeels.hpp"
  44. #include "cxStyles.hpp"
  45. #include "cxTextEdit.hpp"
  46. #include "dxSkinBlue.hpp"
  47. #include "dxSkinsCore.hpp"
  48. #include "dxSkinscxPCPainter.hpp"
  49. #include "dxSkinBlack.hpp"
  50. #include "dxSkinMcSkin.hpp"
  51. class TVDSM400M : public TForm
  52. {
  53. __published: // IDE-managed Components
  54. TTimer *TmrShow;
  55. TShape *ShpTitle;
  56. TcxButton *BtnSearch;
  57. TcxButton *BtnClose;
  58. TLabel *LblCaption;
  59. TShape *ShpList;
  60. TEdit *EdFocus;
  61. TPanel *PnlMapBack;
  62. TcxGroupBox *GrpUtis;
  63. TPanel *PnlBottom;
  64. TcxButton *BtnExlSave;
  65. TcxGrid *CxList;
  66. TcxGridBandedTableView *TvList;
  67. TcxGridBandedColumn *Col00;
  68. TcxGridBandedColumn *Col01;
  69. TcxGridBandedColumn *Col03;
  70. TcxGridBandedColumn *Col08;
  71. TcxGridLevel *GlList;
  72. TcxGridBandedColumn *Col09;
  73. TcxGridBandedColumn *Col10;
  74. TcxGridBandedColumn *Col15;
  75. TcxGridBandedColumn *Col16;
  76. TcxGridBandedColumn *Col17;
  77. TcxGridBandedColumn *Col18;
  78. TcxGridBandedColumn *Col19;
  79. TcxGridBandedColumn *Col20;
  80. TcxGridBandedColumn *Col21;
  81. TcxLabel *lblUnknown;
  82. TcxLabel *lblHTS1;
  83. TcxLabel *lblHTS0;
  84. TcxLabel *lblPAS1;
  85. TcxLabel *lblPAS0;
  86. TcxLabel *lblCDS1;
  87. TcxLabel *lblCDS0;
  88. TcxLabel *lblPWS1;
  89. TcxLabel *lblPWS0;
  90. TcxLabel *lblMOS1;
  91. TcxLabel *lblMOS0;
  92. TcxGridBandedColumn *ColCtrlS;
  93. void __fastcall FormShow(TObject *Sender);
  94. void __fastcall TmrShowTimer(TObject *Sender);
  95. void __fastcall BtnSearchClick(TObject *Sender);
  96. void __fastcall BtnCloseClick(TObject *Sender);
  97. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  98. void __fastcall BtnExlSaveClick(TObject *Sender);
  99. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  100. void __fastcall Col08CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  101. bool &ADone);
  102. void __fastcall Col09CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  103. bool &ADone);
  104. void __fastcall Col21CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  105. bool &ADone);
  106. private: // User declarations
  107. void __fastcall CommClose();
  108. String FTitle;
  109. public:
  110. String FFacilityType;
  111. public: // User declarations
  112. __fastcall TVDSM400M(TComponent* Owner);
  113. void __fastcall FormInit();
  114. void __fastcall RefreshData();
  115. void __fastcall UpdateFacility();
  116. };
  117. //---------------------------------------------------------------------------
  118. extern PACKAGE TVDSM400M *VDSM400M;
  119. //---------------------------------------------------------------------------
  120. #endif