diff --git a/src/store/moduleSocket.ts b/src/store/moduleSocket.ts index 9e83ebe..34c705a 100644 --- a/src/store/moduleSocket.ts +++ b/src/store/moduleSocket.ts @@ -172,20 +172,20 @@ export const useSocketStore = defineStore(Names.socket, { * @函数备注: */ changePM(val) { - let arr = ['083e3900-3435-11ed-a7e1-fd42bca6c8c6', 'bcbfb530-88b2-11ed-a926-570995ad0254', '01336fd0-1fa0-11ed-9223-7db1174970a8'] + let arr = ['25c78580-1594-11ee-b4df-a9653aef169c', '2e0310c0-1594-11ee-b4df-a9653aef169c', '6bbbb1b0-1594-11ee-b4df-a9653aef169c'] // if (arr.indexOf(val.devId) > -1) { // console.log(val,'这三个设备'); // } - if (val.devId == '083e3900-3435-11ed-a7e1-fd42bca6c8c6') { + if (val.devId == '2e0310c0-1594-11ee-b4df-a9653aef169c') { this.pm.welding.two = val.pm25 this.pm.welding.ten = val.pm10 - } else if (val.devId == 'bcbfb530-88b2-11ed-a926-570995ad0254') { + } else if (val.devId == '6bbbb1b0-1594-11ee-b4df-a9653aef169c') { this.pm.ornaments.two = val.pm25 this.pm.ornaments.ten = val.pm10 - } else if (val.devId == '01336fd0-1fa0-11ed-9223-7db1174970a8') { + } else if (val.devId == '25c78580-1594-11ee-b4df-a9653aef169c') { this.pm.stuff.two = val.pm25 this.pm.stuff.ten = val.pm10 }