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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>6.16.2402.2611</Version>
|
||||
<Version>6.16.2402.2613</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MON MAPO</i>
|
||||
<h4>Versione: 6.16.2402.2611</h4>
|
||||
<h4>Versione: 6.16.2402.2613</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2402.2611
|
||||
6.16.2402.2613
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2402.2611</version>
|
||||
<version>6.16.2402.2613</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user