TestWizard.TestProfileSelection : Conversion to float avoided.
This commit is contained in:
parent
1ee7e00928
commit
3f35506b26
@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user