diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index ac8363c7..c5feda72 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -33,7 +33,7 @@ else { if (Width > 640) { -
+
@RecMSE.CodMacchina
@@ -92,7 +92,7 @@ else } else { -
+
@RecMSE.CodMacchina
diff --git a/MP-TAB3/Components/MachineBlock.razor.cs b/MP-TAB3/Components/MachineBlock.razor.cs index 644f153c..1cd45001 100644 --- a/MP-TAB3/Components/MachineBlock.razor.cs +++ b/MP-TAB3/Components/MachineBlock.razor.cs @@ -81,6 +81,57 @@ namespace MP_TAB3.Components #endregion Public Methods + protected string overlayCss + { + get + { + string answ = ""; + if (RecMSE != null) + { + answ = RecMSE.Semaforo == "sGr" ? "bg-dark opacity-50" : ""; + } + return answ; + } + } + protected string borderCss + { + get + { + string answ = "border-2"; + if (RecMSE != null) + { + switch (RecMSE.Semaforo) + { + case "sGi": + answ += " border-warning"; + break; + + case "sRo": + answ += " border-danger"; + break; + + + case "sGr": + answ += " border-dark"; + break; + + //case "sBl": + // answ += " border-primary"; + // break; + + //case "sVe": + // answ += " border-success"; + // break; + + default: + answ += " border-secondary"; + break; + } + } + return answ; + } + } + #region Protected Fields protected string baseCss = "sem"; diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index cc2ea681..a267f372 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2402.2412 + 6.16.2402.2608 enable MP_TAB3 diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index 84c7f083..c8c9f431 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2402.2412

+

Versione: 6.16.2402.2608


Note di rilascio:
  • diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt index 47bbd192..83b65a12 100644 --- a/MP-TAB3/Resources/VersNum.txt +++ b/MP-TAB3/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2402.2412 +6.16.2402.2608 diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml index 3fec1f64..8c11ca8a 100644 --- a/MP-TAB3/Resources/manifest.xml +++ b/MP-TAB3/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2402.2412 + 6.16.2402.2608 https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html false