FRAME_AtmpPltnListF.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. //---------------------------------------------------------------------------
  2. #ifndef FRAME_AtmpPltnListFH
  3. #define FRAME_AtmpPltnListFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <Menus.hpp>
  11. #include <ADODB.hpp>
  12. #include <DB.hpp>
  13. //---------------------------------------------------------------------------
  14. #include "CDSCodeF.h"
  15. #include "CDSVilgFrcsF.h"
  16. #include "cxCalc.hpp"
  17. #include "cxClasses.hpp"
  18. #include "cxContainer.hpp"
  19. #include "cxControls.hpp"
  20. #include "cxCustomData.hpp"
  21. #include "cxData.hpp"
  22. #include "cxDataStorage.hpp"
  23. #include "cxEdit.hpp"
  24. #include "cxFilter.hpp"
  25. #include "cxGraphics.hpp"
  26. #include "cxGrid.hpp"
  27. #include "cxGridBandedTableView.hpp"
  28. #include "cxGridCustomTableView.hpp"
  29. #include "cxGridCustomView.hpp"
  30. #include "cxGridLevel.hpp"
  31. #include "cxGridTableView.hpp"
  32. #include "cxLabel.hpp"
  33. #include "cxLookAndFeelPainters.hpp"
  34. #include "cxLookAndFeels.hpp"
  35. #include "cxStyles.hpp"
  36. #include "cxTextEdit.hpp"
  37. #include "dxSkinBlack.hpp"
  38. #include "dxSkinBlue.hpp"
  39. #include "dxSkinsCore.hpp"
  40. #include "dxSkinscxPCPainter.hpp"
  41. //---------------------------------------------------------------------------
  42. class TFRAMEAtmpPltnList : public TFrame
  43. {
  44. __published: // IDE-managed Components
  45. TcxGrid *CxList;
  46. TcxGridBandedTableView *TvList;
  47. TcxGridBandedColumn *Col00;
  48. TcxGridBandedColumn *Col01;
  49. TcxGridBandedColumn *Col02;
  50. TcxGridBandedColumn *Col03;
  51. TcxGridBandedColumn *Col04;
  52. TcxGridBandedColumn *Col05;
  53. TcxGridBandedColumn *Col06;
  54. TcxGridBandedColumn *Col07;
  55. TcxGridBandedColumn *Col08;
  56. TcxGridBandedColumn *Col09;
  57. TcxGridBandedColumn *Col10;
  58. TcxGridBandedColumn *Col11;
  59. TcxGridBandedColumn *Col12;
  60. TcxGridBandedColumn *Col13;
  61. TcxGridBandedColumn *Col14;
  62. TcxGridBandedColumn *Col15;
  63. TcxGridBandedColumn *Col16;
  64. TcxGridBandedColumn *Col17;
  65. TcxGridBandedColumn *Col18;
  66. TcxGridBandedColumn *Col19;
  67. TcxGridBandedColumn *Col20;
  68. TcxGridBandedColumn *Col21;
  69. TcxGridBandedColumn *TvListColumn23;
  70. TcxGridBandedColumn *TvListColumn24;
  71. TcxGridBandedColumn *Col30;
  72. TcxGridBandedColumn *Col31;
  73. TcxGridBandedColumn *Column99;
  74. TPanel *Panel1;
  75. TPanel *Panel2;
  76. TPanel *Panel3;
  77. TcxLabel *Lbl1;
  78. TcxLabel *cxLabel8;
  79. TcxLabel *Lbl2;
  80. TcxLabel *cxLabel6;
  81. TcxLabel *Lbl3;
  82. TcxLabel *cxLabel4;
  83. TcxLabel *Lbl4;
  84. TcxLabel *cxLabel2;
  85. TcxLabel *Lbl0;
  86. TcxLabel *cxLabel1;
  87. TcxLabel *LblAlarm;
  88. TcxGridBandedColumn *ColUPDT_DT;
  89. void __fastcall Col13CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  90. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  91. void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  92. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  93. private: // User declarations
  94. TcxDataController *m_pGDC;
  95. public:
  96. //String FLastAnsTime;
  97. int FAlarmCount1;
  98. public: // User declarations
  99. __fastcall TFRAMEAtmpPltnList(TComponent* Owner);
  100. void __fastcall UpdateList();
  101. void __fastcall RefreshList();
  102. void __fastcall UpdateSprpList();
  103. int __fastcall GetAlarmCount() { return FAlarmCount1; }
  104. };
  105. //---------------------------------------------------------------------------
  106. //extern PACKAGE TFRAMEAtmpPltnList *FRAMEAtmpPltnList;
  107. //---------------------------------------------------------------------------
  108. #endif