Browse Source

correct the stopxrayacquisition writing fault.

gsp 3 years ago
parent
commit
a167dec305
2 changed files with 2 additions and 4 deletions
  1. 1 3
      OTSCPP/OTSControl/OTSSemBase.h
  2. 1 1
      OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

+ 1 - 3
OTSCPP/OTSControl/OTSSemBase.h

@@ -39,8 +39,7 @@ namespace OTSController {
 		// SEM Controller type ID
 		virtual OTSSEMController::SEM_ID GetType() = 0;
 
-		// simulation test
-		//virtual BOOL IsSimulation() = 0;
+	
 
 		// calls the SEM to create a connection
 		virtual BOOL Connect(void) = 0;
@@ -126,6 +125,5 @@ namespace OTSController {
 
 	typedef std::shared_ptr<COTSSemBase> __declspec(dllexport) CSemBasePtr;
 
-//	typedef std::shared_ptr<COTSSemBase> CSemBasePtr;
 
 }

+ 1 - 1
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -1395,7 +1395,7 @@ namespace OTSMeasureApp
         {
             if (m_MsrThreadWrapper.IsSEMConnected())
             {
-                m_MsrThreadWrapper.DisconnectSEM();
+                m_MsrThreadWrapper.StopXrayAcquisition();
 
 
             }