Filtraggio OPeratori e scarti da anagrafica
This commit is contained in:
@@ -41,39 +41,6 @@ namespace MP.Mon.Components
|
||||
aTimer.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CSS Class x overlay (effetto spento x macchina spenta/ sGr)
|
||||
/// </summary>
|
||||
protected string overlayCss
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (CurrRecord != null)
|
||||
{
|
||||
answ = CurrRecord.Semaforo == "sGr" ? "bg-light opacity-25" : "";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
protected string textDescrCss = "";
|
||||
///// <summary>
|
||||
///// CSS calss x testo (se descr lunga scorre...)
|
||||
///// </summary>
|
||||
//protected string textDescrCss
|
||||
//{
|
||||
// get
|
||||
// {
|
||||
// string answ = "text-nowrap";
|
||||
// if (CurrRecord != null && CurrRecord.DescrizioneStato.Length > 7)
|
||||
// {
|
||||
// answ = " scroll-left";
|
||||
// }
|
||||
// return answ;
|
||||
// }
|
||||
//}
|
||||
|
||||
public void ElapsedTimer(object? source, System.Timers.ElapsedEventArgs e)
|
||||
{
|
||||
var pUpd = Task.Run(async () =>
|
||||
@@ -108,6 +75,21 @@ namespace MP.Mon.Components
|
||||
pUpd.Wait();
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// CSS class x testo (se descr lunga scorre...)
|
||||
///// </summary>
|
||||
//protected string textDescrCss
|
||||
//{
|
||||
// get
|
||||
// {
|
||||
// string answ = "text-nowrap";
|
||||
// if (CurrRecord != null && CurrRecord.DescrizioneStato.Length > 7)
|
||||
// {
|
||||
// answ = " scroll-left";
|
||||
// }
|
||||
// return answ;
|
||||
// }
|
||||
//}
|
||||
public void StartTimer()
|
||||
{
|
||||
int tOutPeriod = 1000;
|
||||
@@ -126,6 +108,8 @@ namespace MP.Mon.Components
|
||||
|
||||
protected int kaFactor = 60 / 2;
|
||||
|
||||
protected string textDescrCss = "";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
@@ -145,6 +129,22 @@ namespace MP.Mon.Components
|
||||
|
||||
protected bool dataLoaded { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// CSS Class x overlay (effetto spento x macchina spenta/ sGr)
|
||||
/// </summary>
|
||||
protected string overlayCss
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (CurrRecord != null)
|
||||
{
|
||||
answ = CurrRecord.Semaforo == "sGr" ? "bg-light opacity-25" : "";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
Reference in New Issue
Block a user