IAN0040MF.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. //---------------------------------------------------------------------------
  2. #ifndef IAN0040MFH
  3. #define IAN0040MFH
  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. #include <Dialogs.hpp>
  20. #include <ExtDlgs.hpp>
  21. //---------------------------------------------------------------------------
  22. #include "WindowMsgF.h"
  23. #include "CDSServiceLinkF.h"
  24. #include "cxButtons.hpp"
  25. #include "cxCalc.hpp"
  26. #include "cxCalendar.hpp"
  27. #include "cxClasses.hpp"
  28. #include "cxContainer.hpp"
  29. #include "cxControls.hpp"
  30. #include "cxCustomData.hpp"
  31. #include "cxData.hpp"
  32. #include "cxDataStorage.hpp"
  33. #include "cxDropDownEdit.hpp"
  34. #include "cxEdit.hpp"
  35. #include "cxFilter.hpp"
  36. #include "cxGraphics.hpp"
  37. #include "cxGrid.hpp"
  38. #include "cxGridCustomTableView.hpp"
  39. #include "cxGridCustomView.hpp"
  40. #include "cxGridLevel.hpp"
  41. #include "cxGridTableView.hpp"
  42. #include "cxGroupBox.hpp"
  43. #include "cxLabel.hpp"
  44. #include "cxLookAndFeelPainters.hpp"
  45. #include "cxLookAndFeels.hpp"
  46. #include "cxMaskEdit.hpp"
  47. #include "cxSpinEdit.hpp"
  48. #include "cxSplitter.hpp"
  49. #include "cxStyles.hpp"
  50. #include "cxTextEdit.hpp"
  51. #include "cxTimeEdit.hpp"
  52. #include "cxTrackBar.hpp"
  53. #include "dxSkinBlack.hpp"
  54. #include "dxSkinBlue.hpp"
  55. #include "dxSkinsCore.hpp"
  56. #include "dxSkinscxPCPainter.hpp"
  57. typedef struct
  58. {
  59. int Speed;
  60. TColor clrTraffic;
  61. } MYLinkValue;
  62. class TIAN0040M : public TForm
  63. {
  64. __published: // IDE-managed Components
  65. TTimer *TmrShow;
  66. TShape *ShpTitle;
  67. TcxButton *BtnClose;
  68. TLabel *LblCaption;
  69. TShape *ShpList;
  70. TEdit *EdFocus;
  71. TPanel *PnlBack;
  72. TPanel *PnlLeft;
  73. TcxSplitter *cxSplitter1;
  74. TcxGroupBox *cxGroupBox2;
  75. TImage *ImgDesc01;
  76. TLabel *Label26;
  77. TImage *ImgDesc02;
  78. TLabel *Label6;
  79. TcxButton *BtnSearch;
  80. TcxDateEdit *DtStDate;
  81. TcxDateEdit *DtEdDate;
  82. TcxTimeEdit *DtEdTime1;
  83. TcxTimeEdit *DtStTime1;
  84. TcxGroupBox *cxGroupBox1;
  85. TcxLabel *cxLabel1;
  86. TImage *ImgDesc03;
  87. TLabel *Label1;
  88. TcxComboBox *CbLinkLevel;
  89. TcxGroupBox *cxGroupBox3;
  90. TcxGroupBox *cxGroupBox5;
  91. TcxButton *BtnPlay;
  92. TcxButton *BtnStop;
  93. TcxTrackBar *cxTrackBar1;
  94. TcxGrid *CxList;
  95. TcxGridTableView *TvList;
  96. TcxGridColumn *Column02;
  97. TcxGridColumn *Column01;
  98. TcxGridColumn *Column03;
  99. TcxGridLevel *GlList;
  100. TcxGridColumn *Column04;
  101. TADOQuery *ADOQry;
  102. TImage *ImgDesc04;
  103. TLabel *Label2;
  104. TcxSpinEdit *SeRefreshSec;
  105. TLabel *Label3;
  106. TADOQuery *ADOSta;
  107. TcxGroupBox *cxGroupBox4;
  108. TcxButton *BtnSearch2;
  109. TcxTextEdit *EdLinkId;
  110. TLabel *Label4;
  111. TImage *ImgDesc05;
  112. TTimer *TmrClear;
  113. TLabel *LblRecords;
  114. TDateTimePicker *DtEdTime;
  115. TDateTimePicker *DtStTime;
  116. void __fastcall FormShow(TObject *Sender);
  117. void __fastcall TmrShowTimer(TObject *Sender);
  118. void __fastcall BtnSearchClick(TObject *Sender);
  119. void __fastcall BtnCloseClick(TObject *Sender);
  120. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  121. void __fastcall DtStDatePropertiesValidate(TObject *Sender, Variant &DisplayValue, TCaption &ErrorText, bool &Error);
  122. void __fastcall BtnPlayClick(TObject *Sender);
  123. void __fastcall BtnStopClick(TObject *Sender);
  124. void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
  125. TShiftState AShift, bool &AHandled);
  126. void __fastcall BtnSearch2Click(TObject *Sender);
  127. void __fastcall TmrClearTimer(TObject *Sender);
  128. private: // User declarations
  129. void __fastcall CommClose();
  130. String FTitle;
  131. TcxDataController *m_pGDC;
  132. public:
  133. String FStDateTime;
  134. String FEdDateTime;
  135. String FLinkLevel;
  136. String FStatTime;
  137. int FSimIndex;
  138. public: // User declarations
  139. __fastcall TIAN0040M(TComponent* Owner);
  140. void __fastcall FormInit();
  141. void __fastcall SelHistory();
  142. void __fastcall DspHistory();
  143. void __fastcall SelStatisticsHistory(String AStatTime);
  144. void __fastcall ClearGis();
  145. };
  146. //---------------------------------------------------------------------------
  147. extern PACKAGE TIAN0040M *IAN0040M;
  148. //---------------------------------------------------------------------------
  149. #endif