样式
This commit is contained in:
@@ -40,7 +40,7 @@ namespace 头罩视野.Services
|
||||
{
|
||||
if (Math.Abs(data[i] - data[i - 1]) > OutlierDiffThreshold && Math.Abs(data[i] - data[i + 1]) > OutlierDiffThreshold)
|
||||
{
|
||||
data[i] = (ushort)((data[i - 1] + data[i + 1]) / 2);
|
||||
data[i] = (dynamic)((data[i - 1] + data[i + 1]) / 2);
|
||||
}
|
||||
//过滤无效信号
|
||||
if (data[i] < threshold)
|
||||
|
||||
Reference in New Issue
Block a user