예제 #1
0
 public void PickFrom(SettingsAtom source)
 {
     MinOptimal    = source.MinOptimal;
     MaxOptimal    = source.MaxOptimal;
     MinAcceptable = source.MinAcceptable;
     MaxAcceptable = source.MaxAcceptable;
 }
예제 #2
0
        public SettingsAtom GetPriorityAtom()
        {
            SettingsAtom result = new SettingsAtom();

            result.MinOptimal = OverrideOptimal ?
                                PredefinedAtom.MinOptimal : StatisticalAtom.MinOptimal;
            result.MaxOptimal = OverrideOptimal ?
                                PredefinedAtom.MaxOptimal : StatisticalAtom.MaxOptimal;
            result.MinAcceptable = OverrideAcceptable ?
                                   PredefinedAtom.MinAcceptable : StatisticalAtom.MinAcceptable;
            result.MaxAcceptable = OverrideAcceptable ?
                                   PredefinedAtom.MaxAcceptable : StatisticalAtom.MaxAcceptable;
            return(result);
        }
예제 #3
0
 public void Copy(SettingsAtom source)
 {
     Id   = source.Id;
     Type = source.Type;
     PickFrom(source);
 }