using MECF.Framework.Common.CommonData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace MECF.Framework.Common.Persistent.Temperature
{
public class TCPersistentValue : NotifiableItem
{
#region 内部变量
///
/// 名称
///
private string _name;
///
/// 设置温度值
///
private double _setPoint;
///
/// 设置温度值下限
///
private double _setPointLowLimit;
///
/// 设置温度值上限
///
private double _setPointHighLimit;
#endregion
///
/// 名称
///
[XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }
///
/// 设置温度值
///
public double SetPoint { get { return _setPoint; } set { _setPoint = value; InvokePropertyChanged(nameof(SetPoint)); } }
///
/// 设置温度值下限
///
public double SetPointLowLimit { get { return _setPointLowLimit; } set { _setPointLowLimit = value; InvokePropertyChanged(nameof(SetPointLowLimit)); } }
///
/// 设置温度值上限
///
public double SetPointHighLimit { get { return _setPointHighLimit; } set { _setPointHighLimit = value; InvokePropertyChanged(nameof(SetPointHighLimit)); } }
}
}