private HowLeakyInputs_Nitrate GeneratNitrateInputs(HowLeakyInputs_Nitrate inputs, ParameterDataSetPtr nitrateData) { if (nitrateData != null) { if (inputs == null) { inputs = new HowLeakyInputs_Nitrate(); } var properties = typeof(HowLeakyInputs_Nitrate).GetProperties().ToList(); var errors = LoadValues(nitrateData, inputs, properties); if (errors.Count > 0) { Errors.AddRange(errors); } return(inputs); } return(null); }
public HowLeakyEngineModule_Nitrate(HowLeakyEngine sim, HowLeakyInputs_Nitrate inputs) : base(sim) { InputModel = inputs; }