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