12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 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 内部变量
- /// <summary>
- /// 名称
- /// </summary>
- private string _name;
- /// <summary>
- /// 设置温度值
- /// </summary>
- private double _setPoint;
- /// <summary>
- /// 设置温度值下限
- /// </summary>
- private double _setPointLowLimit;
- /// <summary>
- /// 设置温度值上限
- /// </summary>
- private double _setPointHighLimit;
- #endregion
- /// <summary>
- /// 名称
- /// </summary>
- [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
- public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }
- /// <summary>
- /// 设置温度值
- /// </summary>
- public double SetPoint { get { return _setPoint; } set { _setPoint = value; InvokePropertyChanged(nameof(SetPoint)); } }
- /// <summary>
- /// 设置温度值下限
- /// </summary>
- public double SetPointLowLimit { get { return _setPointLowLimit; } set { _setPointLowLimit = value; InvokePropertyChanged(nameof(SetPointLowLimit)); } }
- /// <summary>
- /// 设置温度值上限
- /// </summary>
- public double SetPointHighLimit { get { return _setPointHighLimit; } set { _setPointHighLimit = value; InvokePropertyChanged(nameof(SetPointHighLimit)); } }
- }
- }
|