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

namespace FLY.FilmCasting.AutoDie.Server
{

    public interface IPLCLink:INotifyPropertyChanged
    {
        #region 输出
14 15 16 17


        void SetChannelCnt(UInt16 channelCnt);
        void SetHeatUpdate(UInt16 heatUpdate);
潘栩锋's avatar
潘栩锋 committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
        /// <summary>
        /// 设置加热量
        /// </summary>
        /// <param name="values"></param>
        void SetHeat(IEnumerable<UInt16> values);

        #endregion

        #region 当前值
        /// <summary>
        /// 当前电流 有没?
        /// </summary>
        bool HasElectricity { get; }
        /// <summary>
        /// 风机是否启动?
        /// </summary>
        bool HasFan { get; }
        /// <summary>
        /// 加热量更新 读
        /// </summary>
        UInt16 HeatUpdate_R { get; }
        #endregion

        #region 状态
42
        bool IsConected { get; }
潘栩锋's avatar
潘栩锋 committed
43 44 45 46
        #endregion

    }
}