FRAME_AtmpPltnListF.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. #include "dxSkinMcSkin.hpp"
  42. //---------------------------------------------------------------------------
  43. class TFRAMEAtmpPltnList : public TFrame
  44. {
  45. __published: // IDE-managed Components
  46. TcxGrid *CxList;
  47. TcxGridBandedTableView *TvList;
  48. TcxGridBandedColumn *Col00;
  49. TcxGridBandedColumn *Col01;
  50. TcxGridBandedColumn *Col02;
  51. TcxGridBandedColumn *Col03;
  52. TcxGridBandedColumn *Col04;
  53. TcxGridBandedColumn *Col05;
  54. TcxGridBandedColumn *Col06;
  55. TcxGridBandedColumn *Col07;
  56. TcxGridBandedColumn *Col08;
  57. TcxGridBandedColumn *Col09;
  58. TcxGridBandedColumn *Col10;
  59. TcxGridBandedColumn *Col11;
  60. TcxGridBandedColumn *Col12;
  61. TcxGridBandedColumn *Col13;
  62. TcxGridBandedColumn *Col14;
  63. TcxGridBandedColumn *Col15;
  64. TcxGridBandedColumn *Col16;
  65. TcxGridBandedColumn *Col17;
  66. TcxGridBandedColumn *Col18;
  67. TcxGridBandedColumn *Col19;
  68. TcxGridBandedColumn *Col20;
  69. TcxGridBandedColumn *Col21;
  70. TcxGridBandedColumn *TvListColumn23;
  71. TcxGridBandedColumn *TvListColumn24;
  72. TcxGridBandedColumn *Col30;
  73. TcxGridBandedColumn *Col31;
  74. TcxGridBandedColumn *Column99;
  75. TPanel *Panel1;
  76. TPanel *Panel2;
  77. TPanel *Panel3;
  78. TcxLabel *Lbl1;
  79. TcxLabel *cxLabel8;
  80. TcxLabel *Lbl2;
  81. TcxLabel *cxLabel6;
  82. TcxLabel *Lbl3;
  83. TcxLabel *cxLabel4;
  84. TcxLabel *Lbl4;
  85. TcxLabel *cxLabel2;
  86. TcxLabel *Lbl0;
  87. TcxLabel *cxLabel1;
  88. TcxLabel *LblAlarm;
  89. TcxGridBandedColumn *ColUPDT_DT;
  90. void __fastcall Col13CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  91. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  92. void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  93. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  94. private: // User declarations
  95. TcxDataController *m_pGDC;
  96. public:
  97. //String FLastAnsTime;
  98. int FAlarmCount1;
  99. public: // User declarations
  100. __fastcall TFRAMEAtmpPltnList(TComponent* Owner);
  101. void __fastcall UpdateList();
  102. void __fastcall RefreshList();
  103. void __fastcall UpdateSprpList();
  104. int __fastcall GetAlarmCount() { return FAlarmCount1; }
  105. };
  106. //---------------------------------------------------------------------------
  107. //extern PACKAGE TFRAMEAtmpPltnList *FRAMEAtmpPltnList;
  108. //---------------------------------------------------------------------------
  109. #endif