修改指令格式,增加udp创建反馈

This commit is contained in:
zyl
2025-11-20 16:06:44 +08:00
parent 1e1725bf82
commit f965849bba
10 changed files with 5669 additions and 3422 deletions

View File

@ -513,7 +513,8 @@ export default {
if (JSON.parse(sandTable_udp_client_status)) {
// 如果status为“K”那么双击的时候就发出关灯指令
let val = udp_pointMap.get(key)
val.command = (status == 'G' ? "B" : "A")
// val.command = (status == 'G' ? "B" : "A")
val.command = (status == 'g #' ? "g #" : "k #")
if (val) {
_entityMap.get(val.source_id).flyTo()
}