diff --git a/TBF/UI/Procedures/TestWizard/TestProfileSelection.cs b/TBF/UI/Procedures/TestWizard/TestProfileSelection.cs index 0fff3959c..815198335 100644 --- a/TBF/UI/Procedures/TestWizard/TestProfileSelection.cs +++ b/TBF/UI/Procedures/TestWizard/TestProfileSelection.cs @@ -178,9 +178,9 @@ namespace TBF.UI.Procedures.TestWizard Test test = new Test(ptest.Name, itemNr++, null); /// Procedure reference to be added later test.Part = ptest.Part; test.Profile = (profile.ProfileType == ProfileType.QpQi) ? TestProfile.ProtectedHeatMeter : TestProfile.Protected; - test.Qtg = Convert.ToSingle(Qtg); - test.Qfrom = Convert.ToSingle(Qtg * ptest.CoefQfrom); - test.Qto = Convert.ToSingle(Qtg * ptest.CoefQto); + test.Qtg = Qtg; + test.Qfrom = Qtg * ptest.CoefQfrom; + test.Qto = Qtg * ptest.CoefQto; test.TempLimLo = Convert.ToSingle(ptest.TempLimLo); test.TempLimHi = Convert.ToSingle(ptest.TempLimHi); test.Publish = ptest.Publish; @@ -423,8 +423,6 @@ namespace TBF.UI.Procedures.TestWizard e.Cancel = true; return; } - - } }