CLeanup + tolto search da parametri
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user