Commit a0f3bc81 authored by 潘栩锋's avatar 潘栩锋 🚴

1.修复 扫描测厚, SolveCnt 无法保存大于20, Smooth无法保存

2.修复 扫描测厚,计算膜距离,最大值 可以到 70m
parent a077b3db
...@@ -16,7 +16,7 @@ namespace FLY.Thick.BlowingScan.UI.Client ...@@ -16,7 +16,7 @@ namespace FLY.Thick.BlowingScan.UI.Client
public class BlowingScanAnaylze : INotifyPropertyChanged public class BlowingScanAnaylze : INotifyPropertyChanged
{ {
const double FilmLengthMin = 5; const double FilmLengthMin = 5;
const double FilmLengthMax = 50; const double FilmLengthMax = 70;
const double RAngleMin = 200; const double RAngleMin = 200;
const double RAngleMax = 360; const double RAngleMax = 360;
#region 缓存区 #region 缓存区
......
...@@ -814,7 +814,7 @@ namespace FLY.Thick.BlowingScan.Server ...@@ -814,7 +814,7 @@ namespace FLY.Thick.BlowingScan.Server
} }
} }
private int solvecnt = 4; private int solvecnt = 5;
/// <summary> /// <summary>
/// 多少次扫描解一次方程 /// 多少次扫描解一次方程
/// </summary> /// </summary>
...@@ -851,7 +851,7 @@ namespace FLY.Thick.BlowingScan.Server ...@@ -851,7 +851,7 @@ namespace FLY.Thick.BlowingScan.Server
OrgBoltNo = 1; OrgBoltNo = 1;
} }
if (SolveCnt > 20) if (SolveCnt > 50)
{ {
SolveCnt = 5; SolveCnt = 5;
} }
...@@ -896,9 +896,6 @@ namespace FLY.Thick.BlowingScan.Server ...@@ -896,9 +896,6 @@ namespace FLY.Thick.BlowingScan.Server
mPDetect.CheckParamErr(); mPDetect.CheckParamErr();
checkParamErr(); checkParamErr();
if (SolveCnt < 3)
SolveCnt = 3;
PropertyChanged += new PropertyChangedEventHandler(RenZiJiaScan_PropertyChanged); PropertyChanged += new PropertyChangedEventHandler(RenZiJiaScan_PropertyChanged);
mPDetect.PropertyChanged += (s, e) => mPDetect.PropertyChanged += (s, e) =>
...@@ -2290,7 +2287,13 @@ namespace FLY.Thick.BlowingScan.Server ...@@ -2290,7 +2287,13 @@ namespace FLY.Thick.BlowingScan.Server
/// <summary> /// <summary>
/// 多少次扫描解一次方程 /// 多少次扫描解一次方程
/// </summary> /// </summary>
public int SolveCnt { get; set; } = 4; public int SolveCnt { get; set; } = 5;
/// <summary>
/// 平滑
/// </summary>
public int Smooth { get; set; } = 1;
/// <summary> /// <summary>
/// 分区表,必须保证不能为null /// 分区表,必须保证不能为null
/// </summary> /// </summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment