update model OEE
This commit is contained in:
@@ -16,16 +16,14 @@ namespace MP.Data.DatabaseModels
|
||||
public string CodMacchina { get; set; }
|
||||
public DateTime DataRif { get; set; }
|
||||
public string DescArticolo { get; set; }
|
||||
public string Descrizione { get; set; }
|
||||
public string IdxMacchina { get; set; }
|
||||
public int IdxStato { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
[DisplayFormat(DataFormatString = "{0:N2}", ApplyFormatInEditMode = true)]
|
||||
public double OEE => (double)TotPeriodo / 480;
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:N2}", ApplyFormatInEditMode = true)]
|
||||
public double TotPeriodo { get; set; }
|
||||
public decimal TotPeriodo { get; set; }
|
||||
|
||||
public int? TotPz { get; set; }
|
||||
public string Turno { get; set; }
|
||||
|
||||
@@ -92,8 +92,6 @@ namespace MP.Data
|
||||
|
||||
entity.Property(e => e.DescArticolo).HasMaxLength(250);
|
||||
|
||||
entity.Property(e => e.Descrizione).HasMaxLength(50);
|
||||
|
||||
entity.Property(e => e.IdxMacchina)
|
||||
.IsRequired()
|
||||
.HasMaxLength(50);
|
||||
|
||||
Reference in New Issue
Block a user