public V_COPYIN_RESULT CopyIn(System.IntPtr typePtr, DM.ATC_Data from, ref __ATC_Data to)
 {
     if (from == null)
     {
         return(V_COPYIN_RESULT.INVALID);
     }
     to.aircraftID = from.aircraftID;
     if (from.tailNumber == null)
     {
         return(V_COPYIN_RESULT.INVALID);
     }
     // Unbounded string: bounds check not required...
     if (!Write(c.getBase(typePtr), ref to.tailNumber, from.tailNumber))
     {
         return(V_COPYIN_RESULT.OUT_OF_MEMORY);
     }
     {
         V_COPYIN_RESULT result = attr2Marshaler.CopyIn(typePtr, from.position, ref to.position);
         if (result != V_COPYIN_RESULT.OK)
         {
             return(result);
         }
     }
     to.time = from.time;
     return(V_COPYIN_RESULT.OK);
 }
 public V_COPYIN_RESULT CopyIn(System.IntPtr typePtr, DM.EGI_Data from, ref __EGI_Data to)
 {
     if (from == null)
     {
         return(V_COPYIN_RESULT.INVALID);
     }
     {
         V_COPYIN_RESULT result = attr0Marshaler.CopyIn(typePtr, from.position, ref to.position);
         if (result != V_COPYIN_RESULT.OK)
         {
             return(result);
         }
     }
     to.time = from.time;
     return(V_COPYIN_RESULT.OK);
 }