Browse Source

sysmgr 添加 场发射 自动 关电压

CXS 3 năm trước cách đây
mục cha
commit
ac57f8b3ab
2 tập tin đã thay đổi với 225 bổ sung235 xóa
  1. 210 235
      OTSSysMgrApp/SemTestForms.Designer.cs
  2. 15 0
      OTSSysMgrApp/SemTestForms.cs

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 210 - 235
OTSSysMgrApp/SemTestForms.Designer.cs


+ 15 - 0
OTSSysMgrApp/SemTestForms.cs

@@ -1303,5 +1303,20 @@ namespace OTSSysMgrApp
         {
 
         }
+
+        private void button_VoltageStatus_Click(object sender, EventArgs e)
+        {
+            //连接电镜 关闭电压
+            int a_HTValue = 0;
+            bool result = cfun.GetSemHTOnOff(ref a_HTValue);
+                MessageBox.Show("电压当前状态:" + Convert.ToBoolean(a_HTValue).ToString());
+        }
+
+        private void button_VoltageClose_Click(object sender, EventArgs e)
+        {
+            int a_HTValue = 0; 
+            bool result = cfun.SetSemHTOnOff(a_HTValue);
+                MessageBox.Show("关闭电压是否成功:" + Convert.ToBoolean(result).ToString());
+        }
     }
 }

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác