Commit a51c3e62 by liulongfei

修复同步帧问题

parent 5b9bd409
......@@ -32,7 +32,7 @@ namespace VIZ.Framework.Connection
if (syncHeader != null)
{
this.SyncHeader.AddRange(SyncHeader);
this.SyncHeader.AddRange(syncHeader);
}
}
......@@ -84,6 +84,7 @@ namespace VIZ.Framework.Connection
{
byte[] buffer_cache_new = new byte[this.FixedBufferSize];
Array.Copy(this.buffer_cache, sync_index, buffer_cache_new, 0, this.FixedBufferSize - sync_index);
this.buffer_cache = buffer_cache_new;
this.buffer_index -= sync_index;
continue;
......
......@@ -45,7 +45,7 @@ namespace VIZ.Framework.Core
return;
}
WPFHelper.BeginInvoke(() =>
WPFHelper.Invoke(() =>
{
this.PropertyChanging?.Invoke(this, new PropertyChangingEventArgs(propertyName));
});
......@@ -73,7 +73,7 @@ namespace VIZ.Framework.Core
return;
}
WPFHelper.BeginInvoke(() =>
WPFHelper.Invoke(() =>
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
});
......
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