@@ -222,6 +222,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -433,6 +441,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
test_write1() {
testwrite(this.data2, this.opc_id).then(data => {
this.notify('操作成功!', 'success')
diff --git a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor.vue b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor.vue
index f411ccc6e..0020634e4 100644
--- a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor.vue
+++ b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor.vue
@@ -221,6 +221,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -451,6 +459,7 @@ export default {
test_read1() {
testRead(this.data1, this.opc_id).then(data => {
this.data1 = data
+ console.log(this.data1 )
this.notify('操作成功!', 'success')
}).catch(err => {
console.log(err.response.data.message)
@@ -463,6 +472,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
doSubmit() {
this.$refs['form'].validate((valid) => {
if (valid) {
diff --git a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_ckk.vue b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_ckk.vue
index 5ac1fdee1..54f6fd83a 100644
--- a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_ckk.vue
+++ b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_ckk.vue
@@ -221,6 +221,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -456,6 +464,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
test_write1() {
testwrite(this.data2, this.opc_id).then(data => {
this.notify('操作成功!', 'success')
diff --git a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_labeling.vue b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_labeling.vue
index 8b75aad93..98c28fe75 100644
--- a/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_labeling.vue
+++ b/acs/nladmin-ui/src/views/acs/device/driver/siemens_conveyor_labeling.vue
@@ -221,6 +221,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -456,6 +464,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
test_write1() {
testwrite(this.data2, this.opc_id).then(data => {
this.notify('操作成功!', 'success')
diff --git a/acs/nladmin-ui/src/views/acs/device/driver/slit_two_manipulator.vue b/acs/nladmin-ui/src/views/acs/device/driver/slit_two_manipulator.vue
index 4f31ec24f..f59390634 100644
--- a/acs/nladmin-ui/src/views/acs/device/driver/slit_two_manipulator.vue
+++ b/acs/nladmin-ui/src/views/acs/device/driver/slit_two_manipulator.vue
@@ -369,6 +369,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -588,6 +596,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
test_write1() {
testwrite(this.data2, this.opc_id).then(data => {
this.notify('操作成功!', 'success')
diff --git a/acs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue b/acs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue
index 5d0b5134d..8b0257806 100644
--- a/acs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue
+++ b/acs/nladmin-ui/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue
@@ -274,6 +274,14 @@
/>
+
+
+ 测试读
+
+
+
+
+
测试写
@@ -490,6 +498,15 @@ export default {
console.log(err.response.data.message)
})
},
+ test_read2() {
+ testRead(this.data2, this.opc_id).then(data => {
+ this.data2 = data
+ console.log(this.data2)
+ this.notify('操作成功!', 'success')
+ }).catch(err => {
+ console.log(err.response.data.message)
+ })
+ },
test_write1() {
testwrite(this.data2, this.opc_id).then(data => {
this.notify('操作成功!', 'success')