//------------------------------------------------------------------------------
//
// 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.
//
//------------------------------------------------------------------------------
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
{
///
/// RoboBoard Contract
///
[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 ServiceModel()
{
contractmanager.ServiceSummaryLoader loader = new contractmanager.ServiceSummaryLoader();
return loader.GetServiceSummaries(typeof(Contract).Assembly);
}
///
/// Creates an instance of the service associated with this contract
///
/// Contractor Service that will create the instance
/// Optional list of service partners for new service instance
/// Result PortSet for retrieving service creation response
public static DsspResponsePort CreateService(constructor.ConstructorPort contructorServicePort, params PartnerType[] partners)
{
DsspResponsePort result = new DsspResponsePort();
ServiceInfoType si = new ServiceInfoType(Contract.Identifier, null);
if (partners != null)
{
si.PartnerList = new List(partners);
}
Microsoft.Dss.Services.Constructor.Create create =
new Microsoft.Dss.Services.Constructor.Create(si, result);
contructorServicePort.Post(create);
return result;
}
///
/// Creates an instance of the service associated with this contract
///
/// Contractor Service that will create the instance
/// Result PortSet for retrieving service creation response
public static DsspResponsePort CreateService(constructor.ConstructorPort contructorServicePort)
{
return Contract.CreateService(contructorServicePort, null);
}
}
///
/// Robo Board State
///
[DataContract()]
[XmlRootAttribute("RoboBoardState", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class RoboBoardState : ICloneable, IDssSerializable
{
private String _comPort;
///
/// Com Port
///
[DataMember()]
public String ComPort
{
get
{
return this._comPort;
}
set
{
this._comPort = value;
}
}
///
/// Copy To Robo Board State
///
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;
}
///
/// Clone Robo Board State
///
public virtual object Clone()
{
RoboBoardState target = new RoboBoardState();
target.ComPort = this.ComPort;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
ComPort = reader.ReadString();
} //nullable
return this;
}
}
///
/// Init Complete Request
///
[DataContract()]
[XmlRootAttribute("InitCompleteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class InitCompleteRequest : ICloneable, IDssSerializable
{
private String _command;
///
/// Command
///
[DataMember()]
public String Command
{
get
{
return this._command;
}
set
{
this._command = value;
}
}
///
/// Copy To Init Complete Request
///
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;
}
///
/// Clone Init Complete Request
///
public virtual object Clone()
{
InitCompleteRequest target = new InitCompleteRequest();
target.Command = this.Command;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
Command = reader.ReadString();
} //nullable
return this;
}
}
///
/// Set Com Port Request
///
[DataContract()]
[XmlRootAttribute("SetComPortRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class SetComPortRequest : ICloneable, IDssSerializable
{
private String _portName;
///
/// Port Name
///
[DataMember()]
public String PortName
{
get
{
return this._portName;
}
set
{
this._portName = value;
}
}
///
/// Copy To Set Com Port Request
///
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;
}
///
/// Clone Set Com Port Request
///
public virtual object Clone()
{
SetComPortRequest target = new SetComPortRequest();
target.PortName = this.PortName;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
PortName = reader.ReadString();
} //nullable
return this;
}
}
///
/// Receive Command Request
///
[DataContract()]
[XmlRootAttribute("ReceiveCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class ReceiveCommandRequest : ICloneable, IDssSerializable
{
private String _command;
///
/// Command
///
[DataMember()]
public String Command
{
get
{
return this._command;
}
set
{
this._command = value;
}
}
///
/// Copy To Receive Command Request
///
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;
}
///
/// Clone Receive Command Request
///
public virtual object Clone()
{
ReceiveCommandRequest target = new ReceiveCommandRequest();
target.Command = this.Command;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
Command = reader.ReadString();
} //nullable
return this;
}
}
///
/// Send Command Request
///
[DataContract()]
[XmlRootAttribute("SendCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class SendCommandRequest : ICloneable, IDssSerializable
{
private String _command;
///
/// Command
///
[DataMember()]
public String Command
{
get
{
return this._command;
}
set
{
this._command = value;
}
}
///
/// Copy To Send Command Request
///
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;
}
///
/// Clone Send Command Request
///
public virtual object Clone()
{
SendCommandRequest target = new SendCommandRequest();
target.Command = this.Command;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
Command = reader.ReadString();
} //nullable
return this;
}
}
///
/// Level Request
///
[DataContract()]
[XmlRootAttribute("LevelRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class LevelRequest : ICloneable, IDssSerializable
{
private Int32 _roll;
private Int32 _nick;
///
/// Roll
///
[DataMember()]
public Int32 Roll
{
get
{
return this._roll;
}
set
{
this._roll = value;
}
}
///
/// Nick
///
[DataMember()]
public Int32 Nick
{
get
{
return this._nick;
}
set
{
this._nick = value;
}
}
///
/// Copy To Level Request
///
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;
}
///
/// Clone Level Request
///
public virtual object Clone()
{
LevelRequest target = new LevelRequest();
target.Roll = this.Roll;
target.Nick = this.Nick;
return target;
}
///
/// Serialize Serialize
///
public virtual void Serialize(System.IO.BinaryWriter writer)
{
writer.Write(Roll);
writer.Write(Nick);
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
Roll = reader.ReadInt32();
Nick = reader.ReadInt32();
return this;
}
}
///
/// Control Request
///
[DataContract()]
[XmlRootAttribute("ControlRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class ControlRequest : ICloneable, IDssSerializable
{
private Single _roll;
private Single _nick;
///
/// Roll
///
[DataMember()]
public Single Roll
{
get
{
return this._roll;
}
set
{
this._roll = value;
}
}
///
/// Nick
///
[DataMember()]
public Single Nick
{
get
{
return this._nick;
}
set
{
this._nick = value;
}
}
///
/// Copy To Control Request
///
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;
}
///
/// Clone Control Request
///
public virtual object Clone()
{
ControlRequest target = new ControlRequest();
target.Roll = this.Roll;
target.Nick = this.Nick;
return target;
}
///
/// Serialize Serialize
///
public virtual void Serialize(System.IO.BinaryWriter writer)
{
writer.Write(Roll);
writer.Write(Nick);
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
Roll = reader.ReadSingle();
Nick = reader.ReadSingle();
return this;
}
}
///
/// Set Altitute Request
///
[DataContract()]
[XmlRootAttribute("SetAltituteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class SetAltituteRequest : ICloneable, IDssSerializable
{
private Single _altitute;
///
/// Altitute
///
[DataMember()]
public Single Altitute
{
get
{
return this._altitute;
}
set
{
this._altitute = value;
}
}
///
/// Copy To Set Altitute Request
///
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;
}
///
/// Clone Set Altitute Request
///
public virtual object Clone()
{
SetAltituteRequest target = new SetAltituteRequest();
target.Altitute = this.Altitute;
return target;
}
///
/// Serialize Serialize
///
public virtual void Serialize(System.IO.BinaryWriter writer)
{
writer.Write(Altitute);
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
Altitute = reader.ReadSingle();
return this;
}
}
///
/// Set Gas Request
///
[DataContract()]
[XmlRootAttribute("SetGasRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class SetGasRequest : ICloneable, IDssSerializable
{
private Single _gas;
///
/// Gas
///
[DataMember()]
public Single Gas
{
get
{
return this._gas;
}
set
{
this._gas = value;
}
}
///
/// Copy To Set Gas Request
///
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;
}
///
/// Clone Set Gas Request
///
public virtual object Clone()
{
SetGasRequest target = new SetGasRequest();
target.Gas = this.Gas;
return target;
}
///
/// Serialize Serialize
///
public virtual void Serialize(System.IO.BinaryWriter writer)
{
writer.Write(Gas);
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
Gas = reader.ReadSingle();
return this;
}
}
///
/// Set Gier Request
///
[DataContract()]
[XmlRootAttribute("SetGierRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class SetGierRequest : ICloneable, IDssSerializable
{
private Single _gier;
///
/// Gier
///
[DataMember()]
public Single Gier
{
get
{
return this._gier;
}
set
{
this._gier = value;
}
}
///
/// Copy To Set Gier Request
///
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;
}
///
/// Clone Set Gier Request
///
public virtual object Clone()
{
SetGierRequest target = new SetGierRequest();
target.Gier = this.Gier;
return target;
}
///
/// Serialize Serialize
///
public virtual void Serialize(System.IO.BinaryWriter writer)
{
writer.Write(Gier);
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
Gier = reader.ReadSingle();
return this;
}
}
///
/// Increment Tick Request
///
[DataContract()]
[XmlRootAttribute("IncrementTickRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")]
public class IncrementTickRequest : ICloneable, IDssSerializable
{
private String _command;
///
/// Command
///
[DataMember()]
public String Command
{
get
{
return this._command;
}
set
{
this._command = value;
}
}
///
/// Copy To Increment Tick Request
///
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;
}
///
/// Clone Increment Tick Request
///
public virtual object Clone()
{
IncrementTickRequest target = new IncrementTickRequest();
target.Command = this.Command;
return target;
}
///
/// Serialize Serialize
///
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);
}
}
///
/// Deserialize Deserialize
///
public virtual object Deserialize(System.IO.BinaryReader reader)
{
if (reader.ReadByte() == 0) {}
else
{
Command = reader.ReadString();
} //nullable
return this;
}
}
///
/// Robo Board Operations
///
[ServicePort()]
[XmlTypeAttribute(IncludeInSchema=false)]
public class RoboBoardOperations : PortSet
{
///
/// Required Lookup request body type
///
public virtual PortSet 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;
}
///
/// Post Dssp Default Lookup and return the response port.
///
public virtual PortSet 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;
}
///
/// A request to drop the service.
///
public virtual PortSet 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;
}
///
/// Post Dssp Default Drop and return the response port.
///
public virtual PortSet 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;
}
///
/// Required Get body type
///
public virtual PortSet Get()
{
Microsoft.Dss.ServiceModel.Dssp.GetRequestType body = new Microsoft.Dss.ServiceModel.Dssp.GetRequestType();
Get op = new Get(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Get and return the response port.
///
public virtual PortSet 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;
}
///
/// DsspHttp Get request body
///
public virtual PortSet HttpGet()
{
dssphttp.HttpGetRequestType body = new dssphttp.HttpGetRequestType();
dssphttp.HttpGet op = new dssphttp.HttpGet(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Http Get and return the response port.
///
public virtual PortSet HttpGet(dssphttp.HttpGetRequestType body)
{
dssphttp.HttpGet op = new dssphttp.HttpGet();
op.Body = body ?? new dssphttp.HttpGetRequestType();
this.Post(op);
return op.ResponsePort;
}
///
/// Robo Board State
///
public virtual PortSet Replace()
{
RoboBoardState body = new RoboBoardState();
Replace op = new Replace(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Replace and return the response port.
///
public virtual PortSet Replace(RoboBoardState body)
{
Replace op = new Replace();
op.Body = body ?? new RoboBoardState();
this.Post(op);
return op.ResponsePort;
}
///
/// Init Complete Request
///
public virtual PortSet InitComplete()
{
InitCompleteRequest body = new InitCompleteRequest();
InitComplete op = new InitComplete(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Init Complete and return the response port.
///
public virtual PortSet InitComplete(InitCompleteRequest body)
{
InitComplete op = new InitComplete();
op.Body = body ?? new InitCompleteRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Set Com Port Request
///
public virtual PortSet SetComPort()
{
SetComPortRequest body = new SetComPortRequest();
SetComPort op = new SetComPort(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Set Com Port and return the response port.
///
public virtual PortSet SetComPort(SetComPortRequest body)
{
SetComPort op = new SetComPort();
op.Body = body ?? new SetComPortRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Receive Command Request
///
public virtual PortSet ReceiveCommand()
{
ReceiveCommandRequest body = new ReceiveCommandRequest();
ReceiveCommand op = new ReceiveCommand(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Receive Command and return the response port.
///
public virtual PortSet ReceiveCommand(ReceiveCommandRequest body)
{
ReceiveCommand op = new ReceiveCommand();
op.Body = body ?? new ReceiveCommandRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Send Command Request
///
public virtual PortSet SendCommand()
{
SendCommandRequest body = new SendCommandRequest();
SendCommand op = new SendCommand(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Send Command and return the response port.
///
public virtual PortSet SendCommand(SendCommandRequest body)
{
SendCommand op = new SendCommand();
op.Body = body ?? new SendCommandRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Level Request
///
public virtual PortSet Level()
{
LevelRequest body = new LevelRequest();
Level op = new Level(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Level and return the response port.
///
public virtual PortSet Level(LevelRequest body)
{
Level op = new Level();
op.Body = body ?? new LevelRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Control Request
///
public virtual PortSet Control()
{
ControlRequest body = new ControlRequest();
Control op = new Control(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Control and return the response port.
///
public virtual PortSet Control(ControlRequest body)
{
Control op = new Control();
op.Body = body ?? new ControlRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Set Altitute Request
///
public virtual PortSet SetAltitute()
{
SetAltituteRequest body = new SetAltituteRequest();
SetAltitute op = new SetAltitute(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Set Altitute and return the response port.
///
public virtual PortSet SetAltitute(SetAltituteRequest body)
{
SetAltitute op = new SetAltitute();
op.Body = body ?? new SetAltituteRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Set Gas Request
///
public virtual PortSet SetGas()
{
SetGasRequest body = new SetGasRequest();
SetGas op = new SetGas(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Set Gas and return the response port.
///
public virtual PortSet SetGas(SetGasRequest body)
{
SetGas op = new SetGas();
op.Body = body ?? new SetGasRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Set Gier Request
///
public virtual PortSet SetGier()
{
SetGierRequest body = new SetGierRequest();
SetGier op = new SetGier(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Set Gier and return the response port.
///
public virtual PortSet SetGier(SetGierRequest body)
{
SetGier op = new SetGier();
op.Body = body ?? new SetGierRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Increment Tick Request
///
public virtual PortSet IncrementTick()
{
IncrementTickRequest body = new IncrementTickRequest();
IncrementTick op = new IncrementTick(body);
this.Post(op);
return op.ResponsePort;
}
///
/// Post Increment Tick and return the response port.
///
public virtual PortSet IncrementTick(IncrementTickRequest body)
{
IncrementTick op = new IncrementTick();
op.Body = body ?? new IncrementTickRequest();
this.Post(op);
return op.ResponsePort;
}
///
/// Post Subscribe and return the response port.
///
public virtual PortSet Subscribe(IPort notificationPort)
{
Subscribe op = new Subscribe();
op.Body = new Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType();
op.NotificationPort = notificationPort;
this.Post(op);
return op.ResponsePort;
}
///
/// Post Subscribe and return the response port.
///
public virtual PortSet 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;
}
}
///
/// Get
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class Get : Microsoft.Dss.ServiceModel.Dssp.Get>
{
///
/// Get
///
public Get()
{
}
///
/// Get
///
public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body) :
base(body)
{
}
///
/// Get
///
public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Replace
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class Replace : Microsoft.Dss.ServiceModel.Dssp.Replace>
{
///
/// Replace
///
public Replace()
{
}
///
/// Replace
///
public Replace(RoboBoardState body) :
base(body)
{
}
///
/// Replace
///
public Replace(RoboBoardState body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Init Complete
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class InitComplete : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Init Complete
///
public InitComplete()
{
}
///
/// Init Complete
///
public InitComplete(InitCompleteRequest body) :
base(body)
{
}
///
/// Init Complete
///
public InitComplete(InitCompleteRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Set Com Port
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class SetComPort : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Set Com Port
///
public SetComPort()
{
}
///
/// Set Com Port
///
public SetComPort(SetComPortRequest body) :
base(body)
{
}
///
/// Set Com Port
///
public SetComPort(SetComPortRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Receive Command
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class ReceiveCommand : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Receive Command
///
public ReceiveCommand()
{
}
///
/// Receive Command
///
public ReceiveCommand(ReceiveCommandRequest body) :
base(body)
{
}
///
/// Receive Command
///
public ReceiveCommand(ReceiveCommandRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Send Command
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class SendCommand : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Send Command
///
public SendCommand()
{
}
///
/// Send Command
///
public SendCommand(SendCommandRequest body) :
base(body)
{
}
///
/// Send Command
///
public SendCommand(SendCommandRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Level
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class Level : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Level
///
public Level()
{
}
///
/// Level
///
public Level(LevelRequest body) :
base(body)
{
}
///
/// Level
///
public Level(LevelRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Control
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class Control : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Control
///
public Control()
{
}
///
/// Control
///
public Control(ControlRequest body) :
base(body)
{
}
///
/// Control
///
public Control(ControlRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Set Altitute
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class SetAltitute : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Set Altitute
///
public SetAltitute()
{
}
///
/// Set Altitute
///
public SetAltitute(SetAltituteRequest body) :
base(body)
{
}
///
/// Set Altitute
///
public SetAltitute(SetAltituteRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Set Gas
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class SetGas : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Set Gas
///
public SetGas()
{
}
///
/// Set Gas
///
public SetGas(SetGasRequest body) :
base(body)
{
}
///
/// Set Gas
///
public SetGas(SetGasRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Set Gier
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class SetGier : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Set Gier
///
public SetGier()
{
}
///
/// Set Gier
///
public SetGier(SetGierRequest body) :
base(body)
{
}
///
/// Set Gier
///
public SetGier(SetGierRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Increment Tick
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class IncrementTick : Microsoft.Dss.ServiceModel.Dssp.Update>
{
///
/// Increment Tick
///
public IncrementTick()
{
}
///
/// Increment Tick
///
public IncrementTick(IncrementTickRequest body) :
base(body)
{
}
///
/// Increment Tick
///
public IncrementTick(IncrementTickRequest body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
///
/// Subscribe
///
[XmlTypeAttribute(IncludeInSchema=false)]
public class Subscribe : Microsoft.Dss.ServiceModel.Dssp.Subscribe>
{
///
/// Subscribe
///
public Subscribe()
{
}
///
/// Subscribe
///
public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body) :
base(body)
{
}
///
/// Subscribe
///
public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body, Microsoft.Ccr.Core.PortSet responsePort) :
base(body, responsePort)
{
}
}
}