public AnalyticModelSettingsElectricSystem(IList <AnalyticRuleSettings> settings) { foreach (AnalyticRuleType ruleType in GetRequiredRuleTypes()) { RegisterRequiredType(ruleType); } foreach (AnalyticRuleSettings ruleSettings in settings) { RulesSettings.Add(ruleSettings); } CheckAndThrow(); }
public AnalyticModelSettingsPetrolEngineIgnition( IList <AnalyticRuleSettings> settings) { foreach (AnalyticRuleType ruleType in GetRequiredRuleTypes()) { RegisterRequiredType(ruleType); } foreach (AnalyticRuleSettings ruleSettings in settings) { RulesSettings.Add(ruleSettings); } CheckAndThrow(); }