using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using FLY.Thick.Base.Common;
using System.Collections.ObjectModel;
namespace FLY.Thick.Base.IService
{
public interface IScanCorrService : INotifyPropertyChanged
{
///
/// 使能修正
///
bool Enable{set;get;}
///
/// 当前进度 0 - 100
///
int Progress { get; }
///
/// 正在机架修正中
///
bool Ing { get; }
///
/// 来回次数
///
int ScanTimer { get; set; }
///
/// 平滑,移动窗口
///
int SmoothFactor { get; set; }
///
/// 有效范围.开始,单位脉冲
///
int ValidBegin { get; set; }
///
/// 有效范围.结束,单位脉冲
///
int ValidEnd { get; set; }
///
/// 储存的数据是grid为单位。 需要PosOfGrid,PosLen 作为对应!!
///
int PosOfGrid { get; }
///
/// 储存的数据是grid为单位。 需要PosOfGrid,PosLen 作为对应!!
///
int PosLen { get; }
///
///组0
///
IScanCorrGroup Group0 { get; }
///
/// 组1
///
IScanCorrGroup Group1 { get; }
///
/// 开始机架修正, 参数 ScanTimer,SmoothFactor
///
/// 0,1
void Start(int groupindex);
///
/// 平滑, 参数是SmoothFactor
///
/// 0,1
void Smooth(int groupindex);
///
/// 清空组数据
///
/// 0,1
void Clear(int groupindex);
///
/// 参数应用
///
void Apply();
}
public interface IScanCorrGroup : INotifyPropertyChanged
{
///
/// 平均AD值
///
int AvgAD { get; set; }
///
/// 正反方向机架AD值数据, grid数据
///
List ForwDatas { get; }
///
/// 反方向机架AD值数据, grid数据
///
List BackwDatas { get; }
}
}