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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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
{
/// <summary>
/// 机架总长,脉冲
/// </summary>
int PosLen { get; }
/// <summary>
/// 1个grid = N个pos
/// </summary>
int PosOfGrid { get; }
/// <summary>
/// 数据好了!!!!
/// 当 flyad7 的poslen, posOfGrid 发生变化时,DataOK = false, 需要重新记录。
/// </summary>
bool DataOK { get; }
/// <summary>
/// 当前进度 0 - 100
/// </summary>
int Progress { get; }
/// <summary>
/// 数据更新时间
/// </summary>
DateTime[] UpdateTimes { get; }
/// <summary>
/// 正在机架修正中
/// </summary>
bool IsRunning { get; }
/// <summary>
/// 数据录制,记下来回扫描的AD值数组
/// </summary>
void Start();
void Stop();
[Call(typeof(GetGageInfoResponse))]
void GetGageInfo(int idx, AsyncCBHandler asyncDelegate, object asyncContext);
}
public class GageInfoData
{
/// <summary>
/// 正向扫描数据
/// </summary>
public int[] ForwData = null;
/// <summary>
/// 反向扫描数据
/// </summary>
public int[] BackwData = null;
}
public class GetGageInfoResponse
{
/// <summary>
/// 0 为 射线正向, 1为射线反向
/// </summary>
public int Idx;
/// <summary>
/// 扫描数据
/// </summary>
public int[] Data = null;
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime;
}
}