Пример #1
0
 public AnalyticModelSettingsElectricSystem(IList <AnalyticRuleSettings> settings)
 {
     foreach (AnalyticRuleType ruleType in GetRequiredRuleTypes())
     {
         RegisterRequiredType(ruleType);
     }
     foreach (AnalyticRuleSettings ruleSettings in settings)
     {
         RulesSettings.Add(ruleSettings);
     }
     CheckAndThrow();
 }
Пример #2
0
 public AnalyticModelSettingsPetrolEngineIgnition(
     IList <AnalyticRuleSettings> settings)
 {
     foreach (AnalyticRuleType ruleType in GetRequiredRuleTypes())
     {
         RegisterRequiredType(ruleType);
     }
     foreach (AnalyticRuleSettings ruleSettings in settings)
     {
         RulesSettings.Add(ruleSettings);
     }
     CheckAndThrow();
 }