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
82
83
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using FObjBase;
namespace FLY.Thick.Base.IService
{
public interface IProfileService : IListParamService, INotifyPropertyChanged
{
/// <summary>
/// 产品名称
/// </summary>
string PName { get; set; }
/// <summary>
/// 目标值 *100
/// </summary>
int Target { get; set; }
/// <summary>
/// 工艺公差
/// </summary>
int Alarm { get; set; }
/// <summary>
/// 斜率补偿
/// </summary>
double Comp { get; set; }
/// <summary>
/// 平移补偿
/// </summary>
int Shift { get; set; }
/// <summary>
/// 扫描开始分区号
/// </summary>
int BeginNo { get; set; }
/// <summary>
///扫描结束分区号
/// </summary>
int EndNo { get; set; }
/// <summary>
/// 数据统计开始分区号
/// </summary>
int DataBeginNo { get; set; }
/// <summary>
/// 数据统计结束分区号
/// </summary>
int DataEndNo { get; set; }
}
public interface IListParamService
{
/// <summary>
/// 应用 & 保存
/// </summary>
void Apply();
/// <summary>
/// 获取产品列表, 返回类型为 List<string>
/// </summary>
/// <param name="asyncDelegate"></param>
/// <param name="asyncState"></param>
void GetList(AsyncCBHandler asyncDelegate, object asyncState);
/// <summary>
/// 删除指定产品
/// </summary>
/// <param name="productname"></param>
void Del(string productname);
/// <summary>
/// 读取指定产品,返回类型为 ProfileParam
/// </summary>
/// <param name="productname"></param>
/// <param name="asyncDelegate"></param>
/// <param name="asyncState"></param>
void Read(string productname, AsyncCBHandler asyncDelegate, object asyncState);
}
}