Commit 5053cdf1 authored by 潘栩锋's avatar 潘栩锋 🚴

优化 脉冲0,脉冲1 速度, 0.5s 更新一次

parent 0c240d5f
......@@ -413,7 +413,7 @@ namespace FlyADBase
Speed2 = speed2;
}
}, TimeSpan.FromSeconds(1));
}, TimeSpan.FromSeconds(0.5));
//当状态为Running时,且每秒脉冲没变,需要 查 当前的状态, 也许Stop状态少推送了
PollModule.Current.Poll_Config(() =>
......
......@@ -452,7 +452,7 @@ namespace FlyADBase
return false;
}
if (now - last_now < TimeSpan.FromSeconds(1))
if (now - last_now < TimeSpan.FromSeconds(0.5))
return false;
if (pos1_changed_time != last_pos1_changed_time && last_pos1_changed_time != DateTime.MinValue)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment