e6179601fb
- Fix display error
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using global::Microsoft.AspNetCore.Components;
|
|
using MP.Data.Services;
|
|
|
|
namespace MP_TAB3.Pages
|
|
{
|
|
public partial class TechSheet
|
|
{
|
|
#region Protected Properties
|
|
|
|
[Inject]
|
|
protected TabDataService TabDServ { get; set; } = null!;
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
SetupConf();
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private string disMessage = "Gestione schede tecniche di attrezzaggio, collaudo e verifica procedure di setup. Il modulo opzionale è attivabile su richiesta.";
|
|
|
|
private string disSubtitle = "Funzionalità disattivata";
|
|
|
|
private string disTitle = "Scheda Tecnica";
|
|
|
|
private bool enableSchedaTecnica = false;
|
|
|
|
#endregion Private Fields
|
|
|
|
#region Private Methods
|
|
|
|
private void SetupConf()
|
|
{
|
|
TabDServ.ConfigGetVal("enableSchedaTecnica", ref enableSchedaTecnica);
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |