public static object Microsoft_Robotics_Services_GameController_Proxy_GetControllersResponse_TO_Microsoft_Robotics_Services_GameController_GetControllersResponse(object transformFrom)
 {
     global::Microsoft.Robotics.Services.GameController.GetControllersResponse       target = new global::Microsoft.Robotics.Services.GameController.GetControllersResponse();
     global::Microsoft.Robotics.Services.GameController.Proxy.GetControllersResponse from   = ((global::Microsoft.Robotics.Services.GameController.Proxy.GetControllersResponse)(transformFrom));
     if ((from.Controllers != null))
     {
         int count = from.Controllers.Count;
         global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.GameController.Controller> tmp = new global::System.Collections.Generic.List <global::Microsoft.Robotics.Services.GameController.Controller>(count);
         for (int index = 0; (index < count); index = (index + 1))
         {
             global::Microsoft.Robotics.Services.GameController.Controller tmp0 = default(global::Microsoft.Robotics.Services.GameController.Controller);
             if ((from.Controllers[index] != null))
             {
                 tmp0 = ((global::Microsoft.Robotics.Services.GameController.Controller)(Microsoft_Robotics_Services_GameController_Proxy_Controller_TO_Microsoft_Robotics_Services_GameController_Controller(from.Controllers[index])));
             }
             else
             {
                 tmp0 = null;
             }
             tmp.Add(tmp0);
         }
         target.Controllers = tmp;
     }
     else
     {
         target.Controllers = null;
     }
     return(target);
 }
 public static object Microsoft_Robotics_Services_GameController_GameControllerState_TO_Microsoft_Robotics_Services_GameController_Proxy_GameControllerState(object transformFrom)
 {
     global::Microsoft.Robotics.Services.GameController.Proxy.GameControllerState target = new global::Microsoft.Robotics.Services.GameController.Proxy.GameControllerState();
     global::Microsoft.Robotics.Services.GameController.GameControllerState       from   = ((global::Microsoft.Robotics.Services.GameController.GameControllerState)(transformFrom));
     target.TimeStamp = from.TimeStamp;
     global::Microsoft.Robotics.Services.GameController.Controller tmp = from.Controller;
     if ((tmp != null))
     {
         target.Controller = ((global::Microsoft.Robotics.Services.GameController.Proxy.Controller)(Microsoft_Robotics_Services_GameController_Controller_TO_Microsoft_Robotics_Services_GameController_Proxy_Controller(tmp)));
     }
     global::Microsoft.Robotics.Services.GameController.Axes tmp0 = from.Axes;
     if ((tmp0 != null))
     {
         target.Axes = ((global::Microsoft.Robotics.Services.GameController.Proxy.Axes)(Microsoft_Robotics_Services_GameController_Axes_TO_Microsoft_Robotics_Services_GameController_Proxy_Axes(tmp0)));
     }
     global::Microsoft.Robotics.Services.GameController.Buttons tmp1 = from.Buttons;
     if ((tmp1 != null))
     {
         target.Buttons = ((global::Microsoft.Robotics.Services.GameController.Proxy.Buttons)(Microsoft_Robotics_Services_GameController_Buttons_TO_Microsoft_Robotics_Services_GameController_Proxy_Buttons(tmp1)));
     }
     global::Microsoft.Robotics.Services.GameController.Sliders tmp2 = from.Sliders;
     if ((tmp2 != null))
     {
         target.Sliders = ((global::Microsoft.Robotics.Services.GameController.Proxy.Sliders)(Microsoft_Robotics_Services_GameController_Sliders_TO_Microsoft_Robotics_Services_GameController_Proxy_Sliders(tmp2)));
     }
     global::Microsoft.Robotics.Services.GameController.PovHats tmp3 = from.PovHats;
     if ((tmp3 != null))
     {
         target.PovHats = ((global::Microsoft.Robotics.Services.GameController.Proxy.PovHats)(Microsoft_Robotics_Services_GameController_PovHats_TO_Microsoft_Robotics_Services_GameController_Proxy_PovHats(tmp3)));
     }
     return(target);
 }
 public static object Microsoft_Robotics_Services_GameController_Controller_TO_Microsoft_Robotics_Services_GameController_Proxy_Controller(object transformFrom)
 {
     global::Microsoft.Robotics.Services.GameController.Proxy.Controller target = new global::Microsoft.Robotics.Services.GameController.Proxy.Controller();
     global::Microsoft.Robotics.Services.GameController.Controller       from   = ((global::Microsoft.Robotics.Services.GameController.Controller)(transformFrom));
     target.TimeStamp    = from.TimeStamp;
     target.Instance     = from.Instance;
     target.Product      = from.Product;
     target.InstanceName = from.InstanceName;
     target.ProductName  = from.ProductName;
     target.Current      = from.Current;
     return(target);
 }