【类 型】:

【原  因】:
【过  程】:
【影  响】:
This commit is contained in:
tk 2024-08-09 20:13:13 +08:00
parent 3e92ede8d1
commit ee62c47558

View File

@ -744,7 +744,7 @@ void pubThread()
// 遍历 有更新的数据 组成一个json对象
for (int i = 0; i < topicPubCount; i++)
{
if (i == 0) // 心跳每次发 需要每次必发的写在这里
if (i == 0 || i == 10) // 心跳每次发 飞机状态 需要每次必发的写在这里
{
doc[topicPub[i]] = topicPubMsg[i];
}