TrackCommand / TrackEvent / RecorderStatus

flowchart LR
Runtime[TrackRuntime] --> Command[TrackCommand]
Command --> Worker[TrackStorageWorker]
Worker --> Files[ITrackFileAdapter]
Worker --> Event[TrackEvent]
Event --> State[TrackStateMachine]
State -->|Started| Recording
State -->|ResourceBusy| Recovering
State -->|FlushFailed or Failed| Error
State -->|Stopped| Stopped
Buffer[TrackPointBuffer] --> Command

当前命令没有 Pause/Resume;事件也没有 Acknowledge/Reset。