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

换了 Bads

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