|
@@ -341,7 +341,7 @@ namespace CamTool
|
|
|
double sum = 0;
|
|
double sum = 0;
|
|
|
list.ForEach(i => sum += Math.Pow(i - avg, 2));
|
|
list.ForEach(i => sum += Math.Pow(i - avg, 2));
|
|
|
double st = Math.Sqrt(sum) / list.Count;
|
|
double st = Math.Sqrt(sum) / list.Count;
|
|
|
- if(st < 1)
|
|
|
|
|
|
|
+ if(st < 1 && currentWeight > 100)
|
|
|
{
|
|
{
|
|
|
log.Info("稳定:" + currentWeight);
|
|
log.Info("稳定:" + currentWeight);
|
|
|
return currentWeight;
|
|
return currentWeight;
|