aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-04-12 12:47:19 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-04-12 12:47:19 +0300
commit9c0bad738d47742f39f2b02b240591653da6bc12 (patch)
treeb3cb5e2d15927f4b04d971998b156a8673863d4e /Software/Visual_Studio/Tango.Core/ExtendedObject.cs
parent8926f5b786ba07b3c21a1ada6ed9939a41e247d5 (diff)
downloadTango-9c0bad738d47742f39f2b02b240591653da6bc12.tar.gz
Tango-9c0bad738d47742f39f2b02b240591653da6bc12.zip
Added changes to PMR hardware.
Implemented Start Job and Record. Fixed issue with logs timeline event width. Implemented 'Event Resolved' event to event logs.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/ExtendedObject.cs')
-rw-r--r--Software/Visual_Studio/Tango.Core/ExtendedObject.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
index 72120dc6b..be6302a4b 100644
--- a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
+++ b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
@@ -20,6 +20,12 @@ namespace Tango.Core
public class ExtendedObject : INotifyPropertyChanged
{
/// <summary>
+ /// Occurs when after InvalidateRelayCommands is called.
+ /// </summary>
+ [field: NonSerialized]
+ public event EventHandler RelayCommandsInvalidated;
+
+ /// <summary>
/// Gets the default log manager.
/// </summary>
public LogManager LogManager
@@ -67,6 +73,8 @@ namespace Tango.Core
value.RaiseCanExecuteChanged();
}
}
+
+ RelayCommandsInvalidated?.Invoke(this, new EventArgs());
}));
}