Files
I150/srcs/RobotNet10/RobotApp/RobotNet10.RobotApp/Interfaces/IError.cs
2026-07-03 16:37:12 +07:00

17 lines
461 B
C#

using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Interfaces;
public interface IError
{
Error[] ErrorsState { get; }
event Action? OnNewFatalError;
bool HasFatalError { get; }
void AddError(RobotError error, TimeSpan? clearAfter = null);
void DeleteErrorType(string errorType);
void DeleteErrorId(int id);
void ClearAllErrors();
void ClearFatalErrors();
}