Update vers number + pulizia if false vari

This commit is contained in:
Samuele E. Locatelli
2020-04-03 09:52:48 +02:00
parent d51ecd6001
commit 8648ffc132
6 changed files with 607 additions and 708 deletions
File diff suppressed because it is too large Load Diff
-36
View File
@@ -14,43 +14,7 @@ namespace GPW_data
/// </summary>
protected utils()
{
#if false
setupElencoClienti();
#endif
}
#if false
/// <summary>
/// setup delle tabella elencoClienti
/// </summary>
protected void setupElencoClienti()
{
string redKey = memLayer.ML.redHash("elencoClienti");
try
{
string rawData = memLayer.ML.getRSV(redKey);
if (string.IsNullOrEmpty(rawData))
{
}
else
{
elencoClienti = ricaricaElencoClienti();
}
if (memLayer.ML.isInCacheObject("elencoClienti"))
{
elencoClienti = (Dictionary<string, string>)memLayer.ML.objCacheObj("elencoClienti");
}
else
{
elencoClienti = ricaricaElencoClienti();
memLayer.ML.setCacheVal("elencoClienti", elencoClienti, false);
}
}
catch
{ }
}
#endif
/// <summary>
/// restituisce elenco clienti trasformato in dictionary
/// </summary>
-24
View File
@@ -42,29 +42,5 @@ namespace GPW_Smart
cmp_menuTop.disableCheckCookie = value;
}
}
#if false
public bool showSettings { get; set; }
public bool showLeftPnl { get; set; }
public string hideSettings
{
get
{
string answ = "";
if (!showSettings) answ = "hidden";
return answ;
}
}
public string hideLeftPnl
{
get
{
string answ = "";
if (!showLeftPnl) answ = "hidden";
return answ;
}
}
#endif
}
}
@@ -232,26 +232,5 @@ namespace GPW_Smart.WebUserControls
}
return answ;
}
#if false
/// <summary>
/// salva in variabile pagina il nome della pagina corrente
/// </summary>
protected string PagCorrente()
{
string answ = "";
try
{
Uri MyUrl = Request.Url;
string delimStr = "/";
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
answ = finalUrl[n - 1].ToString();
}
catch
{ }
return answ;
}
#endif
}
}
@@ -145,15 +145,6 @@ namespace GPW.WebUserControls
bool isEntrata = false;
registraTimbratura(isEntrata);
}
#if false
/// <summary>
/// Abilita tutti i buttons
/// </summary>
public void abilitaAll()
{
forceButtons = false;
}
#endif
/// <summary>
/// Aggiorno visualizzazione
/// </summary>
Vendored
+1 -1
View File
@@ -10,7 +10,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=4104']) {
withEnv(['NEXT_BUILD_NUMBER=4105']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'GPW'