using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Collections.ObjectModel; using FLY.FeedbackRenZiJia.Common; using FObjBase; using System.Text.RegularExpressions; using System.Net; namespace FLY.FeedbackRenZiJia.IService { public interface IFeedbackHeatService : INotifyPropertyChanged { #region 参数 /// /// 自控使能, 不保存!!! /// bool IsAuto { get; set; } /// /// 加热后起效延时,单位s; /// 从加热,到起效,再到被测量时间=Delay+mRenZiJiaService.FilmLength/mRenZiJiaService.Velocity /// int Delay { get; set; } /// /// 有检测功能 /// bool HasCheck { get; set; } /// /// 检测线速度 使能 /// bool HasCheckFilmVelocity { get; set; } /// /// 手动加热步进 /// int Step { get; set; } #endregion #region 动态数据 /// /// 通道数, 从测厚仪获取的!!!! /// int ChannelCnt { get; } /// /// 测厚仪分区数, 从测厚仪获取的!!!! /// int NBolts { get; } /// /// 保存的加热策略名称 /// string HeatsProductName { get; } /// /// 连接到PLC? /// bool IsConnectedWithPLC { get; } /// /// 上一次加热修改时间 /// DateTime LastChangedTime { get; } #endregion #region 异常检测 /// /// 当前风机启动中 /// bool HasFan { get; } /// /// 加热棒有电流 /// bool HasElectricity { get; } /// /// 检测动作 使能 /// bool CheckEnable { set; get; } /// /// 当前正在检测的加热通道 /// int CheckNo { get; } /// /// 烧了的加热棒 /// bool[] Bads { get; } #endregion /// /// 参数应用 /// void Apply(); /// /// 保存当前加热量 /// void SaveHeats(string productname); /// /// 获取保存的加热量文件列表 返回类型为 List<string> /// /// /// void GetHeatsFileList(AsyncCBHandler AsyncDelegate, object AsyncState); /// /// 删除 加热量文件 /// /// void DelHeatsFile(string productname); /// /// 加载 加热量文件 /// /// void LoadHeatsFile(string productname); #region 撤销 /// /// 撤销的序号 /// int UndoIdx { get; } /// /// 撤销中 /// bool IsInUndo { get; } /// /// 这次撤销动作的时间 /// DateTime UndoTime { get; } //UndoIdx-- void Undo(); /// /// UndoIdx++ /// void Redo(); #endregion void SetEnable(bool enable); void SetCheckEnable(bool enable); } }