Update catena eventi x richiesta reset dizionario
This commit is contained in:
@@ -31,6 +31,12 @@ namespace WebWindowComplex.Compo
|
||||
[Parameter]
|
||||
public EventCallback<bool> EC_ReqClose { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Evento per richiedere reset dizionario Shape
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public EventCallback<bool> EC_ReqResetDictShape { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Evento per aggiornare info frame (es cambaire tutti i Joints)
|
||||
/// </summary>
|
||||
@@ -63,6 +69,27 @@ namespace WebWindowComplex.Compo
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected int SelShapeIndex
|
||||
{
|
||||
get => FrameWindow.SelShapeIndex;
|
||||
set
|
||||
{
|
||||
if (FrameWindow.SelShapeIndex != value)
|
||||
{
|
||||
// richiesta reset dict shape
|
||||
_ = EC_ReqResetDictShape.InvokeAsync(true);
|
||||
//foreach(var s in SashList)
|
||||
// s.SelHardwareFromId = "000000";
|
||||
FrameWindow.SelShapeIndex = value;
|
||||
_ = EC_UpdateShape.InvokeAsync(FrameWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
@@ -123,21 +150,6 @@ namespace WebWindowComplex.Compo
|
||||
}
|
||||
}
|
||||
|
||||
protected int SelShapeIndex
|
||||
{
|
||||
get => FrameWindow.SelShapeIndex;
|
||||
set
|
||||
{
|
||||
if (FrameWindow.SelShapeIndex != value)
|
||||
{
|
||||
//foreach(var s in SashList)
|
||||
// s.SelHardwareFromId = "000000";
|
||||
FrameWindow.SelShapeIndex = value;
|
||||
_ = EC_UpdateShape.InvokeAsync(FrameWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Report aggiornamento joint
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user