diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-22 17:12:26 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-22 17:12:26 +0200 |
| commit | 112704ab16ceb60490432bcccd897c27fd041092 (patch) | |
| tree | a86abbc94b9bc1eefed5d3d1af1127e8447b3b22 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs | |
| parent | 9950b1f4fbb94f9823d745733ac20d88fb3194ff (diff) | |
| download | Tango-112704ab16ceb60490432bcccd897c27fd041092.tar.gz Tango-112704ab16ceb60490432bcccd897c27fd041092.zip | |
Prevent machine studio from saving events to db when connected via external bridge.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs index ceb399d24..44916ec21 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/IEventLogger.cs @@ -20,6 +20,11 @@ namespace Tango.MachineStudio.Common.EventLogging event EventHandler<MachinesEvent> NewLog; /// <summary> + /// Gets or sets a value indicating whether to save the incoming events to database. + /// </summary> + bool SaveToDB { get; set; } + + /// <summary> /// Logs the specified machine event. /// </summary> /// <param name="machineEvent">The machine event.</param> |
