Subversion Repositories Projects

Rev

Rev 90 | Blame | Compare with Previous | Last modification | View Log | RSS feed

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1434
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using Microsoft.Ccr.Core;
using Microsoft.Dss.Core;
using Microsoft.Dss.Core.Attributes;
using Microsoft.Dss.ServiceModel.Dssp;
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using W3C.Soap;
using compression = System.IO.Compression;
using constructor = Microsoft.Dss.Services.Constructor;
using contractmanager = Microsoft.Dss.Services.ContractManager;
using contractmodel = Microsoft.Dss.Services.ContractModel;
using dssphttp = Microsoft.Dss.Core.DsspHttp;
using io = System.IO;
using pxroboboard = Robotics.RoboBoard.Proxy;
using reflection = System.Reflection;


namespace Robotics.RoboBoard.Proxy
{
   
   
    /// <summary>
    /// RoboBoard Contract
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public sealed class Contract
    {
       
        /// The Unique Contract Identifier for the RoboBoard service
        public const String Identifier = "http://schemas.tempuri.org/2007/08/roboboardservice.html";
       
        /// The Dss Service dssModel Contract(s)
        public static List<contractmodel.ServiceSummary> ServiceModel()
        {
            contractmanager.ServiceSummaryLoader loader = new contractmanager.ServiceSummaryLoader();
            return loader.GetServiceSummaries(typeof(Contract).Assembly);

        }
       
        /// <summary>
        /// Creates an instance of the service associated with this contract
        /// </summary>
        /// <param name="contructorServicePort">Contractor Service that will create the instance</param>
        /// <param name="partners">Optional list of service partners for new service instance</param>
        /// <returns>Result PortSet for retrieving service creation response</returns>
        public static DsspResponsePort<CreateResponse> CreateService(constructor.ConstructorPort contructorServicePort, params PartnerType[] partners)
        {
            DsspResponsePort<CreateResponse> result = new DsspResponsePort<CreateResponse>();
            ServiceInfoType si = new ServiceInfoType(Contract.Identifier, null);
            if (partners != null)
            {
                si.PartnerList = new List<PartnerType>(partners);
            }
            Microsoft.Dss.Services.Constructor.Create create =
                new Microsoft.Dss.Services.Constructor.Create(si, result);
            contructorServicePort.Post(create);
            return result;

        }
       
        /// <summary>
        /// Creates an instance of the service associated with this contract
        /// </summary>
        /// <param name="contructorServicePort">Contractor Service that will create the instance</param>
        /// <returns>Result PortSet for retrieving service creation response</returns>
        public static DsspResponsePort<CreateResponse> CreateService(constructor.ConstructorPort contructorServicePort)
        {
            return Contract.CreateService(contructorServicePort, null);
        }
    }
   
    /// <summary>
    /// Robo Board State
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("RoboBoardState", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class RoboBoardState : ICloneable, IDssSerializable
    {
       
        private String _comPort;
       
        /// <summary>
        /// Com Port
        /// </summary>
        [DataMember()]
        public String ComPort
        {
            get
            {
                return this._comPort;
            }
            set
            {
                this._comPort = value;
            }
        }
       
        /// <summary>
        /// Copy To Robo Board State
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            RoboBoardState typedTarget = target as RoboBoardState;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.ComPort = this.ComPort;
        }
       
        /// <summary>
        /// Clone Robo Board State
        /// </summary>
        public virtual object Clone()
        {
            RoboBoardState target = new RoboBoardState();

            target.ComPort = this.ComPort;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (ComPort == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(ComPort);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                ComPort = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Init Complete Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("InitCompleteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class InitCompleteRequest : ICloneable, IDssSerializable
    {
       
        private String _command;
       
        /// <summary>
        /// Command
        /// </summary>
        [DataMember()]
        public String Command
        {
            get
            {
                return this._command;
            }
            set
            {
                this._command = value;
            }
        }
       
        /// <summary>
        /// Copy To Init Complete Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            InitCompleteRequest typedTarget = target as InitCompleteRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Command = this.Command;
        }
       
        /// <summary>
        /// Clone Init Complete Request
        /// </summary>
        public virtual object Clone()
        {
            InitCompleteRequest target = new InitCompleteRequest();

            target.Command = this.Command;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (Command == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(Command);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                Command = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Set Com Port Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("SetComPortRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class SetComPortRequest : ICloneable, IDssSerializable
    {
       
        private String _portName;
       
        /// <summary>
        /// Port Name
        /// </summary>
        [DataMember()]
        public String PortName
        {
            get
            {
                return this._portName;
            }
            set
            {
                this._portName = value;
            }
        }
       
        /// <summary>
        /// Copy To Set Com Port Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            SetComPortRequest typedTarget = target as SetComPortRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.PortName = this.PortName;
        }
       
        /// <summary>
        /// Clone Set Com Port Request
        /// </summary>
        public virtual object Clone()
        {
            SetComPortRequest target = new SetComPortRequest();

            target.PortName = this.PortName;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (PortName == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(PortName);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                PortName = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Receive Command Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("ReceiveCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class ReceiveCommandRequest : ICloneable, IDssSerializable
    {
       
        private String _command;
       
        /// <summary>
        /// Command
        /// </summary>
        [DataMember()]
        public String Command
        {
            get
            {
                return this._command;
            }
            set
            {
                this._command = value;
            }
        }
       
        /// <summary>
        /// Copy To Receive Command Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            ReceiveCommandRequest typedTarget = target as ReceiveCommandRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Command = this.Command;
        }
       
        /// <summary>
        /// Clone Receive Command Request
        /// </summary>
        public virtual object Clone()
        {
            ReceiveCommandRequest target = new ReceiveCommandRequest();

            target.Command = this.Command;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (Command == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(Command);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                Command = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Send Command Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("SendCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class SendCommandRequest : ICloneable, IDssSerializable
    {
       
        private String _command;
       
        /// <summary>
        /// Command
        /// </summary>
        [DataMember()]
        public String Command
        {
            get
            {
                return this._command;
            }
            set
            {
                this._command = value;
            }
        }
       
        /// <summary>
        /// Copy To Send Command Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            SendCommandRequest typedTarget = target as SendCommandRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Command = this.Command;
        }
       
        /// <summary>
        /// Clone Send Command Request
        /// </summary>
        public virtual object Clone()
        {
            SendCommandRequest target = new SendCommandRequest();

            target.Command = this.Command;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (Command == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(Command);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                Command = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Level Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("LevelRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class LevelRequest : ICloneable, IDssSerializable
    {
       
        private Int32 _roll;
       
        private Int32 _nick;
       
        /// <summary>
        /// Roll
        /// </summary>
        [DataMember()]
        public Int32 Roll
        {
            get
            {
                return this._roll;
            }
            set
            {
                this._roll = value;
            }
        }
       
        /// <summary>
        /// Nick
        /// </summary>
        [DataMember()]
        public Int32 Nick
        {
            get
            {
                return this._nick;
            }
            set
            {
                this._nick = value;
            }
        }
       
        /// <summary>
        /// Copy To Level Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            LevelRequest typedTarget = target as LevelRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Roll = this.Roll;
            typedTarget.Nick = this.Nick;
        }
       
        /// <summary>
        /// Clone Level Request
        /// </summary>
        public virtual object Clone()
        {
            LevelRequest target = new LevelRequest();

            target.Roll = this.Roll;
            target.Nick = this.Nick;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            writer.Write(Roll);

            writer.Write(Nick);

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            Roll = reader.ReadInt32();

            Nick = reader.ReadInt32();

            return this;

        }
    }
   
    /// <summary>
    /// Control Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("ControlRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class ControlRequest : ICloneable, IDssSerializable
    {
       
        private Single _roll;
       
        private Single _nick;
       
        /// <summary>
        /// Roll
        /// </summary>
        [DataMember()]
        public Single Roll
        {
            get
            {
                return this._roll;
            }
            set
            {
                this._roll = value;
            }
        }
       
        /// <summary>
        /// Nick
        /// </summary>
        [DataMember()]
        public Single Nick
        {
            get
            {
                return this._nick;
            }
            set
            {
                this._nick = value;
            }
        }
       
        /// <summary>
        /// Copy To Control Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            ControlRequest typedTarget = target as ControlRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Roll = this.Roll;
            typedTarget.Nick = this.Nick;
        }
       
        /// <summary>
        /// Clone Control Request
        /// </summary>
        public virtual object Clone()
        {
            ControlRequest target = new ControlRequest();

            target.Roll = this.Roll;
            target.Nick = this.Nick;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            writer.Write(Roll);

            writer.Write(Nick);

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            Roll = reader.ReadSingle();

            Nick = reader.ReadSingle();

            return this;

        }
    }
   
    /// <summary>
    /// Set Altitute Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("SetAltituteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class SetAltituteRequest : ICloneable, IDssSerializable
    {
       
        private Single _altitute;
       
        /// <summary>
        /// Altitute
        /// </summary>
        [DataMember()]
        public Single Altitute
        {
            get
            {
                return this._altitute;
            }
            set
            {
                this._altitute = value;
            }
        }
       
        /// <summary>
        /// Copy To Set Altitute Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            SetAltituteRequest typedTarget = target as SetAltituteRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Altitute = this.Altitute;
        }
       
        /// <summary>
        /// Clone Set Altitute Request
        /// </summary>
        public virtual object Clone()
        {
            SetAltituteRequest target = new SetAltituteRequest();

            target.Altitute = this.Altitute;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            writer.Write(Altitute);

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            Altitute = reader.ReadSingle();

            return this;

        }
    }
   
    /// <summary>
    /// Set Gas Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("SetGasRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class SetGasRequest : ICloneable, IDssSerializable
    {
       
        private Single _gas;
       
        /// <summary>
        /// Gas
        /// </summary>
        [DataMember()]
        public Single Gas
        {
            get
            {
                return this._gas;
            }
            set
            {
                this._gas = value;
            }
        }
       
        /// <summary>
        /// Copy To Set Gas Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            SetGasRequest typedTarget = target as SetGasRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Gas = this.Gas;
        }
       
        /// <summary>
        /// Clone Set Gas Request
        /// </summary>
        public virtual object Clone()
        {
            SetGasRequest target = new SetGasRequest();

            target.Gas = this.Gas;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            writer.Write(Gas);

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            Gas = reader.ReadSingle();

            return this;

        }
    }
   
    /// <summary>
    /// Set Gier Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("SetGierRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class SetGierRequest : ICloneable, IDssSerializable
    {
       
        private Single _gier;
       
        /// <summary>
        /// Gier
        /// </summary>
        [DataMember()]
        public Single Gier
        {
            get
            {
                return this._gier;
            }
            set
            {
                this._gier = value;
            }
        }
       
        /// <summary>
        /// Copy To Set Gier Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            SetGierRequest typedTarget = target as SetGierRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Gier = this.Gier;
        }
       
        /// <summary>
        /// Clone Set Gier Request
        /// </summary>
        public virtual object Clone()
        {
            SetGierRequest target = new SetGierRequest();

            target.Gier = this.Gier;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            writer.Write(Gier);

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            Gier = reader.ReadSingle();

            return this;

        }
    }
   
    /// <summary>
    /// Increment Tick Request
    /// </summary>
    [DataContract()]
    [XmlRootAttribute("IncrementTickRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
    public class IncrementTickRequest : ICloneable, IDssSerializable
    {
       
        private String _command;
       
        /// <summary>
        /// Command
        /// </summary>
        [DataMember()]
        public String Command
        {
            get
            {
                return this._command;
            }
            set
            {
                this._command = value;
            }
        }
       
        /// <summary>
        /// Copy To Increment Tick Request
        /// </summary>
        public virtual void CopyTo(IDssSerializable target)
        {
            IncrementTickRequest typedTarget = target as IncrementTickRequest;

            if (typedTarget == null)
                throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName);
            typedTarget.Command = this.Command;
        }
       
        /// <summary>
        /// Clone Increment Tick Request
        /// </summary>
        public virtual object Clone()
        {
            IncrementTickRequest target = new IncrementTickRequest();

            target.Command = this.Command;
            return target;

        }
       
        /// <summary>
        /// Serialize Serialize
        /// </summary>
        public virtual void Serialize(System.IO.BinaryWriter writer)
        {
            if (Command == null) writer.Write((byte)0);
            else
            {
                // null flag
                writer.Write((byte)1);

                writer.Write(Command);
            }

        }
       
        /// <summary>
        /// Deserialize Deserialize
        /// </summary>
        public virtual object Deserialize(System.IO.BinaryReader reader)
        {
            if (reader.ReadByte() == 0) {}
            else
            {
                Command = reader.ReadString();
            } //nullable

            return this;

        }
    }
   
    /// <summary>
    /// Robo Board Operations
    /// </summary>
    [ServicePort()]
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class RoboBoardOperations : PortSet<Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup, Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop, Get, dssphttp.HttpGet, Replace, InitComplete, SetComPort, ReceiveCommand, SendCommand, Level, Control, SetAltitute, SetGas, SetGier, IncrementTick, Subscribe>
    {
       
        /// <summary>
        /// Required Lookup request body type
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.LookupResponse,Fault> DsspDefaultLookup()
        {
            Microsoft.Dss.ServiceModel.Dssp.LookupRequestType body = new Microsoft.Dss.ServiceModel.Dssp.LookupRequestType();
            Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Dssp Default Lookup and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.LookupResponse,Fault> DsspDefaultLookup(Microsoft.Dss.ServiceModel.Dssp.LookupRequestType body)
        {
            Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup();
            op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.LookupRequestType();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// A request to drop the service.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultDropResponseType,Fault> DsspDefaultDrop()
        {
            Microsoft.Dss.ServiceModel.Dssp.DropRequestType body = new Microsoft.Dss.ServiceModel.Dssp.DropRequestType();
            Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Dssp Default Drop and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultDropResponseType,Fault> DsspDefaultDrop(Microsoft.Dss.ServiceModel.Dssp.DropRequestType body)
        {
            Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop();
            op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.DropRequestType();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Required Get body type
        /// </summary>
        public virtual PortSet<RoboBoardState,Fault> Get()
        {
            Microsoft.Dss.ServiceModel.Dssp.GetRequestType body = new Microsoft.Dss.ServiceModel.Dssp.GetRequestType();
            Get op = new Get(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Get and return the response port.
        /// </summary>
        public virtual PortSet<RoboBoardState,Fault> Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body)
        {
            Get op = new Get();
            op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.GetRequestType();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// DsspHttp Get request body
        /// </summary>
        public virtual PortSet<dssphttp.HttpResponseType,Fault> HttpGet()
        {
            dssphttp.HttpGetRequestType body = new dssphttp.HttpGetRequestType();
            dssphttp.HttpGet op = new dssphttp.HttpGet(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Http Get and return the response port.
        /// </summary>
        public virtual PortSet<dssphttp.HttpResponseType,Fault> HttpGet(dssphttp.HttpGetRequestType body)
        {
            dssphttp.HttpGet op = new dssphttp.HttpGet();
            op.Body = body ?? new dssphttp.HttpGetRequestType();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Robo Board State
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,Fault> Replace()
        {
            RoboBoardState body = new RoboBoardState();
            Replace op = new Replace(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Replace and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,Fault> Replace(RoboBoardState body)
        {
            Replace op = new Replace();
            op.Body = body ?? new RoboBoardState();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Init Complete Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> InitComplete()
        {
            InitCompleteRequest body = new InitCompleteRequest();
            InitComplete op = new InitComplete(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Init Complete and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> InitComplete(InitCompleteRequest body)
        {
            InitComplete op = new InitComplete();
            op.Body = body ?? new InitCompleteRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Set Com Port Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort()
        {
            SetComPortRequest body = new SetComPortRequest();
            SetComPort op = new SetComPort(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Set Com Port and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort(SetComPortRequest body)
        {
            SetComPort op = new SetComPort();
            op.Body = body ?? new SetComPortRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Receive Command Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> ReceiveCommand()
        {
            ReceiveCommandRequest body = new ReceiveCommandRequest();
            ReceiveCommand op = new ReceiveCommand(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Receive Command and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> ReceiveCommand(ReceiveCommandRequest body)
        {
            ReceiveCommand op = new ReceiveCommand();
            op.Body = body ?? new ReceiveCommandRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Send Command Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SendCommand()
        {
            SendCommandRequest body = new SendCommandRequest();
            SendCommand op = new SendCommand(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Send Command and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SendCommand(SendCommandRequest body)
        {
            SendCommand op = new SendCommand();
            op.Body = body ?? new SendCommandRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Level Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Level()
        {
            LevelRequest body = new LevelRequest();
            Level op = new Level(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Level and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Level(LevelRequest body)
        {
            Level op = new Level();
            op.Body = body ?? new LevelRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Control Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Control()
        {
            ControlRequest body = new ControlRequest();
            Control op = new Control(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Control and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Control(ControlRequest body)
        {
            Control op = new Control();
            op.Body = body ?? new ControlRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Set Altitute Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetAltitute()
        {
            SetAltituteRequest body = new SetAltituteRequest();
            SetAltitute op = new SetAltitute(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Set Altitute and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetAltitute(SetAltituteRequest body)
        {
            SetAltitute op = new SetAltitute();
            op.Body = body ?? new SetAltituteRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Set Gas Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGas()
        {
            SetGasRequest body = new SetGasRequest();
            SetGas op = new SetGas(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Set Gas and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGas(SetGasRequest body)
        {
            SetGas op = new SetGas();
            op.Body = body ?? new SetGasRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Set Gier Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGier()
        {
            SetGierRequest body = new SetGierRequest();
            SetGier op = new SetGier(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Set Gier and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGier(SetGierRequest body)
        {
            SetGier op = new SetGier();
            op.Body = body ?? new SetGierRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Increment Tick Request
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> IncrementTick()
        {
            IncrementTickRequest body = new IncrementTickRequest();
            IncrementTick op = new IncrementTick(body);
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Increment Tick and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> IncrementTick(IncrementTickRequest body)
        {
            IncrementTick op = new IncrementTick();
            op.Body = body ?? new IncrementTickRequest();
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Subscribe and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,Fault> Subscribe(IPort notificationPort)
        {
            Subscribe op = new Subscribe();
            op.Body = new Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType();
            op.NotificationPort = notificationPort;
            this.Post(op);
            return op.ResponsePort;

        }
       
        /// <summary>
        /// Post Subscribe and return the response port.
        /// </summary>
        public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,Fault> Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body, IPort notificationPort)
        {
            Subscribe op = new Subscribe();
            op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType();
            op.NotificationPort = notificationPort;
            this.Post(op);
            return op.ResponsePort;

        }
    }
   
    /// <summary>
    /// Get
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class Get : Microsoft.Dss.ServiceModel.Dssp.Get<Microsoft.Dss.ServiceModel.Dssp.GetRequestType, PortSet<RoboBoardState, Fault>>
    {
       
        /// <summary>
        /// Get
        /// </summary>
        public Get()
        {
        }
       
        /// <summary>
        /// Get
        /// </summary>
        public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Get
        /// </summary>
        public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body, Microsoft.Ccr.Core.PortSet<RoboBoardState,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Replace
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class Replace : Microsoft.Dss.ServiceModel.Dssp.Replace<RoboBoardState, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType, Fault>>
    {
       
        /// <summary>
        /// Replace
        /// </summary>
        public Replace()
        {
        }
       
        /// <summary>
        /// Replace
        /// </summary>
        public Replace(RoboBoardState body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Replace
        /// </summary>
        public Replace(RoboBoardState body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Init Complete
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class InitComplete : Microsoft.Dss.ServiceModel.Dssp.Update<InitCompleteRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Init Complete
        /// </summary>
        public InitComplete()
        {
        }
       
        /// <summary>
        /// Init Complete
        /// </summary>
        public InitComplete(InitCompleteRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Init Complete
        /// </summary>
        public InitComplete(InitCompleteRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Set Com Port
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class SetComPort : Microsoft.Dss.ServiceModel.Dssp.Update<SetComPortRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Set Com Port
        /// </summary>
        public SetComPort()
        {
        }
       
        /// <summary>
        /// Set Com Port
        /// </summary>
        public SetComPort(SetComPortRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Set Com Port
        /// </summary>
        public SetComPort(SetComPortRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Receive Command
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class ReceiveCommand : Microsoft.Dss.ServiceModel.Dssp.Update<ReceiveCommandRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Receive Command
        /// </summary>
        public ReceiveCommand()
        {
        }
       
        /// <summary>
        /// Receive Command
        /// </summary>
        public ReceiveCommand(ReceiveCommandRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Receive Command
        /// </summary>
        public ReceiveCommand(ReceiveCommandRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Send Command
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class SendCommand : Microsoft.Dss.ServiceModel.Dssp.Update<SendCommandRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Send Command
        /// </summary>
        public SendCommand()
        {
        }
       
        /// <summary>
        /// Send Command
        /// </summary>
        public SendCommand(SendCommandRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Send Command
        /// </summary>
        public SendCommand(SendCommandRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Level
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class Level : Microsoft.Dss.ServiceModel.Dssp.Update<LevelRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Level
        /// </summary>
        public Level()
        {
        }
       
        /// <summary>
        /// Level
        /// </summary>
        public Level(LevelRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Level
        /// </summary>
        public Level(LevelRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Control
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class Control : Microsoft.Dss.ServiceModel.Dssp.Update<ControlRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Control
        /// </summary>
        public Control()
        {
        }
       
        /// <summary>
        /// Control
        /// </summary>
        public Control(ControlRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Control
        /// </summary>
        public Control(ControlRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Set Altitute
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class SetAltitute : Microsoft.Dss.ServiceModel.Dssp.Update<SetAltituteRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Set Altitute
        /// </summary>
        public SetAltitute()
        {
        }
       
        /// <summary>
        /// Set Altitute
        /// </summary>
        public SetAltitute(SetAltituteRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Set Altitute
        /// </summary>
        public SetAltitute(SetAltituteRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Set Gas
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class SetGas : Microsoft.Dss.ServiceModel.Dssp.Update<SetGasRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Set Gas
        /// </summary>
        public SetGas()
        {
        }
       
        /// <summary>
        /// Set Gas
        /// </summary>
        public SetGas(SetGasRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Set Gas
        /// </summary>
        public SetGas(SetGasRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Set Gier
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class SetGier : Microsoft.Dss.ServiceModel.Dssp.Update<SetGierRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Set Gier
        /// </summary>
        public SetGier()
        {
        }
       
        /// <summary>
        /// Set Gier
        /// </summary>
        public SetGier(SetGierRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Set Gier
        /// </summary>
        public SetGier(SetGierRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Increment Tick
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class IncrementTick : Microsoft.Dss.ServiceModel.Dssp.Update<IncrementTickRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>>
    {
       
        /// <summary>
        /// Increment Tick
        /// </summary>
        public IncrementTick()
        {
        }
       
        /// <summary>
        /// Increment Tick
        /// </summary>
        public IncrementTick(IncrementTickRequest body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Increment Tick
        /// </summary>
        public IncrementTick(IncrementTickRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
   
    /// <summary>
    /// Subscribe
    /// </summary>
    [XmlTypeAttribute(IncludeInSchema=false)]
    public class Subscribe : Microsoft.Dss.ServiceModel.Dssp.Subscribe<Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType, PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType, Fault>>
    {
       
        /// <summary>
        /// Subscribe
        /// </summary>
        public Subscribe()
        {
        }
       
        /// <summary>
        /// Subscribe
        /// </summary>
        public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body) :
                base(body)
        {
        }
       
        /// <summary>
        /// Subscribe
        /// </summary>
        public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,W3C.Soap.Fault> responsePort) :
                base(body, responsePort)
        {
        }
    }
}