fix per calcolo gauges TCiclo
This commit is contained in:
@@ -1231,7 +1231,6 @@ namespace Thermo.Active.NC
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
// creo obj contenuto
|
||||
currProdData = new DTOThermoProd()
|
||||
{
|
||||
@@ -1245,6 +1244,11 @@ namespace Thermo.Active.NC
|
||||
MinVal = item.MinVal / item.ScaleFactor,
|
||||
MaxVal = item.MaxVal / item.ScaleFactor
|
||||
};
|
||||
// fix: se + timeAdv uso come max ultimo TC rilevato...
|
||||
if (item.Name == "timeAdv")
|
||||
{
|
||||
currProdData.MaxVal = (int)Math.Ceiling((double)lastProdInfoData.TimeCycleGross / 1000);
|
||||
}
|
||||
// aggiungo a dictionary!
|
||||
if (currentLiveProd.ContainsKey(item.Name))
|
||||
{
|
||||
|
||||
@@ -30,4 +30,4 @@ using System.Runtime.InteropServices;
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("0.9.36")]
|
||||
[assembly: AssemblyVersion("0.9.37")]
|
||||
Reference in New Issue
Block a user