//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.237 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace OpenEarth.DataViewer.BwnFunctionsReference { using System.Runtime.Serialization; using System; [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.CollectionDataContractAttribute(Name="ArrayOfString", Namespace="http://viewer.openearth.nl/", ItemName="string")] [System.SerializableAttribute()] public class ArrayOfString : System.Collections.Generic.List { } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(Namespace="http://viewer.openearth.nl/", ConfigurationName="BwnFunctionsReference.BwnFunctionsWrapperSoap")] public interface BwnFunctionsWrapperSoap { // CODEGEN: Generating message contract since element name ncFilePath from namespace http://viewer.openearth.nl/ is not marked nillable [System.ServiceModel.OperationContractAttribute(Action="http://viewer.openearth.nl/InterpolateToLine", ReplyAction="*")] OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse InterpolateToLine(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest request); [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://viewer.openearth.nl/InterpolateToLine", ReplyAction="*")] System.IAsyncResult BeginInterpolateToLine(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest request, System.AsyncCallback callback, object asyncState); OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse EndInterpolateToLine(System.IAsyncResult result); // CODEGEN: Generating message contract since element name ncFilePath from namespace http://viewer.openearth.nl/ is not marked nillable [System.ServiceModel.OperationContractAttribute(Action="http://viewer.openearth.nl/PlotTimeSeries", ReplyAction="*")] OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse PlotTimeSeries(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest request); [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://viewer.openearth.nl/PlotTimeSeries", ReplyAction="*")] System.IAsyncResult BeginPlotTimeSeries(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest request, System.AsyncCallback callback, object asyncState); OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse EndPlotTimeSeries(System.IAsyncResult result); // CODEGEN: Generating message contract since element name startDay from namespace http://viewer.openearth.nl/ is not marked nillable [System.ServiceModel.OperationContractAttribute(Action="http://viewer.openearth.nl/WaveTransformationTable", ReplyAction="*")] OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse WaveTransformationTable(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest request); [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://viewer.openearth.nl/WaveTransformationTable", ReplyAction="*")] System.IAsyncResult BeginWaveTransformationTable(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest request, System.AsyncCallback callback, object asyncState); OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse EndWaveTransformationTable(System.IAsyncResult result); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class InterpolateToLineRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="InterpolateToLine", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequestBody Body; public InterpolateToLineRequest() { } public InterpolateToLineRequest(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequestBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class InterpolateToLineRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string ncFilePath; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public string ncVariableName; [System.Runtime.Serialization.DataMemberAttribute(Order=2)] public double centreLatitude; [System.Runtime.Serialization.DataMemberAttribute(Order=3)] public double centreLongitude; [System.Runtime.Serialization.DataMemberAttribute(Order=4)] public double vertexLatitude; [System.Runtime.Serialization.DataMemberAttribute(Order=5)] public double vertexLongitude; public InterpolateToLineRequestBody() { } public InterpolateToLineRequestBody(string ncFilePath, string ncVariableName, double centreLatitude, double centreLongitude, double vertexLatitude, double vertexLongitude) { this.ncFilePath = ncFilePath; this.ncVariableName = ncVariableName; this.centreLatitude = centreLatitude; this.centreLongitude = centreLongitude; this.vertexLatitude = vertexLatitude; this.vertexLongitude = vertexLongitude; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class InterpolateToLineResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="InterpolateToLineResponse", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponseBody Body; public InterpolateToLineResponse() { } public InterpolateToLineResponse(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponseBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class InterpolateToLineResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string InterpolateToLineResult; public InterpolateToLineResponseBody() { } public InterpolateToLineResponseBody(string InterpolateToLineResult) { this.InterpolateToLineResult = InterpolateToLineResult; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class PlotTimeSeriesRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="PlotTimeSeries", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequestBody Body; public PlotTimeSeriesRequest() { } public PlotTimeSeriesRequest(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequestBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class PlotTimeSeriesRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string ncFilePath; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public string ncVariableName; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string startDay; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string startTime; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] public string stopDay; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] public string stopTime; public PlotTimeSeriesRequestBody() { } public PlotTimeSeriesRequestBody(string ncFilePath, string ncVariableName, string startDay, string startTime, string stopDay, string stopTime) { this.ncFilePath = ncFilePath; this.ncVariableName = ncVariableName; this.startDay = startDay; this.startTime = startTime; this.stopDay = stopDay; this.stopTime = stopTime; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class PlotTimeSeriesResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="PlotTimeSeriesResponse", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponseBody Body; public PlotTimeSeriesResponse() { } public PlotTimeSeriesResponse(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponseBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class PlotTimeSeriesResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string PlotTimeSeriesResult; public PlotTimeSeriesResponseBody() { } public PlotTimeSeriesResponseBody(string PlotTimeSeriesResult) { this.PlotTimeSeriesResult = PlotTimeSeriesResult; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class WaveTransformationTableRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="WaveTransformationTable", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequestBody Body; public WaveTransformationTableRequest() { } public WaveTransformationTableRequest(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequestBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class WaveTransformationTableRequestBody { [System.Runtime.Serialization.DataMemberAttribute(Order=0)] public double lon; [System.Runtime.Serialization.DataMemberAttribute(Order=1)] public double lat; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string startDay; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string startTime; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] public string stopDay; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] public string stopTime; public WaveTransformationTableRequestBody() { } public WaveTransformationTableRequestBody(double lon, double lat, string startDay, string startTime, string stopDay, string stopTime) { this.lon = lon; this.lat = lat; this.startDay = startDay; this.startTime = startTime; this.stopDay = stopDay; this.stopTime = stopTime; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class WaveTransformationTableResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="WaveTransformationTableResponse", Namespace="http://viewer.openearth.nl/", Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponseBody Body; public WaveTransformationTableResponse() { } public WaveTransformationTableResponse(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponseBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://viewer.openearth.nl/")] public partial class WaveTransformationTableResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString WaveTransformationTableResult; public WaveTransformationTableResponseBody() { } public WaveTransformationTableResponseBody(OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString WaveTransformationTableResult) { this.WaveTransformationTableResult = WaveTransformationTableResult; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface BwnFunctionsWrapperSoapChannel : OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class InterpolateToLineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; public InterpolateToLineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } public string Result { get { base.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class PlotTimeSeriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; public PlotTimeSeriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } public string Result { get { base.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class WaveTransformationTableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; public WaveTransformationTableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } public OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString Result { get { base.RaiseExceptionIfNecessary(); return ((OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString)(this.results[0])); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class BwnFunctionsWrapperSoapClient : System.ServiceModel.ClientBase, OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap { private BeginOperationDelegate onBeginInterpolateToLineDelegate; private EndOperationDelegate onEndInterpolateToLineDelegate; private System.Threading.SendOrPostCallback onInterpolateToLineCompletedDelegate; private BeginOperationDelegate onBeginPlotTimeSeriesDelegate; private EndOperationDelegate onEndPlotTimeSeriesDelegate; private System.Threading.SendOrPostCallback onPlotTimeSeriesCompletedDelegate; private BeginOperationDelegate onBeginWaveTransformationTableDelegate; private EndOperationDelegate onEndWaveTransformationTableDelegate; private System.Threading.SendOrPostCallback onWaveTransformationTableCompletedDelegate; public BwnFunctionsWrapperSoapClient() { } public BwnFunctionsWrapperSoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public BwnFunctionsWrapperSoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public BwnFunctionsWrapperSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public BwnFunctionsWrapperSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public event System.EventHandler InterpolateToLineCompleted; public event System.EventHandler PlotTimeSeriesCompleted; public event System.EventHandler WaveTransformationTableCompleted; [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.InterpolateToLine(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest request) { return base.Channel.InterpolateToLine(request); } public string InterpolateToLine(string ncFilePath, string ncVariableName, double centreLatitude, double centreLongitude, double vertexLatitude, double vertexLongitude) { OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequestBody(); inValue.Body.ncFilePath = ncFilePath; inValue.Body.ncVariableName = ncVariableName; inValue.Body.centreLatitude = centreLatitude; inValue.Body.centreLongitude = centreLongitude; inValue.Body.vertexLatitude = vertexLatitude; inValue.Body.vertexLongitude = vertexLongitude; OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).InterpolateToLine(inValue); return retVal.Body.InterpolateToLineResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.IAsyncResult OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.BeginInterpolateToLine(OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest request, System.AsyncCallback callback, object asyncState) { return base.Channel.BeginInterpolateToLine(request, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.IAsyncResult BeginInterpolateToLine(string ncFilePath, string ncVariableName, double centreLatitude, double centreLongitude, double vertexLatitude, double vertexLongitude, System.AsyncCallback callback, object asyncState) { OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineRequestBody(); inValue.Body.ncFilePath = ncFilePath; inValue.Body.ncVariableName = ncVariableName; inValue.Body.centreLatitude = centreLatitude; inValue.Body.centreLongitude = centreLongitude; inValue.Body.vertexLatitude = vertexLatitude; inValue.Body.vertexLongitude = vertexLongitude; return ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).BeginInterpolateToLine(inValue, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.EndInterpolateToLine(System.IAsyncResult result) { return base.Channel.EndInterpolateToLine(result); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public string EndInterpolateToLine(System.IAsyncResult result) { OpenEarth.DataViewer.BwnFunctionsReference.InterpolateToLineResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).EndInterpolateToLine(result); return retVal.Body.InterpolateToLineResult; } private System.IAsyncResult OnBeginInterpolateToLine(object[] inValues, System.AsyncCallback callback, object asyncState) { string ncFilePath = ((string)(inValues[0])); string ncVariableName = ((string)(inValues[1])); double centreLatitude = ((double)(inValues[2])); double centreLongitude = ((double)(inValues[3])); double vertexLatitude = ((double)(inValues[4])); double vertexLongitude = ((double)(inValues[5])); return this.BeginInterpolateToLine(ncFilePath, ncVariableName, centreLatitude, centreLongitude, vertexLatitude, vertexLongitude, callback, asyncState); } private object[] OnEndInterpolateToLine(System.IAsyncResult result) { string retVal = this.EndInterpolateToLine(result); return new object[] { retVal}; } private void OnInterpolateToLineCompleted(object state) { if ((this.InterpolateToLineCompleted != null)) { InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); this.InterpolateToLineCompleted(this, new InterpolateToLineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); } } public void InterpolateToLineAsync(string ncFilePath, string ncVariableName, double centreLatitude, double centreLongitude, double vertexLatitude, double vertexLongitude) { this.InterpolateToLineAsync(ncFilePath, ncVariableName, centreLatitude, centreLongitude, vertexLatitude, vertexLongitude, null); } public void InterpolateToLineAsync(string ncFilePath, string ncVariableName, double centreLatitude, double centreLongitude, double vertexLatitude, double vertexLongitude, object userState) { if ((this.onBeginInterpolateToLineDelegate == null)) { this.onBeginInterpolateToLineDelegate = new BeginOperationDelegate(this.OnBeginInterpolateToLine); } if ((this.onEndInterpolateToLineDelegate == null)) { this.onEndInterpolateToLineDelegate = new EndOperationDelegate(this.OnEndInterpolateToLine); } if ((this.onInterpolateToLineCompletedDelegate == null)) { this.onInterpolateToLineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInterpolateToLineCompleted); } base.InvokeAsync(this.onBeginInterpolateToLineDelegate, new object[] { ncFilePath, ncVariableName, centreLatitude, centreLongitude, vertexLatitude, vertexLongitude}, this.onEndInterpolateToLineDelegate, this.onInterpolateToLineCompletedDelegate, userState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.PlotTimeSeries(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest request) { return base.Channel.PlotTimeSeries(request); } public string PlotTimeSeries(string ncFilePath, string ncVariableName, string startDay, string startTime, string stopDay, string stopTime) { OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequestBody(); inValue.Body.ncFilePath = ncFilePath; inValue.Body.ncVariableName = ncVariableName; inValue.Body.startDay = startDay; inValue.Body.startTime = startTime; inValue.Body.stopDay = stopDay; inValue.Body.stopTime = stopTime; OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).PlotTimeSeries(inValue); return retVal.Body.PlotTimeSeriesResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.IAsyncResult OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.BeginPlotTimeSeries(OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest request, System.AsyncCallback callback, object asyncState) { return base.Channel.BeginPlotTimeSeries(request, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.IAsyncResult BeginPlotTimeSeries(string ncFilePath, string ncVariableName, string startDay, string startTime, string stopDay, string stopTime, System.AsyncCallback callback, object asyncState) { OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesRequestBody(); inValue.Body.ncFilePath = ncFilePath; inValue.Body.ncVariableName = ncVariableName; inValue.Body.startDay = startDay; inValue.Body.startTime = startTime; inValue.Body.stopDay = stopDay; inValue.Body.stopTime = stopTime; return ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).BeginPlotTimeSeries(inValue, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.EndPlotTimeSeries(System.IAsyncResult result) { return base.Channel.EndPlotTimeSeries(result); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public string EndPlotTimeSeries(System.IAsyncResult result) { OpenEarth.DataViewer.BwnFunctionsReference.PlotTimeSeriesResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).EndPlotTimeSeries(result); return retVal.Body.PlotTimeSeriesResult; } private System.IAsyncResult OnBeginPlotTimeSeries(object[] inValues, System.AsyncCallback callback, object asyncState) { string ncFilePath = ((string)(inValues[0])); string ncVariableName = ((string)(inValues[1])); string startDay = ((string)(inValues[2])); string startTime = ((string)(inValues[3])); string stopDay = ((string)(inValues[4])); string stopTime = ((string)(inValues[5])); return this.BeginPlotTimeSeries(ncFilePath, ncVariableName, startDay, startTime, stopDay, stopTime, callback, asyncState); } private object[] OnEndPlotTimeSeries(System.IAsyncResult result) { string retVal = this.EndPlotTimeSeries(result); return new object[] { retVal}; } private void OnPlotTimeSeriesCompleted(object state) { if ((this.PlotTimeSeriesCompleted != null)) { InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); this.PlotTimeSeriesCompleted(this, new PlotTimeSeriesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); } } public void PlotTimeSeriesAsync(string ncFilePath, string ncVariableName, string startDay, string startTime, string stopDay, string stopTime) { this.PlotTimeSeriesAsync(ncFilePath, ncVariableName, startDay, startTime, stopDay, stopTime, null); } public void PlotTimeSeriesAsync(string ncFilePath, string ncVariableName, string startDay, string startTime, string stopDay, string stopTime, object userState) { if ((this.onBeginPlotTimeSeriesDelegate == null)) { this.onBeginPlotTimeSeriesDelegate = new BeginOperationDelegate(this.OnBeginPlotTimeSeries); } if ((this.onEndPlotTimeSeriesDelegate == null)) { this.onEndPlotTimeSeriesDelegate = new EndOperationDelegate(this.OnEndPlotTimeSeries); } if ((this.onPlotTimeSeriesCompletedDelegate == null)) { this.onPlotTimeSeriesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPlotTimeSeriesCompleted); } base.InvokeAsync(this.onBeginPlotTimeSeriesDelegate, new object[] { ncFilePath, ncVariableName, startDay, startTime, stopDay, stopTime}, this.onEndPlotTimeSeriesDelegate, this.onPlotTimeSeriesCompletedDelegate, userState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.WaveTransformationTable(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest request) { return base.Channel.WaveTransformationTable(request); } public OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString WaveTransformationTable(double lon, double lat, string startDay, string startTime, string stopDay, string stopTime) { OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequestBody(); inValue.Body.lon = lon; inValue.Body.lat = lat; inValue.Body.startDay = startDay; inValue.Body.startTime = startTime; inValue.Body.stopDay = stopDay; inValue.Body.stopTime = stopTime; OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).WaveTransformationTable(inValue); return retVal.Body.WaveTransformationTableResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.IAsyncResult OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.BeginWaveTransformationTable(OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest request, System.AsyncCallback callback, object asyncState) { return base.Channel.BeginWaveTransformationTable(request, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.IAsyncResult BeginWaveTransformationTable(double lon, double lat, string startDay, string startTime, string stopDay, string stopTime, System.AsyncCallback callback, object asyncState) { OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest inValue = new OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequest(); inValue.Body = new OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableRequestBody(); inValue.Body.lon = lon; inValue.Body.lat = lat; inValue.Body.startDay = startDay; inValue.Body.startTime = startTime; inValue.Body.stopDay = stopDay; inValue.Body.stopTime = stopTime; return ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).BeginWaveTransformationTable(inValue, callback, asyncState); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap.EndWaveTransformationTable(System.IAsyncResult result) { return base.Channel.EndWaveTransformationTable(result); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString EndWaveTransformationTable(System.IAsyncResult result) { OpenEarth.DataViewer.BwnFunctionsReference.WaveTransformationTableResponse retVal = ((OpenEarth.DataViewer.BwnFunctionsReference.BwnFunctionsWrapperSoap)(this)).EndWaveTransformationTable(result); return retVal.Body.WaveTransformationTableResult; } private System.IAsyncResult OnBeginWaveTransformationTable(object[] inValues, System.AsyncCallback callback, object asyncState) { double lon = ((double)(inValues[0])); double lat = ((double)(inValues[1])); string startDay = ((string)(inValues[2])); string startTime = ((string)(inValues[3])); string stopDay = ((string)(inValues[4])); string stopTime = ((string)(inValues[5])); return this.BeginWaveTransformationTable(lon, lat, startDay, startTime, stopDay, stopTime, callback, asyncState); } private object[] OnEndWaveTransformationTable(System.IAsyncResult result) { OpenEarth.DataViewer.BwnFunctionsReference.ArrayOfString retVal = this.EndWaveTransformationTable(result); return new object[] { retVal}; } private void OnWaveTransformationTableCompleted(object state) { if ((this.WaveTransformationTableCompleted != null)) { InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); this.WaveTransformationTableCompleted(this, new WaveTransformationTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); } } public void WaveTransformationTableAsync(double lon, double lat, string startDay, string startTime, string stopDay, string stopTime) { this.WaveTransformationTableAsync(lon, lat, startDay, startTime, stopDay, stopTime, null); } public void WaveTransformationTableAsync(double lon, double lat, string startDay, string startTime, string stopDay, string stopTime, object userState) { if ((this.onBeginWaveTransformationTableDelegate == null)) { this.onBeginWaveTransformationTableDelegate = new BeginOperationDelegate(this.OnBeginWaveTransformationTable); } if ((this.onEndWaveTransformationTableDelegate == null)) { this.onEndWaveTransformationTableDelegate = new EndOperationDelegate(this.OnEndWaveTransformationTable); } if ((this.onWaveTransformationTableCompletedDelegate == null)) { this.onWaveTransformationTableCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnWaveTransformationTableCompleted); } base.InvokeAsync(this.onBeginWaveTransformationTableDelegate, new object[] { lon, lat, startDay, startTime, stopDay, stopTime}, this.onEndWaveTransformationTableDelegate, this.onWaveTransformationTableCompletedDelegate, userState); } } }