Subversion Repositories Projects

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

using System;
using Microsoft.Dss.Core.Attributes;
using Microsoft.Dss.Core.Transforms;

#if NET_CF20
[assembly: ServiceDeclaration(DssServiceDeclaration.Transform, SourceAssemblyKey = @"cf.roboboardservice.y2007.m08, version=0.0.0.0, culture=neutral, publickeytoken=7a99181333b055f6")]
#else
[assembly: ServiceDeclaration(DssServiceDeclaration.Transform, SourceAssemblyKey = @"roboboardservice.y2007.m08, version=0.0.0.0, culture=neutral, publickeytoken=7a99181333b055f6")]
#endif
#if !URT_MINCLR
[assembly: System.Security.SecurityTransparent]
[assembly: System.Security.AllowPartiallyTrustedCallers]
#endif

namespace Dss.Transforms.TransformRoboBoardService
{

    public class Transforms: TransformBase
    {

        public static object Transform_Robotics_RoboBoard_Proxy_RoboBoardState_TO_Robotics_RoboBoard_RoboBoardState(object transformFrom)
        {
            Robotics.RoboBoard.RoboBoardState target = new Robotics.RoboBoard.RoboBoardState();
            Robotics.RoboBoard.Proxy.RoboBoardState from = transformFrom as Robotics.RoboBoard.Proxy.RoboBoardState;
            target.ComPort = from.ComPort;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_RoboBoardState_TO_Robotics_RoboBoard_Proxy_RoboBoardState(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.RoboBoardState target = new Robotics.RoboBoard.Proxy.RoboBoardState();
            Robotics.RoboBoard.RoboBoardState from = transformFrom as Robotics.RoboBoard.RoboBoardState;
            target.ComPort = from.ComPort;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_SetComPortRequest_TO_Robotics_RoboBoard_SetComPortRequest(object transformFrom)
        {
            Robotics.RoboBoard.SetComPortRequest target = new Robotics.RoboBoard.SetComPortRequest();
            Robotics.RoboBoard.Proxy.SetComPortRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetComPortRequest;
            target.PortName = from.PortName;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_SetComPortRequest_TO_Robotics_RoboBoard_Proxy_SetComPortRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.SetComPortRequest target = new Robotics.RoboBoard.Proxy.SetComPortRequest();
            Robotics.RoboBoard.SetComPortRequest from = transformFrom as Robotics.RoboBoard.SetComPortRequest;
            target.PortName = from.PortName;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_ReceiveCommandRequest_TO_Robotics_RoboBoard_ReceiveCommandRequest(object transformFrom)
        {
            Robotics.RoboBoard.ReceiveCommandRequest target = new Robotics.RoboBoard.ReceiveCommandRequest();
            Robotics.RoboBoard.Proxy.ReceiveCommandRequest from = transformFrom as Robotics.RoboBoard.Proxy.ReceiveCommandRequest;
            target.Command = from.Command;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_ReceiveCommandRequest_TO_Robotics_RoboBoard_Proxy_ReceiveCommandRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.ReceiveCommandRequest target = new Robotics.RoboBoard.Proxy.ReceiveCommandRequest();
            Robotics.RoboBoard.ReceiveCommandRequest from = transformFrom as Robotics.RoboBoard.ReceiveCommandRequest;
            target.Command = from.Command;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_SendCommandRequest_TO_Robotics_RoboBoard_SendCommandRequest(object transformFrom)
        {
            Robotics.RoboBoard.SendCommandRequest target = new Robotics.RoboBoard.SendCommandRequest();
            Robotics.RoboBoard.Proxy.SendCommandRequest from = transformFrom as Robotics.RoboBoard.Proxy.SendCommandRequest;
            target.Command = from.Command;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_SendCommandRequest_TO_Robotics_RoboBoard_Proxy_SendCommandRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.SendCommandRequest target = new Robotics.RoboBoard.Proxy.SendCommandRequest();
            Robotics.RoboBoard.SendCommandRequest from = transformFrom as Robotics.RoboBoard.SendCommandRequest;
            target.Command = from.Command;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_LevelRequest_TO_Robotics_RoboBoard_LevelRequest(object transformFrom)
        {
            Robotics.RoboBoard.LevelRequest target = new Robotics.RoboBoard.LevelRequest();
            Robotics.RoboBoard.Proxy.LevelRequest from = transformFrom as Robotics.RoboBoard.Proxy.LevelRequest;
            target.Roll = from.Roll;
            target.Nick = from.Nick;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_LevelRequest_TO_Robotics_RoboBoard_Proxy_LevelRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.LevelRequest target = new Robotics.RoboBoard.Proxy.LevelRequest();
            Robotics.RoboBoard.LevelRequest from = transformFrom as Robotics.RoboBoard.LevelRequest;
            target.Roll = from.Roll;
            target.Nick = from.Nick;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_ControlRequest_TO_Robotics_RoboBoard_ControlRequest(object transformFrom)
        {
            Robotics.RoboBoard.ControlRequest target = new Robotics.RoboBoard.ControlRequest();
            Robotics.RoboBoard.Proxy.ControlRequest from = transformFrom as Robotics.RoboBoard.Proxy.ControlRequest;
            target.Roll = from.Roll;
            target.Nick = from.Nick;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_ControlRequest_TO_Robotics_RoboBoard_Proxy_ControlRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.ControlRequest target = new Robotics.RoboBoard.Proxy.ControlRequest();
            Robotics.RoboBoard.ControlRequest from = transformFrom as Robotics.RoboBoard.ControlRequest;
            target.Roll = from.Roll;
            target.Nick = from.Nick;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_SetAltituteRequest_TO_Robotics_RoboBoard_SetAltituteRequest(object transformFrom)
        {
            Robotics.RoboBoard.SetAltituteRequest target = new Robotics.RoboBoard.SetAltituteRequest();
            Robotics.RoboBoard.Proxy.SetAltituteRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetAltituteRequest;
            target.Altitute = from.Altitute;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_SetAltituteRequest_TO_Robotics_RoboBoard_Proxy_SetAltituteRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.SetAltituteRequest target = new Robotics.RoboBoard.Proxy.SetAltituteRequest();
            Robotics.RoboBoard.SetAltituteRequest from = transformFrom as Robotics.RoboBoard.SetAltituteRequest;
            target.Altitute = from.Altitute;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_SetGasRequest_TO_Robotics_RoboBoard_SetGasRequest(object transformFrom)
        {
            Robotics.RoboBoard.SetGasRequest target = new Robotics.RoboBoard.SetGasRequest();
            Robotics.RoboBoard.Proxy.SetGasRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetGasRequest;
            target.Gas = from.Gas;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_SetGasRequest_TO_Robotics_RoboBoard_Proxy_SetGasRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.SetGasRequest target = new Robotics.RoboBoard.Proxy.SetGasRequest();
            Robotics.RoboBoard.SetGasRequest from = transformFrom as Robotics.RoboBoard.SetGasRequest;
            target.Gas = from.Gas;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_SetGierRequest_TO_Robotics_RoboBoard_SetGierRequest(object transformFrom)
        {
            Robotics.RoboBoard.SetGierRequest target = new Robotics.RoboBoard.SetGierRequest();
            Robotics.RoboBoard.Proxy.SetGierRequest from = transformFrom as Robotics.RoboBoard.Proxy.SetGierRequest;
            target.Gier = from.Gier;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_SetGierRequest_TO_Robotics_RoboBoard_Proxy_SetGierRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.SetGierRequest target = new Robotics.RoboBoard.Proxy.SetGierRequest();
            Robotics.RoboBoard.SetGierRequest from = transformFrom as Robotics.RoboBoard.SetGierRequest;
            target.Gier = from.Gier;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_Proxy_IncrementTickRequest_TO_Robotics_RoboBoard_IncrementTickRequest(object transformFrom)
        {
            Robotics.RoboBoard.IncrementTickRequest target = new Robotics.RoboBoard.IncrementTickRequest();
            Robotics.RoboBoard.Proxy.IncrementTickRequest from = transformFrom as Robotics.RoboBoard.Proxy.IncrementTickRequest;
            target.Command = from.Command;
            return target;
        }


        public static object Transform_Robotics_RoboBoard_IncrementTickRequest_TO_Robotics_RoboBoard_Proxy_IncrementTickRequest(object transformFrom)
        {
            Robotics.RoboBoard.Proxy.IncrementTickRequest target = new Robotics.RoboBoard.Proxy.IncrementTickRequest();
            Robotics.RoboBoard.IncrementTickRequest from = transformFrom as Robotics.RoboBoard.IncrementTickRequest;
            target.Command = from.Command;
            return target;
        }

        static Transforms()
        {
            Register();
        }
        public static void Register()
        {
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.RoboBoardState), Transform_Robotics_RoboBoard_Proxy_RoboBoardState_TO_Robotics_RoboBoard_RoboBoardState);
            AddSourceTransform(typeof(Robotics.RoboBoard.RoboBoardState), Transform_Robotics_RoboBoard_RoboBoardState_TO_Robotics_RoboBoard_Proxy_RoboBoardState);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetComPortRequest), Transform_Robotics_RoboBoard_Proxy_SetComPortRequest_TO_Robotics_RoboBoard_SetComPortRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.SetComPortRequest), Transform_Robotics_RoboBoard_SetComPortRequest_TO_Robotics_RoboBoard_Proxy_SetComPortRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.ReceiveCommandRequest), Transform_Robotics_RoboBoard_Proxy_ReceiveCommandRequest_TO_Robotics_RoboBoard_ReceiveCommandRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.ReceiveCommandRequest), Transform_Robotics_RoboBoard_ReceiveCommandRequest_TO_Robotics_RoboBoard_Proxy_ReceiveCommandRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SendCommandRequest), Transform_Robotics_RoboBoard_Proxy_SendCommandRequest_TO_Robotics_RoboBoard_SendCommandRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.SendCommandRequest), Transform_Robotics_RoboBoard_SendCommandRequest_TO_Robotics_RoboBoard_Proxy_SendCommandRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.LevelRequest), Transform_Robotics_RoboBoard_Proxy_LevelRequest_TO_Robotics_RoboBoard_LevelRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.LevelRequest), Transform_Robotics_RoboBoard_LevelRequest_TO_Robotics_RoboBoard_Proxy_LevelRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.ControlRequest), Transform_Robotics_RoboBoard_Proxy_ControlRequest_TO_Robotics_RoboBoard_ControlRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.ControlRequest), Transform_Robotics_RoboBoard_ControlRequest_TO_Robotics_RoboBoard_Proxy_ControlRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetAltituteRequest), Transform_Robotics_RoboBoard_Proxy_SetAltituteRequest_TO_Robotics_RoboBoard_SetAltituteRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.SetAltituteRequest), Transform_Robotics_RoboBoard_SetAltituteRequest_TO_Robotics_RoboBoard_Proxy_SetAltituteRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetGasRequest), Transform_Robotics_RoboBoard_Proxy_SetGasRequest_TO_Robotics_RoboBoard_SetGasRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.SetGasRequest), Transform_Robotics_RoboBoard_SetGasRequest_TO_Robotics_RoboBoard_Proxy_SetGasRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.SetGierRequest), Transform_Robotics_RoboBoard_Proxy_SetGierRequest_TO_Robotics_RoboBoard_SetGierRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.SetGierRequest), Transform_Robotics_RoboBoard_SetGierRequest_TO_Robotics_RoboBoard_Proxy_SetGierRequest);
            AddProxyTransform(typeof(Robotics.RoboBoard.Proxy.IncrementTickRequest), Transform_Robotics_RoboBoard_Proxy_IncrementTickRequest_TO_Robotics_RoboBoard_IncrementTickRequest);
            AddSourceTransform(typeof(Robotics.RoboBoard.IncrementTickRequest), Transform_Robotics_RoboBoard_IncrementTickRequest_TO_Robotics_RoboBoard_Proxy_IncrementTickRequest);
        }
    }
}