PIS0010MF.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. //---------------------------------------------------------------------------
  2. #ifndef PIS0010MFH
  3. #define PIS0010MFH
  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 "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 "cxDropDownEdit.hpp"
  32. #include "cxEdit.hpp"
  33. #include "cxFilter.hpp"
  34. #include "cxGraphics.hpp"
  35. #include "cxGrid.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 "cxMaskEdit.hpp"
  45. #include "cxSpinEdit.hpp"
  46. #include "cxSplitter.hpp"
  47. #include "cxStyles.hpp"
  48. #include "cxTextEdit.hpp"
  49. #include "cxTimeEdit.hpp"
  50. #include "dxSkinBlack.hpp"
  51. #include "dxSkinBlue.hpp"
  52. #include "dxSkinsCore.hpp"
  53. #include "dxSkinscxPCPainter.hpp"
  54. #include "FRAME_FlashMapF.h"
  55. #include "FRAME_ParkingListF.h"
  56. class TPIS0010M : public TForm
  57. {
  58. __published: // IDE-managed Components
  59. TTimer *TmrShow;
  60. TShape *ShpTitle;
  61. TcxButton *BtnClose;
  62. TLabel *LblCaption;
  63. TShape *ShpList;
  64. TEdit *EdFocus;
  65. TPanel *PnlBack;
  66. TPanel *PnlLeft;
  67. TcxSplitter *cxSplitter1;
  68. TcxGroupBox *cxGroupBox3;
  69. TFRAMEParkingList *FRAMEParkingList1;
  70. TPanel *PnlBottom;
  71. TcxSplitter *cxSplitter3;
  72. TcxGroupBox *GrpMap;
  73. TcxCheckBox *ChkViewIcon;
  74. TFRAMEFlashMap *FRAMEGisMap1;
  75. TcxCheckBox *ChkViewName;
  76. TPanel *PnlEdit;
  77. TcxGroupBox *GrpInfo;
  78. TImage *ImgDesc01;
  79. TImage *ImgDesc02;
  80. TImage *ImgDesc03;
  81. TImage *ImgDesc04;
  82. TImage *ImgDesc05;
  83. TImage *ImgDesc06;
  84. TImage *ImgDesc07;
  85. TImage *ImgDesc08;
  86. TImage *ImgDesc09;
  87. TImage *ImgDesc10;
  88. TImage *ImgDesc11;
  89. TImage *ImgDesc23;
  90. TImage *ImgDesc22;
  91. TImage *ImgDesc21;
  92. TcxTextEdit *CTLR_MNGM_NMBR;
  93. TcxTextEdit *EdId;
  94. TcxSpinEdit *X_CRDN;
  95. TcxSpinEdit *Y_CRDN;
  96. TcxLabel *cxLabel1;
  97. TcxLabel *cxLabel2;
  98. TcxLabel *cxLabel3;
  99. TcxLabel *cxLabel6;
  100. TcxLabel *cxLabel8;
  101. TcxLabel *cxLabel9;
  102. TcxLabel *cxLabel10;
  103. TcxLabel *cxLabel5;
  104. TcxSpinEdit *CTLR_CLCT_CYCL;
  105. TcxTextEdit *CTLR_MNGM_NM;
  106. TcxComboBox *PRLT_OPER_DVSN_CD;
  107. TcxComboBox *VALD_YN;
  108. TcxMaskEdit *TRMN_IP;
  109. TcxTextEdit *TRMN_PORT;
  110. TcxSpinEdit *CTLR_STTS_CYCL;
  111. TcxSpinEdit *WHOL_NPLS;
  112. TcxComboBox *PRLT_TYPE_DVSN_CD;
  113. TcxLabel *cxLabel4;
  114. TcxLabel *cxLabel7;
  115. TcxLabel *cxLabel11;
  116. TcxLabel *cxLabel12;
  117. TcxLabel *cxLabel13;
  118. TcxLabel *cxLabel14;
  119. TcxTextEdit *PRLT_MNGM_INTN_NM;
  120. TcxTextEdit *PRLT_MNGM_INTN_TEL;
  121. TcxComboBox *PARK_NDSY_CD;
  122. TcxComboBox *PARK_OPER_DAY_CD;
  123. TcxTimeEdit *PARK_WKDY_STRT_HH;
  124. TcxTimeEdit *PARK_WKDY_END_HH;
  125. TcxTimeEdit *PARK_LHDY_STRT_HH;
  126. TcxTimeEdit *PARK_LHDY_END_HH;
  127. TcxComboBox *PARK_OPDR_CD;
  128. TcxComboBox *PARK_FARE_IMPS_CD;
  129. TcxComboBox *PARK_APNT_OFFR_YN;
  130. TcxButton *BtnListAdd;
  131. TcxButton *BtnListDelete;
  132. TcxGrid *CxLink;
  133. TcxGridTableView *TvLink;
  134. TcxGridColumn *ColLink1;
  135. TcxGridColumn *ColLink2;
  136. TcxGridColumn *ColLink3;
  137. TcxGridColumn *ColLink4;
  138. TcxGridColumn *ColLink5;
  139. TcxGridColumn *ColLink6;
  140. TcxGridLevel *GlLink;
  141. TPanel *PnlMenu;
  142. TcxButton *BtnEdit;
  143. TcxButton *BtnInsert;
  144. TcxButton *BtnDelete;
  145. TcxButton *BtnSave;
  146. TcxTextEdit *ISTL_LCTN_ADDR;
  147. TcxLabel *cxLabel15;
  148. TImage *ImgDesc99;
  149. TcxLabel *cxLabel16;
  150. TImage *ImgDesc27;
  151. TcxComboBox *REAL_DATA_YN;
  152. void __fastcall FormShow(TObject *Sender);
  153. void __fastcall TmrShowTimer(TObject *Sender);
  154. void __fastcall BtnCloseClick(TObject *Sender);
  155. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  156. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  157. void __fastcall ChkViewIconClick(TObject *Sender);
  158. void __fastcall BtnEditClick(TObject *Sender);
  159. void __fastcall BtnInsertClick(TObject *Sender);
  160. void __fastcall BtnDeleteClick(TObject *Sender);
  161. void __fastcall BtnSaveClick(TObject *Sender);
  162. void __fastcall FRAMEParkingList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  163. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  164. void __fastcall BtnListDeleteClick(TObject *Sender);
  165. void __fastcall BtnListAddClick(TObject *Sender);
  166. void __fastcall TRMN_PORTKeyPress(TObject *Sender, wchar_t &Key);
  167. private: // User declarations
  168. void __fastcall CommClose();
  169. TcxDataController *m_pGDC;
  170. String FTitle;
  171. bool FUpdate;
  172. bool FNewDb;
  173. bool MapStart;
  174. public:
  175. public: // User declarations
  176. __fastcall TPIS0010M(TComponent* Owner);
  177. void __fastcall FormInit();
  178. void __fastcall UpdateParkingIcon();
  179. void __fastcall DisplayInfo(TItsParking* AObj);
  180. void __fastcall ChangeEditMode(int AEdit);
  181. bool __fastcall FindParkingFloor(String ANmbr);
  182. void __fastcall ShockwaveFlash1FlashCall1(TObject *ASender, const WideString request);
  183. };
  184. //---------------------------------------------------------------------------
  185. extern PACKAGE TPIS0010M *PIS0010M;
  186. //---------------------------------------------------------------------------
  187. #endif