/// <summary> ///Copies the data member values of the current MarkRobotState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.ReferencePlatform.MarkRobot.Proxy.MarkRobotState typedTarget = ((global::Microsoft.Robotics.ReferencePlatform.MarkRobot.Proxy.MarkRobotState)(target)); typedTarget._LastStartTime = this._LastStartTime; typedTarget._SensorPollingInterval = this._SensorPollingInterval; typedTarget._BatteryVoltagePinIndex = this._BatteryVoltagePinIndex; typedTarget._BatteryVoltageDivider = this._BatteryVoltageDivider; typedTarget._InfraredRawValueDivisorScalar = this._InfraredRawValueDivisorScalar; typedTarget._InfraredDistanceExponent = this._InfraredDistanceExponent; typedTarget._SonarTimeValueMultiplier = this._SonarTimeValueMultiplier; if ((this._DriveState != null)) { global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState tmp = new global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState(); ((Microsoft.Dss.Core.IDssSerializable)(this._DriveState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._DriveState = tmp; } if ((this._InfraredSensorState != null)) { global::Microsoft.Robotics.Services.InfraredSensorArray.Proxy.InfraredSensorArrayState tmp0 = new global::Microsoft.Robotics.Services.InfraredSensorArray.Proxy.InfraredSensorArrayState(); ((Microsoft.Dss.Core.IDssSerializable)(this._InfraredSensorState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp0))); typedTarget._InfraredSensorState = tmp0; } if ((this._SonarSensorState != null)) { global::Microsoft.Robotics.Services.SonarSensorArray.Proxy.SonarSensorArrayState tmp1 = new global::Microsoft.Robotics.Services.SonarSensorArray.Proxy.SonarSensorArrayState(); ((Microsoft.Dss.Core.IDssSerializable)(this._SonarSensorState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp1))); typedTarget._SonarSensorState = tmp1; } if ((this._BatteryState != null)) { global::Microsoft.Robotics.Services.Battery.Proxy.BatteryState tmp2 = new global::Microsoft.Robotics.Services.Battery.Proxy.BatteryState(); ((Microsoft.Dss.Core.IDssSerializable)(this._BatteryState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp2))); typedTarget._BatteryState = tmp2; } }
/// <summary> ///Copies the data member values of the current DiagramState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Robotics.FollowMe.Diagram.Proxy.DiagramState typedTarget = ((global::Robotics.FollowMe.Diagram.Proxy.DiagramState)(target)); typedTarget._Index = this._Index; typedTarget._Tracked = this._Tracked; typedTarget._Tracking = this._Tracking; }
/// <summary> ///Copies the data member values of the current MulticopterSimulationState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::MulticopterSimulation.Proxy.MulticopterSimulationState typedTarget = ((global::MulticopterSimulation.Proxy.MulticopterSimulationState)(target)); typedTarget._WindowControlX = this._WindowControlX; typedTarget._WindowControlY = this._WindowControlY; typedTarget._WindowSimulationSettingsX = this._WindowSimulationSettingsX; typedTarget._WindowSimulationSettingsY = this._WindowSimulationSettingsY; typedTarget._WindowStatisticsX = this._WindowStatisticsX; typedTarget._WindowStatisticsY = this._WindowStatisticsY; typedTarget._WindowPIDTuningX = this._WindowPIDTuningX; typedTarget._WindowPIDTuningY = this._WindowPIDTuningY; typedTarget._AttitudeP = this._AttitudeP; typedTarget._AttitudeI = this._AttitudeI; typedTarget._AttitudeD = this._AttitudeD; typedTarget._AltitudeP = this._AltitudeP; typedTarget._AltitudeI = this._AltitudeI; typedTarget._AltitudeD = this._AltitudeD; typedTarget._PositionP = this._PositionP; typedTarget._PositionI = this._PositionI; typedTarget._PositionD = this._PositionD; typedTarget._WindSimulationActivated = this._WindSimulationActivated; typedTarget._WindDirection = this._WindDirection; typedTarget._WindIntensity = this._WindIntensity; typedTarget._WindDirectionFluctuation = this._WindDirectionFluctuation; typedTarget._WindIntensityFluctuation = this._WindIntensityFluctuation; typedTarget._YScale = this._YScale; }
/// <summary> ///Copies the data member values of the current ServiceTutorial6State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::RoboticsServiceTutorial6.Proxy.ServiceTutorial6State typedTarget = ((global::RoboticsServiceTutorial6.Proxy.ServiceTutorial6State)(target)); typedTarget._Clock = this._Clock; typedTarget._InitialTicks = this._InitialTicks; typedTarget._TickCount = this._TickCount; }
/// <summary> ///Copies the data member values of the current ServiceTutorial7State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State typedTarget = ((global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State)(target)); if ((this._Clocks != null)) { int count = this._Clocks.Count; global::System.Collections.Generic.List <string> tmp = new global::System.Collections.Generic.List <string>(count); tmp.AddRange(this._Clocks); typedTarget._Clocks = tmp; } if ((this._TickCounts != null)) { int count0 = this._TickCounts.Count; global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount> tmp0 = new global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount>(count0); for (int index = 0; (index < count0); index = (index + 1)) { global::RoboticsServiceTutorial7.Proxy.TickCount tmp1 = default(global::RoboticsServiceTutorial7.Proxy.TickCount); if ((this._TickCounts[index] != null)) { global::RoboticsServiceTutorial7.Proxy.TickCount tmp2 = new global::RoboticsServiceTutorial7.Proxy.TickCount(); ((Microsoft.Dss.Core.IDssSerializable)(this._TickCounts[index])).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp2))); tmp1 = tmp2; } tmp0.Add(tmp1); } typedTarget._TickCounts = tmp0; } }
/// <summary> ///Copies the data member values of the current PIDController to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController typedTarget = ((global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController)(target)); typedTarget._Ki = this._Ki; typedTarget._Kp = this._Kp; typedTarget._Kd = this._Kd; }
/// <summary> ///Copies the data member values of the current ServiceTutorial10State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::ServiceTutorial10.Proxy.ServiceTutorial10State typedTarget = ((global::ServiceTutorial10.Proxy.ServiceTutorial10State)(target)); typedTarget._FirstName = this._FirstName; typedTarget._Initials = this._Initials; typedTarget._LastName = this._LastName; typedTarget._LastModified = this._LastModified; }
/// <summary> ///Copies the data member values of the current ColorSensorState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.Simulation.Sensors.ColorSensor.Proxy.ColorSensorState typedTarget = ((global::Microsoft.Robotics.Services.Simulation.Sensors.ColorSensor.Proxy.ColorSensorState)(target)); typedTarget._NormalizedAverageRed = this._NormalizedAverageRed; typedTarget._NormalizedAverageGreen = this._NormalizedAverageGreen; typedTarget._NormalizedAverageBlue = this._NormalizedAverageBlue; typedTarget._TimeStamp = this._TimeStamp; }
/// <summary> ///Copies the data member values of the current GPSSensorState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.Simulation.Sensors.GPSSensor.Proxy.GPSSensorState typedTarget = ((global::Microsoft.Robotics.Services.Simulation.Sensors.GPSSensor.Proxy.GPSSensorState)(target)); typedTarget._X = this._X; typedTarget._Y = this._Y; typedTarget._Z = this._Z; typedTarget._TimeStamp = this._TimeStamp; }
/// <summary> ///Copies the data member values of the current SimpleDashboardState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.SimpleDashboard.Proxy.SimpleDashboardState typedTarget = ((global::Microsoft.Robotics.Services.SimpleDashboard.Proxy.SimpleDashboardState)(target)); typedTarget._Log = this._Log; typedTarget._LogFile = this._LogFile; typedTarget._TranslateScaleFactor = this._TranslateScaleFactor; typedTarget._RotateScaleFactor = this._RotateScaleFactor; }
/// <summary> ///Copies the data member values of the current IREntity to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { base.CopyTo(target); global::Microsoft.Robotics.Services.Sample.SimulatedIRobotLite.Proxy.IREntity typedTarget = ((global::Microsoft.Robotics.Services.Sample.SimulatedIRobotLite.Proxy.IREntity)(target)); typedTarget._Distance = this._Distance; typedTarget._DispersionConeAngle = this._DispersionConeAngle; typedTarget._Samples = this._Samples; typedTarget._MaximumRange = this._MaximumRange; }
/// <summary> ///Copies the data member values of the current JointMoverState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::ProMRDS.Simulation.JointMover.Proxy.JointMoverState typedTarget = ((global::ProMRDS.Simulation.JointMover.Proxy.JointMoverState)(target)); if ((this._Joints != null)) { global::Microsoft.Dss.Core.Utilities.DssDictionary <string, global::ProMRDS.Simulation.JointMover.Proxy.DOFDesc> tmp = new global::Microsoft.Dss.Core.Utilities.DssDictionary <string, global::ProMRDS.Simulation.JointMover.Proxy.DOFDesc>(); ((Microsoft.Dss.Core.IDssSerializable)(this._Joints)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._Joints = tmp; } }
/// <summary> ///Copies the data member values of the current Settings to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.PursuitCamera.Proxy.Settings typedTarget = ((global::Microsoft.Robotics.Services.PursuitCamera.Proxy.Settings)(target)); typedTarget._MinDistance = this._MinDistance; typedTarget._MaxDistance = this._MaxDistance; typedTarget._Altitude = this._Altitude; typedTarget._OcclusionThreshold = this._OcclusionThreshold; typedTarget._PreventOcclusion = this._PreventOcclusion; typedTarget._FieldOfView = this._FieldOfView; }
/// <summary> ///Copies the data member values of the current IpCameraState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { base.CopyTo(target); global::Microsoft.Robotics.Services.Sample.IpCamera.Proxy.IpCameraState typedTarget = ((global::Microsoft.Robotics.Services.Sample.IpCamera.Proxy.IpCameraState)(target)); if ((this._CameraImageLocation != null)) { global::Microsoft.Dss.Core.Utilities.DssUri tmp = new global::Microsoft.Dss.Core.Utilities.DssUri(); ((Microsoft.Dss.Core.IDssSerializable)(this._CameraImageLocation)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._CameraImageLocation = tmp; } }
/// <summary> ///Copies the data member values of the current JointDesc to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::ProMRDS.Simulation.JointMover.Proxy.JointDesc typedTarget = ((global::ProMRDS.Simulation.JointMover.Proxy.JointDesc)(target)); typedTarget._Name = this._Name; typedTarget._Swing1Angle = this._Swing1Angle; typedTarget._Swing2Angle = this._Swing2Angle; typedTarget._TwistAngle = this._TwistAngle; typedTarget._X = this._X; typedTarget._Y = this._Y; typedTarget._Z = this._Z; }
/// <summary> ///Copies the data member values of the current PursuitCameraEntity to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { base.CopyTo(target); global::Microsoft.Robotics.Entities.PursuitCamera.Proxy.PursuitCameraEntity typedTarget = ((global::Microsoft.Robotics.Entities.PursuitCamera.Proxy.PursuitCameraEntity)(target)); typedTarget._TargetName = this._TargetName; typedTarget._MinDistance = this._MinDistance; typedTarget._MaxDistance = this._MaxDistance; typedTarget._Altitude = this._Altitude; typedTarget._PreventOcclusion = this._PreventOcclusion; typedTarget._OcclusionThreshold = this._OcclusionThreshold; }
/// <summary> ///Copies the data member values of the current SegmentEntity to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { base.CopyTo(target); global::Humanoid.Proxy.SegmentEntity typedTarget = ((global::Humanoid.Proxy.SegmentEntity)(target)); if ((this._CustomJoint != null)) { global::Microsoft.Robotics.PhysicalModel.Proxy.Joint tmp = new global::Microsoft.Robotics.PhysicalModel.Proxy.Joint(); ((Microsoft.Dss.Core.IDssSerializable)(this._CustomJoint)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._CustomJoint = tmp; } }
/// <summary> ///Copies the data member values of the current RobotDashboardState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.RobotDashboard.Proxy.RobotDashboardState typedTarget = ((global::Microsoft.Robotics.Services.RobotDashboard.Proxy.RobotDashboardState)(target)); typedTarget._TiltAngle = this._TiltAngle; if ((this._Options != null)) { global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions tmp = new global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions(); ((Microsoft.Dss.Core.IDssSerializable)(this._Options)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._Options = tmp; } }
/// <summary> ///Copies the data member values of the current ReferencePlatform2011State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.Simulation.ReferencePlatform2011.Proxy.ReferencePlatform2011State typedTarget = ((global::Microsoft.Robotics.Services.Simulation.ReferencePlatform2011.Proxy.ReferencePlatform2011State)(target)); typedTarget._InitialPosition = this._InitialPosition; typedTarget._EntityName = this._EntityName; if ((this._DriveState != null)) { global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState tmp = new global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState(); ((Microsoft.Dss.Core.IDssSerializable)(this._DriveState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._DriveState = tmp; } }
/// <summary> ///Copies the data member values of the current ObstacleAvoidanceDriveState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.ObstacleAvoidanceDriveState typedTarget = ((global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.ObstacleAvoidanceDriveState)(target)); typedTarget._RobotWidth = this._RobotWidth; typedTarget._MaxPowerPerWheel = this._MaxPowerPerWheel; typedTarget._MinRotationSpeed = this._MinRotationSpeed; typedTarget._DepthCameraPosition = this._DepthCameraPosition; if ((this._Controller != null)) { global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController tmp = new global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController(); ((Microsoft.Dss.Core.IDssSerializable)(this._Controller)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._Controller = tmp; } typedTarget._MaxDeltaPower = this._MaxDeltaPower; }
/// <summary> ///Copies the data member values of the current DOFDesc to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::ProMRDS.Simulation.JointMover.Proxy.DOFDesc typedTarget = ((global::ProMRDS.Simulation.JointMover.Proxy.DOFDesc)(target)); typedTarget._Name = this._Name; if ((this._Description != null)) { global::ProMRDS.Simulation.JointMover.Proxy.JointDesc tmp = new global::ProMRDS.Simulation.JointMover.Proxy.JointDesc(); ((Microsoft.Dss.Core.IDssSerializable)(this._Description)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._Description = tmp; } typedTarget._Type = this._Type; typedTarget._Minimum = this._Minimum; typedTarget._Maximum = this._Maximum; typedTarget._Scale = this._Scale; typedTarget._IsVelocityDrive = this._IsVelocityDrive; typedTarget._DefaultDriveValue = this._DefaultDriveValue; }
/// <summary> ///Copies the data member values of the current State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.Sensors.SickLRF.Proxy.State typedTarget = ((global::Microsoft.Robotics.Services.Sensors.SickLRF.Proxy.State)(target)); typedTarget._Description = this._Description; if ((this._DistanceMeasurements != null)) { int count = this._DistanceMeasurements.Length; int[] tmp = new int[count]; global::System.Buffer.BlockCopy(this._DistanceMeasurements, 0, tmp, 0, global::System.Buffer.ByteLength(this._DistanceMeasurements)); typedTarget._DistanceMeasurements = tmp; } typedTarget._AngularRange = this._AngularRange; typedTarget._AngularResolution = this._AngularResolution; typedTarget._Units = this._Units; typedTarget._TimeStamp = this._TimeStamp; typedTarget._LinkState = this._LinkState; typedTarget._ComPort = this._ComPort; }
/// <summary> ///Copies the data member values of the current GUIOptions to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions typedTarget = ((global::Microsoft.Robotics.Services.RobotDashboard.Proxy.GUIOptions)(target)); typedTarget._WindowStartX = this._WindowStartX; typedTarget._WindowStartY = this._WindowStartY; typedTarget._DepthcamWindowStartX = this._DepthcamWindowStartX; typedTarget._DepthcamWindowStartY = this._DepthcamWindowStartY; typedTarget._DepthcamWindowWidth = this._DepthcamWindowWidth; typedTarget._DepthcamWindowHeight = this._DepthcamWindowHeight; typedTarget._WebcamWindowStartX = this._WebcamWindowStartX; typedTarget._WebcamWindowStartY = this._WebcamWindowStartY; typedTarget._WebcamWindowWidth = this._WebcamWindowWidth; typedTarget._WebcamWindowHeight = this._WebcamWindowHeight; typedTarget._DeadZoneX = this._DeadZoneX; typedTarget._DeadZoneY = this._DeadZoneY; typedTarget._TranslateScaleFactor = this._TranslateScaleFactor; typedTarget._RotateScaleFactor = this._RotateScaleFactor; typedTarget._CameraInterval = this._CameraInterval; }
/// <summary> ///Copies the data member values of the current State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Services.Explorer.Proxy.State typedTarget = ((global::Microsoft.Robotics.Services.Explorer.Proxy.State)(target)); if ((this._DriveState != null)) { global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState tmp = new global::Microsoft.Robotics.Services.Drive.Proxy.DriveDifferentialTwoWheelState(); ((Microsoft.Dss.Core.IDssSerializable)(this._DriveState)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._DriveState = tmp; } typedTarget._Countdown = this._Countdown; typedTarget._LogicalState = this._LogicalState; typedTarget._NewHeading = this._NewHeading; typedTarget._Velocity = this._Velocity; if ((this._South != null)) { global::Microsoft.Robotics.Services.Sensors.SickLRF.Proxy.State tmp0 = new global::Microsoft.Robotics.Services.Sensors.SickLRF.Proxy.State(); ((Microsoft.Dss.Core.IDssSerializable)(this._South)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp0))); typedTarget._South = tmp0; } typedTarget._Mapped = this._Mapped; typedTarget._MostRecentLaser = this._MostRecentLaser; }
/// <summary> ///Copies the data member values of the current Sim2DCltState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::URWPGSim2D.Sim2DClt.Proxy.Sim2DCltState typedTarget = ((global::URWPGSim2D.Sim2DClt.Proxy.Sim2DCltState)(target)); }
/// <summary> ///Copies the data member values of the current ReferencePlatform2011Entity to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { base.CopyTo(target); global::Microsoft.Robotics.Services.Simulation.ReferencePlatform2011.Proxy.ReferencePlatform2011Entity typedTarget = ((global::Microsoft.Robotics.Services.Simulation.ReferencePlatform2011.Proxy.ReferencePlatform2011Entity)(target)); typedTarget._IsEnabled = this._IsEnabled; typedTarget._MotorTorqueScaling = this._MotorTorqueScaling; if ((this._RightWheel != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.WheelEntity tmp = new global::Microsoft.Robotics.Simulation.Engine.Proxy.WheelEntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._RightWheel)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp))); typedTarget._RightWheel = tmp; } if ((this._LeftWheel != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.WheelEntity tmp0 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.WheelEntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._LeftWheel)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp0))); typedTarget._LeftWheel = tmp0; } if ((this._ChassisShape != null)) { global::Microsoft.Robotics.Simulation.Physics.Proxy.BoxShape tmp1 = new global::Microsoft.Robotics.Simulation.Physics.Proxy.BoxShape(); ((Microsoft.Dss.Core.IDssSerializable)(this._ChassisShape)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp1))); typedTarget._ChassisShape = tmp1; } if ((this._CasterWheelShape != null)) { global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape tmp2 = new global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape(); ((Microsoft.Dss.Core.IDssSerializable)(this._CasterWheelShape)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp2))); typedTarget._CasterWheelShape = tmp2; } typedTarget._RotateDegreesAngleThreshold = this._RotateDegreesAngleThreshold; if ((this._FrontWheelShape != null)) { global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape tmp3 = new global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape(); ((Microsoft.Dss.Core.IDssSerializable)(this._FrontWheelShape)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp3))); typedTarget._FrontWheelShape = tmp3; } if ((this._RearWheelShape != null)) { global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape tmp4 = new global::Microsoft.Robotics.Simulation.Physics.Proxy.SphereShape(); ((Microsoft.Dss.Core.IDssSerializable)(this._RearWheelShape)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp4))); typedTarget._RearWheelShape = tmp4; } if ((this._Kinect != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.KinectEntity tmp5 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.KinectEntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._Kinect)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp5))); typedTarget._Kinect = tmp5; } if ((this._LeftSonar != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.SonarEntity tmp6 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.SonarEntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._LeftSonar)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp6))); typedTarget._LeftSonar = tmp6; } if ((this._RightSonar != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.SonarEntity tmp7 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.SonarEntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._RightSonar)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp7))); typedTarget._RightSonar = tmp7; } if ((this._FrontLeftIR != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity tmp8 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._FrontLeftIR)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp8))); typedTarget._FrontLeftIR = tmp8; } if ((this._FrontMiddleIR != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity tmp9 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._FrontMiddleIR)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp9))); typedTarget._FrontMiddleIR = tmp9; } if ((this._FrontRightIR != null)) { global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity tmp10 = new global::Microsoft.Robotics.Simulation.Engine.Proxy.IREntity(); ((Microsoft.Dss.Core.IDssSerializable)(this._FrontRightIR)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp10))); typedTarget._FrontRightIR = tmp10; } typedTarget._TimeoutSeconds = this._TimeoutSeconds; }
/// <summary> ///Copies the data member values of the current IncrementTickRequest to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::RoboticsServiceTutorial7.Proxy.IncrementTickRequest typedTarget = ((global::RoboticsServiceTutorial7.Proxy.IncrementTickRequest)(target)); typedTarget._Name = this._Name; }
/// <summary> ///Copies the data member values of the current TickCount to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::RoboticsServiceTutorial7.Proxy.TickCount typedTarget = ((global::RoboticsServiceTutorial7.Proxy.TickCount)(target)); typedTarget._Name = this._Name; typedTarget._Count = this._Count; }
/// <summary> ///Copies the data member values of the current ServiceTutorial1State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::RoboticsServiceTutorial1.Proxy.ServiceTutorial1State typedTarget = ((global::RoboticsServiceTutorial1.Proxy.ServiceTutorial1State)(target)); typedTarget._Member = this._Member; }
/// <summary> ///Copies the data member values of the current DriveInSquareState to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::Microsoft.Robotics.Proxy.DriveInSquareState typedTarget = ((global::Microsoft.Robotics.Proxy.DriveInSquareState)(target)); }