using FLY.Thick.Base.Common;
using System.ComponentModel;

namespace FLY.Thick.Base.IService
{
    public interface ICurveService : INotifyPropertyChanged
    {
        /// <summary>
        /// AD曲线校正方式
        /// </summary>
        CurveCorrectWay CorrectWay { get; }
        /// <summary>
        /// 标记，用于告诉 客户端，当前的曲线类型， 自然对数 / 直线拟合 / 二次拟合
        /// </summary>
        CurveType Flag { get; }
        /// <summary>
        /// 曲线
        /// </summary>
        CurveCell[] Curves { get; }


        void Apply(CurveCorrectWay correctWay, CurveType flag, CurveCell2[] curves);
    }
}
