using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using FObjBase;
using FObjBase.Reflect;
namespace FLY.Thick.Base.IService
{
public interface IGageInfoService:INotifyPropertyChanged
{
///
/// 机架总长,脉冲
///
int PosLen { get; }
///
/// 1个grid = N个pos
///
int PosOfGrid { get; }
///
/// 数据好了!!!!
/// 当 flyad7 的poslen, posOfGrid 发生变化时,DataOK = false, 需要重新记录。
///
bool DataOK { get; }
///
/// 当前进度 0 - 100
///
int Progress { get; }
///
/// 数据更新时间
///
DateTime[] UpdateTimes { get; }
///
/// 正在机架修正中
///
bool IsRunning { get; }
///
/// 数据录制,记下来回扫描的AD值数组
///
void Start();
void Stop();
[Call(typeof(GetGageInfoResponse))]
void GetGageInfo(int idx, AsyncCBHandler asyncDelegate, object asyncContext);
}
public class GageInfoData
{
///
/// 正向扫描数据
///
public int[] ForwData = null;
///
/// 反向扫描数据
///
public int[] BackwData = null;
}
public class GetGageInfoResponse
{
///
/// 0 为 射线正向, 1为射线反向
///
public int Idx;
///
/// 扫描数据
///
public int[] Data = null;
///
/// 更新时间
///
public DateTime UpdateTime;
}
}