Commit cc67c361 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 AD盒推送IO时,会有异常包,ichanged=0,把它屏蔽掉

parent 4398e7f6
...@@ -780,8 +780,13 @@ namespace FlyADBase ...@@ -780,8 +780,13 @@ namespace FlyADBase
} }
else if (version == 2) else if (version == 2)
{ {
IStatus = pack.istatus; IStatus = pack.istatus;
OStatus = pack.ostatus; OStatus = pack.ostatus;
if (pack.inChange == 0)
return;
Position = pack.pos1; Position = pack.pos1;
Position2 = pack.pos2; Position2 = pack.pos2;
DateTime dt = mSysTick.ToDateTime(pack.systick); DateTime dt = mSysTick.ToDateTime(pack.systick);
......
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