Exemplo n.º 1
0
 public void PickFrom(SettingsAtom source)
 {
     MinOptimal    = source.MinOptimal;
     MaxOptimal    = source.MaxOptimal;
     MinAcceptable = source.MinAcceptable;
     MaxAcceptable = source.MaxAcceptable;
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public void Copy(SettingsAtom source)
 {
     Id   = source.Id;
     Type = source.Type;
     PickFrom(source);
 }