示例#1
0
 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);
 }
示例#2
0
 public HowLeakyEngineModule_Nitrate(HowLeakyEngine sim, HowLeakyInputs_Nitrate inputs) : base(sim)
 {
     InputModel = inputs;
 }