|
@@ -27,15 +27,19 @@ namespace MeasureThread
|
|
|
public delegate void ThreadStatusHandler(object sender, ThreadStatusEventArgs e); //声明委托
|
|
|
public delegate void CutHolesStatusHandler(object sender, CutHolesStatusEventArgs e);
|
|
|
|
|
|
+
|
|
|
+ //线程与界面通信协议
|
|
|
public class ThreadStatusEventArgs
|
|
|
{
|
|
|
+ //状态,
|
|
|
public string State
|
|
|
{
|
|
|
get { return m_state; }
|
|
|
set { m_state = value; }
|
|
|
}
|
|
|
private string m_state;
|
|
|
-
|
|
|
+
|
|
|
+ //时间
|
|
|
public DateTime Time
|
|
|
{
|
|
|
get { return m_time; }
|
|
@@ -43,6 +47,7 @@ namespace MeasureThread
|
|
|
}
|
|
|
private DateTime m_time;
|
|
|
|
|
|
+ //步骤编码
|
|
|
public int Step_Code
|
|
|
{
|
|
|
get { return step_Code; }
|