ICurveService.cs 746 Bytes
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.ComponentModel;
using FLY.Thick.Base.Common;

namespace FLY.Thick.Base.IService
{
    public interface ICurveService : INotifyPropertyChanged
    {
        /// <summary>
        /// AD曲线校正方式
        /// </summary>
        CurveCorrectWay CorrectWay { get; set; }
        /// <summary>
        /// 标记,用于告诉 客户端,当前的曲线类型, 自然对数 / 直线拟合 / 二次拟合
        /// </summary>
        CurveType Flag { get; set; }
        ObservableCollection<CurveCell> Curves { get; }
        void Apply();
        int AD2Value(int ad, AD2ValueFlag flag);
    }
}