- Modificata interfaccia card split
- Aggiunte icone shape per split
This commit is contained in:
@@ -222,11 +222,6 @@ namespace WebWindowComplex.Models
|
||||
for(int i = 0; i < itemList.Count; i++)
|
||||
ans.ElementAt(i).SetDimension(Math.Round(absoluteValue.ElementAt(i) / mcdList.FirstOrDefault()));
|
||||
}
|
||||
|
||||
//int inedMin = absoluteValue.IndexOf(absoluteValue.Min());
|
||||
//var mcd = CalculateMCD(absoluteValue.ElementAt(indexArea), absoluteValue.ElementAt(inedMin));
|
||||
//itemList.ElementAt(inedMin).SetDimension(absoluteValue.ElementAt(inedMin) / mcd);
|
||||
//itemList.ElementAt(indexArea).SetDimension(absoluteValue.ElementAt(indexArea) / mcd);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -351,11 +346,13 @@ namespace WebWindowComplex.Models
|
||||
if (sumPesi == 0) sumPesi = 1;
|
||||
if (newType.Equals(MeasureTypes.ABSOLUTE))
|
||||
{
|
||||
return Math.Round(res / sumPesi * dDimension, 2);
|
||||
return res / sumPesi * dDimension;
|
||||
//return Math.Round(res / sumPesi * dDimension, 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
return Math.Round((res / sumPesi * dDimension) / tot * 100);
|
||||
return (res / sumPesi * dDimension) / tot * 100;
|
||||
//return Math.Round((res / sumPesi * dDimension) / tot * 100, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user