@using UI_SequentMicrosystems.Services
@inject PointsService _PointsService
@inject IJSRuntime _JSRuntime
@code {
private bool RecalculateValues = false;
private bool TimerEnabled = false;
protected override void OnInitialized()
{
TimerEnabled = _PointsService.GetTImerStatus();
_PointsService.EventUpdateTopBar += UpdateView;
}
///