From 1b7c46a48f2ea6a0384261c5b22b334898d4b3aa Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Fri, 24 Jul 2015 18:59:19 +0100 Subject: [PATCH 1/7] Update service reference to latest version --- src/Huxley/Huxley.csproj | 47 +- ...erviceReference.DeparturesBoard.datasource | 10 + ...ence.DeparturesBoardWithDetails.datasource | 10 + ....GetArrBoardWithDetailsResponse.datasource | 10 + ...tArrDepBoardWithDetailsResponse.datasource | 10 + ....GetDepBoardWithDetailsResponse.datasource | 10 + ...ce.GetFastestDeparturesResponse.datasource | 10 + ...stDeparturesWithDetailsResponse.datasource | 10 + ...rence.GetNextDeparturesResponse.datasource | 10 + ...xtDeparturesWithDetailsResponse.datasource | 10 + ...ference.StationBoardWithDetails.datasource | 10 + .../RTTI_2015-05-15_ldb_types.xsd | 327 +++ .../ldbServiceReference/Reference.cs | 2074 ++++++++++++----- .../ldbServiceReference/Reference.svcmap | 9 +- .../ldbServiceReference/configuration.svcinfo | 2 +- .../configuration91.svcinfo | 6 +- .../rtti_2014-02-20_ldb.wsdl | 203 -- .../rtti_2015-05-14_ldb.wsdl | 472 ++++ .../{wsdl.wsdl => wsdl1.wsdl} | 8 +- src/Huxley/Web.config | 2 +- 20 files changed, 2485 insertions(+), 765 deletions(-) create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoard.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoardWithDetails.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.StationBoardWithDetails.datasource create mode 100644 src/Huxley/Service References/ldbServiceReference/RTTI_2015-05-15_ldb_types.xsd delete mode 100644 src/Huxley/Service References/ldbServiceReference/rtti_2014-02-20_ldb.wsdl create mode 100644 src/Huxley/Service References/ldbServiceReference/rtti_2015-05-14_ldb.wsdl rename src/Huxley/Service References/ldbServiceReference/{wsdl.wsdl => wsdl1.wsdl} (64%) diff --git a/src/Huxley/Huxley.csproj b/src/Huxley/Huxley.csproj index ce7e0a5..ff8cb3a 100644 --- a/src/Huxley/Huxley.csproj +++ b/src/Huxley/Huxley.csproj @@ -171,8 +171,8 @@ - - + + Reference.svcmap @@ -191,14 +191,44 @@ Reference.svcmap - + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + WCF Proxy Generator Reference.cs - + Designer - + @@ -210,11 +240,14 @@ Designer - Designer - + + + Designer + + Web.config diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoard.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoard.datasource new file mode 100644 index 0000000..ddc2709 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoard.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.DeparturesBoard, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoardWithDetails.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoardWithDetails.datasource new file mode 100644 index 0000000..0aeccb5 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.DeparturesBoardWithDetails.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.DeparturesBoardWithDetails, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse.datasource new file mode 100644 index 0000000..f21641f --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse.datasource new file mode 100644 index 0000000..c5e6148 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse.datasource new file mode 100644 index 0000000..bfeee35 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesResponse.datasource new file mode 100644 index 0000000..1f52918 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetFastestDeparturesResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse.datasource new file mode 100644 index 0000000..b0e4fe2 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesResponse.datasource new file mode 100644 index 0000000..3b284ef --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetNextDeparturesResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse.datasource new file mode 100644 index 0000000..9611355 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.StationBoardWithDetails.datasource b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.StationBoardWithDetails.datasource new file mode 100644 index 0000000..d04aa0a --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/Huxley.ldbServiceReference.StationBoardWithDetails.datasource @@ -0,0 +1,10 @@ + + + + Huxley.ldbServiceReference.StationBoardWithDetails, Service References.ldbServiceReference.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/RTTI_2015-05-15_ldb_types.xsd b/src/Huxley/Service References/ldbServiceReference/RTTI_2015-05-15_ldb_types.xsd new file mode 100644 index 0000000..12b7eee --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/RTTI_2015-05-15_ldb_types.xsd @@ -0,0 +1,327 @@ + + + + + + + + A structure containing details of a departure board for a specific location. + + + + + A timestamp of the time this station departure board was generated. + + + + + The display name of the location that this departure board is for. + + + + + The CRS code of the location that this departure board is for. + + + + + If a filter was specified in the request, the display name of the location that was specifed as the filter. + + + + + If a filter was specified in the request, the CRS code of the filter location. + + + + + If a filter was specified in the request, the type of filter that was requested. + + + + + A list of messages that apply to this departure board. + + + + + A flag to indicate whether platform information is available for this departure board. If this flag is false then platforms will not be returned in the service lists and a user interface should not display a platform "heading". + + + + + If this flag is present with the value of "true" then service data will be unavailable and the service lists will not be returned. This may happen for example if access to a station has been closed to the public at short notice, even though the scheduled services are still running. + + + + + + + A structure containing details of a basic departure board for a specific location. + + + + + + + A list of train services for this departure board. + + + + + A list of scheduled or replacement rail bus services for this departure board. + + + + + A list of ferry services for this departure board. + + + + + + + + + A structure containing details of a "WithDetails" departure board for a specific location. + + + + + + + A list of train services for this departure board. + + + + + A list of scheduled or replacement rail bus services for this departure board. + + + + + A list of ferry services for this departure board. + + + + + + + + + A list of services on a departure board. + + + + + + + + A list of services on a departure board with details of their calling points. + + + + + + + + An individual service's summary details for display on a departure board. + + + + + The scheduled time of arrival of this service. If no sta is present then this is the origin of this service or it does not set down passengers at this location. + + + + + The estimated (or actual) time of arrival. Will only be present if sta is also present. + + + + + The scheduled time of departure of this service. If no std is present then this is the destination of this service or it does not pick up passengers at this location. + + + + + The estimated (or actual) time of departure. Will only be present if std is also present. + + + + + The platform number (if known and available). + + + + + The Train Operating Company of this service. + + + + + The Train Operating Company code of this service. + + + + + A flag to indicate if this service is running as part of a circular route and will call at this location again later in its journey. + + + + + A flag to indicate that this service is no longer stopping at the requested from/to filter location. + + + + + The type of service (train, bus, ferry) that this item represents. Note that real-time information (e.g. eta, etd, ata, atd, etc.) is only available and present for train services. + + + + + A unique ID for this service at this location that can be used to obtain full details of the service. + + + + + A list of Adhoc Alers related to this locationa for this service. + + + + + + + An individual service's summary details for display on a basic departure board. + + + + + + + A list of origins of this service. Note that a service may have more than one origin. + + + + + A list of destinations of this service. Note that a service may have more than one destination. + + + + + A list of the current origins for this service. Note that a service may have more than one current origin. + + + + + A list of the current destinations for this service. Note that a service may have more than one current destination. + + + + + + + + + An individual service's summary details with calling points for display on a "WithDetails" departure board. + + + + + + + A list of lists of the previous calling points in the journey. A separate calling point list will be present for each origin of the service, relative to the current location. Refer to the documentation for how these lists should be handled. + + + + + A list of lists of the subsequent calling points in the journey. A separate calling point list will be present for each destination of the service, relative to the current location. Refer to the documentation for how these lists should be handled. + + + + + + + + + A structure containing details of a basic next/fastest departures board for a specific location. + + + + + + + A list of next/fastest services for this departures board. + + + + + + + + + A structure containing details of a "WithDetails" next/fastest departures board for a specific location. + + + + + + + A list of next/fastest services for this departures board. + + + + + + + + + A list of next/fastest services on a departures board. + + + + + + + + An individual service's summary details for display on a basic next/fastest departures board. + + + + + The details of the next/fastest service. + + + + + + The CRS code from the requested filterList for which this service is the next/fastest departure. + + + + + + A list of next/fastest services with calling points on a departures board. + + + + + + + + An individual service's summary details for display on a "WithDetails" next/fastest departures board. + + + + + The details of the next/fastest service. + + + + + + The CRS code from the requested filterList for which this service is the next/fastest departure. + + + + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/Reference.cs b/src/Huxley/Service References/ldbServiceReference/Reference.cs index 4735639..afb4813 100644 --- a/src/Huxley/Service References/ldbServiceReference/Reference.cs +++ b/src/Huxley/Service References/ldbServiceReference/Reference.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18449 +// Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12,12 +12,14 @@ namespace Huxley.ldbServiceReference { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", ConfigurationName="ldbServiceReference.LDBServiceSoap")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", ConfigurationName="ldbServiceReference.LDBServiceSoap")] public interface LDBServiceSoap { // CODEGEN: Generating message contract since the wrapper name (GetDepartureBoardRequest) of message GetDepartureBoardRequest does not match the default value (GetDepartureBoard) [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetDepartureBoard", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] Huxley.ldbServiceReference.GetDepartureBoardResponse GetDepartureBoard(Huxley.ldbServiceReference.GetDepartureBoardRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetDepartureBoard", ReplyAction="*")] @@ -26,6 +28,8 @@ public interface LDBServiceSoap { // CODEGEN: Generating message contract since the wrapper name (GetArrivalBoardRequest) of message GetArrivalBoardRequest does not match the default value (GetArrivalBoard) [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetArrivalBoard", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] Huxley.ldbServiceReference.GetArrivalBoardResponse GetArrivalBoard(Huxley.ldbServiceReference.GetArrivalBoardRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetArrivalBoard", ReplyAction="*")] @@ -34,6 +38,8 @@ public interface LDBServiceSoap { // CODEGEN: Generating message contract since the wrapper name (GetArrivalDepartureBoardRequest) of message GetArrivalDepartureBoardRequest does not match the default value (GetArrivalDepartureBoard) [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetArrivalDepartureBoard", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] Huxley.ldbServiceReference.GetArrivalDepartureBoardResponse GetArrivalDepartureBoard(Huxley.ldbServiceReference.GetArrivalDepartureBoardRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetArrivalDepartureBoard", ReplyAction="*")] @@ -42,145 +48,82 @@ public interface LDBServiceSoap { // CODEGEN: Generating message contract since the wrapper name (GetServiceDetailsRequest) of message GetServiceDetailsRequest does not match the default value (GetServiceDetails) [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetServiceDetails", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] Huxley.ldbServiceReference.GetServiceDetailsResponse GetServiceDetails(Huxley.ldbServiceReference.GetServiceDetailsRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2012-01-13/ldb/GetServiceDetails", ReplyAction="*")] System.Threading.Tasks.Task GetServiceDetailsAsync(Huxley.ldbServiceReference.GetServiceDetailsRequest request); - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] - public partial class AccessToken : object, System.ComponentModel.INotifyPropertyChanged { - - private string tokenValueField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string TokenValue { - get { - return this.tokenValueField; - } - set { - this.tokenValueField = value; - this.RaisePropertyChanged("TokenValue"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] - public partial class CallingPoint : object, System.ComponentModel.INotifyPropertyChanged { - private string locationNameField; + // CODEGEN: Generating message contract since the wrapper name (GetDepBoardWithDetailsRequest) of message GetDepBoardWithDetailsRequest does not match the default value (GetDepBoardWithDetails) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetDepBoardWithDetails", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse GetDepBoardWithDetails(Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest request); - private string crsField; + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetDepBoardWithDetails", ReplyAction="*")] + System.Threading.Tasks.Task GetDepBoardWithDetailsAsync(Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest request); - private string stField; + // CODEGEN: Generating message contract since the wrapper name (GetArrBoardWithDetailsRequest) of message GetArrBoardWithDetailsRequest does not match the default value (GetArrBoardWithDetails) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetArrBoardWithDetails", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse GetArrBoardWithDetails(Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest request); - private string etField; + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetArrBoardWithDetails", ReplyAction="*")] + System.Threading.Tasks.Task GetArrBoardWithDetailsAsync(Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest request); - private string atField; + // CODEGEN: Generating message contract since the wrapper name (GetArrDepBoardWithDetailsRequest) of message GetArrDepBoardWithDetailsRequest does not match the default value (GetArrDepBoardWithDetails) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetArrDepBoardWithDetails", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse GetArrDepBoardWithDetails(Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest request); - private string[] adhocAlertsField; + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetArrDepBoardWithDetails", ReplyAction="*")] + System.Threading.Tasks.Task GetArrDepBoardWithDetailsAsync(Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest request); - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string locationName { - get { - return this.locationNameField; - } - set { - this.locationNameField = value; - this.RaisePropertyChanged("locationName"); - } - } + // CODEGEN: Generating message contract since the wrapper name (GetNextDeparturesRequest) of message GetNextDeparturesRequest does not match the default value (GetNextDepartures) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetNextDepartures", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetNextDeparturesResponse GetNextDepartures(Huxley.ldbServiceReference.GetNextDeparturesRequest request); - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string crs { - get { - return this.crsField; - } - set { - this.crsField = value; - this.RaisePropertyChanged("crs"); - } - } + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetNextDepartures", ReplyAction="*")] + System.Threading.Tasks.Task GetNextDeparturesAsync(Huxley.ldbServiceReference.GetNextDeparturesRequest request); - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string st { - get { - return this.stField; - } - set { - this.stField = value; - this.RaisePropertyChanged("st"); - } - } + // CODEGEN: Generating message contract since the wrapper name (GetNextDeparturesWithDetailsRequest) of message GetNextDeparturesWithDetailsRequest does not match the default value (GetNextDeparturesWithDetails) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetNextDeparturesWithDetails", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse GetNextDeparturesWithDetails(Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest request); - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string et { - get { - return this.etField; - } - set { - this.etField = value; - this.RaisePropertyChanged("et"); - } - } + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetNextDeparturesWithDetails", ReplyAction="*")] + System.Threading.Tasks.Task GetNextDeparturesWithDetailsAsync(Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest request); - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string at { - get { - return this.atField; - } - set { - this.atField = value; - this.RaisePropertyChanged("at"); - } - } + // CODEGEN: Generating message contract since the wrapper name (GetFastestDeparturesRequest) of message GetFastestDeparturesRequest does not match the default value (GetFastestDepartures) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetFastestDepartures", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetFastestDeparturesResponse GetFastestDepartures(Huxley.ldbServiceReference.GetFastestDeparturesRequest request); - /// - [System.Xml.Serialization.XmlArrayAttribute(Order=5)] - [System.Xml.Serialization.XmlArrayItemAttribute("adhocAlertText")] - public string[] adhocAlerts { - get { - return this.adhocAlertsField; - } - set { - this.adhocAlertsField = value; - this.RaisePropertyChanged("adhocAlerts"); - } - } + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetFastestDepartures", ReplyAction="*")] + System.Threading.Tasks.Task GetFastestDeparturesAsync(Huxley.ldbServiceReference.GetFastestDeparturesRequest request); - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + // CODEGEN: Generating message contract since the wrapper name (GetFastestDeparturesWithDetailsRequest) of message GetFastestDeparturesWithDetailsRequest does not match the default value (GetFastestDeparturesWithDetails) + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetFastestDeparturesWithDetails", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseServiceItem))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseStationBoard))] + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse GetFastestDeparturesWithDetails(Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest request); - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } + [System.ServiceModel.OperationContractAttribute(Action="http://thalesgroup.com/RTTI/2015-05-14/ldb/GetFastestDeparturesWithDetails", ReplyAction="*")] + System.Threading.Tasks.Task GetFastestDeparturesWithDetailsAsync(Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest request); } /// @@ -188,104 +131,20 @@ protected void RaisePropertyChanged(string propertyName) { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] - public partial class ArrayOfCallingPoints : object, System.ComponentModel.INotifyPropertyChanged { - - private CallingPoint[] callingPointField; - - private ServiceType serviceTypeField; - - private bool serviceTypeFieldSpecified; - - private bool serviceChangeRequiredField; - - private bool serviceChangeRequiredFieldSpecified; - - private bool assocIsCancelledField; - - private bool assocIsCancelledFieldSpecified; - - /// - [System.Xml.Serialization.XmlElementAttribute("callingPoint", IsNullable=true, Order=0)] - public CallingPoint[] callingPoint { - get { - return this.callingPointField; - } - set { - this.callingPointField = value; - this.RaisePropertyChanged("callingPoint"); - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public ServiceType serviceType { - get { - return this.serviceTypeField; - } - set { - this.serviceTypeField = value; - this.RaisePropertyChanged("serviceType"); - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool serviceTypeSpecified { - get { - return this.serviceTypeFieldSpecified; - } - set { - this.serviceTypeFieldSpecified = value; - this.RaisePropertyChanged("serviceTypeSpecified"); - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public bool serviceChangeRequired { - get { - return this.serviceChangeRequiredField; - } - set { - this.serviceChangeRequiredField = value; - this.RaisePropertyChanged("serviceChangeRequired"); - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool serviceChangeRequiredSpecified { - get { - return this.serviceChangeRequiredFieldSpecified; - } - set { - this.serviceChangeRequiredFieldSpecified = value; - this.RaisePropertyChanged("serviceChangeRequiredSpecified"); - } - } + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public partial class AccessToken : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public bool assocIsCancelled { - get { - return this.assocIsCancelledField; - } - set { - this.assocIsCancelledField = value; - this.RaisePropertyChanged("assocIsCancelled"); - } - } + private string tokenValueField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool assocIsCancelledSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TokenValue { get { - return this.assocIsCancelledFieldSpecified; + return this.tokenValueField; } set { - this.assocIsCancelledFieldSpecified = value; - this.RaisePropertyChanged("assocIsCancelledSpecified"); + this.tokenValueField = value; + this.RaisePropertyChanged("TokenValue"); } } @@ -299,22 +158,6 @@ protected void RaisePropertyChanged(string propertyName) { } } - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes")] - public enum ServiceType { - - /// - train, - - /// - bus, - - /// - ferry, - } - /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] [System.SerializableAttribute()] @@ -610,76 +453,103 @@ protected void RaisePropertyChanged(string propertyName) { /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] - public partial class ServiceLocation : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes")] + public enum ServiceType { - private string locationNameField; + /// + train, - private string crsField; + /// + bus, - private string viaField; + /// + ferry, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public partial class ArrayOfCallingPoints : object, System.ComponentModel.INotifyPropertyChanged { - private string futureChangeToField; + private CallingPoint[] callingPointField; + + private ServiceType serviceTypeField; + + private bool serviceTypeFieldSpecified; + + private bool serviceChangeRequiredField; + + private bool serviceChangeRequiredFieldSpecified; private bool assocIsCancelledField; - public ServiceLocation() { - this.assocIsCancelledField = false; + private bool assocIsCancelledFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("callingPoint", IsNullable=true, Order=0)] + public CallingPoint[] callingPoint { + get { + return this.callingPointField; + } + set { + this.callingPointField = value; + this.RaisePropertyChanged("callingPoint"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string locationName { + [System.Xml.Serialization.XmlAttributeAttribute()] + public ServiceType serviceType { get { - return this.locationNameField; + return this.serviceTypeField; } set { - this.locationNameField = value; - this.RaisePropertyChanged("locationName"); + this.serviceTypeField = value; + this.RaisePropertyChanged("serviceType"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string crs { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool serviceTypeSpecified { get { - return this.crsField; + return this.serviceTypeFieldSpecified; } set { - this.crsField = value; - this.RaisePropertyChanged("crs"); + this.serviceTypeFieldSpecified = value; + this.RaisePropertyChanged("serviceTypeSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string via { + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool serviceChangeRequired { get { - return this.viaField; + return this.serviceChangeRequiredField; } set { - this.viaField = value; - this.RaisePropertyChanged("via"); + this.serviceChangeRequiredField = value; + this.RaisePropertyChanged("serviceChangeRequired"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string futureChangeTo { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool serviceChangeRequiredSpecified { get { - return this.futureChangeToField; + return this.serviceChangeRequiredFieldSpecified; } set { - this.futureChangeToField = value; - this.RaisePropertyChanged("futureChangeTo"); + this.serviceChangeRequiredFieldSpecified = value; + this.RaisePropertyChanged("serviceChangeRequiredSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(false)] + [System.Xml.Serialization.XmlAttributeAttribute()] public bool assocIsCancelled { get { return this.assocIsCancelledField; @@ -690,6 +560,18 @@ public bool assocIsCancelled { } } + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool assocIsCancelledSpecified { + get { + return this.assocIsCancelledFieldSpecified; + } + set { + this.assocIsCancelledFieldSpecified = value; + this.RaisePropertyChanged("assocIsCancelledSpecified"); + } + } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { @@ -705,221 +587,255 @@ protected void RaisePropertyChanged(string propertyName) { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] - public partial class ServiceItem : object, System.ComponentModel.INotifyPropertyChanged { - - private ServiceLocation[] originField; - - private ServiceLocation[] destinationField; - - private ServiceLocation[] currentOriginsField; - - private ServiceLocation[] currentDestinationsField; - - private string staField; - - private string etaField; - - private string stdField; - - private string etdField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] + public partial class CallingPoint : object, System.ComponentModel.INotifyPropertyChanged { - private string platformField; + private string locationNameField; - private string operatorField; + private string crsField; - private string operatorCodeField; + private string stField; - private bool isCircularRouteField; + private string etField; - private string serviceIDField; + private string atField; private string[] adhocAlertsField; - public ServiceItem() { - this.isCircularRouteField = false; - } - /// - [System.Xml.Serialization.XmlArrayAttribute(Order=0)] - [System.Xml.Serialization.XmlArrayItemAttribute("location")] - public ServiceLocation[] origin { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string locationName { get { - return this.originField; + return this.locationNameField; } set { - this.originField = value; - this.RaisePropertyChanged("origin"); + this.locationNameField = value; + this.RaisePropertyChanged("locationName"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=1)] - [System.Xml.Serialization.XmlArrayItemAttribute("location")] - public ServiceLocation[] destination { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string crs { get { - return this.destinationField; + return this.crsField; } set { - this.destinationField = value; - this.RaisePropertyChanged("destination"); + this.crsField = value; + this.RaisePropertyChanged("crs"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=2)] - [System.Xml.Serialization.XmlArrayItemAttribute("location")] - public ServiceLocation[] currentOrigins { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string st { get { - return this.currentOriginsField; + return this.stField; } set { - this.currentOriginsField = value; - this.RaisePropertyChanged("currentOrigins"); + this.stField = value; + this.RaisePropertyChanged("st"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=3)] - [System.Xml.Serialization.XmlArrayItemAttribute("location")] - public ServiceLocation[] currentDestinations { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string et { get { - return this.currentDestinationsField; + return this.etField; } set { - this.currentDestinationsField = value; - this.RaisePropertyChanged("currentDestinations"); + this.etField = value; + this.RaisePropertyChanged("et"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string sta { + public string at { get { - return this.staField; + return this.atField; } set { - this.staField = value; - this.RaisePropertyChanged("sta"); + this.atField = value; + this.RaisePropertyChanged("at"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public string eta { + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + [System.Xml.Serialization.XmlArrayItemAttribute("adhocAlertText")] + public string[] adhocAlerts { get { - return this.etaField; + return this.adhocAlertsField; } set { - this.etaField = value; - this.RaisePropertyChanged("eta"); + this.adhocAlertsField = value; + this.RaisePropertyChanged("adhocAlerts"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class DepartureItemWithCallingPoints : object, System.ComponentModel.INotifyPropertyChanged { + + private ServiceItemWithCallingPoints serviceField; + + private string crsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public string std { + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public ServiceItemWithCallingPoints service { get { - return this.stdField; + return this.serviceField; } set { - this.stdField = value; - this.RaisePropertyChanged("std"); + this.serviceField = value; + this.RaisePropertyChanged("service"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public string etd { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string crs { get { - return this.etdField; + return this.crsField; } set { - this.etdField = value; - this.RaisePropertyChanged("etd"); + this.crsField = value; + this.RaisePropertyChanged("crs"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class ServiceItemWithCallingPoints : ServiceItem { + + private ArrayOfCallingPoints[] previousCallingPointsField; + + private ArrayOfCallingPoints[] subsequentCallingPointsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public string platform { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("callingPointList", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ArrayOfCallingPoints[] previousCallingPoints { get { - return this.platformField; + return this.previousCallingPointsField; } set { - this.platformField = value; - this.RaisePropertyChanged("platform"); + this.previousCallingPointsField = value; + this.RaisePropertyChanged("previousCallingPoints"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public string @operator { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("callingPointList", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ArrayOfCallingPoints[] subsequentCallingPoints { get { - return this.operatorField; + return this.subsequentCallingPointsField; } set { - this.operatorField = value; - this.RaisePropertyChanged("operator"); + this.subsequentCallingPointsField = value; + this.RaisePropertyChanged("subsequentCallingPoints"); } } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceItemWithCallingPoints))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class ServiceItem : BaseServiceItem { + + private ServiceLocation[] originField; + + private ServiceLocation[] destinationField; + + private ServiceLocation[] currentOriginsField; + + private ServiceLocation[] currentDestinationsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public string operatorCode { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("location", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ServiceLocation[] origin { get { - return this.operatorCodeField; + return this.originField; } set { - this.operatorCodeField = value; - this.RaisePropertyChanged("operatorCode"); + this.originField = value; + this.RaisePropertyChanged("origin"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool isCircularRoute { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("location", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ServiceLocation[] destination { get { - return this.isCircularRouteField; + return this.destinationField; } set { - this.isCircularRouteField = value; - this.RaisePropertyChanged("isCircularRoute"); + this.destinationField = value; + this.RaisePropertyChanged("destination"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public string serviceID { + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("location", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ServiceLocation[] currentOrigins { get { - return this.serviceIDField; + return this.currentOriginsField; } set { - this.serviceIDField = value; - this.RaisePropertyChanged("serviceID"); + this.currentOriginsField = value; + this.RaisePropertyChanged("currentOrigins"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=13)] - [System.Xml.Serialization.XmlArrayItemAttribute("adhocAlertText", Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] - public string[] adhocAlerts { + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + [System.Xml.Serialization.XmlArrayItemAttribute("location", Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public ServiceLocation[] currentDestinations { get { - return this.adhocAlertsField; + return this.currentDestinationsField; } set { - this.adhocAlertsField = value; - this.RaisePropertyChanged("adhocAlerts"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.currentDestinationsField = value; + this.RaisePropertyChanged("currentDestinations"); } } } @@ -929,20 +845,81 @@ protected void RaisePropertyChanged(string propertyName) { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] - public partial class NRCCMessage : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] + public partial class ServiceLocation : object, System.ComponentModel.INotifyPropertyChanged { - private string valueField; + private string locationNameField; + + private string crsField; + + private string viaField; + + private string futureChangeToField; + + private bool assocIsCancelledField; + + public ServiceLocation() { + this.assocIsCancelledField = false; + } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string Value { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string locationName { get { - return this.valueField; + return this.locationNameField; } set { - this.valueField = value; - this.RaisePropertyChanged("Value"); + this.locationNameField = value; + this.RaisePropertyChanged("locationName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string crs { + get { + return this.crsField; + } + set { + this.crsField = value; + this.RaisePropertyChanged("crs"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string via { + get { + return this.viaField; + } + set { + this.viaField = value; + this.RaisePropertyChanged("via"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string futureChangeTo { + get { + return this.futureChangeToField; + } + set { + this.futureChangeToField = value; + this.RaisePropertyChanged("futureChangeTo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool assocIsCancelled { + get { + return this.assocIsCancelledField; + } + set { + this.assocIsCancelledField = value; + this.RaisePropertyChanged("assocIsCancelled"); } } @@ -957,191 +934,424 @@ protected void RaisePropertyChanged(string propertyName) { } /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceItem))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceItemWithCallingPoints))] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/types")] - public partial class StationBoard : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class BaseServiceItem : object, System.ComponentModel.INotifyPropertyChanged { - private System.DateTime generatedAtField; + private string staField; - private string locationNameField; + private string etaField; - private string crsField; + private string stdField; - private string filterLocationNameField; + private string etdField; - private string filtercrsField; + private string platformField; - private FilterType filterTypeField; + private string operatorField; - private NRCCMessage[] nrccMessagesField; + private string operatorCodeField; - private bool platformAvailableField; + private bool isCircularRouteField; - private bool areServicesAvailableField; + private bool filterLocationCancelledField; - private ServiceItem[] trainServicesField; + private ServiceType serviceTypeField; - private ServiceItem[] busServicesField; + private string serviceIDField; - private ServiceItem[] ferryServicesField; + private string[] adhocAlertsField; - public StationBoard() { - this.filterTypeField = FilterType.to; - this.platformAvailableField = false; - this.areServicesAvailableField = true; + public BaseServiceItem() { + this.isCircularRouteField = false; + this.filterLocationCancelledField = false; } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime generatedAt { + public string sta { get { - return this.generatedAtField; + return this.staField; } set { - this.generatedAtField = value; - this.RaisePropertyChanged("generatedAt"); + this.staField = value; + this.RaisePropertyChanged("sta"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string locationName { + public string eta { get { - return this.locationNameField; + return this.etaField; } set { - this.locationNameField = value; - this.RaisePropertyChanged("locationName"); + this.etaField = value; + this.RaisePropertyChanged("eta"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string crs { + public string std { get { - return this.crsField; + return this.stdField; } set { - this.crsField = value; - this.RaisePropertyChanged("crs"); + this.stdField = value; + this.RaisePropertyChanged("std"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string filterLocationName { + public string etd { get { - return this.filterLocationNameField; + return this.etdField; } set { - this.filterLocationNameField = value; - this.RaisePropertyChanged("filterLocationName"); + this.etdField = value; + this.RaisePropertyChanged("etd"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string filtercrs { + public string platform { get { - return this.filtercrsField; + return this.platformField; } set { - this.filtercrsField = value; - this.RaisePropertyChanged("filtercrs"); + this.platformField = value; + this.RaisePropertyChanged("platform"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(FilterType.to)] - public FilterType filterType { + public string @operator { get { - return this.filterTypeField; + return this.operatorField; } set { - this.filterTypeField = value; - this.RaisePropertyChanged("filterType"); + this.operatorField = value; + this.RaisePropertyChanged("operator"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=6)] - [System.Xml.Serialization.XmlArrayItemAttribute("message", Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] - public NRCCMessage[] nrccMessages { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string operatorCode { get { - return this.nrccMessagesField; + return this.operatorCodeField; } set { - this.nrccMessagesField = value; - this.RaisePropertyChanged("nrccMessages"); + this.operatorCodeField = value; + this.RaisePropertyChanged("operatorCode"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=7)] [System.ComponentModel.DefaultValueAttribute(false)] - public bool platformAvailable { + public bool isCircularRoute { get { - return this.platformAvailableField; + return this.isCircularRouteField; } set { - this.platformAvailableField = value; - this.RaisePropertyChanged("platformAvailable"); + this.isCircularRouteField = value; + this.RaisePropertyChanged("isCircularRoute"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=8)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool areServicesAvailable { + [System.ComponentModel.DefaultValueAttribute(false)] + public bool filterLocationCancelled { get { - return this.areServicesAvailableField; + return this.filterLocationCancelledField; } set { - this.areServicesAvailableField = value; - this.RaisePropertyChanged("areServicesAvailable"); + this.filterLocationCancelledField = value; + this.RaisePropertyChanged("filterLocationCancelled"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=9)] - [System.Xml.Serialization.XmlArrayItemAttribute("service")] - public ServiceItem[] trainServices { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public ServiceType serviceType { get { - return this.trainServicesField; + return this.serviceTypeField; } set { - this.trainServicesField = value; - this.RaisePropertyChanged("trainServices"); + this.serviceTypeField = value; + this.RaisePropertyChanged("serviceType"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=10)] - [System.Xml.Serialization.XmlArrayItemAttribute("service")] - public ServiceItem[] busServices { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string serviceID { get { - return this.busServicesField; + return this.serviceIDField; } set { - this.busServicesField = value; - this.RaisePropertyChanged("busServices"); + this.serviceIDField = value; + this.RaisePropertyChanged("serviceID"); } } /// [System.Xml.Serialization.XmlArrayAttribute(Order=11)] - [System.Xml.Serialization.XmlArrayItemAttribute("service")] - public ServiceItem[] ferryServices { + [System.Xml.Serialization.XmlArrayItemAttribute("adhocAlertText", Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] + public string[] adhocAlerts { get { - return this.ferryServicesField; + return this.adhocAlertsField; } set { - this.ferryServicesField = value; - this.RaisePropertyChanged("ferryServices"); + this.adhocAlertsField = value; + this.RaisePropertyChanged("adhocAlerts"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class DepartureItem : object, System.ComponentModel.INotifyPropertyChanged { + + private ServiceItem serviceField; + + private string crsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public ServiceItem service { + get { + return this.serviceField; + } + set { + this.serviceField = value; + this.RaisePropertyChanged("service"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string crs { + get { + return this.crsField; + } + set { + this.crsField = value; + this.RaisePropertyChanged("crs"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] + public partial class NRCCMessage : object, System.ComponentModel.INotifyPropertyChanged { + + private string valueField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeparturesBoardWithDetails))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeparturesBoard))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(StationBoardWithDetails))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(StationBoard))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class BaseStationBoard : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime generatedAtField; + + private string locationNameField; + + private string crsField; + + private string filterLocationNameField; + + private string filtercrsField; + + private FilterType filterTypeField; + + private NRCCMessage[] nrccMessagesField; + + private bool platformAvailableField; + + private bool areServicesAvailableField; + + public BaseStationBoard() { + this.filterTypeField = FilterType.to; + this.platformAvailableField = false; + this.areServicesAvailableField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime generatedAt { + get { + return this.generatedAtField; + } + set { + this.generatedAtField = value; + this.RaisePropertyChanged("generatedAt"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string locationName { + get { + return this.locationNameField; + } + set { + this.locationNameField = value; + this.RaisePropertyChanged("locationName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string crs { + get { + return this.crsField; + } + set { + this.crsField = value; + this.RaisePropertyChanged("crs"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string filterLocationName { + get { + return this.filterLocationNameField; + } + set { + this.filterLocationNameField = value; + this.RaisePropertyChanged("filterLocationName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string filtercrs { + get { + return this.filtercrsField; + } + set { + this.filtercrsField = value; + this.RaisePropertyChanged("filtercrs"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public FilterType filterType { + get { + return this.filterTypeField; + } + set { + this.filterTypeField = value; + this.RaisePropertyChanged("filterType"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + [System.Xml.Serialization.XmlArrayItemAttribute("message", Namespace="http://thalesgroup.com/RTTI/2012-01-13/ldb/types")] + public NRCCMessage[] nrccMessages { + get { + return this.nrccMessagesField; + } + set { + this.nrccMessagesField = value; + this.RaisePropertyChanged("nrccMessages"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool platformAvailable { + get { + return this.platformAvailableField; + } + set { + this.platformAvailableField = value; + this.RaisePropertyChanged("platformAvailable"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool areServicesAvailable { + get { + return this.areServicesAvailableField; + } + set { + this.areServicesAvailableField = value; + this.RaisePropertyChanged("areServicesAvailable"); } } @@ -1161,47 +1371,546 @@ protected void RaisePropertyChanged(string propertyName) { [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2007-10-10/ldb/commontypes")] public enum FilterType { - /// - to, + /// + to, + + /// + from, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class DeparturesBoardWithDetails : BaseStationBoard { + + private DepartureItemWithCallingPoints[] departuresField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("destination", IsNullable=false)] + public DepartureItemWithCallingPoints[] departures { + get { + return this.departuresField; + } + set { + this.departuresField = value; + this.RaisePropertyChanged("departures"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class DeparturesBoard : BaseStationBoard { + + private DepartureItem[] departuresField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("destination", IsNullable=false)] + public DepartureItem[] departures { + get { + return this.departuresField; + } + set { + this.departuresField = value; + this.RaisePropertyChanged("departures"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class StationBoardWithDetails : BaseStationBoard { + + private ServiceItemWithCallingPoints[] trainServicesField; + + private ServiceItemWithCallingPoints[] busServicesField; + + private ServiceItemWithCallingPoints[] ferryServicesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItemWithCallingPoints[] trainServices { + get { + return this.trainServicesField; + } + set { + this.trainServicesField = value; + this.RaisePropertyChanged("trainServices"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItemWithCallingPoints[] busServices { + get { + return this.busServicesField; + } + set { + this.busServicesField = value; + this.RaisePropertyChanged("busServices"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItemWithCallingPoints[] ferryServices { + get { + return this.ferryServicesField; + } + set { + this.ferryServicesField = value; + this.RaisePropertyChanged("ferryServices"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/types")] + public partial class StationBoard : BaseStationBoard { + + private ServiceItem[] trainServicesField; + + private ServiceItem[] busServicesField; + + private ServiceItem[] ferryServicesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItem[] trainServices { + get { + return this.trainServicesField; + } + set { + this.trainServicesField = value; + this.RaisePropertyChanged("trainServices"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItem[] busServices { + get { + return this.busServicesField; + } + set { + this.busServicesField = value; + this.RaisePropertyChanged("busServices"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("service")] + public ServiceItem[] ferryServices { + get { + return this.ferryServicesField; + } + set { + this.ferryServicesField = value; + this.RaisePropertyChanged("ferryServices"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepartureBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetDepartureBoardRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public ushort numRows; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + public string filterCrs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public Huxley.ldbServiceReference.FilterType filterType; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetDepartureBoardRequest() { + } + + public GetDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.numRows = numRows; + this.crs = crs; + this.filterCrs = filterCrs; + this.filterType = filterType; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepartureBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetDepartureBoardResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + + public GetDepartureBoardResponse() { + } + + public GetDepartureBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { + this.GetStationBoardResult = GetStationBoardResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrivalBoardRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public ushort numRows; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + public string filterCrs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public Huxley.ldbServiceReference.FilterType filterType; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetArrivalBoardRequest() { + } + + public GetArrivalBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.numRows = numRows; + this.crs = crs; + this.filterCrs = filterCrs; + this.filterType = filterType; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrivalBoardResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + + public GetArrivalBoardResponse() { + } + + public GetArrivalBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { + this.GetStationBoardResult = GetStationBoardResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalDepartureBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrivalDepartureBoardRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public ushort numRows; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + public string filterCrs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public Huxley.ldbServiceReference.FilterType filterType; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetArrivalDepartureBoardRequest() { + } + + public GetArrivalDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.numRows = numRows; + this.crs = crs; + this.filterCrs = filterCrs; + this.filterType = filterType; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalDepartureBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrivalDepartureBoardResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + + public GetArrivalDepartureBoardResponse() { + } + + public GetArrivalDepartureBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { + this.GetStationBoardResult = GetStationBoardResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetServiceDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetServiceDetailsRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public string serviceID; + + public GetServiceDetailsRequest() { + } + + public GetServiceDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string serviceID) { + this.AccessToken = AccessToken; + this.serviceID = serviceID; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetServiceDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetServiceDetailsResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.ServiceDetails GetServiceDetailsResult; + + public GetServiceDetailsResponse() { + } + + public GetServiceDetailsResponse(Huxley.ldbServiceReference.ServiceDetails GetServiceDetailsResult) { + this.GetServiceDetailsResult = GetServiceDetailsResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepBoardWithDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetDepBoardWithDetailsRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public ushort numRows; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + public string filterCrs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public Huxley.ldbServiceReference.FilterType filterType; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetDepBoardWithDetailsRequest() { + } + + public GetDepBoardWithDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.numRows = numRows; + this.crs = crs; + this.filterCrs = filterCrs; + this.filterType = filterType; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepBoardWithDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetDepBoardWithDetailsResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult; + + public GetDepBoardWithDetailsResponse() { + } + + public GetDepBoardWithDetailsResponse(Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult) { + this.GetStationBoardResult = GetStationBoardResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrBoardWithDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrBoardWithDetailsRequest { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public ushort numRows; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + public string filterCrs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(FilterType.to)] + public Huxley.ldbServiceReference.FilterType filterType; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetArrBoardWithDetailsRequest() { + } + + public GetArrBoardWithDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.numRows = numRows; + this.crs = crs; + this.filterCrs = filterCrs; + this.filterType = filterType; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrBoardWithDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrBoardWithDetailsResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult; - /// - from, + public GetArrBoardWithDetailsResponse() { + } + + public GetArrBoardWithDetailsResponse(Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult) { + this.GetStationBoardResult = GetStationBoardResult; + } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepartureBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetDepartureBoardRequest { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrDepBoardWithDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrDepBoardWithDetailsRequest { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] public Huxley.ldbServiceReference.AccessToken AccessToken; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] public ushort numRows; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=1)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] public string crs; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=2)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] public string filterCrs; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=3)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] [System.ComponentModel.DefaultValueAttribute(FilterType.to)] public Huxley.ldbServiceReference.FilterType filterType; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=4)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=4)] [System.ComponentModel.DefaultValueAttribute(0)] public int timeOffset; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=5)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=5)] [System.ComponentModel.DefaultValueAttribute(120)] public int timeWindow; - public GetDepartureBoardRequest() { + public GetArrDepBoardWithDetailsRequest() { } - public GetDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + public GetArrDepBoardWithDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { this.AccessToken = AccessToken; this.numRows = numRows; this.crs = crs; @@ -1215,16 +1924,16 @@ public GetDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken AccessTok [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetDepartureBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetDepartureBoardResponse { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrDepBoardWithDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetArrDepBoardWithDetailsResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult; - public GetDepartureBoardResponse() { + public GetArrDepBoardWithDetailsResponse() { } - public GetDepartureBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { + public GetArrDepBoardWithDetailsResponse(Huxley.ldbServiceReference.StationBoardWithDetails GetStationBoardResult) { this.GetStationBoardResult = GetStationBoardResult; } } @@ -1232,42 +1941,34 @@ public GetDepartureBoardResponse(Huxley.ldbServiceReference.StationBoard GetStat [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetArrivalBoardRequest { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetNextDeparturesRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetNextDeparturesRequest { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] public Huxley.ldbServiceReference.AccessToken AccessToken; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public ushort numRows; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=1)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] public string crs; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=2)] - public string filterCrs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=3)] - [System.ComponentModel.DefaultValueAttribute(FilterType.to)] - public Huxley.ldbServiceReference.FilterType filterType; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("crs", IsNullable=false)] + public string[] filterList; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=4)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] [System.ComponentModel.DefaultValueAttribute(0)] public int timeOffset; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=5)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] [System.ComponentModel.DefaultValueAttribute(120)] public int timeWindow; - public GetArrivalBoardRequest() { + public GetNextDeparturesRequest() { } - public GetArrivalBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + public GetNextDeparturesRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { this.AccessToken = AccessToken; - this.numRows = numRows; this.crs = crs; - this.filterCrs = filterCrs; - this.filterType = filterType; + this.filterList = filterList; this.timeOffset = timeOffset; this.timeWindow = timeWindow; } @@ -1276,59 +1977,104 @@ public GetArrivalBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetArrivalBoardResponse { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetNextDeparturesResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetNextDeparturesResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.DeparturesBoard DeparturesBoard; - public GetArrivalBoardResponse() { + public GetNextDeparturesResponse() { } - public GetArrivalBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { - this.GetStationBoardResult = GetStationBoardResult; + public GetNextDeparturesResponse(Huxley.ldbServiceReference.DeparturesBoard DeparturesBoard) { + this.DeparturesBoard = DeparturesBoard; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalDepartureBoardRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetArrivalDepartureBoardRequest { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetNextDeparturesWithDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetNextDeparturesWithDetailsRequest { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] public Huxley.ldbServiceReference.AccessToken AccessToken; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public ushort numRows; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=1)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] public string crs; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=2)] - public string filterCrs; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("crs", IsNullable=false)] + public string[] filterList; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=3)] - [System.ComponentModel.DefaultValueAttribute(FilterType.to)] - public Huxley.ldbServiceReference.FilterType filterType; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetNextDeparturesWithDetailsRequest() { + } + + public GetNextDeparturesWithDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + this.AccessToken = AccessToken; + this.crs = crs; + this.filterList = filterList; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetNextDeparturesWithDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetNextDeparturesWithDetailsResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.DeparturesBoardWithDetails DeparturesBoard; + + public GetNextDeparturesWithDetailsResponse() { + } + + public GetNextDeparturesWithDetailsResponse(Huxley.ldbServiceReference.DeparturesBoardWithDetails DeparturesBoard) { + this.DeparturesBoard = DeparturesBoard; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetFastestDeparturesRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetFastestDeparturesRequest { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=4)] + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] + public Huxley.ldbServiceReference.AccessToken AccessToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public string crs; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("crs", IsNullable=false)] + public string[] filterList; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] [System.ComponentModel.DefaultValueAttribute(0)] public int timeOffset; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=5)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] [System.ComponentModel.DefaultValueAttribute(120)] public int timeWindow; - public GetArrivalDepartureBoardRequest() { + public GetFastestDeparturesRequest() { } - public GetArrivalDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + public GetFastestDeparturesRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { this.AccessToken = AccessToken; - this.numRows = numRows; this.crs = crs; - this.filterCrs = filterCrs; - this.filterType = filterType; + this.filterList = filterList; this.timeOffset = timeOffset; this.timeWindow = timeWindow; } @@ -1337,55 +2083,70 @@ public GetArrivalDepartureBoardRequest(Huxley.ldbServiceReference.AccessToken Ac [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetArrivalDepartureBoardResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetArrivalDepartureBoardResponse { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetFastestDeparturesResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetFastestDeparturesResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public Huxley.ldbServiceReference.StationBoard GetStationBoardResult; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.DeparturesBoard DeparturesBoard; - public GetArrivalDepartureBoardResponse() { + public GetFastestDeparturesResponse() { } - public GetArrivalDepartureBoardResponse(Huxley.ldbServiceReference.StationBoard GetStationBoardResult) { - this.GetStationBoardResult = GetStationBoardResult; + public GetFastestDeparturesResponse(Huxley.ldbServiceReference.DeparturesBoard DeparturesBoard) { + this.DeparturesBoard = DeparturesBoard; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetServiceDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetServiceDetailsRequest { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetFastestDeparturesWithDetailsRequest", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetFastestDeparturesWithDetailsRequest { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://thalesgroup.com/RTTI/2013-11-28/Token/types")] public Huxley.ldbServiceReference.AccessToken AccessToken; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public string serviceID; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public string crs; - public GetServiceDetailsRequest() { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("crs", IsNullable=false)] + public string[] filterList; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=2)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int timeOffset; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=3)] + [System.ComponentModel.DefaultValueAttribute(120)] + public int timeWindow; + + public GetFastestDeparturesWithDetailsRequest() { } - public GetServiceDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string serviceID) { + public GetFastestDeparturesWithDetailsRequest(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { this.AccessToken = AccessToken; - this.serviceID = serviceID; + this.crs = crs; + this.filterList = filterList; + this.timeOffset = timeOffset; + this.timeWindow = timeWindow; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="GetServiceDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", IsWrapped=true)] - public partial class GetServiceDetailsResponse { + [System.ServiceModel.MessageContractAttribute(WrapperName="GetFastestDeparturesWithDetailsResponse", WrapperNamespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", IsWrapped=true)] + public partial class GetFastestDeparturesWithDetailsResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2014-02-20/ldb/", Order=0)] - public Huxley.ldbServiceReference.ServiceDetails GetServiceDetailsResult; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://thalesgroup.com/RTTI/2015-05-14/ldb/", Order=0)] + public Huxley.ldbServiceReference.DeparturesBoardWithDetails DeparturesBoard; - public GetServiceDetailsResponse() { + public GetFastestDeparturesWithDetailsResponse() { } - public GetServiceDetailsResponse(Huxley.ldbServiceReference.ServiceDetails GetServiceDetailsResult) { - this.GetServiceDetailsResult = GetServiceDetailsResult; + public GetFastestDeparturesWithDetailsResponse(Huxley.ldbServiceReference.DeparturesBoardWithDetails DeparturesBoard) { + this.DeparturesBoard = DeparturesBoard; } } @@ -1545,5 +2306,234 @@ public Huxley.ldbServiceReference.ServiceDetails GetServiceDetails(Huxley.ldbSer inValue.serviceID = serviceID; return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetServiceDetailsAsync(inValue); } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse Huxley.ldbServiceReference.LDBServiceSoap.GetDepBoardWithDetails(Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest request) { + return base.Channel.GetDepBoardWithDetails(request); + } + + public Huxley.ldbServiceReference.StationBoardWithDetails GetDepBoardWithDetails(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetDepBoardWithDetailsResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetDepBoardWithDetails(inValue); + return retVal.GetStationBoardResult; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetDepBoardWithDetailsAsync(Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest request) { + return base.Channel.GetDepBoardWithDetailsAsync(request); + } + + public System.Threading.Tasks.Task GetDepBoardWithDetailsAsync(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetDepBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetDepBoardWithDetailsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse Huxley.ldbServiceReference.LDBServiceSoap.GetArrBoardWithDetails(Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest request) { + return base.Channel.GetArrBoardWithDetails(request); + } + + public Huxley.ldbServiceReference.StationBoardWithDetails GetArrBoardWithDetails(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetArrBoardWithDetailsResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetArrBoardWithDetails(inValue); + return retVal.GetStationBoardResult; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetArrBoardWithDetailsAsync(Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest request) { + return base.Channel.GetArrBoardWithDetailsAsync(request); + } + + public System.Threading.Tasks.Task GetArrBoardWithDetailsAsync(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetArrBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetArrBoardWithDetailsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse Huxley.ldbServiceReference.LDBServiceSoap.GetArrDepBoardWithDetails(Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest request) { + return base.Channel.GetArrDepBoardWithDetails(request); + } + + public Huxley.ldbServiceReference.StationBoardWithDetails GetArrDepBoardWithDetails(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetArrDepBoardWithDetails(inValue); + return retVal.GetStationBoardResult; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetArrDepBoardWithDetailsAsync(Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest request) { + return base.Channel.GetArrDepBoardWithDetailsAsync(request); + } + + public System.Threading.Tasks.Task GetArrDepBoardWithDetailsAsync(Huxley.ldbServiceReference.AccessToken AccessToken, ushort numRows, string crs, string filterCrs, Huxley.ldbServiceReference.FilterType filterType, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetArrDepBoardWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.numRows = numRows; + inValue.crs = crs; + inValue.filterCrs = filterCrs; + inValue.filterType = filterType; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetArrDepBoardWithDetailsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetNextDeparturesResponse Huxley.ldbServiceReference.LDBServiceSoap.GetNextDepartures(Huxley.ldbServiceReference.GetNextDeparturesRequest request) { + return base.Channel.GetNextDepartures(request); + } + + public Huxley.ldbServiceReference.DeparturesBoard GetNextDepartures(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetNextDeparturesRequest inValue = new Huxley.ldbServiceReference.GetNextDeparturesRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetNextDeparturesResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetNextDepartures(inValue); + return retVal.DeparturesBoard; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetNextDeparturesAsync(Huxley.ldbServiceReference.GetNextDeparturesRequest request) { + return base.Channel.GetNextDeparturesAsync(request); + } + + public System.Threading.Tasks.Task GetNextDeparturesAsync(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetNextDeparturesRequest inValue = new Huxley.ldbServiceReference.GetNextDeparturesRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetNextDeparturesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse Huxley.ldbServiceReference.LDBServiceSoap.GetNextDeparturesWithDetails(Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest request) { + return base.Channel.GetNextDeparturesWithDetails(request); + } + + public Huxley.ldbServiceReference.DeparturesBoardWithDetails GetNextDeparturesWithDetails(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetNextDeparturesWithDetails(inValue); + return retVal.DeparturesBoard; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetNextDeparturesWithDetailsAsync(Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest request) { + return base.Channel.GetNextDeparturesWithDetailsAsync(request); + } + + public System.Threading.Tasks.Task GetNextDeparturesWithDetailsAsync(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetNextDeparturesWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetNextDeparturesWithDetailsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetFastestDeparturesResponse Huxley.ldbServiceReference.LDBServiceSoap.GetFastestDepartures(Huxley.ldbServiceReference.GetFastestDeparturesRequest request) { + return base.Channel.GetFastestDepartures(request); + } + + public Huxley.ldbServiceReference.DeparturesBoard GetFastestDepartures(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetFastestDeparturesRequest inValue = new Huxley.ldbServiceReference.GetFastestDeparturesRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetFastestDeparturesResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetFastestDepartures(inValue); + return retVal.DeparturesBoard; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetFastestDeparturesAsync(Huxley.ldbServiceReference.GetFastestDeparturesRequest request) { + return base.Channel.GetFastestDeparturesAsync(request); + } + + public System.Threading.Tasks.Task GetFastestDeparturesAsync(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetFastestDeparturesRequest inValue = new Huxley.ldbServiceReference.GetFastestDeparturesRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetFastestDeparturesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse Huxley.ldbServiceReference.LDBServiceSoap.GetFastestDeparturesWithDetails(Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest request) { + return base.Channel.GetFastestDeparturesWithDetails(request); + } + + public Huxley.ldbServiceReference.DeparturesBoardWithDetails GetFastestDeparturesWithDetails(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsResponse retVal = ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetFastestDeparturesWithDetails(inValue); + return retVal.DeparturesBoard; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Huxley.ldbServiceReference.LDBServiceSoap.GetFastestDeparturesWithDetailsAsync(Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest request) { + return base.Channel.GetFastestDeparturesWithDetailsAsync(request); + } + + public System.Threading.Tasks.Task GetFastestDeparturesWithDetailsAsync(Huxley.ldbServiceReference.AccessToken AccessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest inValue = new Huxley.ldbServiceReference.GetFastestDeparturesWithDetailsRequest(); + inValue.AccessToken = AccessToken; + inValue.crs = crs; + inValue.filterList = filterList; + inValue.timeOffset = timeOffset; + inValue.timeWindow = timeWindow; + return ((Huxley.ldbServiceReference.LDBServiceSoap)(this)).GetFastestDeparturesWithDetailsAsync(inValue); + } } } diff --git a/src/Huxley/Service References/ldbServiceReference/Reference.svcmap b/src/Huxley/Service References/ldbServiceReference/Reference.svcmap index 5566dd4..e3e1d23 100644 --- a/src/Huxley/Service References/ldbServiceReference/Reference.svcmap +++ b/src/Huxley/Service References/ldbServiceReference/Reference.svcmap @@ -19,16 +19,17 @@ - + - - + + - + + diff --git a/src/Huxley/Service References/ldbServiceReference/configuration.svcinfo b/src/Huxley/Service References/ldbServiceReference/configuration.svcinfo index 7f26c44..4690498 100644 --- a/src/Huxley/Service References/ldbServiceReference/configuration.svcinfo +++ b/src/Huxley/Service References/ldbServiceReference/configuration.svcinfo @@ -7,6 +7,6 @@ - + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/configuration91.svcinfo b/src/Huxley/Service References/ldbServiceReference/configuration91.svcinfo index a4dc411..03e31cb 100644 --- a/src/Huxley/Service References/ldbServiceReference/configuration91.svcinfo +++ b/src/Huxley/Service References/ldbServiceReference/configuration91.svcinfo @@ -1,5 +1,5 @@ - + @@ -372,10 +372,10 @@ - + - https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ldb6.asmx + https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ldb7.asmx diff --git a/src/Huxley/Service References/ldbServiceReference/rtti_2014-02-20_ldb.wsdl b/src/Huxley/Service References/ldbServiceReference/rtti_2014-02-20_ldb.wsdl deleted file mode 100644 index 5e3503a..0000000 --- a/src/Huxley/Service References/ldbServiceReference/rtti_2014-02-20_ldb.wsdl +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - The maximum number of services that are required to be returned. This will be limited to a maximum value by the server, which may change according to system load or other factors. Only the minimum required number of services should be requested. For example, if only 10 services are displayed in a user interface, then this parameter should be set to 10. - - - - - The CRS code for the station departure board that is required. - - - - - An optional CRS code that will filter the returned departure board. For example, if crs is set to "MAN", filterCRS is set to "EUS" and filterType is set to "to" then the departure board will return a list of services that depart Manchester Piccadilly and call at London Euston. - - - - - The type of filter query that is required, either "from" or "to". This parameter is ignored unless filterCrs is also present. - - - - - A time offset that may be applied to the current time to give the base time for the departure board. The value could be negative if the client has suitable permission configured, otherwise the minimun value will be 0. If the client is not configured with suitable permission then upper bound will be 119. - - - - - The number of minutes added to the request start time to give the end time. The parameter default value is 120 minutes, if the supplied value is greater than 120 or not supplied. If the supplied pararmeter vaule is less than 0 then an error will return. - - - - - - - - - The service ID obtained from a departure board response for which fuill details are required. Note that service details are only available for a short time after a service has arrived/departed from the location in the departure board that the ID was obtained from. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/rtti_2015-05-14_ldb.wsdl b/src/Huxley/Service References/ldbServiceReference/rtti_2015-05-14_ldb.wsdl new file mode 100644 index 0000000..f477fe7 --- /dev/null +++ b/src/Huxley/Service References/ldbServiceReference/rtti_2015-05-14_ldb.wsdl @@ -0,0 +1,472 @@ + + + + + + + + + + + + + + The maximum number of services that are required to be returned. This will be limited to a maximum value by the server, which may change according to system load or other factors. Only the minimum required number of services should be requested. For example, if only 10 services are displayed in a user interface, then this parameter should be set to 10. + + + + + The CRS code for the station departure board that is required. + + + + + An optional CRS code that will filter the returned departure board. For example, if crs is set to "MAN", filterCRS is set to "EUS" and filterType is set to "to" then the departure board will return a list of services that depart Manchester Piccadilly and call at London Euston. + + + + + The type of filter query that is required, either "from" or "to". This parameter is ignored unless filterCrs is also present. + + + + + A time offset that may be applied to the current time to give the base time for the departure board. The value could be negative if the client has suitable permission configured, otherwise the minimun value will be 0. If the client is not configured with suitable permission then upper bound will be 119. + + + + + The number of minutes added to the request start time to give the end time. The parameter default value is 120 minutes, if the supplied value is greater than 120 or not supplied. If the supplied pararmeter vaule is less than 0 then an error will return. + + + + + + + + + The service ID obtained from a departure board response for which fuill details are required. Note that service details are only available for a short time after a service has arrived/departed from the location in the departure board that the ID was obtained from. + + + + + + + + + The CRS code for the station departure board that is required. + + + + + A list of CRS codes for the station destinations that are required. There must be at least one and may be no more than a maximum number of CRS codes in this list. The actual limit may vary and can be found in the documentation. + + + + + + + + + + A time offset that may be applied to the current time to give the base time for the departure board. The value could be negative if the client has suitable permission configured, otherwise the minimun value will be 0. If the client is not configured with suitable permission then upper bound will be 119. + + + + + The number of minutes added to the request start time to give the end time. The parameter default value is 120 minutes, if the supplied value is greater than 120 or not supplied. If the supplied pararmeter vaule is less than 0 then an error will return. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Huxley/Service References/ldbServiceReference/wsdl.wsdl b/src/Huxley/Service References/ldbServiceReference/wsdl1.wsdl similarity index 64% rename from src/Huxley/Service References/ldbServiceReference/wsdl.wsdl rename to src/Huxley/Service References/ldbServiceReference/wsdl1.wsdl index aaf6d07..9921d02 100644 --- a/src/Huxley/Service References/ldbServiceReference/wsdl.wsdl +++ b/src/Huxley/Service References/ldbServiceReference/wsdl1.wsdl @@ -1,13 +1,13 @@ - - + + - + - + \ No newline at end of file diff --git a/src/Huxley/Web.config b/src/Huxley/Web.config index d1375fe..d7934bc 100644 --- a/src/Huxley/Web.config +++ b/src/Huxley/Web.config @@ -108,7 +108,7 @@ along with this program. If not, see . - + \ No newline at end of file From a419de031b71e130f3d21469270d49bd5617a1f5 Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Fri, 24 Jul 2015 19:37:46 +0100 Subject: [PATCH 2/7] Add station boards that include service details --- src/Huxley/Controllers/StationController.cs | 14 +++++++++- src/Huxley/Huxley.csproj | 4 +-- src/Huxley/ILdbClient.cs | 31 +++++++++++++++++++-- src/Huxley/LdbClient.cs | 14 ++++++++++ src/Huxley/Models/StationBoardRequest.cs | 1 + 5 files changed, 58 insertions(+), 6 deletions(-) diff --git a/src/Huxley/Controllers/StationController.cs b/src/Huxley/Controllers/StationController.cs index 096c272..7ffc945 100644 --- a/src/Huxley/Controllers/StationController.cs +++ b/src/Huxley/Controllers/StationController.cs @@ -31,7 +31,7 @@ public StationController(ILdbClient client) } // GET /{board}/CRS?accessToken=[your token] - public async Task Get([FromUri] StationBoardRequest request) { + public async Task Get([FromUri] StationBoardRequest request) { // Process CRS codes request.Crs = MakeCrsCode(request.Crs); @@ -40,16 +40,28 @@ public async Task Get([FromUri] StationBoardRequest request) { var token = MakeAccessToken(request.AccessToken); if (Board.Departures == request.Board) { + if (request.Expand) { + var departuresWithDetails = await Client.GetDepBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + return departuresWithDetails.GetStationBoardResult; + } var departures = await Client.GetDepartureBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); return departures.GetStationBoardResult; } if (Board.Arrivals == request.Board) { + if (request.Expand) { + var arrivalsWithDetails = await Client.GetArrBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + return arrivalsWithDetails.GetStationBoardResult; + } var arrivals = await Client.GetArrivalBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); return arrivals.GetStationBoardResult; } // Default all (departures and arrivals board) + if (request.Expand) { + var boardWithDetails = await Client.GetArrDepBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + return boardWithDetails.GetStationBoardResult; + } var board = await Client.GetArrivalDepartureBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); return board.GetStationBoardResult; } diff --git a/src/Huxley/Huxley.csproj b/src/Huxley/Huxley.csproj index ff8cb3a..8d9c9c2 100644 --- a/src/Huxley/Huxley.csproj +++ b/src/Huxley/Huxley.csproj @@ -243,11 +243,11 @@ Designer - + Designer - + Web.config diff --git a/src/Huxley/ILdbClient.cs b/src/Huxley/ILdbClient.cs index d8843e5..651816b 100644 --- a/src/Huxley/ILdbClient.cs +++ b/src/Huxley/ILdbClient.cs @@ -23,9 +23,34 @@ You should have received a copy of the GNU Affero General Public License namespace Huxley { public interface ILdbClient { - Task GetDepartureBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, FilterType filterType, int timeOffset, int timeWindow); - Task GetArrivalBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, FilterType filterType, int timeOffset, int timeWindow); - Task GetArrivalDepartureBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, FilterType filterType, int timeOffset, int timeWindow); + Task GetDepartureBoardAsync(AccessToken accessToken, ushort numRows, string crs, + string filterCrs, FilterType filterType, int timeOffset, + int timeWindow); + + Task GetDepBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, + string crs, string filterCrs, + FilterType filterType, int timeOffset, + int timeWindow); + + Task GetArrivalBoardAsync(AccessToken accessToken, ushort numRows, string crs, + string filterCrs, FilterType filterType, int timeOffset, + int timeWindow); + + Task GetArrBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, + string crs, string filterCrs, + FilterType filterType, int timeOffset, + int timeWindow); + + Task GetArrivalDepartureBoardAsync(AccessToken accessToken, ushort numRows, + string crs, string filterCrs, + FilterType filterType, int timeOffset, + int timeWindow); + + Task GetArrDepBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, + string crs, string filterCrs, + FilterType filterType, int timeOffset, + int timeWindow); + Task GetServiceDetailsAsync(AccessToken accessToken, string serviceId); } } diff --git a/src/Huxley/LdbClient.cs b/src/Huxley/LdbClient.cs index 964dbb3..0087400 100644 --- a/src/Huxley/LdbClient.cs +++ b/src/Huxley/LdbClient.cs @@ -34,7 +34,11 @@ public LdbClient(LDBServiceSoapClient client) { public async Task GetDepartureBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, FilterType filterType, int timeOffset, int timeWindow) { return await Execute(() => client.GetDepartureBoardAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); + } + public async Task GetDepBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, + FilterType filterType, int timeOffset, int timeWindow) { + return await Execute(() => client.GetDepBoardWithDetailsAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); } public async Task GetArrivalBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, @@ -42,11 +46,21 @@ public async Task GetArrivalBoardAsync(AccessToken acce return await Execute(() => client.GetArrivalBoardAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); } + public async Task GetArrBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, + FilterType filterType, int timeOffset, int timeWindow) { + return await Execute(() => client.GetArrBoardWithDetailsAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); + } + public async Task GetArrivalDepartureBoardAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, FilterType filterType, int timeOffset, int timeWindow) { return await Execute(() => client.GetArrivalDepartureBoardAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); } + public async Task GetArrDepBoardWithDetailsAsync(AccessToken accessToken, ushort numRows, string crs, string filterCrs, + FilterType filterType, int timeOffset, int timeWindow) { + return await Execute(() => client.GetArrDepBoardWithDetailsAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); + } + public async Task GetServiceDetailsAsync(AccessToken accessToken, string serviceId) { return await Execute(() => client.GetServiceDetailsAsync(accessToken, serviceId)); } diff --git a/src/Huxley/Models/StationBoardRequest.cs b/src/Huxley/Models/StationBoardRequest.cs index 064b47d..3fcb0bd 100644 --- a/src/Huxley/Models/StationBoardRequest.cs +++ b/src/Huxley/Models/StationBoardRequest.cs @@ -40,5 +40,6 @@ public ushort NumRows { set { numRows = value; } } public string Std { get; set; } + public bool Expand { get; set; } } } \ No newline at end of file From 8cc5ad34ee800701fce0adaa566903c37f982541 Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Mon, 27 Jul 2015 08:56:36 +0100 Subject: [PATCH 3/7] Add Next and Fastest Boards with expanded detail variants --- src/Huxley/Controllers/StationController.cs | 18 ++++++++++++++++++ src/Huxley/ILdbClient.cs | 17 +++++++++++++++++ src/Huxley/LdbClient.cs | 16 ++++++++++++++++ src/Huxley/Models/Board.cs | 2 ++ 4 files changed, 53 insertions(+) diff --git a/src/Huxley/Controllers/StationController.cs b/src/Huxley/Controllers/StationController.cs index 7ffc945..deaf774 100644 --- a/src/Huxley/Controllers/StationController.cs +++ b/src/Huxley/Controllers/StationController.cs @@ -57,6 +57,24 @@ public async Task Get([FromUri] StationBoardRequest request) { return arrivals.GetStationBoardResult; } + if (Board.Next == request.Board) { + if (request.Expand) { + var nextWithDetails = await Client.GetNextDeparturesWithDetailsAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + return nextWithDetails.DeparturesBoard; + } + var next = await Client.GetNextDeparturesAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + return next.DeparturesBoard; + } + + if (Board.Fastest == request.Board) { + if (request.Expand) { + var nextWithDetails = await Client.GetFastestDeparturesWithDetailsAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + return nextWithDetails.DeparturesBoard; + } + var next = await Client.GetFastestDeparturesAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + return next.DeparturesBoard; + } + // Default all (departures and arrivals board) if (request.Expand) { var boardWithDetails = await Client.GetArrDepBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); diff --git a/src/Huxley/ILdbClient.cs b/src/Huxley/ILdbClient.cs index 651816b..bc9363b 100644 --- a/src/Huxley/ILdbClient.cs +++ b/src/Huxley/ILdbClient.cs @@ -51,6 +51,23 @@ Task GetArrDepBoardWithDetailsAsync(AccessTok FilterType filterType, int timeOffset, int timeWindow); + Task GetNextDeparturesAsync(AccessToken accessToken, string crs, string[] filterList, + int timeOffset, int timeWindow); + + Task GetNextDeparturesWithDetailsAsync(AccessToken accessToken, string crs, + string[] filterList, int timeOffset, + int timeWindow); + + Task GetFastestDeparturesAsync(AccessToken accessToken, string crs, + string[] filterList, int timeOffset, + int timeWindow); + + Task GetFastestDeparturesWithDetailsAsync(AccessToken accessToken, + string crs, string[] filterList, + int timeOffset, + int timeWindow); + + Task GetServiceDetailsAsync(AccessToken accessToken, string serviceId); } } diff --git a/src/Huxley/LdbClient.cs b/src/Huxley/LdbClient.cs index 0087400..8ef3206 100644 --- a/src/Huxley/LdbClient.cs +++ b/src/Huxley/LdbClient.cs @@ -61,6 +61,22 @@ public async Task GetArrDepBoardWithDetailsAs return await Execute(() => client.GetArrDepBoardWithDetailsAsync(accessToken, numRows, crs, filterCrs, filterType, timeOffset, timeWindow)); } + public async Task GetNextDeparturesAsync(AccessToken accessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + return await Execute(() => client.GetNextDeparturesAsync(accessToken, crs, filterList, timeOffset, timeWindow)); + } + + public async Task GetNextDeparturesWithDetailsAsync(AccessToken accessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + return await Execute(() => client.GetNextDeparturesWithDetailsAsync(accessToken, crs, filterList, timeOffset, timeWindow)); + } + + public async Task GetFastestDeparturesAsync(AccessToken accessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + return await Execute(() => client.GetFastestDeparturesAsync(accessToken, crs, filterList, timeOffset, timeWindow)); + } + + public async Task GetFastestDeparturesWithDetailsAsync(AccessToken accessToken, string crs, string[] filterList, int timeOffset, int timeWindow) { + return await Execute(() => client.GetFastestDeparturesWithDetailsAsync(accessToken, crs, filterList, timeOffset, timeWindow)); + } + public async Task GetServiceDetailsAsync(AccessToken accessToken, string serviceId) { return await Execute(() => client.GetServiceDetailsAsync(accessToken, serviceId)); } diff --git a/src/Huxley/Models/Board.cs b/src/Huxley/Models/Board.cs index 7beaab3..40384d3 100644 --- a/src/Huxley/Models/Board.cs +++ b/src/Huxley/Models/Board.cs @@ -23,5 +23,7 @@ public enum Board { All, Arrivals, Departures, + Next, + Fastest } } \ No newline at end of file From 3f8601305e2529f1c7158e42d35bcd3859686c95 Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Mon, 27 Jul 2015 08:57:05 +0100 Subject: [PATCH 4/7] Increment assembly version number --- src/Huxley/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Huxley/Properties/AssemblyInfo.cs b/src/Huxley/Properties/AssemblyInfo.cs index 57deecc..7aae5fb 100644 --- a/src/Huxley/Properties/AssemblyInfo.cs +++ b/src/Huxley/Properties/AssemblyInfo.cs @@ -34,5 +34,5 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.3.0.0")] -[assembly: AssemblyFileVersion("1.3.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.4.0.0")] +[assembly: AssemblyFileVersion("1.4.0.0")] \ No newline at end of file From 5edad574c8b57fc6077d792eda6345f2fb92a5e5 Mon Sep 17 00:00:00 2001 From: James Singleton Date: Mon, 27 Jul 2015 09:37:49 +0100 Subject: [PATCH 5/7] Add next and fastest boards and expand parameter --- README.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index affe01d..9e22756 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,14 @@ You can set `DarwinAccessToken` to your NRE access token. If you leave `ClientAc ### URL Format -The URL format is `{board}/{CRS|StationName}/{filterType}/{filterCRS|StationName}/{numRows}` or `{board}/{CRS|StationName}/{numRows}` where only board and CRS (or a station name) are required. The filter type can be either `to` or `from` (case is not important). +The URL format is `{board}/{CRS|StationName}/{filterType}/{filterCRS|StationName}/{numRows}` or `{board}/{CRS|StationName}/{numRows}` (arrivals/departures only) where only board and CRS (or a station name) are required. The filter type can be either `to` or `from` (case is not important). A station name can be used in place of CRS codes if the name matches only one station (or matches one exactly) but case is not important. See the [CRS section](#crs-station-codes) below for more information. +For all boards you can add an `expand=true` parameter to embed all service details into the board response. + +[`/all/{CRS|StationName}?accessToken={token}&expand=true`](https://huxley.apphb.com/all/crs?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1&expand=true) + Examples: * 10 (default value) Arrivals and Departures at Clapham Junction: `/all/clj` @@ -81,15 +85,27 @@ Examples: ### Departures -[`/departures/{Three letter CRS station code}?accessToken={Your GUID token}`](https://huxley.apphb.com/departures/crs?accessToken=) +[`/departures/{CRS|StationName}/{filterType}/{filterCRS|StationName}`](https://huxley.apphb.com/departures/crs?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1) ### Arrivals -[`/arrivals/{Three letter CRS station code}?accessToken={Your GUID token}`](https://huxley.apphb.com/arrivals/crs?accessToken=) +[`/arrivals/{CRS|StationName}/{filterType}/{filterCRS|StationName}`](https://huxley.apphb.com/arrivals/crs?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1) ### Departures and Arrivals -[`/all/{Three letter CRS station code}?accessToken={Your GUID token}`](https://huxley.apphb.com/all/crs?accessToken=) +[`/all/{CRS|StationName}/{filterType}/{filterCRS|StationName}`](https://huxley.apphb.com/all/crs?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1) + +### Next + +[`/next/{CRS|StationName}/{filterType}/{filterCRSs|StationNames}`](https://huxley.apphb.com/next/crs/to/edb?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1) + +Filter stations can be a comma separated list. Filter type and number of rows are ignored. + +### Fastest + +[`/fastest/{CRS|StationName}/{filterType}/{filterCRSs|StationNames}`](https://huxley.apphb.com/fastest/crs/to/edb?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1) + +Filter stations can be a comma separated list. Filter type and number of rows are ignored. ### Service From dab984373d44cc658b7eeeef9f6ff614cd1da726 Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Mon, 27 Jul 2015 10:20:48 +0100 Subject: [PATCH 6/7] Support comma separated list of station names and not just CRS codes --- src/Huxley/Controllers/StationController.cs | 30 ++++++++++++--------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/Huxley/Controllers/StationController.cs b/src/Huxley/Controllers/StationController.cs index deaf774..39e67fd 100644 --- a/src/Huxley/Controllers/StationController.cs +++ b/src/Huxley/Controllers/StationController.cs @@ -18,6 +18,7 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +using System.Linq; using System.Threading.Tasks; using System.Web.Http; using Huxley.Models; @@ -33,54 +34,57 @@ public StationController(ILdbClient client) // GET /{board}/CRS?accessToken=[your token] public async Task Get([FromUri] StationBoardRequest request) { - // Process CRS codes - request.Crs = MakeCrsCode(request.Crs); - request.FilterCrs = MakeCrsCode(request.FilterCrs); + // Lookup CRS codes from station names + var crs = MakeCrsCode(request.Crs); + var filterList = new[] { "" }; + if (!string.IsNullOrWhiteSpace(request.FilterCrs)) { + filterList = request.FilterCrs.Split(',').Select(MakeCrsCode).ToArray(); + } var token = MakeAccessToken(request.AccessToken); if (Board.Departures == request.Board) { if (request.Expand) { - var departuresWithDetails = await Client.GetDepBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var departuresWithDetails = await Client.GetDepBoardWithDetailsAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return departuresWithDetails.GetStationBoardResult; } - var departures = await Client.GetDepartureBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var departures = await Client.GetDepartureBoardAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return departures.GetStationBoardResult; } if (Board.Arrivals == request.Board) { if (request.Expand) { - var arrivalsWithDetails = await Client.GetArrBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var arrivalsWithDetails = await Client.GetArrBoardWithDetailsAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return arrivalsWithDetails.GetStationBoardResult; } - var arrivals = await Client.GetArrivalBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var arrivals = await Client.GetArrivalBoardAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return arrivals.GetStationBoardResult; } if (Board.Next == request.Board) { if (request.Expand) { - var nextWithDetails = await Client.GetNextDeparturesWithDetailsAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + var nextWithDetails = await Client.GetNextDeparturesWithDetailsAsync(token, crs, filterList, 0, 0); return nextWithDetails.DeparturesBoard; } - var next = await Client.GetNextDeparturesAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + var next = await Client.GetNextDeparturesAsync(token, crs, filterList, 0, 0); return next.DeparturesBoard; } if (Board.Fastest == request.Board) { if (request.Expand) { - var nextWithDetails = await Client.GetFastestDeparturesWithDetailsAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + var nextWithDetails = await Client.GetFastestDeparturesWithDetailsAsync(token, crs, filterList, 0, 0); return nextWithDetails.DeparturesBoard; } - var next = await Client.GetFastestDeparturesAsync(token, request.Crs, request.FilterCrs.Split(','), 0, 0); + var next = await Client.GetFastestDeparturesAsync(token, crs, filterList, 0, 0); return next.DeparturesBoard; } // Default all (departures and arrivals board) if (request.Expand) { - var boardWithDetails = await Client.GetArrDepBoardWithDetailsAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var boardWithDetails = await Client.GetArrDepBoardWithDetailsAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return boardWithDetails.GetStationBoardResult; } - var board = await Client.GetArrivalDepartureBoardAsync(token, request.NumRows, request.Crs, request.FilterCrs, request.FilterType, 0, 0); + var board = await Client.GetArrivalDepartureBoardAsync(token, request.NumRows, crs, filterList[0], request.FilterType, 0, 0); return board.GetStationBoardResult; } } From 0f320c046d91ef3afbe98297f34b67d9d890d001 Mon Sep 17 00:00:00 2001 From: jpsingleton Date: Mon, 27 Jul 2015 10:37:40 +0100 Subject: [PATCH 7/7] Update documentation for next and fastest boards and expand parameter --- src/Huxley/index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Huxley/index.html b/src/Huxley/index.html index acbc325..d9a9f75 100644 --- a/src/Huxley/index.html +++ b/src/Huxley/index.html @@ -83,13 +83,19 @@

API Endpoints

Station Boards

URL Format

- The URL format is {board}/{CRS|StationName}/{filterType}/{filterCRS|StationName}/{numRows} or {board}/{CRS|StationName}/{numRows} where only board and CRS (or a station name) are required. + The URL format is {board}/{CRS|StationName}/{filterType}/{filterCRS|StationName}/{numRows} or {board}/{CRS|StationName}/{numRows} (arrivals/departures only) where only board and CRS (or a station name) are required. The filter type can be either to or from (case is not important).

A station name can be used in place of CRS codes if the name matches only one station (or matches one exactly) but case is not important. See the CRS section below for more information.

+

+ For all boards you can add an expand=true parameter to embed all service details into the board response. +

+

+ /all/{CRS|StationName}?accessToken={Your GUID token}&expand=true +

Examples: