diff --git a/MP.Data/Conf/TagData.cs b/MP.Data/Conf/TagData.cs
index 4ea5b582..54f16d40 100644
--- a/MP.Data/Conf/TagData.cs
+++ b/MP.Data/Conf/TagData.cs
@@ -20,6 +20,10 @@ namespace MP.Data.Conf
///
public int RowNum { get; set; } = 0;
///
+ /// Override CSS (es fontSmall)
+ ///
+ public string TagCss { get; set; } = "";
+ ///
/// Etichetta da mostrare
///
public string TagName { get; set; } = "";
@@ -27,5 +31,14 @@ namespace MP.Data.Conf
/// Indicazione della chiave REDIS dove recuperare il tag indicato (già in formato string)
///
public string TagLocation { get; set; } = "";
+
+ ///
+ /// Clone dell'oggetto
+ ///
+ ///
+ public TagData Clone()
+ {
+ return (TagData)this.MemberwiseClone();
+ }
}
}
diff --git a/MP.Mon/Components/DetailMSE.razor b/MP.Mon/Components/DetailMSE.razor
index b51ef88c..0700a123 100644
--- a/MP.Mon/Components/DetailMSE.razor
+++ b/MP.Mon/Components/DetailMSE.razor
@@ -9,44 +9,107 @@
-
Art
-
- @if (showArt == "CodArticolo")
+ @if (hasRow(1))
+ {
+
+ @foreach (var item in rowValues(1))
{
-
@CurrRecord.CodArticolo
+
@item.TagName: @currVal(item.TagLocation)
}
- else
- {
- if (string.IsNullOrEmpty(CurrRecord.Disegno))
+
+ }
+ else
+ {
+
+
Art
+
+ @if (showArt == "CodArticolo")
{
- [@CurrRecord.CodArticolo]
+ @CurrRecord.CodArticolo
}
else
{
- @CurrRecord.Disegno
+ if (string.IsNullOrEmpty(CurrRecord.Disegno))
+ {
+ [@CurrRecord.CodArticolo]
+ }
+ else
+ {
+ @CurrRecord.Disegno
+ }
}
+
+
+ }
+ @if (hasRow(2))
+ {
+
+ @foreach (var item in rowValues(2))
+ {
+
@item.TagName: @currVal(item.TagLocation)
}
-
-
-
@CurrRecord.DescrizioneStato
-
@getMinSec((decimal)CurrRecord.Durata)
-
-
- @*
OEE
-
xx%
*@
-
TCiclo
-
std: @getMinSec(@CurrRecord.TCAssegnato)
-
act: @getMinSec(@CurrRecord.TCLavRT)
-
-
- @*
Pezzi
-
prod: @CurrRecord.PezziProd
-
ord: @CurrRecord.NumPezzi
*@
-
Pezzi(prod/ord)
-
@CurrRecord.PezziProd / @CurrRecord.NumPezzi
-
+ }
+ else
+ {
+
+
@CurrRecord.DescrizioneStato
+
@getMinSec((decimal)CurrRecord.Durata)
+
+ }
+ @if (hasRow(3))
+ {
+
+ @foreach (var item in rowValues(3))
+ {
+
@item.TagName: @currVal(item.TagLocation)
+ }
+
+ }
+ else
+ {
+
+ @*
OEE
+
xx%
*@
+
TCiclo
+
std: @getMinSec(@CurrRecord.TCAssegnato)
+
act: @getMinSec(@CurrRecord.TCLavRT)
+
+ }
+ @if (hasRow(4))
+ {
+
+ @foreach (var item in rowValues(4))
+ {
+
@item.TagName: @currVal(item.TagLocation)
+ }
+
+ }
+ else
+ {
+
+
Pezzi(prod/ord)
+
@CurrRecord.PezziProd / @CurrRecord.NumPezzi
+
+ }
+ @if (hasRow(5))
+ {
+
+ @foreach (var item in rowValues(5))
+ {
+
@item.TagName: @currVal(item.TagLocation)
+ }
+
+ }
+ @if (hasRow(6))
+ {
+
+ @foreach (var item in rowValues(6))
+ {
+
@item.TagName: @currVal(item.TagLocation)
+ }
+
+ }