Explorar el Código

sysmgr 添加 场发射 自动 关电压

CXS hace 3 años
padre
commit
ac57f8b3ab
Se han modificado 2 ficheros con 225 adiciones y 235 borrados
  1. 210 235
      OTSSysMgrApp/SemTestForms.Designer.cs
  2. 15 0
      OTSSysMgrApp/SemTestForms.cs

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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());
+        }
     }
     }
 }
 }

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio