Explorar o código

数据采集更改

qinhb hai 2 meses
pai
achega
a011e08b03
Modificáronse 1 ficheiros con 20 adicións e 24 borrados
  1. 20 24
      src/views/pro/traceability/components/collectionCom.vue

+ 20 - 24
src/views/pro/traceability/components/collectionCom.vue

@@ -199,20 +199,20 @@ const showLable = (key) => {
   switch (key) {
     case "tipTemperature":
       return "温度";
-    case "CH5Val":
-      return "温度";
-    case "CH6Val":
-      return "湿度";
+    case "errCode":
+      return "错误代码";
+    case "Finalangle":
+      return "最终角度";
+    case "Finaltime":
+      return "最终时间";
+    case "Tighteningresult":
+      return "最终结果";
+    case "Finaltorque":
+      return "最终扭矩";
     case "DataTimes":
       return "采集时间";
-    case "torquetarget":
-      return "当前任务目标扭力";
-    case "tightenTorqueMax":
-      return "拧紧过程中最大扭力值";
     case "taskNo":
       return "当前任务号";
-    case "taskName":
-      return "任务名";
     case "warning":
       return "警报";
     case "tightenResult":
@@ -223,10 +223,10 @@ const showLable = (key) => {
       return "长度";
     case "height":
       return "高度";
-    case "DDLSD1":
-      return "拧紧的模式";
-    case "DDLSD2":
-      return "拧紧旋转方向";
+    case "ch1_temperature":
+      return "电烙铁通道1温度";
+    case "ch2_temperature":
+      return "电烙铁通道2温度";
     case "DDLSD3":
       return "目标扭力";
     case "DDLSD4":
@@ -251,10 +251,6 @@ const showLable = (key) => {
       return "扭力偏差下限";
     case "DDLSD14":
       return "扭力免检圈数";
-    case "DDLSD15":
-      return "拧松有效触发的扭力阀值";
-    case "DDLSD16":
-      return "拧松有效触发的保持时间";
     case "DDLSD17":
       return "自由旋转方向";
     case "DDLSD18":
@@ -287,12 +283,12 @@ const showLable = (key) => {
       return "STEP-01拧松速度";
     case "DDLSD32":
       return "STEP-02拧松圈数";
-    case "DDLSD33":
-      return "STEP-02拧松速度";
-    case "DDLSD34":
-      return "STEP-00自由圈数";
-    case "DDLSD35":
-      return "STEP-00自由速度";
+    case "humidity":
+      return "湿度";
+    case "temp":
+      return "温度";
+    case "ts":
+      return "时间";
     default:
       return null;
   }