CRSM200MF.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. //---------------------------------------------------------------------------
  2. #ifndef CRSM200MFH
  3. #define CRSM200MFH
  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. //---------------------------------------------------------------------------
  23. #include "WindowMsgF.h"
  24. #include "CDSCodeF.h"
  25. #include "FRAME_CrsCamListF.h"
  26. #include "cxButtons.hpp"
  27. #include "cxCheckBox.hpp"
  28. #include "cxClasses.hpp"
  29. #include "cxContainer.hpp"
  30. #include "cxControls.hpp"
  31. #include "cxCustomData.hpp"
  32. #include "cxData.hpp"
  33. #include "cxDataStorage.hpp"
  34. #include "cxDropDownEdit.hpp"
  35. #include "cxEdit.hpp"
  36. #include "cxFilter.hpp"
  37. #include "cxGraphics.hpp"
  38. #include "cxGrid.hpp"
  39. #include "cxGridCustomTableView.hpp"
  40. #include "cxGridCustomView.hpp"
  41. #include "cxGridLevel.hpp"
  42. #include "cxGridTableView.hpp"
  43. #include "cxGroupBox.hpp"
  44. #include "cxLabel.hpp"
  45. #include "cxLookAndFeelPainters.hpp"
  46. #include "cxLookAndFeels.hpp"
  47. #include "cxMaskEdit.hpp"
  48. #include "cxSpinEdit.hpp"
  49. #include "cxSplitter.hpp"
  50. #include "cxStyles.hpp"
  51. #include "cxTextEdit.hpp"
  52. #include "dxSkinBlack.hpp"
  53. #include "dxSkinBlue.hpp"
  54. #include "dxSkinsCore.hpp"
  55. #include "dxSkinscxPCPainter.hpp"
  56. #include "FRAME_OpenMapF.h"
  57. #include "cxCalc.hpp"
  58. #include "dxSkinMcSkin.hpp"
  59. class TCRSM200M : 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. TcxLabel *lblText1;
  70. TcxLabel *lblText2;
  71. TcxLabel *lblText3;
  72. TcxLabel *lblText4;
  73. TcxLabel *lblText5;
  74. TPanel *PnlBottom;
  75. TcxSplitter *cxSplitter3;
  76. TcxGroupBox *GrpInfo;
  77. TPanel *PnlMenu;
  78. TcxButton *BtnEdit;
  79. TcxButton *BtnInsert;
  80. TcxButton *BtnDelete;
  81. TcxButton *BtnSave;
  82. TcxLabel *cxLabel11;
  83. TcxLabel *cxLabel12;
  84. TPanel *PnlEdit;
  85. TcxGroupBox *GrpInfoDet;
  86. TImage *ImgDesc05;
  87. TImage *ImgDesc07;
  88. TImage *ImgDesc11;
  89. TImage *ImgDesc02;
  90. TImage *ImgDesc03;
  91. TImage *ImgDesc08;
  92. TImage *ImgDesc09;
  93. TImage *ImgDesc01;
  94. TcxLabel *cxLabel5;
  95. TcxLabel *cxLabel7;
  96. TcxComboBox *CbCTLR_MNGM_NMBR;
  97. TcxComboBox *Cb_USE_YN;
  98. TcxSpinEdit *SeRtspPort;
  99. TcxSpinEdit *SeHttpPort;
  100. TcxLabel *cxLabel16;
  101. TcxTextEdit *EdCamId;
  102. TcxTextEdit *EdCamNm;
  103. TcxTextEdit *EdNmbr;
  104. TcxLabel *cxLabel2;
  105. TcxLabel *cxLabel3;
  106. TcxLabel *cxLabel18;
  107. TcxCheckBox *ChkRightTurn;
  108. TcxLabel *cxLabel4;
  109. TcxLabel *cxLabel8;
  110. TcxTextEdit *EdCrossId;
  111. TcxGroupBox *GrpMap;
  112. TFRAMEOpenMap *FRAMEOpenMap1;
  113. TcxCheckBox *ChkViewIcon;
  114. TcxSplitter *cxSplitter2;
  115. TcxGroupBox *cxGroupBox5;
  116. TcxLabel *cxLabel13;
  117. TImage *ImgDesc19;
  118. TcxLabel *cxLabel14;
  119. TImage *ImgDesc20;
  120. TcxMaskEdit *EdCtlrIp;
  121. TcxTextEdit *EdRtspUrl;
  122. TcxTextEdit *EdRtspId;
  123. TcxTextEdit *EdRtspPwd;
  124. TcxSpinEdit *SePosX;
  125. TcxSpinEdit *SePosY;
  126. TcxSpinEdit *SeAngle;
  127. TcxLabel *cxLabel1;
  128. TImage *ImgDesc99;
  129. TFRAMECrsCamList *FRAMECrsCamList1;
  130. void __fastcall FormShow(TObject *Sender);
  131. void __fastcall TmrShowTimer(TObject *Sender);
  132. void __fastcall BtnCloseClick(TObject *Sender);
  133. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  134. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  135. void __fastcall BtnEditClick(TObject *Sender);
  136. void __fastcall BtnInsertClick(TObject *Sender);
  137. void __fastcall BtnDeleteClick(TObject *Sender);
  138. void __fastcall BtnSaveClick(TObject *Sender);
  139. void __fastcall FRAMECrsCamList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  140. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  141. void __fastcall ChkViewIconClick(TObject *Sender);
  142. private: // User declarations
  143. void __fastcall CommClose();
  144. TcxDataController *m_pGDC;
  145. String FTitle;
  146. bool FUpdate;
  147. bool FNewDb;
  148. bool EditMode;
  149. public:
  150. String sJs;
  151. int FLayerIdx;
  152. public: // User declarations
  153. __fastcall TCRSM200M(TComponent* Owner);
  154. void __fastcall FormInit();
  155. void __fastcall UpdateIcon();
  156. void __fastcall UpdateList();
  157. void __fastcall UpdateEditLink();
  158. void __fastcall DisplayInfo(TCrossCam* AObj, bool AMoveObj=true);
  159. void __fastcall ChangeEditMode(int AEdit);
  160. void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst);
  161. };
  162. //---------------------------------------------------------------------------
  163. extern PACKAGE TCRSM200M *CRSM200M;
  164. //---------------------------------------------------------------------------
  165. #endif