|
@@ -320,9 +320,9 @@ const startTest1 = (a, b, c) => {
|
|
|
const showLable = (key) => {
|
|
|
switch (key) {
|
|
|
case "tipTemperature":
|
|
|
- return "温度";
|
|
|
+ return "采集温度";
|
|
|
case "CH5Val":
|
|
|
- return "温度";
|
|
|
+ return "采集温度";
|
|
|
case "CH6Val":
|
|
|
return "湿度";
|
|
|
case "DataTimes":
|
|
@@ -341,6 +341,10 @@ const showLable = (key) => {
|
|
|
return "最终拧紧结果";
|
|
|
case "totalCycles":
|
|
|
return "总圈数";
|
|
|
+ case "weight":
|
|
|
+ return "重量";
|
|
|
+ case "setTemp":
|
|
|
+ return "设置温度";
|
|
|
case "length":
|
|
|
return "长度";
|
|
|
case "height":
|
|
@@ -482,7 +486,9 @@ const configeObj = (type) => {
|
|
|
case "GDC":
|
|
|
return ["height"];
|
|
|
case "WKDLT":
|
|
|
- return ["tipTemperature"];
|
|
|
+ return ["tipTemperature","setTemp"];
|
|
|
+ case "CZSB":
|
|
|
+ return ["weight"];
|
|
|
//电动螺丝刀
|
|
|
case "DDLSD":
|
|
|
return [
|
|
@@ -657,6 +663,14 @@ emitter.on(EventsNames.GETDATA_WKDLT, (name) => {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+
|
|
|
+emitter.on(EventsNames.GETDATA_CZSB, (name) => {
|
|
|
+ materialsData.value.forEach((item, index) => {
|
|
|
+ if (item.deviceType == "CZSB" && item.deviceNo == name) {
|
|
|
+ setAcquisitionDatas(item.deviceNo, index);
|
|
|
+ }
|
|
|
+ });
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|