|
@@ -338,6 +338,8 @@ const configeObj = (type) => {
|
|
|
return ["length"];
|
|
|
case "GDC":
|
|
|
return ["height"];
|
|
|
+ case "WKDLT":
|
|
|
+ return ["temperature"];
|
|
|
//电动螺丝刀
|
|
|
case "DDLSD":
|
|
|
return [
|
|
@@ -361,6 +363,9 @@ const addItem = (no, name, type, index) => {
|
|
|
case "YBCK":
|
|
|
data = { CH5Val: "", CH6Val: "", DataTimes: "" };
|
|
|
break;
|
|
|
+ case "WKDLT":
|
|
|
+ data = {temperature:""};
|
|
|
+ break;
|
|
|
case "GDC":
|
|
|
data = { CH5Val: "", CH6Val: "", DataTimes: "" };
|
|
|
break;
|
|
@@ -501,6 +506,13 @@ emitter.on(EventsNames.GETDATA_GDC, (name) => {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+emitter.on(EventsNames.GETDATA_GDC, (name) => {
|
|
|
+ materialsData.value.forEach((item, index) => {
|
|
|
+ if (item.deviceType == "WKDLT" && item.deviceNo == name) {
|
|
|
+ setAcquisitionDatas(item.deviceNo, index);
|
|
|
+ }
|
|
|
+ });
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|