Udostępnij za pośrednictwem


MapsRoutingModelFactory.RouteSectionTec Method

Definition

Initializes a new instance of RouteSectionTec.

public static Azure.Maps.Routing.Models.RouteSectionTec RouteSectionTec (int? effectCode = default, System.Collections.Generic.IEnumerable<Azure.Maps.Routing.Models.RouteSectionTecCause> causes = default);
static member RouteSectionTec : Nullable<int> * seq<Azure.Maps.Routing.Models.RouteSectionTecCause> -> Azure.Maps.Routing.Models.RouteSectionTec
Public Shared Function RouteSectionTec (Optional effectCode As Nullable(Of Integer) = Nothing, Optional causes As IEnumerable(Of RouteSectionTecCause) = Nothing) As RouteSectionTec

Parameters

effectCode
Nullable<Int32>

The effect on the traffic flow. Contains a value in the tec001:EffectCode table, as defined in the TPEG2-TEC standard. Can be used to color-code traffic events according to severity.

causes
IEnumerable<RouteSectionTecCause>

Causes array.

Returns

A new RouteSectionTec instance for mocking.

Applies to