CLeanup + tolto search da parametri

This commit is contained in:
Samuele Locatelli
2022-09-14 17:39:29 +02:00
parent d5f2ed3950
commit 32398cd7fb
2 changed files with 1 additions and 24 deletions
-16
View File
@@ -8,8 +8,6 @@
public event Action EA_SearchUpdated;
public event Action EA_MacchUpdated;
public event Action EA_ShowSearch;
public event Action EA_StatoSearch;
@@ -66,20 +64,6 @@
//}
}
}
private string _selMacchina { get; set; } = "*";
public string SelMacchina
{
get => _selMacchina;
set
{
_selMacchina = value;
if (EA_MacchUpdated != null)
{
EA_MacchUpdated?.Invoke();
}
}
}
public bool ShowSearch
{
+1 -8
View File
@@ -84,13 +84,10 @@ namespace MP.SPEC.Pages
protected override async Task OnInitializedAsync()
{
// abilito ricerca...
MsgService.ShowSearch = true;
MsgService.ShowSearch = false;
// resetto search
MsgService.SearchVal = "";
MsgService.EA_MacchUpdated += MsgService_EA_MacchUpdated;
//ListAziende = await MDService.ElencoAziende();
//ListStati = await MDService.AnagStatiComm();
ListMacchine = await MDService.MacchineGetAll();
StartTimer();
// carico dati
@@ -164,10 +161,6 @@ namespace MP.SPEC.Pages
{
get => _selMacchina;
set => _selMacchina = value;
#if false
get => MsgService.SelMacchina;
set => MsgService.SelMacchina = value;
#endif
}
private int totalCount