e043ae2181
Added Javascript TestPage in wwwroot
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Client.Utils
|
|
{
|
|
public static class Constants
|
|
{
|
|
|
|
//Folders
|
|
public static String BASE_PATH = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\";
|
|
public static String BROWSER_CACHE_FOLDER = BASE_PATH + "LocalStorage";
|
|
public static String STARTUP_CONFIG_SCHEMA_PATH = BASE_PATH + "ClientValidator.xsd";
|
|
public static String STARTUP_CONFIG_PATH = BASE_PATH + "Config.xml";
|
|
|
|
|
|
//Config Names and Paths
|
|
|
|
public const string CONFIG_KEY = "Config";
|
|
public const string CLIENT_CONFIG_KEY = "Client";
|
|
public const string CONNECTION_CONFIG_KEY = "Connection";
|
|
public const string VENDORHMI_CONFIG_KEY = "VendorHmi";
|
|
public const string EXTSFT_CONFIG_KEY = "ExtSoftware";
|
|
public const string SFT_CONFIG_KEY = "Software";
|
|
|
|
|
|
//BROWSER OBJECT NAME -> The first letter must be Lower-Case (CEF Settings)
|
|
public const String BROWSER_JS_OBJ_NAME = "cmsClient";
|
|
|
|
|
|
}
|
|
}
|