This commit is contained in:
zaccaria.majid
2022-10-19 13:02:59 +02:00
parent 71177e04c7
commit 603ed3782f
5 changed files with 0 additions and 52 deletions
-15
View File
@@ -61,11 +61,6 @@ namespace MP.SPEC.Components
}
public void Dispose()
{
#if false
MessageService.EA_PageUpdated -= MessageService_EA_PageUpdated;
MessageService.EA_SearchUpdated -= OnSeachUpdated;
#endif
currRecord = null;
SearchRecords = null;
ListRecords = null;
@@ -89,12 +84,6 @@ namespace MP.SPEC.Components
[Inject]
protected MpDataService MDService { get; set; } = null!;
#if false
[Inject]
protected MessageService MessageService { get; set; } = null!;
#endif
#endregion Protected Properties
#region Protected Methods
@@ -125,10 +114,6 @@ namespace MP.SPEC.Components
protected override async Task OnInitializedAsync()
{
#if false
MessageService.EA_PageUpdated += MessageService_EA_PageUpdated;
MessageService.EA_SearchUpdated += OnSeachUpdated;
#endif
ListStati = await MDService.AnagStatiComm();
await reloadData(true);
}
-13
View File
@@ -58,10 +58,6 @@ namespace MP.SPEC.Components
public void Dispose()
{
aTimer.Elapsed -= ElapsedTimer;
#if false
MessageService.EA_PageUpdated -= MessageService_EA_PageUpdated;
MessageService.EA_SearchUpdated -= OnSeachUpdated;
#endif
aTimer.Stop();
aTimer.Dispose();
currRecord = null;
@@ -129,11 +125,6 @@ namespace MP.SPEC.Components
[Inject]
protected MpDataService MDService { get; set; } = null!;
#if false
[Inject]
protected MessageService MessageService { get; set; } = null!;
#endif
protected int RefreshPeriod
{
@@ -146,10 +137,6 @@ namespace MP.SPEC.Components
protected override async Task OnInitializedAsync()
{
#if false
MessageService.EA_PageUpdated += MessageService_EA_PageUpdated;
MessageService.EA_SearchUpdated += OnSeachUpdated;
#endif
StartTimer();
}
-5
View File
@@ -56,11 +56,6 @@ namespace MP.SPEC.Pages
[Inject]
protected MpDataService MDService { get; set; } = null!;
#if false
[Inject]
protected MessageService MessageService { get; set; } = null!;
#endif
[Inject]
protected NavigationManager NavManager { get; set; }
-9
View File
@@ -23,10 +23,6 @@ namespace MP.SPEC.Pages
[Inject]
protected MpDataService MDService { get; set; } = null!;
#if false
[Inject]
protected MessageService MsgService { get; set; } = null!;
#endif
#endregion Protected Properties
@@ -53,11 +49,6 @@ namespace MP.SPEC.Pages
{
isLoading = true;
isFiltering = true;
#if false
// disabilito ricerca...
MsgService.SearchVal = "";
MsgService.ShowSearch = false;
#endif
// fix pagina
await Task.Delay(1);
var modFilter = currFilter;
-10
View File
@@ -15,10 +15,6 @@ namespace MP.SPEC.Pages
#region Protected Properties
#if false
[Inject]
protected MessageService MsgService { get; set; } = null!;
#endif
#endregion Protected Properties
@@ -45,12 +41,6 @@ namespace MP.SPEC.Pages
{
isLoading = true;
isFiltering = true;
#if false
// disabilito ricerca...
MsgService.SearchVal = "";
MsgService.ShowSearch = false;
#endif
// fix pagina
await Task.Delay(1);
var modFilter = currFilter;