Inizio bozza pagina cicli

This commit is contained in:
Samuele Locatelli
2025-09-19 19:22:12 +02:00
parent 7fbefbe986
commit 901aaddc7b
9 changed files with 171 additions and 28 deletions
+6 -1
View File
@@ -43,7 +43,12 @@
<NavLink class="nav-link" href="Items">
<span class="fa-solid fa-book px-2 fs-4" aria-hidden="true"></span> <span class="@hideText">Articoli</span>
</NavLink>
</div>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="JobRoute">
<span class="fa-solid fa-route px-2 fs-4" aria-hidden="true"></span> <span class="@hideText">Cicli</span>
</NavLink>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="Offers">
<span class="fa-solid fa-cart-shopping px-2 fs-4" aria-hidden="true"></span> <span class="@hideText">Offerte</span>
+43
View File
@@ -0,0 +1,43 @@
@page "/JobRoute"
<div class="card shadow">
<div class="card-header">
<div class=" d-flex justify-content-between">
<div class="px-0 fs-3">
<b>Cicli di Lavoro</b>
</div>
<div class="px-0 d-flex justify-content-between">
<div class="px-1">
<div class="input-group input-group-sm" title="ricerca">
<span class="input-group-text"><i class="fas fa-search"></i></span>
<input type="text" class="form-control" @bind="@SearchVal">
<button class="btn btn-outline-secondary" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
</div>
</div>
</div>
</div>
</div>
<div class="card-body">
<div class="row">
@if (isLoading)
{
<LoadingData></LoadingData>
}
else
{
<div class="col-6">
Elenco <b>cicli</b> attivi
@* <GenClassMan ListGenClass="ListGenClass" EC_Selected="SaveSel" EC_Updated="() => ForceReloadAsync()"></GenClassMan> *@
</div>
<div class="col-6">
@* @if (!string.IsNullOrEmpty(CurrFilt.SelCodGroup))
{
<GenValMan SelFilt="CurrFilt" ListGenClass="ListGenClass"></GenValMan>
} *@
Dettaglio <b>ciclo selezionato</b>
</div>
}
</div>
</div>
</div>
+94
View File
@@ -0,0 +1,94 @@
using EgwCoreLib.Lux.Data.DbModel.Items;
using EgwCoreLib.Lux.Data.DbModel.Utils;
using EgwCoreLib.Lux.Data.Services;
using Lux.UI.Components.Compo;
using Microsoft.AspNetCore.Components;
namespace Lux.UI.Components.Pages
{
public partial class JobRoute
{
#region Protected Fields
protected List<GenClassModel> ListGenClass = new List<GenClassModel>();
#endregion Protected Fields
#region Protected Properties
protected GenValMan.FiltSelect CurrFilt { get; set; } = new GenValMan.FiltSelect();
[Inject]
protected DataLayerServices DLService { get; set; } = null!;
protected string SearchVal
{
get => CurrFilt.SearchVal;
set
{
isLoading = true;
CurrFilt.SearchVal = value;
isLoading = false;
}
}
protected string SelCodGroup
{
get => CurrFilt.SelCodGroup;
set
{
if (CurrFilt.SelCodGroup != value)
{
isLoading = true;
CurrFilt.SelCodGroup = value;
isLoading = false;
}
}
}
#endregion Protected Properties
#region Protected Methods
protected override async Task OnInitializedAsync()
{
isLoading = true;
await ReloadBaseData();
}
protected void ResetSearch()
{
SearchVal = "";
}
#endregion Protected Methods
#region Private Fields
private ItemModel? editRecord = null;
private bool isLoading = false;
#endregion Private Fields
#region Private Methods
private async Task ForceReloadAsync()
{
await ReloadBaseData();
}
private async Task ReloadBaseData()
{
isLoading = true;
ListGenClass = await DLService.GenClassGetAllAsync();
isLoading = false;
}
private void SaveSel(string codGroup)
{
SelCodGroup = codGroup;
}
#endregion Private Methods
}
}
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50</UserSecretsId>
<Version>0.9.2509.1918</Version>
<Version>0.9.2509.1919</Version>
</PropertyGroup>
<ItemGroup>
+24 -23
View File
@@ -148,32 +148,32 @@ Eventuali "equilibrismi" richiederanno valutazione/gestione con motore CAM.
Esempi materiali finestre
| **Tipo di Legno** | **Categoria** | **Vantaggi principali** |
|--------------------------|--------------------------|---------------------------------------------------------------|
| Pine | Softwood | Economico, versatile, facile da lavorare |
| Douglas Fir | Softwood | Stabile, robusto, ideale per serramenti di grandi dimensioni |
| Cedar | Softwood | Resistente al marciume e agli insetti, ottimo per esterni |
| Engineered Redwood | Softwood (lamellare) | Stabile, durevole, adatto a climi umidi |
| Accoya® | Softwood trattato | Durabilità estrema, stabile, eco-sostenibile |
| Red Grandis | Softwood (denso) | Sostenibile, resistente, simile alla quercia |
| Oak | Hardwood | Duro, isolante, elegante e molto resistente |
| Mahogany | Hardwood | Elegante, durevole, resistente allumidità |
| Teak | Hardwood | Estremamente stabile, durevole e resistente agli agenti esterni |
| Sapele | Hardwood | Aspetto decorativo, venatura a nastro simile al mogano |
| Walnut | Hardwood | Pregiato, tonalità scure e venatura marcata |
| Cherry | Hardwood | Caldo, elegante, si scurisce con il tempo |
| Maple | Hardwood | Duro, chiaro, moderno, resistente |
| Ash | Hardwood | Resistente, lavorabile, grana diritta |
| Beech | Hardwood | Robusto, resistente all'abrasione, lavorabile |
| **Tipo di Legno** | **Categoria** | **Vantaggi principali** |
| ------------------ | -------------------- | --------------------------------------------------------------- |
| Pine | Softwood | Economico, versatile, facile da lavorare |
| Douglas Fir | Softwood | Stabile, robusto, ideale per serramenti di grandi dimensioni |
| Cedar | Softwood | Resistente al marciume e agli insetti, ottimo per esterni |
| Engineered Redwood | Softwood (lamellare) | Stabile, durevole, adatto a climi umidi |
| Accoya® | Softwood trattato | Durabilità estrema, stabile, eco-sostenibile |
| Red Grandis | Softwood (denso) | Sostenibile, resistente, simile alla quercia |
| Oak | Hardwood | Duro, isolante, elegante e molto resistente |
| Mahogany | Hardwood | Elegante, durevole, resistente allumidità |
| Teak | Hardwood | Estremamente stabile, durevole e resistente agli agenti esterni |
| Sapele | Hardwood | Aspetto decorativo, venatura a nastro simile al mogano |
| Walnut | Hardwood | Pregiato, tonalità scure e venatura marcata |
| Cherry | Hardwood | Caldo, elegante, si scurisce con il tempo |
| Maple | Hardwood | Duro, chiaro, moderno, resistente |
| Ash | Hardwood | Resistente, lavorabile, grana diritta |
| Beech | Hardwood | Robusto, resistente all'abrasione, lavorabile |
Esempi di vetri
| **Tipo di Vetrata** | **Spessore Totale** | **Note** |
|----------------------------------|----------------------|-----------------------------------------------|
| 4 / 12 / 4 | 20 mm | Vetro doppio standard |
| 33.1 / 12 / 4 | 21.5 mm | Stratificato + vetro semplice |
| 6 / 14 / 6 | 26 mm | Miglior isolamento termico/acustico |
| 4 / 12 / 4 / 12 / 4 (triplo) | 36 mm | Triplo vetro per case ad alta efficienza |
| **Tipo di Vetrata** | **Spessore Totale** | **Note** |
| ---------------------------- | ------------------- | ---------------------------------------- |
| 4 / 12 / 4 | 20 mm | Vetro doppio standard |
| 33.1 / 12 / 4 | 21.5 mm | Stratificato + vetro semplice |
| 6 / 14 / 6 | 26 mm | Miglior isolamento termico/acustico |
| 4 / 12 / 4 / 12 / 4 (triplo) | 36 mm | Triplo vetro per case ad alta efficienza |
### Cicli
@@ -186,6 +186,7 @@ Esempi di vetri
tabella versioni
| Versione | Data | Note |
| -------- | ---------- | ----------------------------------------------------------------------------------- |
| 0.9.x.x | 2025.08.20 | Gestione cicli lavoro (configurazione) preliminare |
| 0.8.x.x | 2025.08.19 | Riorganizzazione DbModels e inserimento voci calcolo fasi/stage e costo lavorazioni |
| 0.7.x.x | 2025.08.17 | Implementate correzioni calcoli BOM |
| 0.6.x.x | 2025.08.14 | Implementati HwList |
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>LUX - Web Windows MES</i>
<h4>Versione: 0.9.2509.1918</h4>
<h4>Versione: 0.9.2509.1919</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
0.9.2509.1918
0.9.2509.1919
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>0.9.2509.1918</version>
<version>0.9.2509.1919</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>