|
|
@ -670,12 +670,12 @@ public class GradingResultVM : BaseViewModel |
|
|
|
} |
|
|
|
} |
|
|
|
private double calSymValue(double Min, double Max, double Avg,bool isPercentage = true) |
|
|
|
private double calSymValue(double Min, double Max, double Avg,bool isPercentage = true) |
|
|
|
{ |
|
|
|
{ |
|
|
|
int c = 100; |
|
|
|
int c = 1; |
|
|
|
if (isPercentage) |
|
|
|
if (isPercentage) |
|
|
|
{ |
|
|
|
{ |
|
|
|
c = 10000; |
|
|
|
c = 100; |
|
|
|
} |
|
|
|
} |
|
|
|
return (Max - Min) / Avg * c; |
|
|
|
return (Max - Min) * c; |
|
|
|
} |
|
|
|
} |
|
|
|
[Log] |
|
|
|
[Log] |
|
|
|
private DataInfo getDIAMETER(AlgorithmResultEntity result) |
|
|
|
private DataInfo getDIAMETER(AlgorithmResultEntity result) |
|
|
|