فهرست منبع

取消压力读取

KWD 5 ماه پیش
والد
کامیت
433657aa9e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      TeamAAS-VM/Core/Management.cs

+ 2 - 2
TeamAAS-VM/Core/Management.cs

@@ -1850,7 +1850,7 @@ namespace TeamAAS_VP.Core
                             Int16 positionIndex = plc.ReadNode<Int16>(addressConfig.In_ProductNum.Address);
                             SendTaskMessage(string.Format(Lang.编号0, positionIndex), MessageLevel.Info);
                             // 开始采集压力值
-                            StartPressureCollection(currentProduct.Name, _productService.CurrentProductCode, 0);
+                            //StartPressureCollection(currentProduct.Name, _productService.CurrentProductCode, 0);
                         }
                         else
                         {
@@ -2007,7 +2007,7 @@ namespace TeamAAS_VP.Core
 
                             await plc.WriteNodeAsync(addressConfig.In_WorkDone.Address, (Int16)0);
                             // 停止采集压力并保存
-                            await StopAndSavePressureCollectionAsync(currentProduct.Name, _productService.CurrentProductCode, positionIndex);
+                            //await StopAndSavePressureCollectionAsync(currentProduct.Name, _productService.CurrentProductCode, positionIndex);
                             pressure = 0;
                         }
                         else