Rev 90 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
90 | gunterl | 1 | //------------------------------------------------------------------------------ |
2 | // <auto-generated> |
||
3 | // This code was generated by a tool. |
||
97 | gunterl | 4 | // Runtime Version:2.0.50727.1434 |
90 | gunterl | 5 | // |
6 | // Changes to this file may cause incorrect behavior and will be lost if |
||
7 | // the code is regenerated. |
||
8 | // </auto-generated> |
||
9 | //------------------------------------------------------------------------------ |
||
10 | |||
11 | using Microsoft.Ccr.Core; |
||
12 | using Microsoft.Dss.Core; |
||
13 | using Microsoft.Dss.Core.Attributes; |
||
14 | using Microsoft.Dss.ServiceModel.Dssp; |
||
15 | using System; |
||
16 | using System.Collections.Generic; |
||
17 | using System.Xml.Serialization; |
||
18 | using W3C.Soap; |
||
19 | using compression = System.IO.Compression; |
||
20 | using constructor = Microsoft.Dss.Services.Constructor; |
||
21 | using contractmanager = Microsoft.Dss.Services.ContractManager; |
||
22 | using contractmodel = Microsoft.Dss.Services.ContractModel; |
||
23 | using dssphttp = Microsoft.Dss.Core.DsspHttp; |
||
24 | using io = System.IO; |
||
25 | using pxroboboard = Robotics.RoboBoard.Proxy; |
||
26 | using reflection = System.Reflection; |
||
27 | |||
28 | |||
29 | namespace Robotics.RoboBoard.Proxy |
||
30 | { |
||
31 | |||
32 | |||
33 | /// <summary> |
||
34 | /// RoboBoard Contract |
||
35 | /// </summary> |
||
36 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
37 | public sealed class Contract |
||
38 | { |
||
39 | |||
40 | /// The Unique Contract Identifier for the RoboBoard service |
||
41 | public const String Identifier = "http://schemas.tempuri.org/2007/08/roboboardservice.html"; |
||
42 | |||
43 | /// The Dss Service dssModel Contract(s) |
||
44 | public static List<contractmodel.ServiceSummary> ServiceModel() |
||
45 | { |
||
46 | contractmanager.ServiceSummaryLoader loader = new contractmanager.ServiceSummaryLoader(); |
||
47 | return loader.GetServiceSummaries(typeof(Contract).Assembly); |
||
48 | |||
49 | } |
||
50 | |||
51 | /// <summary> |
||
52 | /// Creates an instance of the service associated with this contract |
||
53 | /// </summary> |
||
54 | /// <param name="contructorServicePort">Contractor Service that will create the instance</param> |
||
55 | /// <param name="partners">Optional list of service partners for new service instance</param> |
||
56 | /// <returns>Result PortSet for retrieving service creation response</returns> |
||
57 | public static DsspResponsePort<CreateResponse> CreateService(constructor.ConstructorPort contructorServicePort, params PartnerType[] partners) |
||
58 | { |
||
59 | DsspResponsePort<CreateResponse> result = new DsspResponsePort<CreateResponse>(); |
||
60 | ServiceInfoType si = new ServiceInfoType(Contract.Identifier, null); |
||
61 | if (partners != null) |
||
62 | { |
||
63 | si.PartnerList = new List<PartnerType>(partners); |
||
64 | } |
||
65 | Microsoft.Dss.Services.Constructor.Create create = |
||
66 | new Microsoft.Dss.Services.Constructor.Create(si, result); |
||
67 | contructorServicePort.Post(create); |
||
68 | return result; |
||
69 | |||
70 | } |
||
71 | |||
72 | /// <summary> |
||
73 | /// Creates an instance of the service associated with this contract |
||
74 | /// </summary> |
||
75 | /// <param name="contructorServicePort">Contractor Service that will create the instance</param> |
||
76 | /// <returns>Result PortSet for retrieving service creation response</returns> |
||
77 | public static DsspResponsePort<CreateResponse> CreateService(constructor.ConstructorPort contructorServicePort) |
||
78 | { |
||
79 | return Contract.CreateService(contructorServicePort, null); |
||
80 | } |
||
81 | } |
||
82 | |||
83 | /// <summary> |
||
84 | /// Robo Board State |
||
85 | /// </summary> |
||
86 | [DataContract()] |
||
87 | [XmlRootAttribute("RoboBoardState", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
88 | public class RoboBoardState : ICloneable, IDssSerializable |
||
89 | { |
||
90 | |||
91 | private String _comPort; |
||
92 | |||
93 | /// <summary> |
||
94 | /// Com Port |
||
95 | /// </summary> |
||
96 | [DataMember()] |
||
97 | public String ComPort |
||
98 | { |
||
99 | get |
||
100 | { |
||
101 | return this._comPort; |
||
102 | } |
||
103 | set |
||
104 | { |
||
105 | this._comPort = value; |
||
106 | } |
||
107 | } |
||
108 | |||
109 | /// <summary> |
||
110 | /// Copy To Robo Board State |
||
111 | /// </summary> |
||
112 | public virtual void CopyTo(IDssSerializable target) |
||
113 | { |
||
114 | RoboBoardState typedTarget = target as RoboBoardState; |
||
115 | |||
116 | if (typedTarget == null) |
||
117 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
118 | typedTarget.ComPort = this.ComPort; |
||
119 | } |
||
120 | |||
121 | /// <summary> |
||
122 | /// Clone Robo Board State |
||
123 | /// </summary> |
||
124 | public virtual object Clone() |
||
125 | { |
||
126 | RoboBoardState target = new RoboBoardState(); |
||
127 | |||
128 | target.ComPort = this.ComPort; |
||
129 | return target; |
||
130 | |||
131 | } |
||
132 | |||
133 | /// <summary> |
||
134 | /// Serialize Serialize |
||
135 | /// </summary> |
||
136 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
137 | { |
||
138 | if (ComPort == null) writer.Write((byte)0); |
||
139 | else |
||
140 | { |
||
141 | // null flag |
||
142 | writer.Write((byte)1); |
||
143 | |||
144 | writer.Write(ComPort); |
||
145 | } |
||
146 | |||
147 | } |
||
148 | |||
149 | /// <summary> |
||
150 | /// Deserialize Deserialize |
||
151 | /// </summary> |
||
152 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
153 | { |
||
154 | if (reader.ReadByte() == 0) {} |
||
155 | else |
||
156 | { |
||
157 | ComPort = reader.ReadString(); |
||
158 | } //nullable |
||
159 | |||
160 | return this; |
||
161 | |||
162 | } |
||
163 | } |
||
164 | |||
165 | /// <summary> |
||
97 | gunterl | 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 | } |
||
246 | |||
247 | /// <summary> |
||
90 | gunterl | 248 | /// Set Com Port Request |
249 | /// </summary> |
||
250 | [DataContract()] |
||
251 | [XmlRootAttribute("SetComPortRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
252 | public class SetComPortRequest : ICloneable, IDssSerializable |
||
253 | { |
||
254 | |||
255 | private String _portName; |
||
256 | |||
257 | /// <summary> |
||
258 | /// Port Name |
||
259 | /// </summary> |
||
260 | [DataMember()] |
||
261 | public String PortName |
||
262 | { |
||
263 | get |
||
264 | { |
||
265 | return this._portName; |
||
266 | } |
||
267 | set |
||
268 | { |
||
269 | this._portName = value; |
||
270 | } |
||
271 | } |
||
272 | |||
273 | /// <summary> |
||
274 | /// Copy To Set Com Port Request |
||
275 | /// </summary> |
||
276 | public virtual void CopyTo(IDssSerializable target) |
||
277 | { |
||
278 | SetComPortRequest typedTarget = target as SetComPortRequest; |
||
279 | |||
280 | if (typedTarget == null) |
||
281 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
282 | typedTarget.PortName = this.PortName; |
||
283 | } |
||
284 | |||
285 | /// <summary> |
||
286 | /// Clone Set Com Port Request |
||
287 | /// </summary> |
||
288 | public virtual object Clone() |
||
289 | { |
||
290 | SetComPortRequest target = new SetComPortRequest(); |
||
291 | |||
292 | target.PortName = this.PortName; |
||
293 | return target; |
||
294 | |||
295 | } |
||
296 | |||
297 | /// <summary> |
||
298 | /// Serialize Serialize |
||
299 | /// </summary> |
||
300 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
301 | { |
||
302 | if (PortName == null) writer.Write((byte)0); |
||
303 | else |
||
304 | { |
||
305 | // null flag |
||
306 | writer.Write((byte)1); |
||
307 | |||
308 | writer.Write(PortName); |
||
309 | } |
||
310 | |||
311 | } |
||
312 | |||
313 | /// <summary> |
||
314 | /// Deserialize Deserialize |
||
315 | /// </summary> |
||
316 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
317 | { |
||
318 | if (reader.ReadByte() == 0) {} |
||
319 | else |
||
320 | { |
||
321 | PortName = reader.ReadString(); |
||
322 | } //nullable |
||
323 | |||
324 | return this; |
||
325 | |||
326 | } |
||
327 | } |
||
328 | |||
329 | /// <summary> |
||
330 | /// Receive Command Request |
||
331 | /// </summary> |
||
332 | [DataContract()] |
||
333 | [XmlRootAttribute("ReceiveCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
334 | public class ReceiveCommandRequest : ICloneable, IDssSerializable |
||
335 | { |
||
336 | |||
337 | private String _command; |
||
338 | |||
339 | /// <summary> |
||
340 | /// Command |
||
341 | /// </summary> |
||
342 | [DataMember()] |
||
343 | public String Command |
||
344 | { |
||
345 | get |
||
346 | { |
||
347 | return this._command; |
||
348 | } |
||
349 | set |
||
350 | { |
||
351 | this._command = value; |
||
352 | } |
||
353 | } |
||
354 | |||
355 | /// <summary> |
||
356 | /// Copy To Receive Command Request |
||
357 | /// </summary> |
||
358 | public virtual void CopyTo(IDssSerializable target) |
||
359 | { |
||
360 | ReceiveCommandRequest typedTarget = target as ReceiveCommandRequest; |
||
361 | |||
362 | if (typedTarget == null) |
||
363 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
364 | typedTarget.Command = this.Command; |
||
365 | } |
||
366 | |||
367 | /// <summary> |
||
368 | /// Clone Receive Command Request |
||
369 | /// </summary> |
||
370 | public virtual object Clone() |
||
371 | { |
||
372 | ReceiveCommandRequest target = new ReceiveCommandRequest(); |
||
373 | |||
374 | target.Command = this.Command; |
||
375 | return target; |
||
376 | |||
377 | } |
||
378 | |||
379 | /// <summary> |
||
380 | /// Serialize Serialize |
||
381 | /// </summary> |
||
382 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
383 | { |
||
384 | if (Command == null) writer.Write((byte)0); |
||
385 | else |
||
386 | { |
||
387 | // null flag |
||
388 | writer.Write((byte)1); |
||
389 | |||
390 | writer.Write(Command); |
||
391 | } |
||
392 | |||
393 | } |
||
394 | |||
395 | /// <summary> |
||
396 | /// Deserialize Deserialize |
||
397 | /// </summary> |
||
398 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
399 | { |
||
400 | if (reader.ReadByte() == 0) {} |
||
401 | else |
||
402 | { |
||
403 | Command = reader.ReadString(); |
||
404 | } //nullable |
||
405 | |||
406 | return this; |
||
407 | |||
408 | } |
||
409 | } |
||
410 | |||
411 | /// <summary> |
||
412 | /// Send Command Request |
||
413 | /// </summary> |
||
414 | [DataContract()] |
||
415 | [XmlRootAttribute("SendCommandRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
416 | public class SendCommandRequest : ICloneable, IDssSerializable |
||
417 | { |
||
418 | |||
419 | private String _command; |
||
420 | |||
421 | /// <summary> |
||
422 | /// Command |
||
423 | /// </summary> |
||
424 | [DataMember()] |
||
425 | public String Command |
||
426 | { |
||
427 | get |
||
428 | { |
||
429 | return this._command; |
||
430 | } |
||
431 | set |
||
432 | { |
||
433 | this._command = value; |
||
434 | } |
||
435 | } |
||
436 | |||
437 | /// <summary> |
||
438 | /// Copy To Send Command Request |
||
439 | /// </summary> |
||
440 | public virtual void CopyTo(IDssSerializable target) |
||
441 | { |
||
442 | SendCommandRequest typedTarget = target as SendCommandRequest; |
||
443 | |||
444 | if (typedTarget == null) |
||
445 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
446 | typedTarget.Command = this.Command; |
||
447 | } |
||
448 | |||
449 | /// <summary> |
||
450 | /// Clone Send Command Request |
||
451 | /// </summary> |
||
452 | public virtual object Clone() |
||
453 | { |
||
454 | SendCommandRequest target = new SendCommandRequest(); |
||
455 | |||
456 | target.Command = this.Command; |
||
457 | return target; |
||
458 | |||
459 | } |
||
460 | |||
461 | /// <summary> |
||
462 | /// Serialize Serialize |
||
463 | /// </summary> |
||
464 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
465 | { |
||
466 | if (Command == null) writer.Write((byte)0); |
||
467 | else |
||
468 | { |
||
469 | // null flag |
||
470 | writer.Write((byte)1); |
||
471 | |||
472 | writer.Write(Command); |
||
473 | } |
||
474 | |||
475 | } |
||
476 | |||
477 | /// <summary> |
||
478 | /// Deserialize Deserialize |
||
479 | /// </summary> |
||
480 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
481 | { |
||
482 | if (reader.ReadByte() == 0) {} |
||
483 | else |
||
484 | { |
||
485 | Command = reader.ReadString(); |
||
486 | } //nullable |
||
487 | |||
488 | return this; |
||
489 | |||
490 | } |
||
491 | } |
||
492 | |||
493 | /// <summary> |
||
494 | /// Level Request |
||
495 | /// </summary> |
||
496 | [DataContract()] |
||
497 | [XmlRootAttribute("LevelRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
498 | public class LevelRequest : ICloneable, IDssSerializable |
||
499 | { |
||
500 | |||
501 | private Int32 _roll; |
||
502 | |||
503 | private Int32 _nick; |
||
504 | |||
505 | /// <summary> |
||
506 | /// Roll |
||
507 | /// </summary> |
||
508 | [DataMember()] |
||
509 | public Int32 Roll |
||
510 | { |
||
511 | get |
||
512 | { |
||
513 | return this._roll; |
||
514 | } |
||
515 | set |
||
516 | { |
||
517 | this._roll = value; |
||
518 | } |
||
519 | } |
||
520 | |||
521 | /// <summary> |
||
522 | /// Nick |
||
523 | /// </summary> |
||
524 | [DataMember()] |
||
525 | public Int32 Nick |
||
526 | { |
||
527 | get |
||
528 | { |
||
529 | return this._nick; |
||
530 | } |
||
531 | set |
||
532 | { |
||
533 | this._nick = value; |
||
534 | } |
||
535 | } |
||
536 | |||
537 | /// <summary> |
||
538 | /// Copy To Level Request |
||
539 | /// </summary> |
||
540 | public virtual void CopyTo(IDssSerializable target) |
||
541 | { |
||
542 | LevelRequest typedTarget = target as LevelRequest; |
||
543 | |||
544 | if (typedTarget == null) |
||
545 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
546 | typedTarget.Roll = this.Roll; |
||
547 | typedTarget.Nick = this.Nick; |
||
548 | } |
||
549 | |||
550 | /// <summary> |
||
551 | /// Clone Level Request |
||
552 | /// </summary> |
||
553 | public virtual object Clone() |
||
554 | { |
||
555 | LevelRequest target = new LevelRequest(); |
||
556 | |||
557 | target.Roll = this.Roll; |
||
558 | target.Nick = this.Nick; |
||
559 | return target; |
||
560 | |||
561 | } |
||
562 | |||
563 | /// <summary> |
||
564 | /// Serialize Serialize |
||
565 | /// </summary> |
||
566 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
567 | { |
||
568 | writer.Write(Roll); |
||
569 | |||
570 | writer.Write(Nick); |
||
571 | |||
572 | } |
||
573 | |||
574 | /// <summary> |
||
575 | /// Deserialize Deserialize |
||
576 | /// </summary> |
||
577 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
578 | { |
||
579 | Roll = reader.ReadInt32(); |
||
580 | |||
581 | Nick = reader.ReadInt32(); |
||
582 | |||
583 | return this; |
||
584 | |||
585 | } |
||
586 | } |
||
587 | |||
588 | /// <summary> |
||
589 | /// Control Request |
||
590 | /// </summary> |
||
591 | [DataContract()] |
||
592 | [XmlRootAttribute("ControlRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
593 | public class ControlRequest : ICloneable, IDssSerializable |
||
594 | { |
||
595 | |||
596 | private Single _roll; |
||
597 | |||
598 | private Single _nick; |
||
599 | |||
600 | /// <summary> |
||
601 | /// Roll |
||
602 | /// </summary> |
||
603 | [DataMember()] |
||
604 | public Single Roll |
||
605 | { |
||
606 | get |
||
607 | { |
||
608 | return this._roll; |
||
609 | } |
||
610 | set |
||
611 | { |
||
612 | this._roll = value; |
||
613 | } |
||
614 | } |
||
615 | |||
616 | /// <summary> |
||
617 | /// Nick |
||
618 | /// </summary> |
||
619 | [DataMember()] |
||
620 | public Single Nick |
||
621 | { |
||
622 | get |
||
623 | { |
||
624 | return this._nick; |
||
625 | } |
||
626 | set |
||
627 | { |
||
628 | this._nick = value; |
||
629 | } |
||
630 | } |
||
631 | |||
632 | /// <summary> |
||
633 | /// Copy To Control Request |
||
634 | /// </summary> |
||
635 | public virtual void CopyTo(IDssSerializable target) |
||
636 | { |
||
637 | ControlRequest typedTarget = target as ControlRequest; |
||
638 | |||
639 | if (typedTarget == null) |
||
640 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
641 | typedTarget.Roll = this.Roll; |
||
642 | typedTarget.Nick = this.Nick; |
||
643 | } |
||
644 | |||
645 | /// <summary> |
||
646 | /// Clone Control Request |
||
647 | /// </summary> |
||
648 | public virtual object Clone() |
||
649 | { |
||
650 | ControlRequest target = new ControlRequest(); |
||
651 | |||
652 | target.Roll = this.Roll; |
||
653 | target.Nick = this.Nick; |
||
654 | return target; |
||
655 | |||
656 | } |
||
657 | |||
658 | /// <summary> |
||
659 | /// Serialize Serialize |
||
660 | /// </summary> |
||
661 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
662 | { |
||
663 | writer.Write(Roll); |
||
664 | |||
665 | writer.Write(Nick); |
||
666 | |||
667 | } |
||
668 | |||
669 | /// <summary> |
||
670 | /// Deserialize Deserialize |
||
671 | /// </summary> |
||
672 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
673 | { |
||
674 | Roll = reader.ReadSingle(); |
||
675 | |||
676 | Nick = reader.ReadSingle(); |
||
677 | |||
678 | return this; |
||
679 | |||
680 | } |
||
681 | } |
||
682 | |||
683 | /// <summary> |
||
684 | /// Set Altitute Request |
||
685 | /// </summary> |
||
686 | [DataContract()] |
||
687 | [XmlRootAttribute("SetAltituteRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
688 | public class SetAltituteRequest : ICloneable, IDssSerializable |
||
689 | { |
||
690 | |||
691 | private Single _altitute; |
||
692 | |||
693 | /// <summary> |
||
694 | /// Altitute |
||
695 | /// </summary> |
||
696 | [DataMember()] |
||
697 | public Single Altitute |
||
698 | { |
||
699 | get |
||
700 | { |
||
701 | return this._altitute; |
||
702 | } |
||
703 | set |
||
704 | { |
||
705 | this._altitute = value; |
||
706 | } |
||
707 | } |
||
708 | |||
709 | /// <summary> |
||
710 | /// Copy To Set Altitute Request |
||
711 | /// </summary> |
||
712 | public virtual void CopyTo(IDssSerializable target) |
||
713 | { |
||
714 | SetAltituteRequest typedTarget = target as SetAltituteRequest; |
||
715 | |||
716 | if (typedTarget == null) |
||
717 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
718 | typedTarget.Altitute = this.Altitute; |
||
719 | } |
||
720 | |||
721 | /// <summary> |
||
722 | /// Clone Set Altitute Request |
||
723 | /// </summary> |
||
724 | public virtual object Clone() |
||
725 | { |
||
726 | SetAltituteRequest target = new SetAltituteRequest(); |
||
727 | |||
728 | target.Altitute = this.Altitute; |
||
729 | return target; |
||
730 | |||
731 | } |
||
732 | |||
733 | /// <summary> |
||
734 | /// Serialize Serialize |
||
735 | /// </summary> |
||
736 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
737 | { |
||
738 | writer.Write(Altitute); |
||
739 | |||
740 | } |
||
741 | |||
742 | /// <summary> |
||
743 | /// Deserialize Deserialize |
||
744 | /// </summary> |
||
745 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
746 | { |
||
747 | Altitute = reader.ReadSingle(); |
||
748 | |||
749 | return this; |
||
750 | |||
751 | } |
||
752 | } |
||
753 | |||
754 | /// <summary> |
||
755 | /// Set Gas Request |
||
756 | /// </summary> |
||
757 | [DataContract()] |
||
758 | [XmlRootAttribute("SetGasRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
759 | public class SetGasRequest : ICloneable, IDssSerializable |
||
760 | { |
||
761 | |||
762 | private Single _gas; |
||
763 | |||
764 | /// <summary> |
||
765 | /// Gas |
||
766 | /// </summary> |
||
767 | [DataMember()] |
||
768 | public Single Gas |
||
769 | { |
||
770 | get |
||
771 | { |
||
772 | return this._gas; |
||
773 | } |
||
774 | set |
||
775 | { |
||
776 | this._gas = value; |
||
777 | } |
||
778 | } |
||
779 | |||
780 | /// <summary> |
||
781 | /// Copy To Set Gas Request |
||
782 | /// </summary> |
||
783 | public virtual void CopyTo(IDssSerializable target) |
||
784 | { |
||
785 | SetGasRequest typedTarget = target as SetGasRequest; |
||
786 | |||
787 | if (typedTarget == null) |
||
788 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
789 | typedTarget.Gas = this.Gas; |
||
790 | } |
||
791 | |||
792 | /// <summary> |
||
793 | /// Clone Set Gas Request |
||
794 | /// </summary> |
||
795 | public virtual object Clone() |
||
796 | { |
||
797 | SetGasRequest target = new SetGasRequest(); |
||
798 | |||
799 | target.Gas = this.Gas; |
||
800 | return target; |
||
801 | |||
802 | } |
||
803 | |||
804 | /// <summary> |
||
805 | /// Serialize Serialize |
||
806 | /// </summary> |
||
807 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
808 | { |
||
809 | writer.Write(Gas); |
||
810 | |||
811 | } |
||
812 | |||
813 | /// <summary> |
||
814 | /// Deserialize Deserialize |
||
815 | /// </summary> |
||
816 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
817 | { |
||
818 | Gas = reader.ReadSingle(); |
||
819 | |||
820 | return this; |
||
821 | |||
822 | } |
||
823 | } |
||
824 | |||
825 | /// <summary> |
||
826 | /// Set Gier Request |
||
827 | /// </summary> |
||
828 | [DataContract()] |
||
829 | [XmlRootAttribute("SetGierRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
830 | public class SetGierRequest : ICloneable, IDssSerializable |
||
831 | { |
||
832 | |||
833 | private Single _gier; |
||
834 | |||
835 | /// <summary> |
||
836 | /// Gier |
||
837 | /// </summary> |
||
838 | [DataMember()] |
||
839 | public Single Gier |
||
840 | { |
||
841 | get |
||
842 | { |
||
843 | return this._gier; |
||
844 | } |
||
845 | set |
||
846 | { |
||
847 | this._gier = value; |
||
848 | } |
||
849 | } |
||
850 | |||
851 | /// <summary> |
||
852 | /// Copy To Set Gier Request |
||
853 | /// </summary> |
||
854 | public virtual void CopyTo(IDssSerializable target) |
||
855 | { |
||
856 | SetGierRequest typedTarget = target as SetGierRequest; |
||
857 | |||
858 | if (typedTarget == null) |
||
859 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
860 | typedTarget.Gier = this.Gier; |
||
861 | } |
||
862 | |||
863 | /// <summary> |
||
864 | /// Clone Set Gier Request |
||
865 | /// </summary> |
||
866 | public virtual object Clone() |
||
867 | { |
||
868 | SetGierRequest target = new SetGierRequest(); |
||
869 | |||
870 | target.Gier = this.Gier; |
||
871 | return target; |
||
872 | |||
873 | } |
||
874 | |||
875 | /// <summary> |
||
876 | /// Serialize Serialize |
||
877 | /// </summary> |
||
878 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
879 | { |
||
880 | writer.Write(Gier); |
||
881 | |||
882 | } |
||
883 | |||
884 | /// <summary> |
||
885 | /// Deserialize Deserialize |
||
886 | /// </summary> |
||
887 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
888 | { |
||
889 | Gier = reader.ReadSingle(); |
||
890 | |||
891 | return this; |
||
892 | |||
893 | } |
||
894 | } |
||
895 | |||
896 | /// <summary> |
||
897 | /// Increment Tick Request |
||
898 | /// </summary> |
||
899 | [DataContract()] |
||
900 | [XmlRootAttribute("IncrementTickRequest", Namespace="http://schemas.tempuri.org/2007/08/roboboardservice.html")] |
||
901 | public class IncrementTickRequest : ICloneable, IDssSerializable |
||
902 | { |
||
903 | |||
904 | private String _command; |
||
905 | |||
906 | /// <summary> |
||
907 | /// Command |
||
908 | /// </summary> |
||
909 | [DataMember()] |
||
910 | public String Command |
||
911 | { |
||
912 | get |
||
913 | { |
||
914 | return this._command; |
||
915 | } |
||
916 | set |
||
917 | { |
||
918 | this._command = value; |
||
919 | } |
||
920 | } |
||
921 | |||
922 | /// <summary> |
||
923 | /// Copy To Increment Tick Request |
||
924 | /// </summary> |
||
925 | public virtual void CopyTo(IDssSerializable target) |
||
926 | { |
||
927 | IncrementTickRequest typedTarget = target as IncrementTickRequest; |
||
928 | |||
929 | if (typedTarget == null) |
||
930 | throw new ArgumentException("CopyTo({0}) requires type {0}", this.GetType().FullName); |
||
931 | typedTarget.Command = this.Command; |
||
932 | } |
||
933 | |||
934 | /// <summary> |
||
935 | /// Clone Increment Tick Request |
||
936 | /// </summary> |
||
937 | public virtual object Clone() |
||
938 | { |
||
939 | IncrementTickRequest target = new IncrementTickRequest(); |
||
940 | |||
941 | target.Command = this.Command; |
||
942 | return target; |
||
943 | |||
944 | } |
||
945 | |||
946 | /// <summary> |
||
947 | /// Serialize Serialize |
||
948 | /// </summary> |
||
949 | public virtual void Serialize(System.IO.BinaryWriter writer) |
||
950 | { |
||
951 | if (Command == null) writer.Write((byte)0); |
||
952 | else |
||
953 | { |
||
954 | // null flag |
||
955 | writer.Write((byte)1); |
||
956 | |||
957 | writer.Write(Command); |
||
958 | } |
||
959 | |||
960 | } |
||
961 | |||
962 | /// <summary> |
||
963 | /// Deserialize Deserialize |
||
964 | /// </summary> |
||
965 | public virtual object Deserialize(System.IO.BinaryReader reader) |
||
966 | { |
||
967 | if (reader.ReadByte() == 0) {} |
||
968 | else |
||
969 | { |
||
970 | Command = reader.ReadString(); |
||
971 | } //nullable |
||
972 | |||
973 | return this; |
||
974 | |||
975 | } |
||
976 | } |
||
977 | |||
978 | /// <summary> |
||
979 | /// Robo Board Operations |
||
980 | /// </summary> |
||
981 | [ServicePort()] |
||
982 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
97 | gunterl | 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> |
90 | gunterl | 984 | { |
985 | |||
986 | /// <summary> |
||
987 | /// Required Lookup request body type |
||
988 | /// </summary> |
||
989 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.LookupResponse,Fault> DsspDefaultLookup() |
||
990 | { |
||
991 | Microsoft.Dss.ServiceModel.Dssp.LookupRequestType body = new Microsoft.Dss.ServiceModel.Dssp.LookupRequestType(); |
||
992 | Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup(body); |
||
993 | this.Post(op); |
||
994 | return op.ResponsePort; |
||
995 | |||
996 | } |
||
997 | |||
998 | /// <summary> |
||
999 | /// Post Dssp Default Lookup and return the response port. |
||
1000 | /// </summary> |
||
1001 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.LookupResponse,Fault> DsspDefaultLookup(Microsoft.Dss.ServiceModel.Dssp.LookupRequestType body) |
||
1002 | { |
||
1003 | Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultLookup(); |
||
1004 | op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.LookupRequestType(); |
||
1005 | this.Post(op); |
||
1006 | return op.ResponsePort; |
||
1007 | |||
1008 | } |
||
1009 | |||
1010 | /// <summary> |
||
1011 | /// A request to drop the service. |
||
1012 | /// </summary> |
||
1013 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultDropResponseType,Fault> DsspDefaultDrop() |
||
1014 | { |
||
1015 | Microsoft.Dss.ServiceModel.Dssp.DropRequestType body = new Microsoft.Dss.ServiceModel.Dssp.DropRequestType(); |
||
1016 | Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop(body); |
||
1017 | this.Post(op); |
||
1018 | return op.ResponsePort; |
||
1019 | |||
1020 | } |
||
1021 | |||
1022 | /// <summary> |
||
1023 | /// Post Dssp Default Drop and return the response port. |
||
1024 | /// </summary> |
||
1025 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultDropResponseType,Fault> DsspDefaultDrop(Microsoft.Dss.ServiceModel.Dssp.DropRequestType body) |
||
1026 | { |
||
1027 | Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop op = new Microsoft.Dss.ServiceModel.Dssp.DsspDefaultDrop(); |
||
1028 | op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.DropRequestType(); |
||
1029 | this.Post(op); |
||
1030 | return op.ResponsePort; |
||
1031 | |||
1032 | } |
||
1033 | |||
1034 | /// <summary> |
||
1035 | /// Required Get body type |
||
1036 | /// </summary> |
||
1037 | public virtual PortSet<RoboBoardState,Fault> Get() |
||
1038 | { |
||
1039 | Microsoft.Dss.ServiceModel.Dssp.GetRequestType body = new Microsoft.Dss.ServiceModel.Dssp.GetRequestType(); |
||
1040 | Get op = new Get(body); |
||
1041 | this.Post(op); |
||
1042 | return op.ResponsePort; |
||
1043 | |||
1044 | } |
||
1045 | |||
1046 | /// <summary> |
||
1047 | /// Post Get and return the response port. |
||
1048 | /// </summary> |
||
1049 | public virtual PortSet<RoboBoardState,Fault> Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body) |
||
1050 | { |
||
1051 | Get op = new Get(); |
||
1052 | op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.GetRequestType(); |
||
1053 | this.Post(op); |
||
1054 | return op.ResponsePort; |
||
1055 | |||
1056 | } |
||
1057 | |||
1058 | /// <summary> |
||
1059 | /// DsspHttp Get request body |
||
1060 | /// </summary> |
||
1061 | public virtual PortSet<dssphttp.HttpResponseType,Fault> HttpGet() |
||
1062 | { |
||
1063 | dssphttp.HttpGetRequestType body = new dssphttp.HttpGetRequestType(); |
||
1064 | dssphttp.HttpGet op = new dssphttp.HttpGet(body); |
||
1065 | this.Post(op); |
||
1066 | return op.ResponsePort; |
||
1067 | |||
1068 | } |
||
1069 | |||
1070 | /// <summary> |
||
1071 | /// Post Http Get and return the response port. |
||
1072 | /// </summary> |
||
1073 | public virtual PortSet<dssphttp.HttpResponseType,Fault> HttpGet(dssphttp.HttpGetRequestType body) |
||
1074 | { |
||
1075 | dssphttp.HttpGet op = new dssphttp.HttpGet(); |
||
1076 | op.Body = body ?? new dssphttp.HttpGetRequestType(); |
||
1077 | this.Post(op); |
||
1078 | return op.ResponsePort; |
||
1079 | |||
1080 | } |
||
1081 | |||
1082 | /// <summary> |
||
1083 | /// Robo Board State |
||
1084 | /// </summary> |
||
1085 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,Fault> Replace() |
||
1086 | { |
||
1087 | RoboBoardState body = new RoboBoardState(); |
||
1088 | Replace op = new Replace(body); |
||
1089 | this.Post(op); |
||
1090 | return op.ResponsePort; |
||
1091 | |||
1092 | } |
||
1093 | |||
1094 | /// <summary> |
||
1095 | /// Post Replace and return the response port. |
||
1096 | /// </summary> |
||
1097 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,Fault> Replace(RoboBoardState body) |
||
1098 | { |
||
1099 | Replace op = new Replace(); |
||
1100 | op.Body = body ?? new RoboBoardState(); |
||
1101 | this.Post(op); |
||
1102 | return op.ResponsePort; |
||
1103 | |||
1104 | } |
||
1105 | |||
1106 | /// <summary> |
||
97 | gunterl | 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 | } |
||
1129 | |||
1130 | /// <summary> |
||
90 | gunterl | 1131 | /// Set Com Port Request |
1132 | /// </summary> |
||
1133 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort() |
||
1134 | { |
||
1135 | SetComPortRequest body = new SetComPortRequest(); |
||
1136 | SetComPort op = new SetComPort(body); |
||
1137 | this.Post(op); |
||
1138 | return op.ResponsePort; |
||
1139 | |||
1140 | } |
||
1141 | |||
1142 | /// <summary> |
||
1143 | /// Post Set Com Port and return the response port. |
||
1144 | /// </summary> |
||
1145 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetComPort(SetComPortRequest body) |
||
1146 | { |
||
1147 | SetComPort op = new SetComPort(); |
||
1148 | op.Body = body ?? new SetComPortRequest(); |
||
1149 | this.Post(op); |
||
1150 | return op.ResponsePort; |
||
1151 | |||
1152 | } |
||
1153 | |||
1154 | /// <summary> |
||
1155 | /// Receive Command Request |
||
1156 | /// </summary> |
||
1157 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> ReceiveCommand() |
||
1158 | { |
||
1159 | ReceiveCommandRequest body = new ReceiveCommandRequest(); |
||
1160 | ReceiveCommand op = new ReceiveCommand(body); |
||
1161 | this.Post(op); |
||
1162 | return op.ResponsePort; |
||
1163 | |||
1164 | } |
||
1165 | |||
1166 | /// <summary> |
||
1167 | /// Post Receive Command and return the response port. |
||
1168 | /// </summary> |
||
1169 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> ReceiveCommand(ReceiveCommandRequest body) |
||
1170 | { |
||
1171 | ReceiveCommand op = new ReceiveCommand(); |
||
1172 | op.Body = body ?? new ReceiveCommandRequest(); |
||
1173 | this.Post(op); |
||
1174 | return op.ResponsePort; |
||
1175 | |||
1176 | } |
||
1177 | |||
1178 | /// <summary> |
||
1179 | /// Send Command Request |
||
1180 | /// </summary> |
||
1181 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SendCommand() |
||
1182 | { |
||
1183 | SendCommandRequest body = new SendCommandRequest(); |
||
1184 | SendCommand op = new SendCommand(body); |
||
1185 | this.Post(op); |
||
1186 | return op.ResponsePort; |
||
1187 | |||
1188 | } |
||
1189 | |||
1190 | /// <summary> |
||
1191 | /// Post Send Command and return the response port. |
||
1192 | /// </summary> |
||
1193 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SendCommand(SendCommandRequest body) |
||
1194 | { |
||
1195 | SendCommand op = new SendCommand(); |
||
1196 | op.Body = body ?? new SendCommandRequest(); |
||
1197 | this.Post(op); |
||
1198 | return op.ResponsePort; |
||
1199 | |||
1200 | } |
||
1201 | |||
1202 | /// <summary> |
||
1203 | /// Level Request |
||
1204 | /// </summary> |
||
1205 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Level() |
||
1206 | { |
||
1207 | LevelRequest body = new LevelRequest(); |
||
1208 | Level op = new Level(body); |
||
1209 | this.Post(op); |
||
1210 | return op.ResponsePort; |
||
1211 | |||
1212 | } |
||
1213 | |||
1214 | /// <summary> |
||
1215 | /// Post Level and return the response port. |
||
1216 | /// </summary> |
||
1217 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Level(LevelRequest body) |
||
1218 | { |
||
1219 | Level op = new Level(); |
||
1220 | op.Body = body ?? new LevelRequest(); |
||
1221 | this.Post(op); |
||
1222 | return op.ResponsePort; |
||
1223 | |||
1224 | } |
||
1225 | |||
1226 | /// <summary> |
||
1227 | /// Control Request |
||
1228 | /// </summary> |
||
1229 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Control() |
||
1230 | { |
||
1231 | ControlRequest body = new ControlRequest(); |
||
1232 | Control op = new Control(body); |
||
1233 | this.Post(op); |
||
1234 | return op.ResponsePort; |
||
1235 | |||
1236 | } |
||
1237 | |||
1238 | /// <summary> |
||
1239 | /// Post Control and return the response port. |
||
1240 | /// </summary> |
||
1241 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> Control(ControlRequest body) |
||
1242 | { |
||
1243 | Control op = new Control(); |
||
1244 | op.Body = body ?? new ControlRequest(); |
||
1245 | this.Post(op); |
||
1246 | return op.ResponsePort; |
||
1247 | |||
1248 | } |
||
1249 | |||
1250 | /// <summary> |
||
1251 | /// Set Altitute Request |
||
1252 | /// </summary> |
||
1253 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetAltitute() |
||
1254 | { |
||
1255 | SetAltituteRequest body = new SetAltituteRequest(); |
||
1256 | SetAltitute op = new SetAltitute(body); |
||
1257 | this.Post(op); |
||
1258 | return op.ResponsePort; |
||
1259 | |||
1260 | } |
||
1261 | |||
1262 | /// <summary> |
||
1263 | /// Post Set Altitute and return the response port. |
||
1264 | /// </summary> |
||
1265 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetAltitute(SetAltituteRequest body) |
||
1266 | { |
||
1267 | SetAltitute op = new SetAltitute(); |
||
1268 | op.Body = body ?? new SetAltituteRequest(); |
||
1269 | this.Post(op); |
||
1270 | return op.ResponsePort; |
||
1271 | |||
1272 | } |
||
1273 | |||
1274 | /// <summary> |
||
1275 | /// Set Gas Request |
||
1276 | /// </summary> |
||
1277 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGas() |
||
1278 | { |
||
1279 | SetGasRequest body = new SetGasRequest(); |
||
1280 | SetGas op = new SetGas(body); |
||
1281 | this.Post(op); |
||
1282 | return op.ResponsePort; |
||
1283 | |||
1284 | } |
||
1285 | |||
1286 | /// <summary> |
||
1287 | /// Post Set Gas and return the response port. |
||
1288 | /// </summary> |
||
1289 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGas(SetGasRequest body) |
||
1290 | { |
||
1291 | SetGas op = new SetGas(); |
||
1292 | op.Body = body ?? new SetGasRequest(); |
||
1293 | this.Post(op); |
||
1294 | return op.ResponsePort; |
||
1295 | |||
1296 | } |
||
1297 | |||
1298 | /// <summary> |
||
1299 | /// Set Gier Request |
||
1300 | /// </summary> |
||
1301 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGier() |
||
1302 | { |
||
1303 | SetGierRequest body = new SetGierRequest(); |
||
1304 | SetGier op = new SetGier(body); |
||
1305 | this.Post(op); |
||
1306 | return op.ResponsePort; |
||
1307 | |||
1308 | } |
||
1309 | |||
1310 | /// <summary> |
||
1311 | /// Post Set Gier and return the response port. |
||
1312 | /// </summary> |
||
1313 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> SetGier(SetGierRequest body) |
||
1314 | { |
||
1315 | SetGier op = new SetGier(); |
||
1316 | op.Body = body ?? new SetGierRequest(); |
||
1317 | this.Post(op); |
||
1318 | return op.ResponsePort; |
||
1319 | |||
1320 | } |
||
1321 | |||
1322 | /// <summary> |
||
1323 | /// Increment Tick Request |
||
1324 | /// </summary> |
||
1325 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> IncrementTick() |
||
1326 | { |
||
1327 | IncrementTickRequest body = new IncrementTickRequest(); |
||
1328 | IncrementTick op = new IncrementTick(body); |
||
1329 | this.Post(op); |
||
1330 | return op.ResponsePort; |
||
1331 | |||
1332 | } |
||
1333 | |||
1334 | /// <summary> |
||
1335 | /// Post Increment Tick and return the response port. |
||
1336 | /// </summary> |
||
1337 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,Fault> IncrementTick(IncrementTickRequest body) |
||
1338 | { |
||
1339 | IncrementTick op = new IncrementTick(); |
||
1340 | op.Body = body ?? new IncrementTickRequest(); |
||
1341 | this.Post(op); |
||
1342 | return op.ResponsePort; |
||
1343 | |||
1344 | } |
||
1345 | |||
1346 | /// <summary> |
||
1347 | /// Post Subscribe and return the response port. |
||
1348 | /// </summary> |
||
1349 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,Fault> Subscribe(IPort notificationPort) |
||
1350 | { |
||
1351 | Subscribe op = new Subscribe(); |
||
1352 | op.Body = new Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType(); |
||
1353 | op.NotificationPort = notificationPort; |
||
1354 | this.Post(op); |
||
1355 | return op.ResponsePort; |
||
1356 | |||
1357 | } |
||
1358 | |||
1359 | /// <summary> |
||
1360 | /// Post Subscribe and return the response port. |
||
1361 | /// </summary> |
||
1362 | public virtual PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,Fault> Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body, IPort notificationPort) |
||
1363 | { |
||
1364 | Subscribe op = new Subscribe(); |
||
1365 | op.Body = body ?? new Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType(); |
||
1366 | op.NotificationPort = notificationPort; |
||
1367 | this.Post(op); |
||
1368 | return op.ResponsePort; |
||
1369 | |||
1370 | } |
||
1371 | } |
||
1372 | |||
1373 | /// <summary> |
||
1374 | /// Get |
||
1375 | /// </summary> |
||
1376 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1377 | public class Get : Microsoft.Dss.ServiceModel.Dssp.Get<Microsoft.Dss.ServiceModel.Dssp.GetRequestType, PortSet<RoboBoardState, Fault>> |
||
1378 | { |
||
1379 | |||
1380 | /// <summary> |
||
1381 | /// Get |
||
1382 | /// </summary> |
||
1383 | public Get() |
||
1384 | { |
||
1385 | } |
||
1386 | |||
1387 | /// <summary> |
||
1388 | /// Get |
||
1389 | /// </summary> |
||
1390 | public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body) : |
||
1391 | base(body) |
||
1392 | { |
||
1393 | } |
||
1394 | |||
1395 | /// <summary> |
||
1396 | /// Get |
||
1397 | /// </summary> |
||
1398 | public Get(Microsoft.Dss.ServiceModel.Dssp.GetRequestType body, Microsoft.Ccr.Core.PortSet<RoboBoardState,W3C.Soap.Fault> responsePort) : |
||
1399 | base(body, responsePort) |
||
1400 | { |
||
1401 | } |
||
1402 | } |
||
1403 | |||
1404 | /// <summary> |
||
1405 | /// Replace |
||
1406 | /// </summary> |
||
1407 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1408 | public class Replace : Microsoft.Dss.ServiceModel.Dssp.Replace<RoboBoardState, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType, Fault>> |
||
1409 | { |
||
1410 | |||
1411 | /// <summary> |
||
1412 | /// Replace |
||
1413 | /// </summary> |
||
1414 | public Replace() |
||
1415 | { |
||
1416 | } |
||
1417 | |||
1418 | /// <summary> |
||
1419 | /// Replace |
||
1420 | /// </summary> |
||
1421 | public Replace(RoboBoardState body) : |
||
1422 | base(body) |
||
1423 | { |
||
1424 | } |
||
1425 | |||
1426 | /// <summary> |
||
1427 | /// Replace |
||
1428 | /// </summary> |
||
1429 | public Replace(RoboBoardState body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType,W3C.Soap.Fault> responsePort) : |
||
1430 | base(body, responsePort) |
||
1431 | { |
||
1432 | } |
||
1433 | } |
||
1434 | |||
1435 | /// <summary> |
||
97 | gunterl | 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 | } |
||
1465 | |||
1466 | /// <summary> |
||
90 | gunterl | 1467 | /// Set Com Port |
1468 | /// </summary> |
||
1469 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1470 | public class SetComPort : Microsoft.Dss.ServiceModel.Dssp.Update<SetComPortRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1471 | { |
||
1472 | |||
1473 | /// <summary> |
||
1474 | /// Set Com Port |
||
1475 | /// </summary> |
||
1476 | public SetComPort() |
||
1477 | { |
||
1478 | } |
||
1479 | |||
1480 | /// <summary> |
||
1481 | /// Set Com Port |
||
1482 | /// </summary> |
||
1483 | public SetComPort(SetComPortRequest body) : |
||
1484 | base(body) |
||
1485 | { |
||
1486 | } |
||
1487 | |||
1488 | /// <summary> |
||
1489 | /// Set Com Port |
||
1490 | /// </summary> |
||
1491 | public SetComPort(SetComPortRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1492 | base(body, responsePort) |
||
1493 | { |
||
1494 | } |
||
1495 | } |
||
1496 | |||
1497 | /// <summary> |
||
1498 | /// Receive Command |
||
1499 | /// </summary> |
||
1500 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1501 | public class ReceiveCommand : Microsoft.Dss.ServiceModel.Dssp.Update<ReceiveCommandRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1502 | { |
||
1503 | |||
1504 | /// <summary> |
||
1505 | /// Receive Command |
||
1506 | /// </summary> |
||
1507 | public ReceiveCommand() |
||
1508 | { |
||
1509 | } |
||
1510 | |||
1511 | /// <summary> |
||
1512 | /// Receive Command |
||
1513 | /// </summary> |
||
1514 | public ReceiveCommand(ReceiveCommandRequest body) : |
||
1515 | base(body) |
||
1516 | { |
||
1517 | } |
||
1518 | |||
1519 | /// <summary> |
||
1520 | /// Receive Command |
||
1521 | /// </summary> |
||
1522 | public ReceiveCommand(ReceiveCommandRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1523 | base(body, responsePort) |
||
1524 | { |
||
1525 | } |
||
1526 | } |
||
1527 | |||
1528 | /// <summary> |
||
1529 | /// Send Command |
||
1530 | /// </summary> |
||
1531 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1532 | public class SendCommand : Microsoft.Dss.ServiceModel.Dssp.Update<SendCommandRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1533 | { |
||
1534 | |||
1535 | /// <summary> |
||
1536 | /// Send Command |
||
1537 | /// </summary> |
||
1538 | public SendCommand() |
||
1539 | { |
||
1540 | } |
||
1541 | |||
1542 | /// <summary> |
||
1543 | /// Send Command |
||
1544 | /// </summary> |
||
1545 | public SendCommand(SendCommandRequest body) : |
||
1546 | base(body) |
||
1547 | { |
||
1548 | } |
||
1549 | |||
1550 | /// <summary> |
||
1551 | /// Send Command |
||
1552 | /// </summary> |
||
1553 | public SendCommand(SendCommandRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1554 | base(body, responsePort) |
||
1555 | { |
||
1556 | } |
||
1557 | } |
||
1558 | |||
1559 | /// <summary> |
||
1560 | /// Level |
||
1561 | /// </summary> |
||
1562 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1563 | public class Level : Microsoft.Dss.ServiceModel.Dssp.Update<LevelRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1564 | { |
||
1565 | |||
1566 | /// <summary> |
||
1567 | /// Level |
||
1568 | /// </summary> |
||
1569 | public Level() |
||
1570 | { |
||
1571 | } |
||
1572 | |||
1573 | /// <summary> |
||
1574 | /// Level |
||
1575 | /// </summary> |
||
1576 | public Level(LevelRequest body) : |
||
1577 | base(body) |
||
1578 | { |
||
1579 | } |
||
1580 | |||
1581 | /// <summary> |
||
1582 | /// Level |
||
1583 | /// </summary> |
||
1584 | public Level(LevelRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1585 | base(body, responsePort) |
||
1586 | { |
||
1587 | } |
||
1588 | } |
||
1589 | |||
1590 | /// <summary> |
||
1591 | /// Control |
||
1592 | /// </summary> |
||
1593 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1594 | public class Control : Microsoft.Dss.ServiceModel.Dssp.Update<ControlRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1595 | { |
||
1596 | |||
1597 | /// <summary> |
||
1598 | /// Control |
||
1599 | /// </summary> |
||
1600 | public Control() |
||
1601 | { |
||
1602 | } |
||
1603 | |||
1604 | /// <summary> |
||
1605 | /// Control |
||
1606 | /// </summary> |
||
1607 | public Control(ControlRequest body) : |
||
1608 | base(body) |
||
1609 | { |
||
1610 | } |
||
1611 | |||
1612 | /// <summary> |
||
1613 | /// Control |
||
1614 | /// </summary> |
||
1615 | public Control(ControlRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1616 | base(body, responsePort) |
||
1617 | { |
||
1618 | } |
||
1619 | } |
||
1620 | |||
1621 | /// <summary> |
||
1622 | /// Set Altitute |
||
1623 | /// </summary> |
||
1624 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1625 | public class SetAltitute : Microsoft.Dss.ServiceModel.Dssp.Update<SetAltituteRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1626 | { |
||
1627 | |||
1628 | /// <summary> |
||
1629 | /// Set Altitute |
||
1630 | /// </summary> |
||
1631 | public SetAltitute() |
||
1632 | { |
||
1633 | } |
||
1634 | |||
1635 | /// <summary> |
||
1636 | /// Set Altitute |
||
1637 | /// </summary> |
||
1638 | public SetAltitute(SetAltituteRequest body) : |
||
1639 | base(body) |
||
1640 | { |
||
1641 | } |
||
1642 | |||
1643 | /// <summary> |
||
1644 | /// Set Altitute |
||
1645 | /// </summary> |
||
1646 | public SetAltitute(SetAltituteRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1647 | base(body, responsePort) |
||
1648 | { |
||
1649 | } |
||
1650 | } |
||
1651 | |||
1652 | /// <summary> |
||
1653 | /// Set Gas |
||
1654 | /// </summary> |
||
1655 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1656 | public class SetGas : Microsoft.Dss.ServiceModel.Dssp.Update<SetGasRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1657 | { |
||
1658 | |||
1659 | /// <summary> |
||
1660 | /// Set Gas |
||
1661 | /// </summary> |
||
1662 | public SetGas() |
||
1663 | { |
||
1664 | } |
||
1665 | |||
1666 | /// <summary> |
||
1667 | /// Set Gas |
||
1668 | /// </summary> |
||
1669 | public SetGas(SetGasRequest body) : |
||
1670 | base(body) |
||
1671 | { |
||
1672 | } |
||
1673 | |||
1674 | /// <summary> |
||
1675 | /// Set Gas |
||
1676 | /// </summary> |
||
1677 | public SetGas(SetGasRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1678 | base(body, responsePort) |
||
1679 | { |
||
1680 | } |
||
1681 | } |
||
1682 | |||
1683 | /// <summary> |
||
1684 | /// Set Gier |
||
1685 | /// </summary> |
||
1686 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1687 | public class SetGier : Microsoft.Dss.ServiceModel.Dssp.Update<SetGierRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1688 | { |
||
1689 | |||
1690 | /// <summary> |
||
1691 | /// Set Gier |
||
1692 | /// </summary> |
||
1693 | public SetGier() |
||
1694 | { |
||
1695 | } |
||
1696 | |||
1697 | /// <summary> |
||
1698 | /// Set Gier |
||
1699 | /// </summary> |
||
1700 | public SetGier(SetGierRequest body) : |
||
1701 | base(body) |
||
1702 | { |
||
1703 | } |
||
1704 | |||
1705 | /// <summary> |
||
1706 | /// Set Gier |
||
1707 | /// </summary> |
||
1708 | public SetGier(SetGierRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1709 | base(body, responsePort) |
||
1710 | { |
||
1711 | } |
||
1712 | } |
||
1713 | |||
1714 | /// <summary> |
||
1715 | /// Increment Tick |
||
1716 | /// </summary> |
||
1717 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1718 | public class IncrementTick : Microsoft.Dss.ServiceModel.Dssp.Update<IncrementTickRequest, PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType, Fault>> |
||
1719 | { |
||
1720 | |||
1721 | /// <summary> |
||
1722 | /// Increment Tick |
||
1723 | /// </summary> |
||
1724 | public IncrementTick() |
||
1725 | { |
||
1726 | } |
||
1727 | |||
1728 | /// <summary> |
||
1729 | /// Increment Tick |
||
1730 | /// </summary> |
||
1731 | public IncrementTick(IncrementTickRequest body) : |
||
1732 | base(body) |
||
1733 | { |
||
1734 | } |
||
1735 | |||
1736 | /// <summary> |
||
1737 | /// Increment Tick |
||
1738 | /// </summary> |
||
1739 | public IncrementTick(IncrementTickRequest body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.DefaultUpdateResponseType,W3C.Soap.Fault> responsePort) : |
||
1740 | base(body, responsePort) |
||
1741 | { |
||
1742 | } |
||
1743 | } |
||
1744 | |||
1745 | /// <summary> |
||
1746 | /// Subscribe |
||
1747 | /// </summary> |
||
1748 | [XmlTypeAttribute(IncludeInSchema=false)] |
||
1749 | public class Subscribe : Microsoft.Dss.ServiceModel.Dssp.Subscribe<Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType, PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType, Fault>> |
||
1750 | { |
||
1751 | |||
1752 | /// <summary> |
||
1753 | /// Subscribe |
||
1754 | /// </summary> |
||
1755 | public Subscribe() |
||
1756 | { |
||
1757 | } |
||
1758 | |||
1759 | /// <summary> |
||
1760 | /// Subscribe |
||
1761 | /// </summary> |
||
1762 | public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body) : |
||
1763 | base(body) |
||
1764 | { |
||
1765 | } |
||
1766 | |||
1767 | /// <summary> |
||
1768 | /// Subscribe |
||
1769 | /// </summary> |
||
1770 | public Subscribe(Microsoft.Dss.ServiceModel.Dssp.SubscribeRequestType body, Microsoft.Ccr.Core.PortSet<Microsoft.Dss.ServiceModel.Dssp.SubscribeResponseType,W3C.Soap.Fault> responsePort) : |
||
1771 | base(body, responsePort) |
||
1772 | { |
||
1773 | } |
||
1774 | } |
||
1775 | } |