public PacketLogPageViewModel(PacketLogModel logModel) { LogModel = logModel; textLog = LogModel.LogList; this.ClearLogCommand = new DelegateCommand(() => { textLog.Clear(); RaisePropertyChanged(nameof(TextLog)); }); }
public SensorStatusPageViewModel(PacketLogModel logModel) { Tag = logModel.ObserveProperty(x => x.Tag).ToReadOnlyReactivePropertySlim(); }