using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.Operation;
using Tango.PMR.Diagnostics;
namespace Tango.MachineStudio.Common.Diagnostics
{
///
/// Represents a tango machine diagnostics frame provider.
///
public interface IDiagnosticsFrameProvider
{
///
/// Occurs when a new data frame is available.
///
event EventHandler FrameReceived;
///
/// Gets the current diagnostics frame rate.
///
double FrameRate { get; }
///
/// Disables the frame delivery from the current connected machine and enables the manual push frame method.
///
bool Disable { get; set; }
///
/// Push frames manual. (Only when Disable = true)
///
/// The frame.
void PushFrame(StartDiagnosticsResponse frame);
}
}