|
@@ -12,6 +12,7 @@ using OTSModelSharp;
|
|
|
using OTSModelSharp.ResourceManage;
|
|
|
using static OTSDataType.otsdataconst;
|
|
|
using System.Diagnostics;
|
|
|
+using OTSModelSharp.ServiceInterface;
|
|
|
|
|
|
namespace OTSMeasureApp
|
|
|
{
|
|
@@ -208,6 +209,9 @@ namespace OTSMeasureApp
|
|
|
|
|
|
private void rbReport_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
+ //打开报告之前先关闭电镜连接
|
|
|
+ var sem = NSOTSController.COTSControlFunExport.GetControllerInstance();
|
|
|
+ sem.DisconnectSem();
|
|
|
//测量结果文件路径列表
|
|
|
List<string> mrFilePathList = new List<string>();
|
|
|
|