using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using FObjBase; using System.ServiceModel; namespace FLY.Thick.Base.IService { public interface IProfileService : IListParamService, INotifyPropertyChanged { /// /// 产品名称 /// string PName { get; set; } /// /// 目标值 *100 /// int Target { get; set; } /// /// 工艺公差 /// int Alarm { get; set; } /// /// 斜率补偿 /// double Comp { get; set; } /// /// 平移补偿 /// int Shift { get; set; } /// /// 扫描开始分区号 /// int BeginNo { get; set; } /// ///扫描结束分区号 /// int EndNo { get; set; } /// /// 数据统计开始分区号 /// int DataBeginNo { get; set; } /// /// 数据统计结束分区号 /// int DataEndNo { get; set; } } public interface IListParamService { /// /// 应用 & 保存 /// void Apply(); /// /// 获取产品列表, 返回类型为 List<string> /// /// /// void GetList(AsyncCBHandler asyncDelegate, object asyncContext); /// /// 删除指定产品 /// /// void Del(string productname); /// /// 读取指定产品,返回类型为 ProfileParam /// /// /// /// void Read(string productname, AsyncCBHandler asyncDelegate, object asyncContext); } }