4cde37cd5f
Rimesso bottone x export 3d con timeout x risposta calcolo
74 lines
4.0 KiB
C#
74 lines
4.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebDoorCreator.Core
|
|
{
|
|
//// <Auto-Generated>
|
|
//// This is here so CodeMaid doesn't reorganize this document
|
|
//// </Auto-Generated>
|
|
public class Constants
|
|
{
|
|
// dati conf REDIS Cache
|
|
public static readonly string BASE_HASH = "WDC";
|
|
public static readonly string BASE_PATH = Directory.GetCurrentDirectory();
|
|
|
|
|
|
// REDIS KEY Dati correnti x QueueMan
|
|
public static readonly string LAST_CALC_REQ_KEY = $"{BASE_HASH}:Current:LastCalcReq";
|
|
public static readonly string LAST_CALC_DONE_KEY = $"{BASE_HASH}:Current:LastCalcDone";
|
|
public static readonly string LAST_DOOR_REFR_KEY = $"{BASE_HASH}:Current:LastDoorRefr";
|
|
public static readonly string CALC_REQ_DONE = $"{BASE_HASH}:CalcRequests:Completed";
|
|
public static readonly string CALC_REQ_ERRS = $"{BASE_HASH}:CalcRequests:Errors";
|
|
public static readonly string CALC_REQ_PEND = $"{BASE_HASH}:CalcRequests:Pending";
|
|
public static readonly string CALC_REQ_PROC = $"{BASE_HASH}:CalcRequests:Processing";
|
|
public static readonly string CALC_REQ_TYPE = $"{BASE_HASH}:CalcRequests:Type";
|
|
public static readonly string CALC_REQ_DDF_CACHE = $"{BASE_HASH}:CalcRequests:CacheDDF";
|
|
public static readonly string CALC_REQ_SVG_CACHE = $"{BASE_HASH}:CalcRequests:CacheSVG";
|
|
public static readonly string CALC_REQ_VETO_REC = $"{BASE_HASH}:CalcRequests:VetoRecalc";
|
|
public static readonly string DOOR_TPL_LIST = $"{BASE_HASH}:Template:DoorList";
|
|
|
|
// REDIS KEY dati x registrazione statistiche esecuzione
|
|
public static readonly string STATS_DATA = $"{BASE_HASH}:CallStats";
|
|
|
|
// REDIS Channels messaggi x QueueMan (verso UI/srv)
|
|
public static readonly string CALC_REQ_QUEUE = $"CalcRequest";
|
|
public static readonly string CALC_DONE_QUEUE = $"CalcCompleted";
|
|
|
|
|
|
public const string passPhrase = "9eb4660f-8753-46bc-b23b-08759ba03fe9";
|
|
|
|
// classi utilità x cache REDIS dati DB
|
|
public const string redisBaseAddr = "WDC";
|
|
public const string rKeyConfig = $"{redisBaseAddr}:Cache:Config";
|
|
public const string rKeyCompany = $"{redisBaseAddr}:Cache:Company";
|
|
public const string rKeyDoor = $"{redisBaseAddr}:Cache:Door";
|
|
public const string rKeyDoorOp = $"{redisBaseAddr}:Cache:DoorOp";
|
|
public const string rKeyDoorOpType = $"{redisBaseAddr}:Cache:DoorOpType";
|
|
public const string rKeyGraphicParameters = $"{redisBaseAddr}:Cache:GraphicParameters";
|
|
public const string rKeyListValues = $"{redisBaseAddr}:Cache:ListValues";
|
|
public const string rKeyDoorLast = $"{redisBaseAddr}:Cache:DoorList";
|
|
public const string rKeyDoorsByOrder = $"{redisBaseAddr}:Cache:DoorsByOrder";
|
|
public const string rKeyOrderByComp = $"{redisBaseAddr}:Cache:OrderByComp";
|
|
public const string rKeyOrderDetail = $"{redisBaseAddr}:Cache:OrderDetail";
|
|
public const string rKeyOrderStatus = $"{redisBaseAddr}:Cache:OrderStatus";
|
|
public const string rKeyRoles = $"{redisBaseAddr}:Cache:Roles";
|
|
public const string rKeyUsers = $"{redisBaseAddr}:Cache:Users";
|
|
public const string rKeyUsersAll = $"{redisBaseAddr}:Cache:UsersAll";
|
|
public const string rKeyUsersData = $"{redisBaseAddr}:Cache:UsersData";
|
|
public const string rKeyUsersDataSearch = $"{rKeyUsersData}:Search";
|
|
public const string rKeyUsersView = $"{redisBaseAddr}:Cache:UsersView";
|
|
public const string rKeyVocLemma = $"{redisBaseAddr}:Cache:VocLemma";
|
|
public const string rKeyVocLemmaTEMP = $"{redisBaseAddr}:Cache:VocLemmaTEMP";
|
|
public const string rKeyLanguage = $"{redisBaseAddr}:Cache:Languages";
|
|
public const string rKeyDirsScan = $"{redisBaseAddr}:Cache:Scan";
|
|
|
|
/// <summary>
|
|
/// variabili accessorie ulteriori
|
|
/// </summary>
|
|
public const int StatusIdTemplate = 10000;
|
|
}
|
|
}
|