Rev 90 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 90 | Rev 97 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //------------------------------------------------------------------------------ |
1 | //------------------------------------------------------------------------------ |
2 | // <auto-generated> |
2 | // <auto-generated> |
3 | // This code was generated by a tool. |
3 | // This code was generated by a tool. |
4 | // Runtime Version:2.0.50727.1433 |
4 | // Runtime Version:2.0.50727.1434 |
5 | // |
5 | // |
6 | // Changes to this file may cause incorrect behavior and will be lost if |
6 | // Changes to this file may cause incorrect behavior and will be lost if |
7 | // the code is regenerated. |
7 | // the code is regenerated. |
8 | // </auto-generated> |
8 | // </auto-generated> |
9 | //------------------------------------------------------------------------------ |
9 | //------------------------------------------------------------------------------ |
Line 161... | Line 161... | ||
161 | 161 | ||
162 | } |
162 | } |
Line 163... | Line 163... | ||
163 | } |
163 | } |
- | 164 | ||
- | 165 | /// <summary> |
|
- | 166 | /// Init Complete Request |
|
- | 167 | /// </summary> |
|
- | 168 | [DataContract()] |
|
- | 169 | [XmlRootAttribute("InitCompleteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
|
- | 170 | public class InitCompleteRequest : ICloneable, IDssSerializable |
|
- | 171 | { |
|
- | 172 | ||
- | 173 | private String _command; |
|
- | 174 | ||
- | 175 | /// <summary> |
|
- | 176 | /// Command |
|
- | 177 | /// </summary> |
|
- | 178 | [DataMember()] |
|
- | 179 | public String Command |
|
- | 180 | { |
|
- | 181 | get |
|
- | 182 | { |
|
- | 183 | return this._command; |
|
- | 184 | } |
|
- | 185 | set |
|
- | 186 | { |
|
- | 187 | this._command = value; |
|
- | 188 | } |
|
- | 189 | } |
|
- | 190 | ||
- | 191 | /// <summary> |
|
- | 192 | /// Copy To Init Complete Request |
|
- | 193 | /// </summary> |
|
- | 194 | public virtual void CopyTo(IDssSerializable target) |
|
- | 195 | { |
|
- | 196 | InitCompleteRequest typedTarget = target as InitCompleteRequest; |
|
- | 197 | ||
- | 198 | if (typedTarget == null) |
|
- | 199 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
|
- | 200 | typedTarget.Command = this.Command; |
|
- | 201 | } |
|
- | 202 | ||
- | 203 | /// <summary> |
|
- | 204 | /// Clone Init Complete Request |
|
- | 205 | /// </summary> |
|
- | 206 | public virtual object Clone() |
|
- | 207 | { |
|
- | 208 | InitCompleteRequest target = new InitCompleteRequest(); |
|
- | 209 | ||
- | 210 | target.Command = this.Command; |
|
- | 211 | return target; |
|
- | 212 | ||
- | 213 | } |
|
- | 214 | ||
- | 215 | /// <summary> |
|
- | 216 | /// Serialize Serialize |
|
- | 217 | /// </summary> |
|
- | 218 | public virtual void Serialize(System.IO.BinaryWriter writer) |
|
- | 219 | { |
|
- | 220 | if (Command == null) writer.Write((byte)0); |
|
- | 221 | else |
|
- | 222 | { |
|
- | 223 | // null flag |
|
- | 224 | writer.Write((byte)1); |
|
- | 225 | ||
- | 226 | writer.Write(Command); |
|
- | 227 | } |
|
- | 228 | ||
- | 229 | } |
|
- | 230 | ||
- | 231 | /// <summary> |
|
- | 232 | /// Deserialize Deserialize |
|
- | 233 | /// </summary> |
|
- | 234 | public virtual object Deserialize(System.IO.BinaryReader reader) |
|
- | 235 | { |
|
- | 236 | if (reader.ReadByte() == 0) {} |
|
- | 237 | else |
|
- | 238 | { |
|
- | 239 | Command = reader.ReadString(); |
|
- | 240 | } //nullable |
|
- | 241 | ||
- | 242 | return this; |
|
- | 243 | ||
- | 244 | } |
|
- | 245 | } |
|
164 | 246 | ||
165 | /// <summary> |
247 | /// <summary> |
166 | /// Set Com Port Request |
248 | /// Set Com Port Request |
167 | /// </summary> |
249 | /// </summary> |
168 | [DataContract()] |
250 | [DataContract()] |
Line 896... | Line 978... | ||
896 | /// <summary> |
978 | /// <summary> |
897 | /// Robo Board Operations |
979 | /// Robo Board Operations |
898 | /// </summary> |
980 | /// </summary> |
899 | [ServicePort()] |
981 | [ServicePort()] |
900 | [XmlTypeAttribute(IncludeInSchema=false)] |
982 | [XmlTypeAttribute(IncludeInSchema=false)] |
901 | public class RoboBoardOperations : PortSet<Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup, Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop, Get, dssphttp.HttpGet, Replace, SetComPort, ReceiveCommand, SendCommand, Level, Control, SetAltitute, SetGas, SetGier, IncrementTick, Subscribe> |
983 | 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> |
902 | { |
984 | { |
Line 903... | Line 985... | ||
903 | 985 | ||
904 | /// <summary> |
986 | /// <summary> |
905 | /// Required Lookup request body type |
987 | /// Required Lookup request body type |
Line 1020... | Line 1102... | ||
1020 | return op.ResponsePort; |
1102 | return op.ResponsePort; |
Line 1021... | Line 1103... | ||
1021 | 1103 | ||
Line 1022... | Line 1104... | ||
1022 | } |
1104 | } |
- | 1105 | ||
- | 1106 | /// <summary> |
|
- | 1107 | /// Init Complete Request |
|
- | 1108 | /// </summary> |
|
- | 1109 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> InitComplete() |
|
- | 1110 | { |
|
- | 1111 | InitCompleteRequest body = new InitCompleteRequest(); |
|
- | 1112 | InitComplete op = new InitComplete(body); |
|
- | 1113 | this.Post(op); |
|
- | 1114 | return op.ResponsePort; |
|
- | 1115 | ||
- | 1116 | } |
|
- | 1117 | ||
- | 1118 | /// <summary> |
|
- | 1119 | /// Post Init Complete and return the response port. |
|
- | 1120 | /// </summary> |
|
- | 1121 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> InitComplete(InitCompleteRequest body) |
|
- | 1122 | { |
|
- | 1123 | InitComplete op = new InitComplete(); |
|
- | 1124 | op.Body = body ?? new InitCompleteRequest(); |
|
- | 1125 | this.Post(op); |
|
- | 1126 | return op.ResponsePort; |
|
- | 1127 | ||
- | 1128 | } |
|
1023 | 1129 | ||
1024 | /// <summary> |
1130 | /// <summary> |
1025 | /// Set Com Port Request |
1131 | /// Set Com Port Request |
1026 | /// </summary> |
1132 | /// </summary> |
1027 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort() |
1133 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort() |
Line 1324... | Line 1430... | ||
1324 | base(body, responsePort) |
1430 | base(body, responsePort) |
1325 | { |
1431 | { |
1326 | } |
1432 | } |
1327 | } |
1433 | } |
Line -... | Line 1434... | ||
- | 1434 | ||
- | 1435 | /// <summary> |
|
- | 1436 | /// Init Complete |
|
- | 1437 | /// </summary> |
|
- | 1438 | [XmlTypeAttribute(IncludeInSchema=false)] |
|
- | 1439 | public class InitComplete : Microsoft.Dss.ServiceModel.Dssp.Update<InitCompleteRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
|
- | 1440 | { |
|
- | 1441 | ||
- | 1442 | /// <summary> |
|
- | 1443 | /// Init Complete |
|
- | 1444 | /// </summary> |
|
- | 1445 | public InitComplete() |
|
- | 1446 | { |
|
- | 1447 | } |
|
- | 1448 | ||
- | 1449 | /// <summary> |
|
- | 1450 | /// Init Complete |
|
- | 1451 | /// </summary> |
|
- | 1452 | public InitComplete(InitCompleteRequest body) : |
|
- | 1453 | base(body) |
|
- | 1454 | { |
|
- | 1455 | } |
|
- | 1456 | ||
- | 1457 | /// <summary> |
|
- | 1458 | /// Init Complete |
|
- | 1459 | /// </summary> |
|
- | 1460 | public InitComplete(InitCompleteRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
|
- | 1461 | base(body, responsePort) |
|
- | 1462 | { |
|
- | 1463 | } |
|
- | 1464 | } |
|
1328 | 1465 | ||
1329 | /// <summary> |
1466 | /// <summary> |
1330 | /// Set Com Port |
1467 | /// Set Com Port |
1331 | /// </summary> |
1468 | /// </summary> |
1332 | [XmlTypeAttribute(IncludeInSchema=false)] |
1469 | [XmlTypeAttribute(IncludeInSchema=false)] |