分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-06-20 3b243dbf4c477fc6ca39263f3969c7118fe27a68
优化检测上料逻辑
已修改3个文件
14 ■■■■ 文件已修改
代码管理/PCS/WCS_Client/package.json 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Client/src/api/http.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Client/package.json
@@ -3,11 +3,11 @@
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "serve": " SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
    "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
    "test:unit": "vue-cli-service test:unit",
    "lint": "vue-cli-service lint"
  },
},
  "dependencies": {
    "@element-plus/icons-vue": "^2.1.0",
    "@microsoft/signalr": "^6.0.4",
代码管理/PCS/WCS_Client/src/api/http.js
@@ -12,7 +12,7 @@
let loadingInstance;
let loadingStatus = false;
if (process.env.NODE_ENV == 'development') {
    axios.defaults.baseURL = 'http://192.168.12.118:8099/';
    axios.defaults.baseURL = 'http://192.168.12.101:8099/';
}
else if (process.env.NODE_ENV == 'debug') {
    axios.defaults.baseURL = 'http://192.168.12.101:8099/';
代码管理/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs
@@ -17,6 +17,7 @@
using WIDESEA_WCS.JobsPart.Common;
using System.Xml.Linq;
using WIDESEA_Common;
using System.Net;
namespace WIDESEA_WCS
{
@@ -219,6 +220,11 @@
                        //}
                        #endregion
                    }
                    else
                    {
                        var count = Gantry_client.ReadByOrder<Int16>("W_IndexNr", number);
                        if (Station.quantity != count) Gantry_client.WriteByOrder("W_RequestUnload", false, number);
                    }
                }
                else
                {