Update enum da classe conf tipi
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using EgwCoreLib.Lux.Core;
|
||||
using Egw.Window.Data;
|
||||
using EgwCoreLib.Lux.Core;
|
||||
using EgwCoreLib.Lux.Data.DbModel.Config;
|
||||
using EgwCoreLib.Lux.Data.Services;
|
||||
using EgwMultiEngineManager.Data;
|
||||
@@ -60,7 +61,7 @@ namespace Lux.API.Controllers
|
||||
if (!string.IsNullOrEmpty(currJwd))
|
||||
{
|
||||
Dictionary<string, string> DictExec = new Dictionary<string, string>();
|
||||
DictExec.Add("Mode", "2");
|
||||
DictExec.Add("Mode", $"{(int)Egw.Window.Data.Enums.QuestionModes.BOM}");
|
||||
// UID cablato x ora...
|
||||
DictExec.Add("UID", id);
|
||||
DictExec.Add("Jwd", currJwd);
|
||||
@@ -102,11 +103,11 @@ namespace Lux.API.Controllers
|
||||
private async Task sendHwReq()
|
||||
{
|
||||
Dictionary<string, string> DictExec = new Dictionary<string, string>();
|
||||
DictExec.Add("Mode", $"{(int)Enums.EngineQueryType.HardwareModelList}");
|
||||
DictExec.Add("Mode", $"{(int)Egw.Window.Data.Enums.QuestionModes.HARDWAREMODELLIST}");
|
||||
// da rivedere?
|
||||
DictExec.Add("UID", "HW.AGB");
|
||||
DictExec.Add("SubMode", $"{(int)Enums.EngineSubMode.LIST}");
|
||||
DictExec.Add("Manufacturer", $"{(int)Enums.EngineHwManufacturers.AGB}");
|
||||
DictExec.Add("SubMode", $"{(int)Egw.Window.Data.Enums.QuestionSubModes.LIST}");
|
||||
DictExec.Add("Manufacturer", $"{(int)Egw.Window.Data.Enums.HardwareManufacturers.AGB}");
|
||||
int nId = 1;
|
||||
// da modificare con tipo richiesta...
|
||||
QuestionDTO currArgs = new QuestionDTO(nId, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, DictExec);
|
||||
@@ -238,7 +239,7 @@ namespace Lux.API.Controllers
|
||||
if (!string.IsNullOrEmpty(currJwd))
|
||||
{
|
||||
Dictionary<string, string> DictExec = new Dictionary<string, string>();
|
||||
DictExec.Add("Mode", "1");
|
||||
DictExec.Add("Mode", $"{(int)Egw.Window.Data.Enums.QuestionModes.PREVIEW}");
|
||||
// UID cablato x ora...
|
||||
DictExec.Add("UID", id);
|
||||
DictExec.Add("Jwd", currJwd);
|
||||
|
||||
Reference in New Issue
Block a user