public static object PololuMaestro_Proxy_DeviceListItem_TO_PololuMaestro_DeviceListItem(object transformFrom) {
     global::PololuMaestro.DeviceListItem target = new global::PololuMaestro.DeviceListItem();
     global::PololuMaestro.Proxy.DeviceListItem from = ((global::PololuMaestro.Proxy.DeviceListItem)(transformFrom));
     target.SerialNumber = from.SerialNumber;
     target.DisplayName = from.DisplayName;
     target.ProductId = from.ProductId;
     target.Guid = from.Guid;
     return target;
 }
 public static object PololuMaestro_Proxy_GetDeviceListResponseType_TO_PololuMaestro_GetDeviceListResponseType(object transformFrom) {
     global::PololuMaestro.GetDeviceListResponseType target = new global::PololuMaestro.GetDeviceListResponseType();
     global::PololuMaestro.Proxy.GetDeviceListResponseType from = ((global::PololuMaestro.Proxy.GetDeviceListResponseType)(transformFrom));
     if ((from.Devices != null)) {
         int count = from.Devices.Length;
         global::PololuMaestro.DeviceListItem[] tmp = new global::PololuMaestro.DeviceListItem[count];
         for (int index = 0; (index < count); index = (index + 1)) {
             global::PololuMaestro.DeviceListItem tmp0 = default(global::PololuMaestro.DeviceListItem);
             if ((from.Devices[index] != null)) {
                 tmp0 = ((global::PololuMaestro.DeviceListItem)(PololuMaestro_Proxy_DeviceListItem_TO_PololuMaestro_DeviceListItem(from.Devices[index])));
             }
             else {
                 tmp0 = null;
             }
             tmp[index] = tmp0;
         }
         target.Devices = tmp;
     }
     else {
         target.Devices = null;
     }
     return target;
 }