@if (currListDoorDefStatus != null)
{
@foreach (var item in currListDoorDefStatus)
diff --git a/WebDoorCreator.UI/Components/Order/OrderStatusStep.razor b/WebDoorCreator.UI/Components/Order/OrderStatusStep.razor
index f29827e..d37b7a7 100644
--- a/WebDoorCreator.UI/Components/Order/OrderStatusStep.razor
+++ b/WebDoorCreator.UI/Components/Order/OrderStatusStep.razor
@@ -1,5 +1,4 @@
-@using Components.SvgComp
-
+
@if (currListOrderStatus != null)
{
diff --git a/WebDoorCreator.UI/Data/WebDoorCreatorService.cs b/WebDoorCreator.UI/Data/WebDoorCreatorService.cs
index b5d7657..eed0c89 100644
--- a/WebDoorCreator.UI/Data/WebDoorCreatorService.cs
+++ b/WebDoorCreator.UI/Data/WebDoorCreatorService.cs
@@ -153,10 +153,7 @@ namespace WebDoorCreator.UI.Data
{
bool fatto = false;
string compoName = "";
- string edgeType = "";
string sizeVal = "";
- string swingType = "";
- int numHier = 1;
List
listGraphicParams = new List();
List listValues = new List();
ListValuesTempModel Values = new ListValuesTempModel();
@@ -481,12 +478,14 @@ namespace WebDoorCreator.UI.Data
compoName = fIni.ReadString("Compo", "Name", "COMPONAME");
//cerco la sezione del file ed estraggo se numPar template sono attivi per il seguente componente
var isActive = fIni.ReadString("Template", "IsActive", "1");
+#if false
bool compoTemplateIsActive = true;
- string layerName = fIni.ReadString("Layer", "LayerName", "LAYER");
if (isActive == "0")
{
compoTemplateIsActive = false;
- }
+ }
+#endif
+ string layerName = fIni.ReadString("Layer", "LayerName", "LAYER");
// lo slash indica l'alias
var compoNameSplit = compoName.Split("/");
if (listActiveCompo.Contains(compoNameSplit[0].ToString()))
@@ -920,6 +919,7 @@ namespace WebDoorCreator.UI.Data
///
public async Task?> DoorOpTypeGetAll()
{
+ await Task.Delay(1);
string source = "DB";
List? dbResult = new List();
// cerco da cache
@@ -940,14 +940,14 @@ namespace WebDoorCreator.UI.Data
///
/// Aggiornamento DoorOP
///
- ///
+ ///
///
- public async Task DoorOpUpdate(DoorOpModel currDoorOp)
+ public async Task DoorOpUpdate(List currDoorOps)
{
- var dbResult = await dbController.DoorOpUpdate(currDoorOp);
+ var dbResult = await dbController.DoorOpUpdate(currDoorOps);
// elimino cache redis dati porta...
- bool answ = await DoorOpFlushCache(currDoorOp.DoorId);
- answ = answ && await DoorFlushCache(currDoorOp.DoorId);
+ bool answ = await DoorOpFlushCache(currDoorOps.FirstOrDefault()!.DoorId);
+ answ = answ && await DoorFlushCache(currDoorOps.FirstOrDefault()!.DoorId);
// elimino cache redis dati ordine...
answ = answ && await OrdersFlushCache();
return dbResult;