IST0070MF.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. //---------------------------------------------------------------------------
  2. #ifndef IST0070MFH
  3. #define IST0070MFH
  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 "CDSAtrdF.h"
  24. #include "FRAME_LinkListF.h"
  25. #include "FRAME_RoadListF.h"
  26. #include "cxButtons.hpp"
  27. #include "cxCalendar.hpp"
  28. #include "cxCheckBox.hpp"
  29. #include "cxClasses.hpp"
  30. #include "cxContainer.hpp"
  31. #include "cxControls.hpp"
  32. #include "cxCustomData.hpp"
  33. #include "cxData.hpp"
  34. #include "cxDataStorage.hpp"
  35. #include "cxDropDownEdit.hpp"
  36. #include "cxEdit.hpp"
  37. #include "cxFilter.hpp"
  38. #include "cxGraphics.hpp"
  39. #include "cxGrid.hpp"
  40. #include "cxGridCustomTableView.hpp"
  41. #include "cxGridCustomView.hpp"
  42. #include "cxGridLevel.hpp"
  43. #include "cxGridTableView.hpp"
  44. #include "cxGroupBox.hpp"
  45. #include "cxLabel.hpp"
  46. #include "cxLookAndFeelPainters.hpp"
  47. #include "cxLookAndFeels.hpp"
  48. #include "cxMaskEdit.hpp"
  49. #include "cxPC.hpp"
  50. #include "cxPCdxBarPopupMenu.hpp"
  51. #include "cxSplitter.hpp"
  52. #include "cxStyles.hpp"
  53. #include "cxTextEdit.hpp"
  54. #include "dxSkinBlack.hpp"
  55. #include "dxSkinBlue.hpp"
  56. #include "dxSkinsCore.hpp"
  57. #include "dxSkinscxPCPainter.hpp"
  58. #include "FRAME_IfscListF.h"
  59. class TIST0070M : public TForm
  60. {
  61. __published: // IDE-managed Components
  62. TTimer *TmrShow;
  63. TShape *ShpTitle;
  64. TcxButton *BtnClose;
  65. TLabel *LblCaption;
  66. TShape *ShpList;
  67. TEdit *EdFocus;
  68. TPanel *PnlBack;
  69. TPanel *PnlLeft;
  70. TcxSplitter *cxSplitter1;
  71. TcxGroupBox *cxGroupBox3;
  72. TcxGroupBox *cxGroupBox1;
  73. TcxPageControl *PgTab;
  74. TcxTabSheet *TsList01;
  75. TcxPageControl *PgLink;
  76. TcxTabSheet *cxTabSheet1;
  77. TcxTabSheet *cxTabSheet2;
  78. TFRAMELinkList *FRAMELinkList1;
  79. TcxTabSheet *cxTabSheet3;
  80. TFRAMERoadList *FRAMERoadList1;
  81. TPanel *PnlQry;
  82. TcxPageControl *PgQry;
  83. TcxTabSheet *cxTabSheet4;
  84. TcxTabSheet *cxTabSheet5;
  85. TcxTabSheet *cxTabSheet6;
  86. TImage *ImgDesc01;
  87. TLabel *Label26;
  88. TLabel *Label1;
  89. TImage *ImgDesc03;
  90. TLabel *Label2;
  91. TImage *ImgDesc04;
  92. TcxButton *BtnSearch;
  93. TcxComboBox *CbStatType;
  94. TDateTimePicker *DtStTime;
  95. TDateTimePicker *DtEdTime;
  96. TLabel *Label3;
  97. TImage *ImgDesc10;
  98. TcxComboBox *CbStatType1;
  99. TLabel *Label4;
  100. TImage *ImgDesc20;
  101. TcxComboBox *CbStatType2;
  102. TcxLabel *cxLabel1;
  103. TImage *ImgDesc11;
  104. TcxComboBox *CbStrTm1;
  105. TDateTimePicker *dtStrDate1;
  106. TDateTimePicker *dtEndDate1;
  107. TLabel *Label6;
  108. TLabel *Label7;
  109. TImage *ImgDesc12;
  110. TLabel *Label5;
  111. TLabel *Label8;
  112. TcxComboBox *CbEndTm1;
  113. TLabel *Label9;
  114. TLabel *Label10;
  115. TcxButton *BtnSearch1;
  116. TcxLabel *cxLabel2;
  117. TcxLabel *cxLabel3;
  118. TcxButton *BtnSearch2;
  119. TLabel *Label11;
  120. TImage *ImgDesc21;
  121. TcxGrid *CxList;
  122. TcxGridTableView *TvList;
  123. TcxGridColumn *ColumnSel;
  124. TcxGridColumn *Column00;
  125. TcxGridColumn *Column01;
  126. TcxGridColumn *Column02;
  127. TcxGridColumn *Column03;
  128. TcxGridColumn *Column04;
  129. TcxGridColumn *Column05;
  130. TcxGridColumn *Column06;
  131. TcxGridLevel *GlList;
  132. TcxComboBox *CbStrTm2;
  133. TLabel *Label12;
  134. TImage *ImgDesc22;
  135. TcxComboBox *CbEndTm2;
  136. TLabel *Label13;
  137. TLabel *Label14;
  138. TPanel *PnlAtrd;
  139. TcxPageControl *cxPageControl3;
  140. TcxTabSheet *cxTabSheet7;
  141. TLabel *Label16;
  142. TImage *ImgDesc99;
  143. TcxComboBox *CbAtrd;
  144. TPanel *Panel1;
  145. TcxButton *BtnSearch5;
  146. TDateTimePicker *DtStDate;
  147. TDateTimePicker *DtEdDate;
  148. TFRAMEIfscList *FRAMEIfscList1;
  149. void __fastcall FormShow(TObject *Sender);
  150. void __fastcall TmrShowTimer(TObject *Sender);
  151. void __fastcall BtnCloseClick(TObject *Sender);
  152. void __fastcall PgTabDblClick(TObject *Sender);
  153. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  154. void __fastcall CbStatTypePropertiesChange(TObject *Sender);
  155. void __fastcall PgQryPageChanging(TObject *Sender, TcxTabSheet *NewPage,
  156. bool &AllowChange);
  157. void __fastcall CbAtrdPropertiesChange(TObject *Sender);
  158. void __fastcall BtnSearch5Click(TObject *Sender);
  159. void __fastcall BtnSearchClick(TObject *Sender);
  160. void __fastcall BtnSearch1Click(TObject *Sender);
  161. void __fastcall BtnSearch2Click(TObject *Sender);
  162. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  163. private: // User declarations
  164. void __fastcall CommClose();
  165. String FTitle;
  166. public:
  167. TList *m_pFormList;
  168. String FLinkId;
  169. String FStTime, FEdTime;
  170. String FStTerm, FEdTerm;
  171. int FLinkLevel;
  172. int FStatType;
  173. String FAtrdId, FAtrdNm;
  174. TItsAtrdManager *MyItsAtrdManager;
  175. public: // User declarations
  176. __fastcall TIST0070M(TComponent* Owner);
  177. void __fastcall FormInit();
  178. void __fastcall RefreshData();
  179. void __fastcall InitQryList();
  180. void __fastcall ClearAtrdList();
  181. void __fastcall FillAtrdList(String AAtrdId);
  182. void __fastcall SearchTermLink(bool ALink=false);
  183. void __fastcall SearchTimeLink(bool ALink=false);
  184. void __fastcall SearchSpotLink(bool ALink=false);
  185. void __fastcall OnSubFormClose(TMessage Msg);
  186. BEGIN_MESSAGE_MAP
  187. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  188. END_MESSAGE_MAP(TForm);
  189. };
  190. //---------------------------------------------------------------------------
  191. extern PACKAGE TIST0070M *IST0070M;
  192. //---------------------------------------------------------------------------
  193. #endif