Ejemplo n.º 1
0
        public MetaAutonomySettingKey PopulateWithDefaults()
        {
            List<MetaAutonomyTuning> tlist;
            if (MetaAutonomyManager.sTunings.TryGetValue(this.MetaAutonomyToVenue(), out tlist))
            {
                MetaAutonomyTuning tuning = tlist[0];
                if (tuning != null)
                {
                    this.mHourOpen = tuning.HourOpen;
                    this.mHourClose = tuning.HourClose;

                    this.mDefaults = this;
                }
            }

            return this;
        }
Ejemplo n.º 2
0
        public MetaAutonomySettingKey PopulateWithDefaults()
        {
            List <MetaAutonomyTuning> tlist;

            if (MetaAutonomyManager.sTunings.TryGetValue(this.MetaAutonomyToVenue(), out tlist))
            {
                MetaAutonomyTuning tuning = tlist[0];
                if (tuning != null)
                {
                    this.mHourOpen  = tuning.HourOpen;
                    this.mHourClose = tuning.HourClose;

                    this.mDefaults = this;
                }
            }

            return(this);
        }
Ejemplo n.º 3
0
 public void AddOrUpdateMASettings(Lot.MetaAutonomyType type, MetaAutonomySettingKey settings)
 {
     if (GetMASettings(type, false) != null)
     {
         mMetaAutonomySettings[type] = settings;
     }
     else
     {
         mMetaAutonomySettings.Add(type, settings);
     }            
 }