public static object Microsoft_Robotics_Services_RobotDashboard_RobotDashboardState_TO_Microsoft_Robotics_Services_RobotDashboard_Proxy_RobotDashboardState(object transformFrom) { global::Microsoft.Robotics.Services.RobotDashboard.Proxy.RobotDashboardState target = new global::Microsoft.Robotics.Services.RobotDashboard.Proxy.RobotDashboardState(); global::Microsoft.Robotics.Services.RobotDashboard.RobotDashboardState from = ((global::Microsoft.Robotics.Services.RobotDashboard.RobotDashboardState)(transformFrom)); target.TiltAngle = from.TiltAngle; global::Microsoft.Robotics.Services.RobotDashboard.GUIOptions tmp = from.Options; if ((tmp != null)) { target.Options = ((global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions)(Microsoft_Robotics_Services_RobotDashboard_GUIOptions_TO_Microsoft_Robotics_Services_RobotDashboard_Proxy_GUIOptions(tmp))); } return(target); }
public static object Microsoft_Robotics_Services_RobotDashboard_GUIOptions_TO_Microsoft_Robotics_Services_RobotDashboard_Proxy_GUIOptions(object transformFrom) { global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions target = new global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions(); global::Microsoft.Robotics.Services.RobotDashboard.GUIOptions from = ((global::Microsoft.Robotics.Services.RobotDashboard.GUIOptions)(transformFrom)); target.WindowStartX = from.WindowStartX; target.WindowStartY = from.WindowStartY; target.DepthcamWindowStartX = from.DepthcamWindowStartX; target.DepthcamWindowStartY = from.DepthcamWindowStartY; target.DepthcamWindowWidth = from.DepthcamWindowWidth; target.DepthcamWindowHeight = from.DepthcamWindowHeight; target.WebcamWindowStartX = from.WebcamWindowStartX; target.WebcamWindowStartY = from.WebcamWindowStartY; target.WebcamWindowWidth = from.WebcamWindowWidth; target.WebcamWindowHeight = from.WebcamWindowHeight; target.DeadZoneX = from.DeadZoneX; target.DeadZoneY = from.DeadZoneY; target.TranslateScaleFactor = from.TranslateScaleFactor; target.RotateScaleFactor = from.RotateScaleFactor; target.CameraInterval = from.CameraInterval; return(target); }