Commit 45b260fc authored by 潘栩锋's avatar 潘栩锋 🚴

修复 自动风环会由于当前旋转时间不动, 显示“等待:旋转角度或膜距离改变”

parent bdb09470
......@@ -280,16 +280,17 @@ namespace FLY.FeedbackRenZiJia.UI.Client
if (feedback.NBolts != ucThickHeatVms[0].frame.Thicks.Count())
return false;
if (ucThickHeatVms[0].frame.FilmLength != ucThickHeatVms[1].frame.FilmLength)
return false;//膜距离不同不能比较
if (BType != BlowingType.Fix) {
if (ucThickHeatVms[0].frame.RAngle != ucThickHeatVms[1].frame.RAngle)
return false;//扫描架,追边360, 旋转角度不能改变
}
//if (Math.Abs(ucThickHeatVms[0].frame.FilmLength - ucThickHeatVms[1].frame.FilmLength) > 1)
//{
// //偏差大于1m
// return false;//膜距离不同不能比较
//}
//if (Math.Abs(ucThickHeatVms[0].frame.RAngle - ucThickHeatVms[1].frame.RAngle) > 20)
//{
// //偏差大于20°
// return false;//膜距离不同不能比较
//}
return true;
}
......
......@@ -51,7 +51,7 @@ using System.Windows;
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.1.0.2")]
[assembly: AssemblyFileVersion("7.1.0.2")]
[assembly: AssemblyVersion("7.3.0.3")]
[assembly: AssemblyFileVersion("7.3.0.3")]
[assembly: Guid("32104657-86E9-4380-9113-606589E6D812")]
......@@ -383,12 +383,15 @@ namespace FLY.FeedbackRenZiJia.Server
}
var d_last = mData.Last();
if (d.thickHeat.RPeriod != d_last.thickHeat.RPeriod)
{
double sec_delta = Math.Abs(d.thickHeat.RPeriod.TotalSeconds - d_last.thickHeat.RPeriod.TotalSeconds);
if (sec_delta / d_last.thickHeat.RPeriod.TotalSeconds > 0.1)
{
//旋转时间不同,无法比较
Stability = STABILITY.ERROR_PARAM_CHANGED;
Stability = STABILITY.ERROR_ROTATE_CHANGED;
goto _error;
}
}
if (d.thickHeat.RAngle != d_last.thickHeat.RAngle)
{
......
......@@ -56,7 +56,7 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary>
/// 厚度控制线 , 厚度% 大于 厚度控制线 自动才会加热控制
/// </summary>
public double CtrlLine { get; set; } = 2;
public double CtrlLine { get; set; } = 3;
/// <summary>
/// 最大加热量 默认100%
......@@ -66,12 +66,12 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary>
/// 分级控制线
/// </summary>
public LvCtrlLine[] LvCtrlLines { get; set; }
public LvCtrlLine[] LvCtrlLines { get; set; } = new LvCtrlLine[] { new LvCtrlLine() { CtrlLine = 1, Mix = 2 } };
/// <summary>
/// 对厚度数据横向平滑 单位加热棒数。 特别的当Smooth = ChannelCnt/2 就是膜泡的偏心度
/// </summary>
public int ThickSmoothRange { get; set; } = 10;
public int ThickSmoothRange { get; set; } = 6;
#endregion
#region 状态
......@@ -1011,12 +1011,12 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary>
/// 分级控制线
/// </summary>
public LvCtrlLine[] LvCtrlLines;
public LvCtrlLine[] LvCtrlLines = new LvCtrlLine[] { new LvCtrlLine() { CtrlLine = 1, Mix = 2 } };
/// <summary>
/// 对厚度数据横向平滑 单位加热棒数。 特别的当Smooth = ChannelCnt/2 就是膜泡的偏心度
/// </summary>
public int ThickSmoothRange = 10;
public int ThickSmoothRange = 6;
/// <summary>
/// 平滑的阀值,只有超出阀值,才平滑
......@@ -1034,7 +1034,7 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary>
/// 厚度控制线 , 厚度% 大于 厚度控制线 自动才会加热控制
/// </summary>
public double CtrlLine= 2;
public double CtrlLine= 3;
......
......@@ -51,6 +51,6 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.1.0")]
[assembly: AssemblyFileVersion("7.1.0")]
[assembly: AssemblyVersion("7.3.0.3")]
[assembly: AssemblyFileVersion("7.3.0.3")]
[assembly: Guid("D12087A7-EEC4-4D9F-9269-8F20324F4B04")]
......@@ -18,7 +18,7 @@ namespace FLY.Thick.Blowing.UI.UiModule
/// </summary>
public double YRangePercent { get; set; } = 3;
private int mix = 2;
private int mix = 1;
/// <summary>
/// 混合数
/// </summary>
......
......@@ -51,6 +51,6 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.3.0.2")]
[assembly: AssemblyFileVersion("7.3.0.2")]
[assembly: AssemblyVersion("7.3.0.3")]
[assembly: AssemblyFileVersion("7.3.0.3")]
[assembly: Guid("38E0D8EC-4D1C-49FF-AB08-6289294C5BD4")]
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