public static object Microsoft_Robotics_Services_Sample_HiTechnic_Compass_CompassReading_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_CompassReading(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassReading target = new global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassReading();
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassReading       from   = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassReading)(transformFrom));
     target.Degrees   = from.Degrees;
     target.TimeStamp = from.TimeStamp;
     return(target);
 }
 public static object Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_CompassReading_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_CompassReading(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassReading target = new global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassReading();
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassReading from = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassReading)(transformFrom));
     target.Degrees = from.Degrees;
     target.TimeStamp = from.TimeStamp;
     return target;
 }
 public static object Microsoft_Robotics_Services_Sample_HiTechnic_Compass_CompassSensorState_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_CompassSensorState(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassSensorState target = new global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassSensorState();
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassSensorState       from   = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassSensorState)(transformFrom));
     target.Connected          = from.Connected;
     target.Name               = from.Name;
     target.SensorPort         = from.SensorPort;
     target.PollingFrequencyMs = from.PollingFrequencyMs;
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.CompassReading tmp = from.Heading;
     if ((tmp != null))
     {
         target.Heading = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassReading)(Microsoft_Robotics_Services_Sample_HiTechnic_Compass_CompassReading_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_CompassReading(tmp)));
     }
     return(target);
 }