(1) ParamsProvider-s added to C..Test/C..Procedure entities, (2) ComponentCfgBase fn-s returning IParamsProvider rewritten, (3) refactoring, ver. 2.18.891

This commit is contained in:
Milan Hanajik
2018-05-11 16:51:07 +02:00
parent 878c89591e
commit d6881bfdf3
77 changed files with 495 additions and 462 deletions
@@ -14,7 +14,7 @@ namespace TBF.BenchControl.TestMethods.LeakTest
public class LeakTestParams : TestParamsBase, IParamsProvider, ITestParams
{
public static XmlSerializer Serializer = XmlSerializer.FromTypes(new[] { typeof(LeakTestParams) })[0];
protected override XmlSerializer GetSerializer() { return Serializer; }
public override XmlSerializer GetSerializer() { return Serializer; }
public float PressureLo; /// Presure range low limit in [bar]
public float PressureHi; /// Presure range high limit in [bar]
@@ -104,7 +104,7 @@ namespace TBF.BenchControl.TestMethods.LeakTest
return pars;
}
public override void UpdateTestParams(ComponentTest dbEntity)
public override void UpdateFromDbEntity(ComponentTest dbEntity)
{
if (dbEntity == null) return;
try