ILinkTrafficSource Interface |
Namespace: Telogis.GeoBase.Traffic
The ILinkTrafficSource type exposes the following members.
Name | Description | |
---|---|---|
CreatedTime |
The DateTime when the traffic data was created.
|
Name | Description | |
---|---|---|
GetTrafficInfo(UInt64, TrafficDirectionType, DateTime) |
Implemented by derived classes to resolve a given LinkID and DateTime
to a TrafficInfo.
| |
GetTrafficInfo(UInt64, TrafficDirectionType, DateTime, TimeZone) |
Implemented by derived classes to resolve a given LinkId and DateTime
to a TrafficInfo.
|
The ILinkTrafficSource interface is implemented to resolve a given LinkId and DateTime to a TrafficInfo. A Traffic object will have one or more traffic sources which will be implemented with the ILinkTrafficSource interface.
Additional traffic data sources can be added with the ILinkTrafficSource interface. The interface exposes the GetTrafficInfo method, and the CreatedTime property. To implement this interface, code must be provided for both GetTrafficInfo, and CreatedTime.
CreatedTime - gets the DateTime for when the traffic data was created.
GetTrafficInfo - this method returns the TrafficInfo for the given LinkId at the specified DateTime.