소스 검색

修改暂停后点停止按钮失效bug

cxs 1 년 전
부모
커밋
867985d7aa
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      OTSIncAMeasureApp/1-OTSMeasure/CMeasureThreadWrapper.cs
  2. 1 1
      OTSPartA_STDEditor/UI/Form_ZeroElementRules.cs

+ 1 - 1
OTSIncAMeasureApp/1-OTSMeasure/CMeasureThreadWrapper.cs

@@ -254,7 +254,7 @@ namespace OTSMeasureApp
                     }
                     else if (MSTMsg.STMSampleStu.iMsrSampleStatu == OTSDataType.OTS_MSR_SAMPLE_STATUS.SUCCESSED)
                     {
-                        //StopMeasure(MSTMsg);
+                        StopMeasure(MSTMsg);
                     }
                     else if(MSTMsg.STMSampleStu.iMsrSampleStatu == OTSDataType.OTS_MSR_SAMPLE_STATUS.PAUSED)
                     {

+ 1 - 1
OTSPartA_STDEditor/UI/Form_ZeroElementRules.cs

@@ -28,7 +28,7 @@ namespace OTSPartA_STDEditor
         {
             InitializeComponent();
             STDDBAddress = DBAddress;
-
+                                                                                                                                                                            
             X = this.Width;
             Y = this.Height;
             setTag(this);