PIS0010MF.h 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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_ParkingListF.h"
  55. #include "FRAME_OpenMapF.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. TPanel *PnlEdit;
  74. TcxGroupBox *GrpInfo;
  75. TImage *ImgDesc02;
  76. TImage *ImgDesc03;
  77. TImage *ImgDesc04;
  78. TImage *ImgDesc07;
  79. TcxTextEdit *EdPRLT_CTLR_ID;
  80. TcxLabel *cxLabel2;
  81. TcxLabel *cxLabel3;
  82. TcxLabel *cxLabel6;
  83. TcxLabel *cxLabel10;
  84. TcxTextEdit *EdPRLT_NM;
  85. TcxComboBox *CbPRLT_OPER_DVSN_CD;
  86. TcxSpinEdit *SeWHOL_NPLS;
  87. TcxComboBox *CbPRLT_TYPE_DVSN_CD;
  88. TcxLabel *cxLabel12;
  89. TcxLabel *cxLabel13;
  90. TPanel *PnlMenu;
  91. TcxButton *BtnEdit;
  92. TcxButton *BtnInsert;
  93. TcxButton *BtnDelete;
  94. TcxButton *BtnSave;
  95. TcxLabel *cxLabel15;
  96. TImage *ImgDesc99;
  97. TFRAMEOpenMap *FRAMEOpenMap1;
  98. TcxTextEdit *EdNmbr;
  99. TcxLabel *cxLabel18;
  100. TImage *ImgDesc24;
  101. TcxSpinEdit *SePosX;
  102. TcxSpinEdit *SePosY;
  103. TPanel *Panel1;
  104. TcxComboBox *VALD_YN;
  105. TcxGrid *CxLink;
  106. TcxGridTableView *TvLink;
  107. TcxGridColumn *ColLink1;
  108. TcxGridColumn *ColLink2;
  109. TcxGridColumn *ColLink3;
  110. TcxGridColumn *ColLink4;
  111. TcxGridColumn *ColLink5;
  112. TcxGridColumn *ColLink6;
  113. TcxGridLevel *GlLink;
  114. TcxButton *BtnListDelete;
  115. TcxButton *BtnListAdd;
  116. TcxTextEdit *PRLT_MNGM_INTN_NM;
  117. TcxTextEdit *PRLT_MNGM_INTN_TEL;
  118. TcxComboBox *PARK_NDSY_CD;
  119. TcxComboBox *PARK_OPER_DAY_CD;
  120. TcxTimeEdit *PARK_WKDY_STRT_HH;
  121. TcxTimeEdit *PARK_WKDY_END_HH;
  122. TcxTimeEdit *PARK_LHDY_STRT_HH;
  123. TcxTimeEdit *PARK_LHDY_END_HH;
  124. TcxComboBox *PARK_OPDR_CD;
  125. TcxComboBox *PARK_FARE_IMPS_CD;
  126. TcxComboBox *PARK_APNT_OFFR_YN;
  127. TcxTextEdit *EdISTL_LCTN_ADDR;
  128. TcxSpinEdit *SeHNDC_NPLS;
  129. TImage *ImgDesc28;
  130. TImage *ImgDesc08;
  131. TImage *ImgDesc09;
  132. TImage *ImgDesc10;
  133. TImage *ImgDesc11;
  134. TcxLabel *cxLabel5;
  135. TcxLabel *cxLabel4;
  136. TcxLabel *cxLabel7;
  137. TcxLabel *cxLabel11;
  138. TMemo *MoPRLT_CHARGE_DESC;
  139. TImage *ImgDesc21;
  140. TMemo *MoPRLT_OPER_DESC;
  141. TcxLabel *cxLabel17;
  142. TcxTextEdit *EdISTL_LCTN_NM;
  143. TImage *ImgDesc89;
  144. TcxTextEdit *EdPRLT_TEL;
  145. TcxLabel *cxLabel1;
  146. TImage *ImgDesc79;
  147. TcxSpinEdit *SeGNRL_NPLS;
  148. TcxSpinEdit *SeLGVH_NPLS;
  149. TcxSpinEdit *SeEMVH_NPLS;
  150. TcxSpinEdit *SeHVVH_NPLS;
  151. TcxSpinEdit *SeELVH_NPLS;
  152. TcxSpinEdit *SeWMON_NPLS;
  153. TcxSpinEdit *SeETC_NPLS;
  154. TImage *ImgDesc05;
  155. TImage *ImgDesc27;
  156. TcxLabel *cxLabel8;
  157. TcxMaskEdit *EdPRLT_CTLR_IP;
  158. TcxTextEdit *EdPRLT_CTLR_PORT;
  159. TcxLabel *cxLabel16;
  160. TcxComboBox *CbREAL_DATA_YN;
  161. TcxSpinEdit *SeCTLR_STTS_CYCL;
  162. TcxSpinEdit *SeCTLR_CLCT_CYCL;
  163. TcxLabel *cxLabel9;
  164. TImage *ImgDesc06;
  165. TMemo *MoPRLT_ETC_DESC;
  166. TcxLabel *cxLabel19;
  167. TcxLabel *cxLabel14;
  168. TImage *ImgDesc35;
  169. TcxLabel *cxLabel20;
  170. TcxSpinEdit *SeCNGT_NPLS;
  171. void __fastcall FormShow(TObject *Sender);
  172. void __fastcall TmrShowTimer(TObject *Sender);
  173. void __fastcall BtnCloseClick(TObject *Sender);
  174. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  175. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  176. void __fastcall BtnEditClick(TObject *Sender);
  177. void __fastcall BtnInsertClick(TObject *Sender);
  178. void __fastcall BtnDeleteClick(TObject *Sender);
  179. void __fastcall BtnSaveClick(TObject *Sender);
  180. void __fastcall FRAMEParkingList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  181. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  182. void __fastcall BtnListDeleteClick(TObject *Sender);
  183. void __fastcall BtnListAddClick(TObject *Sender);
  184. void __fastcall EdPRLT_CTLR_PORTKeyPress(TObject *Sender, wchar_t &Key);
  185. private: // User declarations
  186. void __fastcall CommClose();
  187. TcxDataController *m_pGDC;
  188. String FTitle;
  189. bool FUpdate;
  190. bool FNewDb;
  191. bool EditMode;
  192. bool MapStart;
  193. public:
  194. String sJs;
  195. int FLayerIdx;
  196. public: // User declarations
  197. __fastcall TPIS0010M(TComponent* Owner);
  198. void __fastcall FormInit();
  199. void __fastcall UpdateIcon();
  200. void __fastcall DisplayInfo(TPrltCtlr* AObj, bool AMoveObj=true);
  201. void __fastcall ChangeEditMode(int AEdit);
  202. bool __fastcall FindParkingFloor(String ANmbr);
  203. void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst);
  204. };
  205. //---------------------------------------------------------------------------
  206. extern PACKAGE TPIS0010M *PIS0010M;
  207. //---------------------------------------------------------------------------
  208. #endif