//# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmAirportTransientInputData(VmAirportInputData airportInputData)
 {
     AirportInputData = airportInputData;
     InputPath = JwUtility.JoinPath(
         airportInputData.InputPath,
         "transient");
 }
Esempio n. 2
0
 //# __________ PROTOCOL :: CONSTANTS __________ #//
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmPlannedRouteData2(VmAirportInputData airportInputData)
 {
     _airportInputData = airportInputData;
     InputPath = JwUtility.JoinPath(
         airportInputData.GetPersistentDataPath(),
         "planRoute");
 }
Esempio n. 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);
 }
Esempio n. 7
0
 public void Reset(VmAccountInputData accountInputData)
 {
     _airportInputData = null;
     _airportOutputData = null;
     AccountInputData = accountInputData;
 }
Esempio n. 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];
 }