//# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmAirportTransientInputData(VmAirportInputData airportInputData)
 {
     AirportInputData = airportInputData;
     InputPath = JwUtility.JoinPath(
         airportInputData.InputPath,
         "transient");
 }
示例#2
0
 //# __________ PROTOCOL :: CONSTANTS __________ #//
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmPlannedRouteData2(VmAirportInputData airportInputData)
 {
     _airportInputData = airportInputData;
     InputPath = JwUtility.JoinPath(
         airportInputData.GetPersistentDataPath(),
         "planRoute");
 }
示例#3
0
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmUserInputData(VmAirportInputData airportInputData)
 {
     AirportInputData = airportInputData;
     InputPath = JwUtility.JoinPath(
         airportInputData.GetPersistentDataPath(),
         "user");
 }
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmAirportPersistentInputData(VmAirportInputData airportInputData)
 {
     AirportCode = airportInputData.AirportCode;;
     InputPath = JwUtility.JoinPath(
         airportInputData.InputPath,
         "persistent");
 }
 //# __________ PROTOCOL :: CONSTANTS __________ #//
 public VmAirportDataDownloader(
     VmAccountSynchronizer synchronizer,
     VmAirportInputData airportInputData)
     : base(synchronizer)
 {
     _airportInputData = airportInputData;
     PlannedRouteDownloader = new VmPlannedRouteDownloader(
         synchronizer,
         airportInputData);
 }
 //# __________ PROTOCOL :: CONSTANTS __________ #//
 public VmAirportProfileInputData(
     VmAirportInputData airportInputData,
     String profileName)
 {
     AirportInputData = airportInputData;
     ProfileName = profileName;
     InputPath = JwUtility.JoinPath(
         AirportInputData.InputPath,
         "profiles",
         ProfileName);
 }
示例#7
0
 public void Reset(VmAccountInputData accountInputData)
 {
     _airportInputData = null;
     _airportOutputData = null;
     AccountInputData = accountInputData;
 }
示例#8
0
 /*
 public Hashtable AccountLevelProperties
 {
     get
     {
         return (Hashtable) _accountLevelProperties;
     }
     set
     {
         _accountLevelProperties = (Hashtable) value;
     }
 }
 */
 //# __________ PROTOCOL :: PUBLIC  __________ #//
 public VmAirportInputData GetAirportInputData(String airportCode)
 {
     if( ! _airportInputData.ContainsKey(airportCode) )
     {
         VmAirportInputData airportInputData = new VmAirportInputData(
             this,
             airportCode);
         _airportInputData[airportCode] = airportInputData;
     }
     return _airportInputData[airportCode];
 }