Browse Source

智能生猪饲喂系统下发属性参数修改

zswxt
lzp 4 months ago
parent
commit
1849631b14
  1. 7
      src/views/index.vue

7
src/views/index.vue

@ -131,7 +131,12 @@ export default {
this.$refs["form"].validate(valid => {
if (valid) {
sendAttribute({
"attributeParams": this.form.threshold, //
"attributeAndValues": [
{
"attributeIdentifier": "Value",
"attributeValue": this.form.threshold
}
],
"deviceId": this.deviceId // id
}).then(response => {
this.getAttributes(this.deviceId); // id

Loading…
Cancel
Save