public VmAirportProfileInputData GetAirportProfileInputData(String profileName) { if( ! _airportProfiles.ContainsKey(profileName) ) { VmAirportProfileInputData profile = new VmAirportProfileInputData( this, profileName); _airportProfiles[profileName] = profile; } return _airportProfiles[profileName]; }
public void GetAirportProfileProperties(VmAirportProfileInputData airportProfileInputData) { VmMessageHttpRequest req = new VmMessageHttpRequest(); req.Mappings["command"] = "getAirportProfileProperties"; req.Mappings["airportCode"] = GetAirportCode(); req.Mappings["airportProfileName"] = airportProfileInputData.ProfileName; VmMessageHttpResponse res = req.Send(); JwUtility.WriteToFile( airportProfileInputData.GetPropertyFileName(), res.GetData()); }