aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-01 19:26:32 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-01 19:26:32 +0200
commit68ec47fb04c19139f8e39343689201a9f089ad8c (patch)
treee23dd24478a97faa373a2a58ae4d865882447f4d /Software/Visual_Studio/FSE/Tango.FSE.Common
parent45a7a7319bbae1a2ab5cfc93d7a2507cccd8770e (diff)
downloadTango-68ec47fb04c19139f8e39343689201a9f089ad8c.tar.gz
Tango-68ec47fb04c19139f8e39343689201a9f089ad8c.zip
Implemented machine events emulation via FSE.
Added support for event 5099. Updated event rev to 28. Added 3 & 4 dancer types for X4.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Common/Events/IEventsProvider.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Events/IEventsProvider.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/Events/IEventsProvider.cs
index 799031234..a5ea88b5e 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.Common/Events/IEventsProvider.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Events/IEventsProvider.cs
@@ -6,6 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
+using Tango.PMR.Diagnostics;
namespace Tango.FSE.Common.Events
{
@@ -28,5 +29,12 @@ namespace Tango.FSE.Common.Events
/// Gets the current active events.
/// </summary>
ObservableCollection<MachinesEvent> ActiveEvents { get; }
+
+ /// <summary>
+ /// Emulates a hardware event that will last for the specified timeout.
+ /// </summary>
+ /// <param name="ev">Type of the event.</param>
+ /// <param name="timeout">The timeout.</param>
+ Task PushEmulatedEvent(Event ev, TimeSpan timeout);
}
}