Files
RobotApp/RobotApp/Interfaces/IError.cs
Đăng Nguyễn a01f140f2e update
2025-10-24 10:24:59 +07:00

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();
}