Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID that identifies this bus route.</param>
 ///<param name="busInfoRefId">The bus associated with this route</param>
 ///<param name="routeNumber">A unique identifier for the route. It may contain any printable ASCII character. For instance, you may have route 16AM in the morning and a 16PM in the afternoon.</param>
 ///<param name="routeType">The type of route.</param>
 ///
 public BusRouteInfo( string refId, string busInfoRefId, string routeNumber, RouteType routeType )
     : base(Adk.SifVersion, TransDTD.BUSROUTEINFO)
 {
     this.RefId = refId;
     this.BusInfoRefId = busInfoRefId;
     this.RouteNumber = routeNumber;
     this.SetRouteType( routeType );
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>&lt;RouteType&gt;</c> element.
 /// </summary>
 /// <param name="val">A RouteType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The type of route."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetRouteType( RouteType val )
 {
     SetField( TransDTD.BUSROUTEINFO_ROUTETYPE, val );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the value of the <c>&lt;RouteType&gt;</c> element.
 /// </summary>
 /// <param name="val">A RouteType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The type of route."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetRouteType(RouteType val)
 {
     SetField(TransDTD.BUSROUTEINFO_ROUTETYPE, val);
 }