Пример #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="embarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets on the bus.</param>
 ///<param name="disembarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets off the bus.</param>
 ///
 public TransferPoint( EmbarkBusRouteDetail embarkBusRouteDetail, DisembarkBusRouteDetail disembarkBusRouteDetail )
     : base(TransDTD.TRANSFERPOINT)
 {
     this.EmbarkBusRouteDetail = embarkBusRouteDetail;
     this.DisembarkBusRouteDetail = disembarkBusRouteDetail;
 }
Пример #2
0
 ///<summary>Adds the value of the <c>&lt;TransferPoint&gt;</c> element.</summary>
 /// <param name="EmbarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets on the bus.</param>
 /// <param name="DisembarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets off the bus.</param>
 ///<remarks>
 /// <para>This form of <c>setTransferPoint</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddTransferPoint</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void AddTransferPoint(EmbarkBusRouteDetail EmbarkBusRouteDetail, DisembarkBusRouteDetail DisembarkBusRouteDetail)
 {
     AddChild(TransDTD.TRANSFERPOINTS_TRANSFERPOINT, new TransferPoint(EmbarkBusRouteDetail, DisembarkBusRouteDetail));
 }
Пример #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="embarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets on the bus.</param>
 ///<param name="disembarkBusRouteDetail">The GUID that identifies the bus stop/route when the student gets off the bus.</param>
 ///
 public TransferPoint(EmbarkBusRouteDetail embarkBusRouteDetail, DisembarkBusRouteDetail disembarkBusRouteDetail) : base(TransDTD.TRANSFERPOINT)
 {
     this.EmbarkBusRouteDetail    = embarkBusRouteDetail;
     this.DisembarkBusRouteDetail = disembarkBusRouteDetail;
 }