- Aggiunta lista Profili
- Aggiornato setup Hardware
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
{
|
||||
@foreach (var hlItem in CurrItem.HardwareList)
|
||||
{
|
||||
<option value="@hlItem.Id" typeof="string">@hlItem.Description</option>
|
||||
<option value="@hlItem.Id">@hlItem.Description</option>
|
||||
}
|
||||
}
|
||||
</select>
|
||||
|
||||
@@ -24,10 +24,11 @@
|
||||
</div>
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text" for="ProfileWindow">Profile</label>
|
||||
<select class="form-select" id="ProfileWindow">
|
||||
<option value="0">Profilo 78</option>
|
||||
<option value="1">Profilo..</option>
|
||||
<option value="2">Profilo...</option>
|
||||
<select class="form-select @(cssValid("Profile"))" id="ProfileWindow" @bind="@CurrProfile">
|
||||
@foreach (string profile in ListPayload.Profile)
|
||||
{
|
||||
<option value="@profile">@profile</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -23,6 +23,9 @@ namespace WebWindowComplex.Compo
|
||||
[Parameter]
|
||||
public EventCallback<string> EC_SelWindMat { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<string> EC_SelProfile { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<bool> EC_ReqClose { get; set; }
|
||||
|
||||
@@ -72,6 +75,16 @@ namespace WebWindowComplex.Compo
|
||||
}
|
||||
}
|
||||
|
||||
protected string CurrProfile
|
||||
{
|
||||
get => currProfile;
|
||||
set
|
||||
{
|
||||
currProfile = value;
|
||||
_ = EC_SelProfile.InvokeAsync(value);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
@@ -91,6 +104,7 @@ namespace WebWindowComplex.Compo
|
||||
currColor = CurrWindow.sColorMaterial;
|
||||
currGlass = CurrWindow.sGlass;
|
||||
currMaterial = CurrWindow.sMaterial;
|
||||
currProfile = CurrWindow.sProfilePath;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
@@ -100,6 +114,7 @@ namespace WebWindowComplex.Compo
|
||||
private string currColor = "";
|
||||
private string currGlass = "";
|
||||
private string currMaterial = "";
|
||||
private string currProfile = "";
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
|
||||
Reference in New Issue
Block a user