Commit 488d9865 authored by 潘栩锋's avatar 潘栩锋 🚴

优化 优化查加热棒坏的逻辑

parent dce5e262
...@@ -130,7 +130,10 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -130,7 +130,10 @@ namespace FLY.FeedbackRenZiJia.Server
/// </summary> /// </summary>
public bool CheckEnable { get; set; } = false; public bool CheckEnable { get; set; } = false;
/// <summary>
/// 1块加热控制板 接多少路加热
/// </summary>
public int HeatsOfGroup { get; set; } = 12;
#endregion #endregion
...@@ -255,7 +258,7 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -255,7 +258,7 @@ namespace FLY.FeedbackRenZiJia.Server
Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.Enable), this, nameof(CheckEnable), Misc.BindingOperations.BindingMode.TwoWay); Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.Enable), this, nameof(CheckEnable), Misc.BindingOperations.BindingMode.TwoWay);
Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.CheckNo), this, nameof(CheckNo)); Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.CheckNo), this, nameof(CheckNo));
Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.Bads), this, nameof(Bads)); Misc.BindingOperations.SetBinding(mHeatCheck, nameof(mHeatCheck.Bads), this, nameof(Bads));
Misc.BindingOperations.SetBinding(this, nameof(HeatsOfGroup), mHeatCheck, nameof(mHeatCheck.HeatsOfGroup));
if (plc is PLCLink) if (plc is PLCLink)
{ {
((PLCLink)plc).Start(); ((PLCLink)plc).Start();
...@@ -994,6 +997,11 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -994,6 +997,11 @@ namespace FLY.FeedbackRenZiJia.Server
/// 检测线速度 使能 /// 检测线速度 使能
/// </summary> /// </summary>
public bool HasCheckFilmVelocity; public bool HasCheckFilmVelocity;
/// <summary>
/// 1块加热控制板 接多少路加热
/// </summary>
public int HeatsOfGroup = 12;
#endregion #endregion
} }
......
...@@ -635,7 +635,7 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -635,7 +635,7 @@ namespace FLY.FeedbackRenZiJia.Server
/// </summary> /// </summary>
public void Cal() public void Cal()
{ {
var thickpercents = Common.MyMath.ZoomOut(ThickPercents, BoltCnt / ChannelCnt); var thickpercents = ThickPercents;// Common.MyMath.ZoomOut(ThickPercents, BoltCnt / ChannelCnt);
int[] offsets = new int[ChannelCnt]; int[] offsets = new int[ChannelCnt];
for (int i = 0; i < ChannelCnt; i++) for (int i = 0; i < ChannelCnt; i++)
{ {
......
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