12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- //---------------------------------------------------------------------------
- #ifndef CDSVmsTrafficFH
- #define CDSVmsTrafficFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <ADODB.hpp>
- #include <DB.hpp>
- #include "ITSLibF.h"
- #include "ITSDbF.h"
- //---------------------------------------------------------------------------
- /*
- * Link Traffic class
- */
- class TVmsTraffic
- {
- public:
- TVmsTraffic();
- virtual ~TVmsTraffic();
- void Clear();
- private:
- bool FModified;
- bool FCompleted;
- public:
- int LEVL;
- String LINKID;
- int SPEED;
- String CMTR_GRAD_CD;
- String TRF_GRADE;
- String REGDATE;
- int DATACNT;
- int TRVTM;
- };
- //---------------------------------------------------------------------------
- /*
- * Link Traffic Manager
- */
- class TVmsTrafficManager
- {
- public:
- TVmsTrafficManager();
- virtual ~TVmsTrafficManager();
- void Init();
- bool IsLoading();
- public:
- bool FLink;
- bool FIfsc;
- bool FRoad;
- TItsMap<TVmsTraffic> FLists;
- public:
- bool LoadFromDb(TADOConnection *ADbConn=NULL);
- };
- //---------------------------------------------------------------------------
- extern TVmsTrafficManager *VmsTrafficManager;
- //---------------------------------------------------------------------------
- #endif
|