HaoShuang 5 年之前
父節點
當前提交
35fa398c8e
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      MeasureThread/Measure.cs

+ 6 - 1
MeasureThread/Measure.cs

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