Commit 8caa31f8 authored by 潘栩锋's avatar 潘栩锋 🚴

换了 Bads

parent d0966345
...@@ -15,6 +15,7 @@ using FLY.OBJComponents.Server; ...@@ -15,6 +15,7 @@ using FLY.OBJComponents.Server;
using FLY.OBJComponents.Common; using FLY.OBJComponents.Common;
using System.Net; using System.Net;
using FLY.FeedbackRenZiJia.Server.Model; using FLY.FeedbackRenZiJia.Server.Model;
using PropertyChanged;
namespace FLY.FeedbackRenZiJia.Server namespace FLY.FeedbackRenZiJia.Server
{ {
...@@ -93,10 +94,11 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -93,10 +94,11 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary> /// <summary>
/// 烧了的加热棒 /// 烧了的加热棒
/// </summary> /// </summary>
public bool[] Bads [DoNotCheckEquality]
{ public bool[] Bads { get; set; }
get { return mHeatCheck.Bads; } //{
} // get { return mHeatCheck.Bads; }
//}
/// <summary> /// <summary>
/// 当前风机启动中 /// 当前风机启动中
...@@ -256,15 +258,15 @@ namespace FLY.FeedbackRenZiJia.Server ...@@ -256,15 +258,15 @@ namespace FLY.FeedbackRenZiJia.Server
Misc.BindingOperations.SetBinding(this, "HasCheck", mHeatCheck, "Has"); Misc.BindingOperations.SetBinding(this, "HasCheck", mHeatCheck, "Has");
Misc.BindingOperations.SetBinding(mHeatCheck, "Enable", this, "CheckEnable", Misc.BindingOperations.BindingMode.TwoWay); Misc.BindingOperations.SetBinding(mHeatCheck, "Enable", this, "CheckEnable", Misc.BindingOperations.BindingMode.TwoWay);
Misc.BindingOperations.SetBinding(mHeatCheck, "CheckNo", this, "CheckNo"); Misc.BindingOperations.SetBinding(mHeatCheck, "CheckNo", this, "CheckNo");
//Misc.BindingOperations.SetBinding(mHeatCheck, "Bads", this, "Bads"); Misc.BindingOperations.SetBinding(mHeatCheck, "Bads", this, "Bads");
mHeatCheck.PropertyChanged += (s, e) => //mHeatCheck.PropertyChanged += (s, e) =>
{ //{
if (e.PropertyName == "Bads") // if (e.PropertyName == "Bads")
{ // {
NotifyPropertyChanged("Bads"); // NotifyPropertyChanged("Bads");
} // }
}; //};
if (plc is PLCLink) if (plc is PLCLink)
......
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