예제 #1
0
 public VmAirportProfileInputData GetAirportProfileInputData(String profileName)
 {
     if( ! _airportProfiles.ContainsKey(profileName) )
     {
         VmAirportProfileInputData profile = new VmAirportProfileInputData(
             this,
             profileName);
         _airportProfiles[profileName] = profile;
     }
     return _airportProfiles[profileName];
 }
예제 #2
0
 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());
 }