carcheck修改

This commit is contained in:
lvyuankang 2024-07-29 08:56:01 +08:00
parent 23ea400ee3
commit bf8e2226a7

View File

@ -111,7 +111,7 @@ export default struct Index {
carConfigurationInfoFn() { carConfigurationInfoFn() {
if (globalThis.singlePlay) { if (globalThis.singlePlay) {
// //
const str = "1:5;2:5;3:5;4:5;5:5;6:5;7:5;8:5;9:5;10:5;11:5;12:5;13:5;14:5;15:5;16:5;17:5;18:5;19:5;20:5;21:5;22:2;23:5;24:5;25:5;" const str = "1:5;2:5;3:5;4:5;5:5;6:5;7:5;8:5;9:5;10:5;11:5;12:5;13:5;14:5;15:5;16:5;17:5;18:5;19:5;20:5;21:5;22:2;23:5;24:5"
const data = str.split(';') const data = str.split(';')
this.checkList = [] this.checkList = []
const list = data const list = data
@ -166,7 +166,7 @@ export default struct Index {
getPLCInfo() { getPLCInfo() {
const that = this const that = this
globalThis.udpClient && globalThis.udpClient.onMessage_1((msg) => { globalThis.udpClient.onMessage_1 && globalThis.udpClient.onMessage_1((msg) => {
if (!this.breakFlag) { if (!this.breakFlag) {
return return
} }