IPLCLink.cs 1.14 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Collections.ObjectModel;

namespace FLY.FeedbackRenZiJia.Server
{

    public interface IPLCLink:INotifyPropertyChanged
    {
        #region 输出
        /// <summary>
        /// 加热通道数
        /// </summary>
        UInt16 ChannelCnt { get; set; }
        /// <summary>
19
        /// 加热量更新 写
潘栩锋's avatar
潘栩锋 committed
20 21 22 23 24
        /// </summary>
        UInt16 HeatUpdate { get; set; }
        /// <summary>
        /// 设置加热量
        /// </summary>
25 26
        /// <param name="values"></param>
        void SetHeat(IEnumerable<UInt16> values);
潘栩锋's avatar
潘栩锋 committed
27 28 29 30 31 32 33 34 35 36 37 38 39

        #endregion

        #region 当前值
        /// <summary>
        /// 当前电流 有没?
        /// </summary>
        bool HasElectricity { get; }
        /// <summary>
        /// 风机是否启动?
        /// </summary>
        bool HasFan { get; }
        /// <summary>
40
        /// 加热量更新 读
潘栩锋's avatar
潘栩锋 committed
41
        /// </summary>
42
        UInt16 HeatUpdate_R { get; }
潘栩锋's avatar
潘栩锋 committed
43 44 45 46 47 48 49 50
        #endregion

        #region 状态
        int Errno { get; set; }
        #endregion

    }
}