From 950a9bc2cccac25a3a84dea3bf33c73096905a65 Mon Sep 17 00:00:00 2001 From: sunhonglei Date: Tue, 4 Mar 2025 10:39:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=A7=B0=E6=80=A7=E6=A0=87=E5=87=86?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=20(=E6=9C=80=E5=A4=A7-=E6=9C=80=E5=B0=8F)/?= =?UTF-8?q?=E5=B9=B3=E5=9D=87*100->=20=E6=9C=80=E5=A4=A7-=E6=9C=80?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ViewModel/Grading/GradingResultVM.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ViewModel/Grading/GradingResultVM.cs b/ViewModel/Grading/GradingResultVM.cs index 55b148b..afac558 100644 --- a/ViewModel/Grading/GradingResultVM.cs +++ b/ViewModel/Grading/GradingResultVM.cs @@ -670,12 +670,12 @@ public class GradingResultVM : BaseViewModel } private double calSymValue(double Min, double Max, double Avg,bool isPercentage = true) { - int c = 100; + int c = 1; if (isPercentage) { - c = 10000; + c = 100; } - return (Max - Min) / Avg * c; + return (Max - Min) * c; } [Log] private DataInfo getDIAMETER(AlgorithmResultEntity result)