PIS0010MF.h 6.4 KB

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