public static Nme2WsAdmin.MissionObject MissionObjectToAdmin(Nme2Ws.MissionObject nonAdminObject) { return new MissionObject(){Active = nonAdminObject.Active, Altitude = nonAdminObject.Altitude, Bank = nonAdminObject.Bank, Heading = nonAdminObject.Heading, Id = nonAdminObject.Id, Lat = nonAdminObject.Lat, Lon = nonAdminObject.Lon, Mission_Id = nonAdminObject.Mission_Id, OnGround = nonAdminObject.OnGround, Pitch = nonAdminObject.Pitch, SimObject_Id = nonAdminObject.SimObject_Id, Yaw = nonAdminObject.Yaw}; }
public static Nme2WsAdmin.Mission MissionToAdmin(Nme2Ws.Mission nonAdminObject) { return new Mission(){Active = nonAdminObject.Active, CenterLat = nonAdminObject.CenterLat, CenterLon = nonAdminObject.CenterLon,Id = nonAdminObject.Id,Name = nonAdminObject.Name, MissionRange = nonAdminObject.MissionRange, Version = nonAdminObject.Version}; }