Merge branch 'feature/CleanupUnused' into develop

This commit is contained in:
Samuele Locatelli
2021-05-17 15:42:56 +02:00
47 changed files with 27 additions and 2323 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ namespace MP.Data.Controllers
dbResult = dbCtx
.DbSetScarti
.Where(x => x.KeyRichiesta.Contains(searchVal) || x.Descrizione.Contains(searchVal) || x.CodArticolo.Contains(searchVal) || string.IsNullOrEmpty(searchVal))
.OrderByDescending(x => x.DataOra)
.OrderByDescending(x => x.DataOraRif)
.Take(numRecord)
.ToList();
-13
View File
@@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Aaul
{
public string Azione { get; set; }
public string Descrizione { get; set; }
}
}
-18
View File
@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Cal
{
public DateTime Giorno { get; set; }
public bool? DoDdb { get; set; }
public bool? DoTcr { get; set; }
public bool? DoUl { get; set; }
public bool? DoEcp { get; set; }
public bool? DoRs { get; set; }
public bool? DoOdl { get; set; }
}
}
-15
View File
@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Config
{
public string Chiave { get; set; }
public string Valore { get; set; }
public string ValoreStd { get; set; }
public string Note { get; set; }
}
}
-15
View File
@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Ddb
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public int IdxStato { get; set; }
public decimal DurataMinuti { get; set; }
}
}
-24
View File
@@ -1,24 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Ddb1
{
public string IdxMacchina { get; set; }
public DateTime InizioStato { get; set; }
public DateTime? FineStato { get; set; }
public int IdxStato { get; set; }
public double? DurataMinuti { get; set; }
public string Value { get; set; }
public string CodArticolo { get; set; }
public double? TempoCicloBase { get; set; }
public int? PzPalletProd { get; set; }
public int? MatrOpr { get; set; }
public string Pallet { get; set; }
public string Descrizione { get; set; }
public string ClasseTempo { get; set; }
}
}
-30
View File
@@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class DdbTurni
{
public DateTime DataRif { get; set; }
public string IdxMacchina { get; set; }
public string Turno { get; set; }
public int IdxStato { get; set; }
public string CodArticolo { get; set; }
public DateTime InizioStato { get; set; }
public DateTime FineStato { get; set; }
public string Pallet { get; set; }
public int? PzPalletProd { get; set; }
public decimal? TempoCicloBase { get; set; }
public string Descrizione { get; set; }
public string ClasseTempo { get; set; }
public DateTime? DataTurnoInizio { get; set; }
public DateTime? DataTurnoFine { get; set; }
public long? DurataStato { get; set; }
public DateTime InizioPeriodo { get; set; }
public DateTime? FinePeriodo { get; set; }
public long? DurataPeriodo { get; set; }
public int TotPzProd { get; set; }
}
}
-30
View File
@@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class DdbTurniNew
{
public DateTime DataRif { get; set; }
public string IdxMacchina { get; set; }
public string Turno { get; set; }
public int IdxStato { get; set; }
public string CodArticolo { get; set; }
public DateTime InizioStato { get; set; }
public DateTime FineStato { get; set; }
public string Pallet { get; set; }
public int? PzPalletProd { get; set; }
public decimal? TempoCicloBase { get; set; }
public string Descrizione { get; set; }
public string ClasseTempo { get; set; }
public DateTime? DataTurnoInizio { get; set; }
public DateTime? DataTurnoFine { get; set; }
public long? DurataStato { get; set; }
public DateTime InizioPeriodo { get; set; }
public DateTime? FinePeriodo { get; set; }
public long? DurataPeriodo { get; set; }
public int TotPzProd { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class DdbTurniSummary
{
public string IdxMacchina { get; set; }
public DateTime DataRif { get; set; }
public string Turno { get; set; }
public string CodArticolo { get; set; }
public int IdxStato { get; set; }
public decimal TempoCicloBase { get; set; }
public DateTime? Inizio { get; set; }
public int PzPalletProd { get; set; }
public decimal? Durata { get; set; }
public int? PzProd { get; set; }
}
}
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class DdbTurniSummaryNew
{
public string IdxMacchina { get; set; }
public DateTime DataRif { get; set; }
public string Turno { get; set; }
public string CodArticolo { get; set; }
public int IdxStato { get; set; }
public decimal TempoCicloBase { get; set; }
public DateTime? Inizio { get; set; }
public int PzPalletProd { get; set; }
public decimal? Durata { get; set; }
public int? PzProd { get; set; }
}
}
-23
View File
@@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Ecp
{
public int IdxEcp { get; set; }
public DateTime DataOraConf { get; set; }
public string IdxMacchina { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int PezziConf { get; set; }
public int PezziScar { get; set; }
public int PezziDaRilav { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Ecp1
{
public DateTime DataOraConf { get; set; }
public string IdxMacchina { get; set; }
public int MatrApp { get; set; }
public DateTime DataFrom { get; set; }
public DateTime DataTo { get; set; }
public int PezziConf { get; set; }
public int PezziScar { get; set; }
public int PezziDaRilav { get; set; }
public string CommessaEsterna { get; set; }
public int TipoConf { get; set; }
}
}
-14
View File
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Kit
{
public string KeyKit { get; set; }
public string KeyExtOrd { get; set; }
public string CodArtParent { get; set; }
}
}
-26
View File
@@ -1,26 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Odl
{
public int IdxOdl { get; set; }
public string KeyRichiesta { get; set; }
public string CodArticolo { get; set; }
public decimal Tcassegnato { get; set; }
public string IdxMacchina { get; set; }
public int NumPezzi { get; set; }
public int NumPezziEv { get; set; }
public int NumPezziSca { get; set; }
public int NumPezziRil { get; set; }
public DateTime? DataInizio { get; set; }
public DateTime? DataFine { get; set; }
public string KeyRichiestaParent { get; set; }
public string CodArticoloParent { get; set; }
public DateTime? DueDate { get; set; }
public int? PzPallet { get; set; }
}
}
-30
View File
@@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Odl1
{
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public string IdxMacchina { get; set; }
public int NumPezzi { get; set; }
public decimal Tcassegnato { get; set; }
public DateTime? DataInizio { get; set; }
public DateTime? DataFine { get; set; }
public string Note { get; set; }
public bool NeedAppr { get; set; }
public string UserAppr { get; set; }
public DateTime? DataAppr { get; set; }
public decimal? TcrichAttr { get; set; }
public string KeyRichiesta { get; set; }
public int PzPallet { get; set; }
public bool Provvisorio { get; set; }
public int MatrOpr { get; set; }
public string CommessaAs400 { get; set; }
public int ToAs400 { get; set; }
public DateTime? DueDate { get; set; }
}
}
-23
View File
@@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class R
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string Causale { get; set; }
public string Descrizione { get; set; }
public string Note { get; set; }
public int Qta { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
}
}
-22
View File
@@ -1,22 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class R1
{
public string IdxMacchina { get; set; }
public DateTime DataOra { get; set; }
public string Causale { get; set; }
public int Qta { get; set; }
public string Note { get; set; }
public string CodArticolo { get; set; }
public int MatrOpr { get; set; }
public DateTime? DataOraProdRec { get; set; }
public string Descrizione { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Rc
{
public int IdxControllo { get; set; }
public DateTime DataOra { get; set; }
public string IdxMacchina { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int MatrOpr { get; set; }
public bool EsitoOk { get; set; }
public string Note { get; set; }
}
}
+4 -2
View File
@@ -11,13 +11,15 @@ namespace MP.Data.DatabaseModels
public string Causale { get; set; }
public string CodArticolo { get; set; }
public DateTime DataOra { get; set; }
public DateTime? DataOraProdRec { get; set; }
public string CodMacchina { get; set; }
public string Cognome { get; set; }
public DateTime DataOraRif { get; set; }
public string Descrizione { get; set; }
public string IdxMacchina { get; set; }
public int IdxOdl { get; set; }
public string KeyRichiesta { get; set; }
public int MatrOpr { get; set; }
public string Nome { get; set; }
public string Note { get; set; }
public int Qta { get; set; }
-12
View File
@@ -1,12 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Tally
{
public int N { get; set; }
}
}
-16
View File
@@ -1,16 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class TcStat
{
public string CodArticolo { get; set; }
public string CodGruppo { get; set; }
public string IdxMacchina { get; set; }
public decimal TcStat1 { get; set; }
public int TcType { get; set; }
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Tcr
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public int PzProd { get; set; }
public decimal? Tcmedio { get; set; }
public decimal? Tcmin { get; set; }
public decimal? Tcmax { get; set; }
public decimal? Tc50p { get; set; }
}
}
-20
View File
@@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Tcr1
{
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public DateTime DataOraRif { get; set; }
public decimal Tcmedio { get; set; }
public int PzProd { get; set; }
public int IdxOdl { get; set; }
public decimal Tcassegnato { get; set; }
public string KeyRichiesta { get; set; }
public int PzPallet { get; set; }
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class TcrDay
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public int PzProd { get; set; }
public decimal? Tcmedio { get; set; }
public decimal? Tcmin { get; set; }
public decimal? Tcmax { get; set; }
public decimal? Tc50p { get; set; }
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class TcrDayTest
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public int PzProd { get; set; }
public decimal? Tcmedio { get; set; }
public decimal? Tcmin { get; set; }
public decimal? Tcmax { get; set; }
public decimal? Tc50p { get; set; }
}
}
-14
View File
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class TestJason
{
public DateTime Data { get; set; }
public byte[] Json { get; set; }
public int? Rows { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class Ul
{
public int IdxLog { get; set; }
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
public string CodArticolo { get; set; }
public string Azione { get; set; }
public string Valore { get; set; }
public decimal Qta { get; set; }
}
}
-24
View File
@@ -1,24 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VDdb
{
public string IdxMacchina { get; set; }
public DateTime InizioStato { get; set; }
public DateTime? FineStato { get; set; }
public int IdxStato { get; set; }
public double? DurataMinuti { get; set; }
public string Value { get; set; }
public string CodArticolo { get; set; }
public double? TempoCicloBase { get; set; }
public int? PzPalletProd { get; set; }
public int? MatrOpr { get; set; }
public string Pallet { get; set; }
public string Descrizione { get; set; }
public string ClasseTempo { get; set; }
}
}
-18
View File
@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VDdbLight
{
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public DateTime InizioStato { get; set; }
public string Stato { get; set; }
public double? DurataMinuti { get; set; }
public string CodArticolo { get; set; }
public string Operatore { get; set; }
}
}
-18
View File
@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VDdbLightOld
{
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public DateTime InizioStato { get; set; }
public string Stato { get; set; }
public double? DurataMinuti { get; set; }
public string CodArticolo { get; set; }
public string Operatore { get; set; }
}
}
-26
View File
@@ -1,26 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VDdbTurni
{
public string IdxMacchina { get; set; }
public DateTime DataRif { get; set; }
public string Turno { get; set; }
public string CodArticolo { get; set; }
public int IdxStato { get; set; }
public decimal TempoCicloBase { get; set; }
public int PzPalletProd { get; set; }
public decimal? Durata { get; set; }
public int? PzProd { get; set; }
public string ClasseTempo { get; set; }
public string DescClasseTempo { get; set; }
public string Semaforo { get; set; }
public string SemColore { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VEcp
{
public DateTime DataOraConf { get; set; }
public string IdxMacchina { get; set; }
public int MatrApp { get; set; }
public DateTime DataFrom { get; set; }
public DateTime DataTo { get; set; }
public int PezziConf { get; set; }
public int PezziScar { get; set; }
public int PezziDaRilav { get; set; }
public string CommessaEsterna { get; set; }
public int TipoConf { get; set; }
}
}
-25
View File
@@ -1,25 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VEcp1
{
public int IdxEcp { get; set; }
public DateTime DataOraConf { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int PezziConf { get; set; }
public int PezziScar { get; set; }
public int PezziDaRilav { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
}
}
-27
View File
@@ -1,27 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VEcpExtended
{
public int IdxEcp { get; set; }
public DateTime DataOraConf { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int PezziConf { get; set; }
public int PezziScar { get; set; }
public int PezziDaRilav { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
public decimal Tcassegnato { get; set; }
public DateTime DueDate { get; set; }
}
}
-14
View File
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VKit
{
public string KeyKit { get; set; }
public string KeyExtOrd { get; set; }
public string CodArtParent { get; set; }
}
}
-30
View File
@@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VOdl
{
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public string IdxMacchina { get; set; }
public int NumPezzi { get; set; }
public decimal Tcassegnato { get; set; }
public DateTime? DataInizio { get; set; }
public DateTime? DataFine { get; set; }
public string Note { get; set; }
public bool NeedAppr { get; set; }
public string UserAppr { get; set; }
public DateTime? DataAppr { get; set; }
public decimal? TcrichAttr { get; set; }
public string KeyRichiesta { get; set; }
public int PzPallet { get; set; }
public bool Provvisorio { get; set; }
public int MatrOpr { get; set; }
public string CommessaAs400 { get; set; }
public int ToAs400 { get; set; }
public DateTime? DueDate { get; set; }
}
}
-28
View File
@@ -1,28 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VOdl1
{
public int IdxOdl { get; set; }
public string KeyRichiesta { get; set; }
public string CodArticolo { get; set; }
public decimal Tcassegnato { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public int NumPezzi { get; set; }
public int NumPezziEv { get; set; }
public int NumPezziSca { get; set; }
public int NumPezziRil { get; set; }
public DateTime? DataInizio { get; set; }
public DateTime? DataFine { get; set; }
public string KeyRichiestaParent { get; set; }
public string CodArticoloParent { get; set; }
public DateTime? DueDate { get; set; }
public int? PzPallet { get; set; }
}
}
-30
View File
@@ -1,30 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VPodlNonChiusi
{
public int IdxPromessa { get; set; }
public string KeyRichiesta { get; set; }
public string KeyBcode { get; set; }
public bool Attivabile { get; set; }
public int IdxOdl { get; set; }
public DateTime? DataInizio { get; set; }
public string CodArticolo { get; set; }
public string DescArticolo { get; set; }
public string CodGruppo { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string Nome { get; set; }
public int NumPezzi { get; set; }
public decimal Tcassegnato { get; set; }
public DateTime DueDate { get; set; }
public int Priorita { get; set; }
public int PzPallet { get; set; }
public decimal? TotMinProg { get; set; }
public decimal? TotOreProg { get; set; }
}
}
-23
View File
@@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VR1
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string Causale { get; set; }
public string Descrizione { get; set; }
public string Note { get; set; }
public int Qta { get; set; }
public string KeyRichiesta { get; set; }
public int IdxOdl { get; set; }
public string CodArticolo { get; set; }
public int MatrOpr { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
}
}
-18
View File
@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VTcStat
{
public string CodArticolo { get; set; }
public string CodGruppo { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public decimal TcStat { get; set; }
public int TcType { get; set; }
}
}
-20
View File
@@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VTcr
{
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public DateTime DataOraRif { get; set; }
public decimal Tcmedio { get; set; }
public int PzProd { get; set; }
public int IdxOdl { get; set; }
public decimal Tcassegnato { get; set; }
public string KeyRichiesta { get; set; }
public int PzPallet { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VTcr1
{
public DateTime DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public string CodArticolo { get; set; }
public int PzProd { get; set; }
public decimal? Tcmedio { get; set; }
public decimal? Tcmin { get; set; }
public decimal? Tcmax { get; set; }
public decimal? Tc50p { get; set; }
}
}
-21
View File
@@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VTcrDay
{
public DateTime? DataOraRif { get; set; }
public string IdxMacchina { get; set; }
public string CodMacchina { get; set; }
public string DescMacchina { get; set; }
public string CodArticolo { get; set; }
public int PzProd { get; set; }
public decimal? Tcmedio { get; set; }
public decimal? Tcmin { get; set; }
public decimal? Tcmax { get; set; }
public decimal? Tc50p { get; set; }
}
}
-15
View File
@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
#nullable disable
namespace MP.Data.DatabaseModels
{
public partial class VetoTc
{
public string IdxMacchina { get; set; }
public string CodArticolo { get; set; }
public bool? VetoTc1 { get; set; }
public decimal SogliaTc { get; set; }
}
}
File diff suppressed because it is too large Load Diff
+18 -9
View File
@@ -24,23 +24,32 @@
<th>Data</th>
<th>ODL/Commessa</th>
<th>Articolo</th>
<th>Descrizione</th>
<th>Qta</th>
<th>Operatore</th>
<th class="text-right">Descrizione</th>
<th class="text-right">Qta</th>
<th class="text-right">Operatore</th>
</tr>
</thead>
<tbody>
@foreach (var record in ListRecords)
{
<tr class="@checkSelect(@record.DataOra, @record.IdxMacchina, @record.Causale)">
<tr class="@checkSelect(@record.DataOraRif, @record.IdxMacchina, @record.Causale)">
@*<td><button class="btn btn-sm btn-info" @onclick="() => Edit(record)"><span class="oi oi-pencil"></span></button>&nbsp;<button class="btn btn-sm btn-success" @onclick="() => ShowDocs(record)" title="Vai ai documenti"><span class="oi oi-document"></span></button></td>*@
<td>@record.IdxMacchina</td>
<td>@record.DataOra</td>
<td>
<div>@record.CodMacchina</div>
<div class="small">@record.IdxMacchina</div>
</td>
<td>
<div>@record.DataOraRif.ToString("yyyy.MM.dd")</div>
<div class="small">@record.DataOraRif.ToString("ddd HH:mm.ss")</div>
</td>
<td>@record.IdxOdl | @record.KeyRichiesta</td>
<td>@record.CodArticolo</td>
<td>@record.Descrizione</td>
<td>@record.CodArticolo</td>
<td>@record.MatrOpr</td>
<td class="text-right">
<div>[@record.Causale] @record.Descrizione</div>
<div class="small">@record.Note</div>
</td>
<td class="text-right">@record.Qta</td>
<td class="text-right">@record.Cognome @record.Nome (@record.MatrOpr)</td>
</tr>
}
</tbody>
+2 -2
View File
@@ -70,14 +70,14 @@ namespace MP.Stats.Pages
#region Public Methods
public string checkSelect(DateTime DataOra, string IdxMacchina, string Causale)
public string checkSelect(DateTime DataOraRif, string IdxMacchina, string Causale)
{
string answ = "";
if (currRecord != null)
{
try
{
answ = (currRecord.DataOra == DataOra && currRecord.IdxMacchina == IdxMacchina && currRecord.Causale == Causale) ? "table-info" : "";
answ = (currRecord.DataOraRif == DataOraRif && currRecord.IdxMacchina == IdxMacchina && currRecord.Causale == Causale) ? "table-info" : "";
}
catch
{ }