aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-08-15 17:29:25 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-08-15 17:29:25 +0300
commitca9a080e283819b40c424d17332a18423ff6dcb1 (patch)
treee26beedc04a704cdf1d09e73f05bfc631fc9cee1 /Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs
parent68f0b285920d9c17189522916c6f0e783629bc9a (diff)
downloadTango-ca9a080e283819b40c424d17332a18423ff6dcb1.tar.gz
Tango-ca9a080e283819b40c424d17332a18423ff6dcb1.zip
Implemented basic machine status support.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs
index d5f55c0d8..89c947764 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs
@@ -22,6 +22,7 @@ using Tango.PMR.IO;
using Tango.PMR.FirmwareUpgrade;
using Tango.Integration.JobRuns;
using Tango.Integration.Emergency;
+using Tango.PMR.MachineStatus;
namespace Tango.Integration.Operation
{
@@ -47,6 +48,11 @@ namespace Tango.Integration.Operation
MachineStatuses Status { get; }
/// <summary>
+ /// Gets the machine embedded device status.
+ /// </summary>
+ MachineStatus MachineStatus { get; }
+
+ /// <summary>
/// Gets or sets the firmware upgrade mode.
/// </summary>
FirmwareUpgradeModes FirmwareUpgradeMode { get; set; }
@@ -157,6 +163,11 @@ namespace Tango.Integration.Operation
event EventHandler<StartDebugLogResponse> DebugLogAvailable;
/// <summary>
+ /// Occurs when machine embedded device status has changed.
+ /// </summary>
+ event EventHandler<MachineStatus> MachineStatusChanged;
+
+ /// <summary>
/// Gets or sets a value indicating whether direct the embedded device to send diagnostics messages.
/// </summary>
bool EnableDiagnostics { get; set; }
@@ -177,6 +188,11 @@ namespace Tango.Integration.Operation
bool EnableJobResume { get; set; }
/// <summary>
+ /// Gets or sets a value indicating whether to direct the embedded device to update about status changes.
+ /// </summary>
+ bool EnableMachineStatusUpdates { get; set; }
+
+ /// <summary>
/// Gets the last process parameters table sent to the embedded device.
/// </summary>
ProcessParametersTable CurrentProcessParameters { get; }