using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Collections.ObjectModel; namespace FLY.Simulation.Casting { public delegate void ActiveEventHandler(object sender); public interface ICurveService : INotifyPropertyChanged { /// /// AD曲线校正方式 /// CurveCorrectWay CorrectWay { get; set; } /// /// 标记,用于告诉 客户端,当前的曲线类型, 自然对数 / 直线拟合 / 二次拟合 /// CurveType Flag { get; set; } ObservableCollection Curves { get; } void Apply(); int AD2Value(int ad, AD2ValueFlag flag); } }