Browse Source

fix the xml enum value format of the result file.

gsp 3 years ago
parent
commit
ee3e0e945c

+ 3 - 3
OTSIncAMeasureApp/0-OTSModel/Measure/3-MeasureFlow/CMsrThread.cs

@@ -520,10 +520,10 @@ namespace OTSModelSharp
         // measure status
        public void SetMsrLoopStatus(otsdataconst.OTS_MSR_THREAD_STATUS a_nMsrLoopStatus)
         {
-            if (a_nMsrLoopStatus >= otsdataconst.OTS_MSR_THREAD_STATUS.MIN && a_nMsrLoopStatus <= otsdataconst.OTS_MSR_THREAD_STATUS.MAX)
-            {
+            //if (a_nMsrLoopStatus >= otsdataconst.OTS_MSR_THREAD_STATUS.MIN && a_nMsrLoopStatus <= otsdataconst.OTS_MSR_THREAD_STATUS.MAX)
+            //{
                 m_ThreadStatus.SetStatus( a_nMsrLoopStatus);
-            }
+            //}
         }
 
     

+ 2 - 2
OTSIncAMeasureApp/0-OTSModel/OTSDataType/COTSImageProcParam.cs

@@ -105,8 +105,8 @@ namespace OTSDataType
             xString xnBGRemoveType = new xString();
             xString xnautoBGRemoveType = new xString();
 
-            slo.Register("m_BGRemoveType", xnBGRemoveType);
-            slo.Register("m_autoBGRemoveType", xnautoBGRemoveType);
+            slo.Register("BGRemoveType", xnBGRemoveType);
+            slo.Register("AutoBGRemoveType", xnautoBGRemoveType);
 
             if (isStoring)
             {

+ 4 - 4
OTSIncAMeasureApp/0-OTSModel/OTSDataType/otsdataconst.cs

@@ -249,21 +249,21 @@ namespace OTSDataType
         public enum OTS_MSR_THREAD_STATUS
         {
             READY = 0,
-            MIN = 0,
+            //MIN = 0,
             INPROCESS = 1,
             STOPPED = 2,
             FAILED = 3,
             COMPLETED = 4,
-            MAX = 4
+            //MAX = 4
         }
    
 
         public enum OTS_THREAD_TIME_TYPE
         {
-            MIN = 0,
+            //MIN = 0,
             START = 1,
             STOPPED = 2,
-            MAX = 2
+            //MAX = 2
         }
 
         public enum STEEL_TECHNOLOGY