Browse Source

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

cxs 1 year ago
parent
commit
867985d7aa

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

@@ -254,7 +254,7 @@ namespace OTSMeasureApp
                     }
                     }
                     else if (MSTMsg.STMSampleStu.iMsrSampleStatu == OTSDataType.OTS_MSR_SAMPLE_STATUS.SUCCESSED)
                     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)
                     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();
             InitializeComponent();
             STDDBAddress = DBAddress;
             STDDBAddress = DBAddress;
-
+                                                                                                                                                                            
             X = this.Width;
             X = this.Width;
             Y = this.Height;
             Y = this.Height;
             setTag(this);
             setTag(this);