123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- //---------------------------------------------------------------------------
- #ifndef VDSM200MFH
- #define VDSM200MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <FMTBcd.hpp>
- #include <Provider.hpp>
- #include <SqlExpr.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- #include <ADODB.hpp>
- #include <Dialogs.hpp>
- #include <ExtDlgs.hpp>
- //---------------------------------------------------------------------------
- //---------------------------------------------------------------------------
- #include "WindowMsgF.h"
- #include "CDSCodeF.h"
- #include "FRAME_VdsDtctListF.h"
- #include "FRAME_VdsListF.h"
- #include "cxButtons.hpp"
- #include "cxCheckBox.hpp"
- #include "cxClasses.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxCustomData.hpp"
- #include "cxData.hpp"
- #include "cxDataStorage.hpp"
- #include "cxDropDownEdit.hpp"
- #include "cxEdit.hpp"
- #include "cxFilter.hpp"
- #include "cxGraphics.hpp"
- #include "cxGrid.hpp"
- #include "cxGridCustomTableView.hpp"
- #include "cxGridCustomView.hpp"
- #include "cxGridLevel.hpp"
- #include "cxGridTableView.hpp"
- #include "cxGroupBox.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxMaskEdit.hpp"
- #include "cxSpinEdit.hpp"
- #include "cxSplitter.hpp"
- #include "cxStyles.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- #include "FRAME_OpenMapF.h"
- #include "cxCalc.hpp"
- class TVDSM200M : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TShape *ShpTitle;
- TcxButton *BtnClose;
- TLabel *LblCaption;
- TShape *ShpList;
- TEdit *EdFocus;
- TPanel *PnlBack;
- TPanel *PnlLeft;
- TcxSplitter *cxSplitter1;
- TcxGroupBox *cxGroupBox3;
- TFRAMEVdsDtctList *FRAMEVdsDtctList1;
- TcxLabel *lblText13;
- TcxLabel *lblText1;
- TcxLabel *lblText2;
- TcxLabel *lblText3;
- TcxLabel *lblText4;
- TcxLabel *lblText5;
- TPanel *PnlBottom;
- TcxSplitter *cxSplitter3;
- TcxGroupBox *GrpInfo;
- TPanel *PnlMenu;
- TcxButton *BtnEdit;
- TcxButton *BtnInsert;
- TcxButton *BtnDelete;
- TcxButton *BtnSave;
- TcxLabel *cxLabel11;
- TcxLabel *cxLabel12;
- TPanel *PnlEdit;
- TcxGroupBox *GrpInfoDet;
- TImage *ImgDesc05;
- TImage *ImgDesc07;
- TImage *ImgDesc11;
- TImage *ImgDesc02;
- TImage *ImgDesc03;
- TImage *ImgDesc08;
- TImage *ImgDesc04;
- TImage *ImgDesc09;
- TImage *ImgDesc01;
- TcxLabel *cxLabel5;
- TcxLabel *cxLabel7;
- TcxComboBox *CbCTLR_MNGM_NMBR;
- TcxComboBox *Cb_USE_YN;
- TcxSpinEdit *Se_ISTL_LANE;
- TcxSpinEdit *Se_MIN_TFVL;
- TcxSpinEdit *Se_MAX_TFVL;
- TcxLabel *cxLabel16;
- TcxTextEdit *EdDtctId;
- TcxTextEdit *EdDtctNm;
- TcxTextEdit *EdNmbr;
- TcxLabel *cxLabel2;
- TcxLabel *cxLabel3;
- TcxLabel *cxLabel18;
- TcxComboBox *CbType;
- TcxCheckBox *Chk_TFVL_CLCT_YN;
- TcxCheckBox *Chk_OCPY_CLCT_YN;
- TcxLabel *cxLabel1;
- TcxSpinEdit *Se_MIN_OCPY_RATE;
- TcxSpinEdit *Se_MAX_OCPY_RATE;
- TcxLabel *cxLabel4;
- TcxSpinEdit *Se_MIN_SPED;
- TcxSpinEdit *Se_MAX_SPED;
- TcxLabel *cxLabel8;
- TcxLabel *cxLabel9;
- TcxComboBox *Cb_DTCT_DIR;
- TPanel *PnlMap;
- TcxGroupBox *GrpLink;
- TcxGrid *CxLink;
- TcxGridTableView *TvLink;
- TcxGridColumn *ColSeq;
- TcxGridColumn *ColLink2;
- TcxGridColumn *ColLink3;
- TcxGridColumn *ColLink4;
- TcxGridColumn *ColLink5;
- TcxGridColumn *ColLink6;
- TcxGridLevel *GlLink;
- TPanel *PnlLinkEdit;
- TImage *ImgDesc06;
- TcxLabel *cxLabel6;
- TcxTextEdit *EdLinkId;
- TcxButton *BtnLinkAdd;
- TcxButton *BtnLinkDel;
- TcxTextEdit *EdVdsCtrl;
- TcxGroupBox *GrpMap;
- TFRAMEOpenMap *FRAMEOpenMap1;
- TcxCheckBox *ChkViewIcon;
- TcxCheckBox *Chk_SPED_CLCT_YN;
- TcxLabel *cxLabel10;
- TcxSplitter *cxSplitter2;
- TcxGroupBox *cxGroupBox5;
- TFRAMEVdsList *FRAMEVdsList1;
- TcxLabel *cxLabel13;
- TcxComboBox *CbVDS_CMRA_NO;
- TImage *ImgDesc19;
- TcxLabel *cxLabel14;
- TcxSpinEdit *Se_DETECT_LANE;
- TImage *ImgDesc20;
- void __fastcall FormShow(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall BtnCloseClick(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall BtnEditClick(TObject *Sender);
- void __fastcall BtnInsertClick(TObject *Sender);
- void __fastcall BtnDeleteClick(TObject *Sender);
- void __fastcall BtnSaveClick(TObject *Sender);
- void __fastcall BtnLinkDelClick(TObject *Sender);
- void __fastcall BtnLinkAddClick(TObject *Sender);
- void __fastcall TvLinkCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
- TShiftState AShift, bool &AHandled);
- void __fastcall FRAMEVdsDtctList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
- TMouseButton AButton, TShiftState AShift, bool &AHandled);
- void __fastcall FRAMEVdsList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
- TMouseButton AButton, TShiftState AShift, bool &AHandled);
- void __fastcall ChkViewIconClick(TObject *Sender);
- void __fastcall ColSeqCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- void __fastcall CbCTLR_MNGM_NMBRPropertiesChange(TObject *Sender);
- private: // User declarations
- void __fastcall CommClose();
- TcxDataController *m_pGDC;
- String FTitle;
- bool FUpdate;
- bool FNewDb;
- bool EditMode;
- public:
- String sJs;
- int FLayerIdx;
- public: // User declarations
- __fastcall TVDSM200M(TComponent* Owner);
- void __fastcall FormInit();
- void __fastcall UpdateIcon();
- void __fastcall UpdateList();
- void __fastcall UpdateEditLink();
- void __fastcall DisplayInfo(TVdsDtct* AObj);
- void __fastcall DisplayLink(TVdsDtct* AObj);
- void __fastcall RefreshLink();
- void __fastcall ChangeEditMode(int AEdit);
- void __fastcall OpenMapCallback(TObject *ASender, const String AFunc, const String AArgs, const bool AFirst);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TVDSM200M *VDSM200M;
- //---------------------------------------------------------------------------
- #endif
|