aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Emulations/IEmulator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2017-11-16 13:38:56 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2017-11-16 13:38:56 +0200
commit914f4db513477d9aff726546bac47545195a3e37 (patch)
treed2ff190fd84b1dfaa03eec76563c431592ece7ff /Software/Visual_Studio/Tango.Emulations/IEmulator.cs
parent65d01ff549d80fbe13ff5e966df216c9f7c03653 (diff)
downloadTango-914f4db513477d9aff726546bac47545195a3e37.tar.gz
Tango-914f4db513477d9aff726546bac47545195a3e37.zip
Rename "Visual Studio" to "Visual_Studio"
Rename "External Repositories" to "External_Repositories".
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations/IEmulator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Emulations/IEmulator.cs43
1 files changed, 43 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/IEmulator.cs b/Software/Visual_Studio/Tango.Emulations/IEmulator.cs
new file mode 100644
index 000000000..360087f96
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Emulations/IEmulator.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.SharedUI.Commands;
+using Tango.Transport;
+
+namespace Tango.Emulations
+{
+ public interface IEmulator : IDisposable
+ {
+ /// <summary>
+ /// Starts this emulator.
+ /// </summary>
+ Task Stop();
+
+ /// <summary>
+ /// Starts this instance.
+ /// </summary>
+ Task Start();
+
+ /// <summary>
+ /// Gets or sets the transporter.
+ /// </summary>
+ ITransporter Transporter { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether this instance is started.
+ /// </summary>
+ bool IsStarted { get; set; }
+
+ /// <summary>
+ /// Gets or sets the start command.
+ /// </summary>
+ RelayCommand StartCommand { get; set; }
+
+ /// <summary>
+ /// Gets or sets the stop command.
+ /// </summary>
+ RelayCommand StopCommand { get; set; }
+ }
+}