领胜LDS 键盘AOI检测项目
wells.liu
2020-07-07 5918194fccdb2a2303e713b8d2f3335243b9e2ef
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
using System;
using System.Threading;
 
namespace Bro.Common.Interface
{
    /// <summary>
    /// 设备的实际运行的硬件输入配置
    /// 考虑使用消息接收机制在这里等待外部信号进入
    /// </summary>
    public interface IInputConfig : IDisposable //: IProcessID
    {
        /// <summary>
        /// 该配置对应的工序编号
        /// 考虑到多工序可能对应到同样的配置,工序编号不做固定赋值,在设备运作时随用随赋值
        /// </summary>
        string ProcessId { get; set; }
 
        /// <summary>
        /// 工序名称
        /// </summary>
        string ProcessName { get; set; }
 
        //Dictionary<string, AutoResetEvent> InputHanlderDict { get; set; }
        //Dictionary<string, bool> InputFlagDict { get; set; }
 
        //ConcurrentDictionary<string, AutoResetEvent> InputHanlderDict { get; set; }
 
        //ConcurrentDictionary<string, bool> InputFlagDict { get; set; }
 
        AutoResetEvent InputHandle { get; set; }
 
        ///// <summary>
        ///// 是否已进入输入配置方法标志
        ///// </summary>
        //bool BoundFlag { get; set; }
 
        /// <summary>
        /// 是否需要做硬输入(外部输入)判断 false:不需要 true:需要
        /// </summary>
        bool IsInputNeed { get; set; }
 
        string InputMethodName { get; set; }
 
 
        /// <summary>
        /// 第三方设备输入参数
        /// </summary>
        dynamic InputPara { get; set; }
    }
}