Inizio definizione modelli x gestione produzoine/assegnazione
This commit is contained in:
@@ -32,11 +32,15 @@ namespace EgwCoreLib.Lux.Core
|
||||
/// <summary>
|
||||
/// Eseguite simulazioni e calcolo lavorazioni/tempi
|
||||
/// </summary>
|
||||
Calculated,
|
||||
Estimated,
|
||||
/// <summary>
|
||||
/// Schedulato in produzione (data sulal fase critica)
|
||||
/// Assegnato (per ogni item/riga)
|
||||
/// </summary>
|
||||
Scheduled,
|
||||
Assigned,
|
||||
/// <summary>
|
||||
/// Schedulato in produzione (data sulla fase critica)
|
||||
/// </summary>
|
||||
Planned,
|
||||
/// <summary>
|
||||
/// In produzione
|
||||
/// </summary>
|
||||
|
||||
@@ -80,6 +80,9 @@ namespace EgwCoreLib.Lux.Data
|
||||
public virtual DbSet<GenValueModel> DbSetGenVal { get; set; }
|
||||
public virtual DbSet<StatsDetailModel> DbSetStatsDet { get; set; }
|
||||
public virtual DbSet<StatsAggregatedModel> DbSetStatsAggr { get; set; }
|
||||
public virtual DbSet<ProductionPlantModel> DbSetProdPlant { get; set; }
|
||||
public virtual DbSet<ProductionAssignModel> DbSetProdAssign { get; set; }
|
||||
public virtual DbSet<ProductionPlannerModel> DbSetProdPlanner { get; set; }
|
||||
|
||||
|
||||
partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace EgwCoreLib.Lux.Data.DbModel.Production
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe che definisce un assegnazione di produzione connettendo info relative a
|
||||
/// - riga ordine
|
||||
/// - macchine
|
||||
/// - tags (item) assegnati)
|
||||
/// </summary>
|
||||
[Table("production_assign")]
|
||||
public class ProductionAssignModel
|
||||
{
|
||||
[Key]
|
||||
public int PrdoAssignID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ordine cui fa riferimento
|
||||
/// </summary>
|
||||
public int OrderRowID { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Codice macchina di riferimento
|
||||
/// </summary>
|
||||
public string MachineCod { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace EgwCoreLib.Lux.Data.DbModel.Production
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe che definisce un piano di produzione (PODL con + articoli) prima che diventi 1/+ ODL/Batch (uno per impianto)
|
||||
/// Può contenere più ProductionAssign
|
||||
/// </summary>
|
||||
[Table("production_planner")]
|
||||
public class ProductionPlannerModel
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace EgwCoreLib.Lux.Data.DbModel.Production
|
||||
{
|
||||
/// <summary>
|
||||
/// Macchine / Impianti di produzione gestiti
|
||||
/// </summary>
|
||||
[Table("production_plant")]
|
||||
public class ProductionPlantModel
|
||||
{
|
||||
[Key]
|
||||
public string ProdPlantCod { get; set; } = "";
|
||||
|
||||
public string ProdPlantDescript { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using EgwCoreLib.Lux.Data.DbModel.Production;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using static EgwCoreLib.Lux.Core.Enums;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
@@ -32,6 +33,10 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
|
||||
/// </summary>
|
||||
public EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS Envir { get; set; } = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW;
|
||||
|
||||
/// <summary>
|
||||
/// Enum stato Riga Ordine x assegnazione/pianificazione
|
||||
/// </summary>
|
||||
public OrderStates OrderRowState { get; set; } = OrderStates.Created;
|
||||
|
||||
/// <summary>
|
||||
/// Campo salvato dell'UID da codice DataMatrix calcolato
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
|
||||
<Version>0.9.2512.1911</Version>
|
||||
<Version>0.9.2512.1912</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>LUX - Web Windows MES</i>
|
||||
<h4>Versione: 0.9.2512.1911</h4>
|
||||
<h4>Versione: 0.9.2512.1912</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.9.2512.1911
|
||||
0.9.2512.1912
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>0.9.2512.1911</version>
|
||||
<version>0.9.2512.1912</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user