陈子杰 2 ヶ月 前
コミット
9506ece2cb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      SCADA_DAQ/Customer/Service/ScannerService.cs

+ 1 - 1
SCADA_DAQ/Customer/Service/ScannerService.cs

@@ -118,7 +118,7 @@ namespace SCADA_DAQ.Customer.Service
             }
             //var barcodeTask = Env.DAL.App_Hold_BoardInfo.GetData<BoardTaskModel>(t=>t.BoardID == barcode).FirstOrDefault();
             var api = new WebApiHelper(_ScannerServiceConfig.Url);
-            if ((DateTime.Now - LastScanTime).TotalSeconds > 3)
+            if ((DateTime.Now - LastScanTime).TotalSeconds > 4)
             {
                 //Plc1.GetListenReg(SortingDeliveryMachine.Tag_CodeMatch).WriteReg(0);