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