aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-12 14:03:47 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-12 14:03:47 +0300
commit856a23723afcc9d48c0f019dc33a259ac6c279ed (patch)
tree6cc82030ee2d9c74bd7f841bfdc6a0c163def97d /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs
parent70fe7f13b519df86420f8c2b97cf8eb3ab67e9a5 (diff)
downloadTango-856a23723afcc9d48c0f019dc33a259ac6c279ed.tar.gz
Tango-856a23723afcc9d48c0f019dc33a259ac6c279ed.zip
Implemented continuous request timeouts.
Implemented continuous request abort exception. Added log object for real time logs. Some work on PPC & Machine Studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs
index 8cf4edcb3..ba18cbdb1 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EmbeddedLogsViewVM.cs
@@ -96,6 +96,8 @@ namespace Tango.MachineStudio.Logging.ViewModels
public RelayCommand ToggleRealTimePaused { get; set; }
+ public RelayCommand ClearRealTimeLogsCommand { get; set; }
+
public EmbeddedLogsViewVM(LoggingNavigationManager navigation, IStudioApplicationManager application, INotificationProvider notification)
{
_notification = notification;
@@ -124,6 +126,8 @@ namespace Tango.MachineStudio.Logging.ViewModels
MachineOperator.EmbeddedLogManager.NewLog += EmbeddedLogManager_NewLog;
ToggleRealTimePaused = new RelayCommand(() => RealTimePaused = !RealTimePaused);
+
+ ClearRealTimeLogsCommand = new RelayCommand(() => { _realTimeLogs.Clear(); });
}
private void EmbeddedLogManager_NewLog(object sender, LogItemBase log)