15 lines
365 B
C#
15 lines
365 B
C#
using RobotApp.VDA5050.State;
|
|
|
|
namespace RobotApp.Interfaces;
|
|
|
|
public interface IError
|
|
{
|
|
Error[] ErrorsState { get; }
|
|
event Action? OnNewFatalError;
|
|
bool HasFatalError { get; }
|
|
void AddError(Error error, TimeSpan? clearAfter = null);
|
|
void DeleteErrorType(string errorType);
|
|
void DeleteErrorHint(string hint);
|
|
void ClearAllErrors();
|
|
}
|