Subversion Repositories Projects

Rev

Rev 90 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
90 gunterl 1
using System;
2
using Microsoft.Dss.Core.Attributes;
3
using Microsoft.Dss.Core.Transforms;
4
 
5
#if NET_CF20
6
[assembly: ServiceDeclaration(DssServiceDeclaration.Transform, SourceAssemblyKey = @"cf.roboboardservice.y2007.m08, version=0.0.0.0, culture=neutral, publickeytoken=7a99181333b055f6")]
7
#else
8
[assembly: ServiceDeclaration(DssServiceDeclaration.Transform, SourceAssemblyKey = @"roboboardservice.y2007.m08, version=0.0.0.0, culture=neutral, publickeytoken=7a99181333b055f6")]
9
#endif
10
#if !URT_MINCLR
11
[assembly: System.Security.SecurityTransparent]
12
[assembly: System.Security.AllowPartiallyTrustedCallers]
13
#endif
14
 
15
namespace Dss.Transforms.TransformRoboBoardService
16
{
17
 
18
    public class Transforms: TransformBase
19
    {
20
 
21
        public static object Transform_Robotics_RoboBoard_Proxy_RoboBoardState_TO_Robotics_RoboBoard_RoboBoardState(object transformFrom)
22
        {
23
            Robotics.RoboBoard.RoboBoardState target = new Robotics.RoboBoard.RoboBoardState();
24
            Robotics.RoboBoard.Proxy.RoboBoardState from = transformFrom as Robotics.RoboBoard.Proxy.RoboBoardState;
25
            target.ComPort = from.ComPort;
26
            return target;
27
        }
28
 
29
 
30
        public static object Transform_Robotics_RoboBoard_RoboBoardState_TO_Robotics_RoboBoard_Proxy_RoboBoardState(object transformFrom)
31
        {
32
            Robotics.RoboBoard.Proxy.RoboBoardState target = new Robotics.RoboBoard.Proxy.RoboBoardState();
33
            Robotics.RoboBoard.RoboBoardState from = transformFrom as Robotics.RoboBoard.RoboBoardState;
34
            target.ComPort = from.ComPort;
35
            return target;
36
        }
37
 
38
 
97 gunterl 39
        public static object Transform_Robotics_RoboBoard_Proxy_InitCompleteRequest_TO_Robotics_RoboBoard_InitCompleteRequest(object transformFrom)
40
        {
41
            Robotics.RoboBoard.InitCompleteRequest target = new Robotics.RoboBoard.InitCompleteRequest();
42
            Robotics.RoboBoard.Proxy.InitCompleteRequest from = transformFrom as Robotics.RoboBoard.Proxy.InitCompleteRequest;
43
            target.Command = from.Command;
44
            return target;
45
        }
46
 
47
 
48
        public static object Transform_Robotics_RoboBoard_InitCompleteRequest_TO_Robotics_RoboBoard_Proxy_InitCompleteRequest(object transformFrom)
49
        {
50
            Robotics.RoboBoard.Proxy.InitCompleteRequest target = new Robotics.RoboBoard.Proxy.InitCompleteRequest();
51
            Robotics.RoboBoard.InitCompleteRequest from = transformFrom as Robotics.RoboBoard.InitCompleteRequest;
52
            target.Command = from.Command;
53
            return target;
54
        }
55
 
56
 
90 gunterl 57
        public static object Transform_Robotics_RoboBoard_Proxy_SetComPortRequest_TO_Robotics_RoboBoard_SetComPortRequest(object transformFrom)
58
        {
59
            Robotics.RoboBoard.SetComPortRequest target = new Robotics.RoboBoard.SetComPortRequest();
60
            Robotics.RoboBoard.Proxy.SetComPortRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetComPortRequest;
61
            target.PortName = from.PortName;
62
            return target;
63
        }
64
 
65
 
66
        public static object Transform_Robotics_RoboBoard_SetComPortRequest_TO_Robotics_RoboBoard_Proxy_SetComPortRequest(object transformFrom)
67
        {
68
            Robotics.RoboBoard.Proxy.SetComPortRequest target = new Robotics.RoboBoard.Proxy.SetComPortRequest();
69
            Robotics.RoboBoard.SetComPortRequest from = transformFrom as Robotics.RoboBoard.SetComPortRequest;
70
            target.PortName = from.PortName;
71
            return target;
72
        }
73
 
74
 
75
        public static object Transform_Robotics_RoboBoard_Proxy_ReceiveCommandRequest_TO_Robotics_RoboBoard_ReceiveCommandRequest(object transformFrom)
76
        {
77
            Robotics.RoboBoard.ReceiveCommandRequest target = new Robotics.RoboBoard.ReceiveCommandRequest();
78
            Robotics.RoboBoard.Proxy.ReceiveCommandRequest from = transformFrom as Robotics.RoboBoard.Proxy.ReceiveCommandRequest;
79
            target.Command = from.Command;
80
            return target;
81
        }
82
 
83
 
84
        public static object Transform_Robotics_RoboBoard_ReceiveCommandRequest_TO_Robotics_RoboBoard_Proxy_ReceiveCommandRequest(object transformFrom)
85
        {
86
            Robotics.RoboBoard.Proxy.ReceiveCommandRequest target = new Robotics.RoboBoard.Proxy.ReceiveCommandRequest();
87
            Robotics.RoboBoard.ReceiveCommandRequest from = transformFrom as Robotics.RoboBoard.ReceiveCommandRequest;
88
            target.Command = from.Command;
89
            return target;
90
        }
91
 
92
 
93
        public static object Transform_Robotics_RoboBoard_Proxy_SendCommandRequest_TO_Robotics_RoboBoard_SendCommandRequest(object transformFrom)
94
        {
95
            Robotics.RoboBoard.SendCommandRequest target = new Robotics.RoboBoard.SendCommandRequest();
96
            Robotics.RoboBoard.Proxy.SendCommandRequest from = transformFrom as Robotics.RoboBoard.Proxy.SendCommandRequest;
97
            target.Command = from.Command;
98
            return target;
99
        }
100
 
101
 
102
        public static object Transform_Robotics_RoboBoard_SendCommandRequest_TO_Robotics_RoboBoard_Proxy_SendCommandRequest(object transformFrom)
103
        {
104
            Robotics.RoboBoard.Proxy.SendCommandRequest target = new Robotics.RoboBoard.Proxy.SendCommandRequest();
105
            Robotics.RoboBoard.SendCommandRequest from = transformFrom as Robotics.RoboBoard.SendCommandRequest;
106
            target.Command = from.Command;
107
            return target;
108
        }
109
 
110
 
111
        public static object Transform_Robotics_RoboBoard_Proxy_LevelRequest_TO_Robotics_RoboBoard_LevelRequest(object transformFrom)
112
        {
113
            Robotics.RoboBoard.LevelRequest target = new Robotics.RoboBoard.LevelRequest();
114
            Robotics.RoboBoard.Proxy.LevelRequest from = transformFrom as Robotics.RoboBoard.Proxy.LevelRequest;
115
            target.Roll = from.Roll;
116
            target.Nick = from.Nick;
117
            return target;
118
        }
119
 
120
 
121
        public static object Transform_Robotics_RoboBoard_LevelRequest_TO_Robotics_RoboBoard_Proxy_LevelRequest(object transformFrom)
122
        {
123
            Robotics.RoboBoard.Proxy.LevelRequest target = new Robotics.RoboBoard.Proxy.LevelRequest();
124
            Robotics.RoboBoard.LevelRequest from = transformFrom as Robotics.RoboBoard.LevelRequest;
125
            target.Roll = from.Roll;
126
            target.Nick = from.Nick;
127
            return target;
128
        }
129
 
130
 
131
        public static object Transform_Robotics_RoboBoard_Proxy_ControlRequest_TO_Robotics_RoboBoard_ControlRequest(object transformFrom)
132
        {
133
            Robotics.RoboBoard.ControlRequest target = new Robotics.RoboBoard.ControlRequest();
134
            Robotics.RoboBoard.Proxy.ControlRequest from = transformFrom as Robotics.RoboBoard.Proxy.ControlRequest;
135
            target.Roll = from.Roll;
136
            target.Nick = from.Nick;
137
            return target;
138
        }
139
 
140
 
141
        public static object Transform_Robotics_RoboBoard_ControlRequest_TO_Robotics_RoboBoard_Proxy_ControlRequest(object transformFrom)
142
        {
143
            Robotics.RoboBoard.Proxy.ControlRequest target = new Robotics.RoboBoard.Proxy.ControlRequest();
144
            Robotics.RoboBoard.ControlRequest from = transformFrom as Robotics.RoboBoard.ControlRequest;
145
            target.Roll = from.Roll;
146
            target.Nick = from.Nick;
147
            return target;
148
        }
149
 
150
 
151
        public static object Transform_Robotics_RoboBoard_Proxy_SetAltituteRequest_TO_Robotics_RoboBoard_SetAltituteRequest(object transformFrom)
152
        {
153
            Robotics.RoboBoard.SetAltituteRequest target = new Robotics.RoboBoard.SetAltituteRequest();
154
            Robotics.RoboBoard.Proxy.SetAltituteRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetAltituteRequest;
155
            target.Altitute = from.Altitute;
156
            return target;
157
        }
158
 
159
 
160
        public static object Transform_Robotics_RoboBoard_SetAltituteRequest_TO_Robotics_RoboBoard_Proxy_SetAltituteRequest(object transformFrom)
161
        {
162
            Robotics.RoboBoard.Proxy.SetAltituteRequest target = new Robotics.RoboBoard.Proxy.SetAltituteRequest();
163
            Robotics.RoboBoard.SetAltituteRequest from = transformFrom as Robotics.RoboBoard.SetAltituteRequest;
164
            target.Altitute = from.Altitute;
165
            return target;
166
        }
167
 
168
 
169
        public static object Transform_Robotics_RoboBoard_Proxy_SetGasRequest_TO_Robotics_RoboBoard_SetGasRequest(object transformFrom)
170
        {
171
            Robotics.RoboBoard.SetGasRequest target = new Robotics.RoboBoard.SetGasRequest();
172
            Robotics.RoboBoard.Proxy.SetGasRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetGasRequest;
173
            target.Gas = from.Gas;
174
            return target;
175
        }
176
 
177
 
178
        public static object Transform_Robotics_RoboBoard_SetGasRequest_TO_Robotics_RoboBoard_Proxy_SetGasRequest(object transformFrom)
179
        {
180
            Robotics.RoboBoard.Proxy.SetGasRequest target = new Robotics.RoboBoard.Proxy.SetGasRequest();
181
            Robotics.RoboBoard.SetGasRequest from = transformFrom as Robotics.RoboBoard.SetGasRequest;
182
            target.Gas = from.Gas;
183
            return target;
184
        }
185
 
186
 
187
        public static object Transform_Robotics_RoboBoard_Proxy_SetGierRequest_TO_Robotics_RoboBoard_SetGierRequest(object transformFrom)
188
        {
189
            Robotics.RoboBoard.SetGierRequest target = new Robotics.RoboBoard.SetGierRequest();
190
            Robotics.RoboBoard.Proxy.SetGierRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetGierRequest;
191
            target.Gier = from.Gier;
192
            return target;
193
        }
194
 
195
 
196
        public static object Transform_Robotics_RoboBoard_SetGierRequest_TO_Robotics_RoboBoard_Proxy_SetGierRequest(object transformFrom)
197
        {
198
            Robotics.RoboBoard.Proxy.SetGierRequest target = new Robotics.RoboBoard.Proxy.SetGierRequest();
199
            Robotics.RoboBoard.SetGierRequest from = transformFrom as Robotics.RoboBoard.SetGierRequest;
200
            target.Gier = from.Gier;
201
            return target;
202
        }
203
 
204
 
205
        public static object Transform_Robotics_RoboBoard_Proxy_IncrementTickRequest_TO_Robotics_RoboBoard_IncrementTickRequest(object transformFrom)
206
        {
207
            Robotics.RoboBoard.IncrementTickRequest target = new Robotics.RoboBoard.IncrementTickRequest();
208
            Robotics.RoboBoard.Proxy.IncrementTickRequest from = transformFrom as Robotics.RoboBoard.Proxy.IncrementTickRequest;
209
            target.Command = from.Command;
210
            return target;
211
        }
212
 
213
 
214
        public static object Transform_Robotics_RoboBoard_IncrementTickRequest_TO_Robotics_RoboBoard_Proxy_IncrementTickRequest(object transformFrom)
215
        {
216
            Robotics.RoboBoard.Proxy.IncrementTickRequest target = new Robotics.RoboBoard.Proxy.IncrementTickRequest();
217
            Robotics.RoboBoard.IncrementTickRequest from = transformFrom as Robotics.RoboBoard.IncrementTickRequest;
218
            target.Command = from.Command;
219
            return target;
220
        }
221
 
222
        static Transforms()
223
        {
224
            Register();
225
        }
226
        public static void Register()
227
        {
228
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.RoboBoardState), Transform_Robotics_RoboBoard_Proxy_RoboBoardState_TO_Robotics_RoboBoard_RoboBoardState);
229
            AddSourceTransform(typeof(Robotics.RoboBoard.RoboBoardState), Transform_Robotics_RoboBoard_RoboBoardState_TO_Robotics_RoboBoard_Proxy_RoboBoardState);
97 gunterl 230
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.InitCompleteRequest), Transform_Robotics_RoboBoard_Proxy_InitCompleteRequest_TO_Robotics_RoboBoard_InitCompleteRequest);
231
            AddSourceTransform(typeof(Robotics.RoboBoard.InitCompleteRequest), Transform_Robotics_RoboBoard_InitCompleteRequest_TO_Robotics_RoboBoard_Proxy_InitCompleteRequest);
90 gunterl 232
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetComPortRequest), Transform_Robotics_RoboBoard_Proxy_SetComPortRequest_TO_Robotics_RoboBoard_SetComPortRequest);
233
            AddSourceTransform(typeof(Robotics.RoboBoard.SetComPortRequest), Transform_Robotics_RoboBoard_SetComPortRequest_TO_Robotics_RoboBoard_Proxy_SetComPortRequest);
234
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.ReceiveCommandRequest), Transform_Robotics_RoboBoard_Proxy_ReceiveCommandRequest_TO_Robotics_RoboBoard_ReceiveCommandRequest);
235
            AddSourceTransform(typeof(Robotics.RoboBoard.ReceiveCommandRequest), Transform_Robotics_RoboBoard_ReceiveCommandRequest_TO_Robotics_RoboBoard_Proxy_ReceiveCommandRequest);
236
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SendCommandRequest), Transform_Robotics_RoboBoard_Proxy_SendCommandRequest_TO_Robotics_RoboBoard_SendCommandRequest);
237
            AddSourceTransform(typeof(Robotics.RoboBoard.SendCommandRequest), Transform_Robotics_RoboBoard_SendCommandRequest_TO_Robotics_RoboBoard_Proxy_SendCommandRequest);
238
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.LevelRequest), Transform_Robotics_RoboBoard_Proxy_LevelRequest_TO_Robotics_RoboBoard_LevelRequest);
239
            AddSourceTransform(typeof(Robotics.RoboBoard.LevelRequest), Transform_Robotics_RoboBoard_LevelRequest_TO_Robotics_RoboBoard_Proxy_LevelRequest);
240
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.ControlRequest), Transform_Robotics_RoboBoard_Proxy_ControlRequest_TO_Robotics_RoboBoard_ControlRequest);
241
            AddSourceTransform(typeof(Robotics.RoboBoard.ControlRequest), Transform_Robotics_RoboBoard_ControlRequest_TO_Robotics_RoboBoard_Proxy_ControlRequest);
242
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetAltituteRequest), Transform_Robotics_RoboBoard_Proxy_SetAltituteRequest_TO_Robotics_RoboBoard_SetAltituteRequest);
243
            AddSourceTransform(typeof(Robotics.RoboBoard.SetAltituteRequest), Transform_Robotics_RoboBoard_SetAltituteRequest_TO_Robotics_RoboBoard_Proxy_SetAltituteRequest);
244
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetGasRequest), Transform_Robotics_RoboBoard_Proxy_SetGasRequest_TO_Robotics_RoboBoard_SetGasRequest);
245
            AddSourceTransform(typeof(Robotics.RoboBoard.SetGasRequest), Transform_Robotics_RoboBoard_SetGasRequest_TO_Robotics_RoboBoard_Proxy_SetGasRequest);
246
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetGierRequest), Transform_Robotics_RoboBoard_Proxy_SetGierRequest_TO_Robotics_RoboBoard_SetGierRequest);
247
            AddSourceTransform(typeof(Robotics.RoboBoard.SetGierRequest), Transform_Robotics_RoboBoard_SetGierRequest_TO_Robotics_RoboBoard_Proxy_SetGierRequest);
248
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.IncrementTickRequest), Transform_Robotics_RoboBoard_Proxy_IncrementTickRequest_TO_Robotics_RoboBoard_IncrementTickRequest);
249
            AddSourceTransform(typeof(Robotics.RoboBoard.IncrementTickRequest), Transform_Robotics_RoboBoard_IncrementTickRequest_TO_Robotics_RoboBoard_Proxy_IncrementTickRequest);
250
        }
251
    }
252
}
253