fix catena di aggiornamenti

This commit is contained in:
zaccaria.majid
2023-05-12 15:56:04 +02:00
parent 59d6bc1205
commit 759d9be118
5 changed files with 24 additions and 55 deletions
@@ -1,5 +1,4 @@
<div>
@B_doorOpUpd
@if (B_doorOpUpd || true)
{
<button class="btn btn-success" @onclick="() => doSave()"><i class="fa-solid fa-floppy-disk"></i></button>
@@ -116,6 +116,11 @@ namespace WebDoorCreator.UI.Components.Buttons
await SaveYaml(currDdf);
// versione corrente del DDF generato
int currVers = await QDataServ.SendCalcReq(idDoor, currDdf);
if(currVers > 0)
{
IsErr = false;
}
}
}
}
@@ -61,7 +61,8 @@ namespace WebDoorCreator.UI.Components.DoorDef
/// </summary>
protected Dictionary<string, Dictionary<string, string>> bdoList { get; set; } = new Dictionary<string, Dictionary<string, string>>();
protected bool paramsChanged { get; set; } = false;
[Parameter]
public bool paramsChanged { get; set; } = false;
protected string userLang { get; set; } = "EN";
#endregion Protected Properties
@@ -1,10 +1,12 @@
<div class="" style="height:100%; width:100%; position:sticky; background: linear-gradient(#AFCFD1, #92B2C4);min-height: 46rem;max-height: 46rem;">
<div class="" style="height:100%; width:100%; position:sticky; background: linear-gradient(#AFCFD1, #92B2C4);min-height: 55rem;max-height: 55rem;">
@*@if (IsErr)
{
@*<div class="alert alert-warning text-center fs-2">@ErrCode</div>
@*<div class="alert alert-warning text-center fs-2">@ErrCode</div>
}*@
@if (!string.IsNullOrEmpty(@SvgContent))
{
@svgPreview
<div style="height: 0;width: 15rem;align-items: center;display: flex;flex-wrap: wrap;justify-content: center;">
@svgPreview
</div>
}
</div>
+12 -50
View File
@@ -15,10 +15,10 @@ order:
date: 2023-12-05T00:00:00.0000000
piece: DO_1
size:
width: 30
height: 100
thickness: 2
swing: LHI
width: 90
height: 150
thickness: 1.75
swing: LH
secure: UP
material: wood
profiles:
@@ -28,7 +28,7 @@ profiles:
overmaterial: 0.1
hingeedge:
type: SQ
machining: OFF
machining: ON
overmaterial: 0.1
top:
type: SQ
@@ -36,54 +36,16 @@ profiles:
overmaterial: 0.1
bottom:
type: SQ
machining: OFF
machining: ON
overmaterial: 0.1
hardware:
vision_cut_outs:
- shape: Generic\Circle
radius: 8.5
center_from_top: 40
center_from_lock: 0
louver_cut_outs:
- shape: Generic\Cuore2.nge
length: 10.0000
width: 18.8125
bottom_rail: 8.0
lock_stile: 0.0
door_center: center
- shape: Generic\Circle
radius: 10
center_from_top: 60
center_from_lock: 0
door_center: center
- shape: Generic\Rect
length: 10
width: 16
top_rail: 5.5
lock_stile: 0
radius: 0
door_center: center
hinges:
- template: Generic Conceiled\StdConHingeDeepR
ToptoCL: 10
back_set: 0.125
thickness: 0.25
- template: Generic Conceiled\StdConHingeDeepR
ToptoCL: 50
back_set: 0.125
thickness: 0.25
- template: Generic Conceiled\StdConHingeDeepR
ToptoCL: 80
back_set: 0.125
thickness: 0.25
flush_bolts:
- template: Corner\8501
type: corner
side: top
position: 5
offset_WS: 0.0
strikes:
- template: Generic\StdFaceStrike
position: 57.875
back_set: 2.75
offset_WS: 0.0
---