You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have frame data comes from a serial port, like every 200ms it received a heartbeat
// Heartbeat frame parsed to device property
public class Device : ObservableObject
{
public ReactiveProperty<DeviceResetType> DeviceResetState { get; set; } = new(DeviceResetType.NotRest);
public ReactiveProperty<SealMotorResetType> SealMotorResetState { get; set; } = new(SealMotorResetType.NotRest);
public ReactiveProperty<ushort> ScanTargetIndex { get; set; } = new(0);
public ReactiveProperty<ushort> ActionPackNumber { get; set; } = new(0);
...
}
i want to expose the data to the UI layer(views),but the FrameProvider seems like a fixed size collections of data replay, how can I use a FrameProvider that can get new serial port data continuously, and push the data to views?
void RunLoop()
{
var span = list.AsSpan();
for (int i = 0; i < span.Length; i++)
The text was updated successfully, but these errors were encountered:
Halo:
I have frame data comes from a serial port, like every 200ms it received a heartbeat
i want to expose the data to the UI layer(views),but the FrameProvider seems like a fixed size collections of data replay, how can I use a FrameProvider that can get new serial port data continuously, and push the data to views?
The text was updated successfully, but these errors were encountered: