public static object Microsoft_Robotics_Services_Sample_HiTechnic_Compass_I2CResponseHiTechnicCompassSensor_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_I2CResponseHiTechnicCompassSensor(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.I2CResponseHiTechnicCompassSensor target = new global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.I2CResponseHiTechnicCompassSensor();
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.I2CResponseHiTechnicCompassSensor from = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.I2CResponseHiTechnicCompassSensor)(transformFrom));
     target.ModeControl = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassMode)(((int)(from.ModeControl))));
     target.Heading = from.Heading;
     return target;
 }
 public static object Microsoft_Robotics_Services_Sample_HiTechnic_Compass_I2CResponseHiTechnicCompassSensor_TO_Microsoft_Robotics_Services_Sample_HiTechnic_Compass_Proxy_I2CResponseHiTechnicCompassSensor(object transformFrom)
 {
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.I2CResponseHiTechnicCompassSensor target = new global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.I2CResponseHiTechnicCompassSensor();
     global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.I2CResponseHiTechnicCompassSensor       from   = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.I2CResponseHiTechnicCompassSensor)(transformFrom));
     target.ModeControl = ((global::Microsoft.Robotics.Services.Sample.HiTechnic.Compass.Proxy.CompassMode)(((int)(from.ModeControl))));
     target.Heading     = from.Heading;
     return(target);
 }