diff --git a/MP.Data/DatabaseModels/MappaStatoExpl.cs b/MP.Data/DatabaseModels/MappaStatoExpl.cs index bebcf16e..5ec09875 100644 --- a/MP.Data/DatabaseModels/MappaStatoExpl.cs +++ b/MP.Data/DatabaseModels/MappaStatoExpl.cs @@ -30,7 +30,7 @@ namespace MP.Data.DatabaseModels public decimal? TCLav { get; set; } public decimal? TCEff { get; set; } public decimal? TCMedioRt { get; set; } - public decimal? TCLavRt { get; set; } - public decimal? TCEffRt { get; set; } + public decimal? TCLavRT { get; set; } + public decimal? TCEffRT { get; set; } } } diff --git a/MP.Data/MoonProContext.cs b/MP.Data/MoonProContext.cs index 7cd12b19..27e32099 100644 --- a/MP.Data/MoonProContext.cs +++ b/MP.Data/MoonProContext.cs @@ -163,7 +163,7 @@ namespace MP.Data .HasColumnName("TCEff") .HasDefaultValueSql("((0))"); - entity.Property(e => e.TCEffRt) + entity.Property(e => e.TCEffRT) .HasColumnType("decimal(18, 8)") .HasColumnName("TCEffRT") .HasDefaultValueSql("((0))"); @@ -173,7 +173,7 @@ namespace MP.Data .HasColumnName("TCLav") .HasDefaultValueSql("((0))"); - entity.Property(e => e.TCLavRt) + entity.Property(e => e.TCLavRT) .HasColumnType("decimal(18, 8)") .HasColumnName("TCLavRT") .HasDefaultValueSql("((0))"); diff --git a/MP.Mon/Components/DetailMSE.razor b/MP.Mon/Components/DetailMSE.razor index 38e5f47e..14bb6656 100644 --- a/MP.Mon/Components/DetailMSE.razor +++ b/MP.Mon/Components/DetailMSE.razor @@ -21,8 +21,10 @@ @*
OEE
xx%
*@
T.Ciclo
-
std: @getMinSec(CurrRecord.TCAssegnato)
-
act: @getMinSec(CurrRecord.TCLavRt)
+ @*
std: @CurrRecord.TCAssegnato
+
act: @CurrRecord.TCLavRT
*@ +
std: @getMinSec(@CurrRecord.TCAssegnato)
+
act: @getMinSec(@CurrRecord.TCLavRT)
Pezzi(prod/ord)
diff --git a/MP.Mon/Components/DetailMSE.razor.cs b/MP.Mon/Components/DetailMSE.razor.cs index 9c9e6f7b..172d7b7e 100644 --- a/MP.Mon/Components/DetailMSE.razor.cs +++ b/MP.Mon/Components/DetailMSE.razor.cs @@ -98,7 +98,7 @@ namespace MP.Mon.Components try { tSpan = TimeSpan.FromMinutes((double)currTimeMin); - answ = tSpan.ToString("mm:ss"); + answ = $"{tSpan:mm}:{tSpan:ss}"; } catch { }