Update enum da classe conf tipi
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using EgwCoreLib.Lux.Core.RestPayload;
|
||||
using Egw.Window.Data;
|
||||
using EgwCoreLib.Lux.Core.RestPayload;
|
||||
using EgwCoreLib.Lux.Data.Services;
|
||||
using EgwMultiEngineManager.Data;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -45,7 +46,11 @@ namespace Lux.API.Controllers
|
||||
// controllo se mancassero parametri...
|
||||
if (!DictExec.ContainsKey("Mode"))
|
||||
{
|
||||
DictExec.Add("Mode", "1");
|
||||
DictExec.Add("Mode", $"{(int)Enums.QuestionModes.PREVIEW}");
|
||||
}
|
||||
if (!DictExec.ContainsKey("SubMode"))
|
||||
{
|
||||
DictExec.Add("SubMode", $"{(int)Enums.QuestionSubModes.NULL}");
|
||||
}
|
||||
if (!DictExec.ContainsKey("UID"))
|
||||
{
|
||||
@@ -84,7 +89,7 @@ namespace Lux.API.Controllers
|
||||
{
|
||||
Dictionary<string, string> DictExec = new Dictionary<string, string>();
|
||||
// cablata la BOM
|
||||
DictExec.Add("Mode", "2");
|
||||
DictExec.Add("Mode", $"{(int)Enums.QuestionModes.BOM}");
|
||||
// UID cablato x ora...
|
||||
DictExec.Add("UID", id);
|
||||
DictExec.Add("Jwd", currSer);
|
||||
|
||||
Reference in New Issue
Block a user