AVIM010MF.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. //---------------------------------------------------------------------------
  2. #ifndef AVIM010MFH
  3. #define AVIM010MFH
  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 "FRAME_AviListF.h"
  25. #include "FRAME_FlashMapF.h"
  26. #include "cxButtons.hpp"
  27. #include "cxCheckBox.hpp"
  28. #include "cxContainer.hpp"
  29. #include "cxControls.hpp"
  30. #include "cxDropDownEdit.hpp"
  31. #include "cxEdit.hpp"
  32. #include "cxGraphics.hpp"
  33. #include "cxGroupBox.hpp"
  34. #include "cxLabel.hpp"
  35. #include "cxLookAndFeelPainters.hpp"
  36. #include "cxLookAndFeels.hpp"
  37. #include "cxMaskEdit.hpp"
  38. #include "cxSpinEdit.hpp"
  39. #include "cxSplitter.hpp"
  40. #include "cxTextEdit.hpp"
  41. #include "dxSkinBlack.hpp"
  42. #include "dxSkinBlue.hpp"
  43. #include "dxSkinsCore.hpp"
  44. class TAVIM010M : public TForm
  45. {
  46. __published: // IDE-managed Components
  47. TTimer *TmrShow;
  48. TShape *ShpTitle;
  49. TcxButton *BtnClose;
  50. TLabel *LblCaption;
  51. TShape *ShpList;
  52. TEdit *EdFocus;
  53. TPanel *PnlBack;
  54. TPanel *PnlLeft;
  55. TcxSplitter *cxSplitter1;
  56. TcxGroupBox *cxGroupBox3;
  57. TcxGroupBox *GrpMap;
  58. TcxGroupBox *GrpInfo;
  59. TPanel *PnlMenu;
  60. TcxSplitter *cxSplitter2;
  61. TcxButton *BtnEdit;
  62. TcxButton *BtnInsert;
  63. TcxButton *BtnDelete;
  64. TcxButton *BtnSave;
  65. TcxTextEdit *EdAVI_CTLR_MNGM_NMBR;
  66. TcxTextEdit *EdAVI_LCTN_NM;
  67. TcxTextEdit *EdAVI_CTLR_IP;
  68. TcxTextEdit *EdAVI_CTLR_CMNC_PORT;
  69. TcxTextEdit *EdId;
  70. TcxSpinEdit *SeX_CRDN;
  71. TcxSpinEdit *SeY_CRDN;
  72. TcxLabel *cxLabel1;
  73. TImage *ImgDesc01;
  74. TcxLabel *cxLabel2;
  75. TImage *ImgDesc02;
  76. TcxLabel *cxLabel3;
  77. TcxLabel *cxLabel4;
  78. TcxLabel *cxLabel6;
  79. TcxLabel *cxLabel7;
  80. TcxLabel *cxLabel8;
  81. TcxLabel *cxLabel9;
  82. TcxLabel *cxLabel10;
  83. TImage *ImgDesc03;
  84. TImage *ImgDesc04;
  85. TImage *ImgDesc05;
  86. TImage *ImgDesc06;
  87. TImage *ImgDesc07;
  88. TImage *ImgDesc08;
  89. TImage *ImgDesc09;
  90. TImage *ImgDesc10;
  91. TcxLabel *cxLabel11;
  92. TcxLabel *cxLabel12;
  93. TcxLabel *cxLabel15;
  94. TcxCheckBox *ChkViewIcon;
  95. TcxComboBox *CbAVI_VALD_YN;
  96. TcxLabel *cxLabel5;
  97. TcxLabel *cxLabel13;
  98. TImage *ImgDesc11;
  99. TcxSpinEdit *SeAVI_MNGM_LANE_NUM;
  100. TcxSpinEdit *SeAVI_CMRA_NUM;
  101. TcxSpinEdit *SeAVI_DTCT_NUM;
  102. TcxLabel *cxLabel16;
  103. TFRAMEAviList *FRAMEAviList1;
  104. TcxTextEdit *EdAVI_ID;
  105. TcxLabel *cxLabel17;
  106. TcxTextEdit *EdLINK_ID;
  107. TcxComboBox *CbAVI_MAIN_CTLR_YN;
  108. TcxTextEdit *EdAVI_DTCT_NM;
  109. TImage *ImgDesc12;
  110. TcxLabel *cxLabel14;
  111. TcxLabel *cxLabel18;
  112. TcxSpinEdit *SeAVI_CLCT_CYCL;
  113. TImage *ImgDesc13;
  114. TcxLabel *cxLabel19;
  115. TImage *ImgDesc14;
  116. TcxComboBox *CbAVI_LAMP_AUTO_YN;
  117. TcxLabel *cxLabel20;
  118. TImage *ImgDesc15;
  119. TcxTextEdit *EdAVI_LAMP_ON_HMS;
  120. TcxTextEdit *EdAVI_LAMP_OFF_HMS;
  121. TcxLabel *cxLabel21;
  122. TImage *ImgDesc16;
  123. TImage *ImgDesc17;
  124. TcxLabel *cxLabel22;
  125. TcxComboBox *CbAVI_LAMP_ON_YN;
  126. TcxTextEdit *EdRMRK;
  127. TcxLabel *cxLabel23;
  128. TImage *ImgDesc18;
  129. TFRAMEFlashMap *FRAMEGisMap1;
  130. TcxCheckBox *ChkViewName;
  131. void __fastcall FormShow(TObject *Sender);
  132. void __fastcall TmrShowTimer(TObject *Sender);
  133. void __fastcall BtnCloseClick(TObject *Sender);
  134. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  135. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  136. void __fastcall ChkViewIconClick(TObject *Sender);
  137. void __fastcall BtnEditClick(TObject *Sender);
  138. void __fastcall BtnInsertClick(TObject *Sender);
  139. void __fastcall BtnDeleteClick(TObject *Sender);
  140. void __fastcall BtnSaveClick(TObject *Sender);
  141. void __fastcall FRAMEAviList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  142. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  143. private: // User declarations
  144. void __fastcall CommClose();
  145. TcxDataController *m_pGDC;
  146. String FTitle;
  147. bool FUpdate;
  148. bool FNewDb;
  149. bool MapStart;
  150. public:
  151. public: // User declarations
  152. __fastcall TAVIM010M(TComponent* Owner);
  153. void __fastcall FormInit();
  154. void __fastcall UpdateAviIcon();
  155. void __fastcall DisplayInfo(TItsAvi* AObj);
  156. void __fastcall ChangeEditMode(int AEdit);
  157. void __fastcall ShockwaveFlash1FlashCall1(TObject *ASender, const WideString request);
  158. };
  159. //---------------------------------------------------------------------------
  160. extern PACKAGE TAVIM010M *AVIM010M;
  161. //---------------------------------------------------------------------------
  162. #endif