44 Commits

Author SHA1 Message Date
Samuele Locatelli 75c0ea10bf Update conf x email 2025-04-30 09:21:46 +02:00
Samuele Locatelli a1a4a12fe5 Merge tag 'FixUserConnString_01' into develop
Fix stringhe connessione DB
2024-08-19 10:15:25 +02:00
Samuele Locatelli 70f70fc5ba Merge branch 'release/FixUserConnString_01' 2024-08-19 10:15:15 +02:00
Samuele Locatelli f5225b2a14 Update stringhe di conneessione 2024-08-19 10:14:36 +02:00
Samuele Locatelli e6b5de5ceb Pulizia file inutilizzati (jenkins) 2024-08-19 10:13:23 +02:00
Samuele Locatelli b52de35e41 refresh grafico 2024-08-05 19:30:54 +02:00
Samuele Locatelli 2aeda792cd Merge tag 'FixCloneGroupAssign01' into develop
Clone group assign completata
2024-06-24 19:41:01 +02:00
Samuele Locatelli f719bdb22a Merge branch 'release/FixCloneGroupAssign01' 2024-06-24 19:40:46 +02:00
Samuele Locatelli b679d8da4e Aggiunto cloning gruppi dipendenti 2024-06-24 19:40:21 +02:00
Samuele Locatelli 1b84a2e325 Merge tag 'FixToggleCore01' into develop
Fix preselezione toggle Core x smart device
2024-06-24 14:45:34 +02:00
Samuele Locatelli 5cdae01434 Merge branch 'release/FixToggleCore01' 2024-06-24 14:44:49 +02:00
Samuele Locatelli c803ccf1a6 Fix checkCore: di default mostra quello x SMART 2024-06-24 14:44:23 +02:00
Samuele Locatelli 3f1aa9e26d Merge tag 'FixIdxRespDroDown01' into develop
Fix nome dl x recupero dropdown del resp utente
2024-06-24 11:23:58 +02:00
Samuele Locatelli 9588d09046 Merge branch 'release/FixIdxRespDroDown01' 2024-06-24 11:23:41 +02:00
Samuele Locatelli 811586ce48 Fix gedstione inserimento nuovo dip: codice idxResp non mappato correttamente 2024-06-24 11:23:15 +02:00
Samuele Locatelli 102bd0cf3e Merge tag 'AddIdxResp02' into develop
Aggiunta gestione invio email al resp su eventi approvazione
permessi/ferie
2024-06-14 19:01:42 +02:00
Samuele Locatelli 2ca7525781 Merge branch 'release/AddIdxResp02' 2024-06-14 19:01:28 +02:00
Samuele Locatelli 7034fdcf03 Fix invio email al resp su modifiche task 2024-06-14 19:01:15 +02:00
Samuele Locatelli b39352f373 Merge tag 'AddIdxResp01' into develop
Add gestione resp gerarchico x permessi
2024-06-14 18:24:36 +02:00
Samuele Locatelli 8c5a07de6f Merge branch 'release/AddIdxResp01' 2024-06-14 18:23:14 +02:00
Samuele Locatelli b7257ab43b Aggiunta gestione campo responsabile x gestione email notifica richieste permessi 2024-06-14 18:09:54 +02:00
Samuele Locatelli ccff088508 Merge tag 'FixRicalcoloGiustMissing01' into develop
Fix ricalcolo giustificativi missing
2024-04-15 12:19:23 +02:00
Samuele Locatelli e823b58a3e Merge branch 'release/FixRicalcoloGiustMissing01' 2024-04-15 12:19:16 +02:00
Samuele Locatelli b3d0a2bcb2 Fix ricalcolo giustificativi mancanti 2024-04-15 12:18:41 +02:00
Samuele Locatelli 33d5afd4e3 Merge tag 'AddMassApproveTimbr' into develop
Aggiunta approvazione massiva timb
2024-03-25 18:54:50 +01:00
Samuele Locatelli 18eadfd8f2 Merge branch 'release/AddMassApproveTimbr' 2024-03-25 18:52:55 +01:00
Samuele Locatelli 2af2e1edaf Aggiunto mass editing approvazione timb 2024-03-25 18:51:00 +01:00
Samuele Locatelli bbc477cf6c Merge tag 'FixDdlClass' into develop
Fix display dropdown list class
2024-03-21 10:56:34 +01:00
Samuele Locatelli f01359fbd9 Merge branch 'release/FixDdlClass' 2024-03-21 10:56:24 +01:00
Samuele Locatelli 2e0281fd56 Fix grafico ddlist 2024-03-21 10:55:54 +01:00
Samuele Locatelli f7597762bb Merge tag 'AddEditAnagFase' into develop
Aggiunto editing tag anag fasi
2024-03-21 09:52:54 +01:00
Samuele Locatelli cc4593912f Merge branch 'release/AddEditAnagFase' 2024-03-21 09:52:34 +01:00
Samuele Locatelli be2e967ba9 Update x gestione editing tagFasi 2024-03-21 09:52:12 +01:00
Samuele Locatelli 28fdde2955 Merge tag 'AddTagFasi01' into develop
Aggiunta preliminare gestione tagFasi
2024-03-20 19:17:47 +01:00
Samuele Locatelli 805cb3321e Merge branch 'release/AddTagFasi01' 2024-03-20 19:17:24 +01:00
Samuele Locatelli b0c8c5ddda Completo aggiunta gestione AnagTagFasi 2024-03-20 19:17:01 +01:00
Samuele Locatelli 26304ba711 Continuo fix AnagTagFasi 2024-03-20 18:55:57 +01:00
Samuele Locatelli bf3969cf5e Fix iniziale DB x SQL2019 + add AnagFasi (DS) 2024-03-20 17:44:54 +01:00
Samuele Locatelli 8a0f0aee3e Merge tag 'UpdateRedisSentinel02' into develop
Fix trasfprmazione web.config
2024-03-18 15:38:47 +01:00
Samuele Locatelli 1fa79e396c Merge branch 'release/UpdateRedisSentinel02' 2024-03-18 15:34:54 +01:00
Samuele Locatelli 17d5431e93 COmpleto update gestione redis devel/prod x GPW classic 2024-03-18 15:34:38 +01:00
Samuele Locatelli fa42649374 Merge tag 'UpdateRedisSentinel01' into develop
Update x impiego redis sentinel
2024-03-18 11:45:14 +01:00
Samuele Locatelli 03e7c78b97 Merge branch 'release/UpdateRedisSentinel01' 2024-03-18 11:44:33 +01:00
Samuele Locatelli 56d92e929c redisUpdate conf redis x sentinel 2024-03-18 11:44:08 +01:00
73 changed files with 4638 additions and 2458 deletions
-325
View File
@@ -1,325 +0,0 @@
pipeline {
agent none
environment {
enableIIS02 = 'Y'
enableIIS03 = 'Y'
}
stages {
stage('Checkout') {
agent any
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=4158']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'GPW'
}
}
script {
currentBuild.displayName = "${env.versionNumber}"
if (env.BRANCH_NAME == "master") {
currentBuild.description = "BUILD ${env.versionNumber}"
}
else {
currentBuild.description = "TEST ${env.versionNumber}"
}
}
/* CAMBIO numero versione in file sorgente!!! */
bat "e:\\fart.exe VersGen\\GPW.cs 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
fixNuget("${WORKSPACE}\\GPW.sln")
}
}
stage('Build') {
agent any
steps {
parallel (
ALL: {
// ADM
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 GPW_Admin\\GPW_Admin.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// BCODE
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 GPW_Barcode\\GPW_Barcode.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// COMMESSE
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// HOME
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 HOME\\HOME.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// SMART
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
},
failFast: false)
}
}
stage('Test') {
steps {
echo 'Testing.. 2 be done...'
}
}
stage('Deploy') {
agent any
steps {
script {
if (env.BRANCH_NAME == "develop") {
/* CAMBIO numero versione in file sorgente!!! */
bat "e:\\fart.exe VersGen\\GPW.cs 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
fixNuget("${WORKSPACE}\\GPW.sln")
parallel (
ALL: {
//ADMIN: {
// sleep 6
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj"
// },
// SMART: {
// sleep 4
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj"
// },
// COMM: {
// sleep 2
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
// },
// BCODE: {
// sleep 1
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj"
// },
// HOME: {
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ HOME/HOME.csproj"
},
failFast: false)
}
else if (env.BRANCH_NAME == "master") {
/* CAMBIO numero versione in file sorgente!!! */
bat "e:\\fart.exe VersGen\\GPW.cs 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
fixNuget("${WORKSPACE}\\GPW.sln")
parallel (
ALL: {
// ADMIN: {
if(env.enableIIS03 == "Y")
{
// sleep 4
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj"
}
if(env.enableIIS02 == "Y")
{
// sleep 4
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj"
}
// },
// BCODE: {
if(env.enableIIS02 == "Y")
{
// sleep 8
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj"
}
if(env.enableIIS03 == "Y")
{
// sleep 8
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj"
}
// },
// COMM: {
if(env.enableIIS03 == "Y")
{
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
}
if(env.enableIIS02 == "Y")
{
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
}
// },
// HOME: {
if(env.enableIIS02 == "Y")
{
// sleep 6
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ HOME/HOME.csproj"
}
if(env.enableIIS03 == "Y")
{
// sleep 6
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ HOME/HOME.csproj"
}
// },
// SMART: {
if(env.enableIIS02 == "Y")
{
// sleep 2
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj"
}
if(env.enableIIS03 == "Y")
{
// sleep 2
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj"
}
},
failFast: false)
}
else {
echo 'Nothing to deploy...'
}
}
}
}
stage('Installers') {
agent any
steps {
script {
/* compilo installers in base al BRANCH del cliente... */
if (env.BRANCH_NAME == "SPS") {
/* CAMBIO numero versione in file sorgente!!! */
bat "e:\\fart.exe VersGen\\GPW.cs 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
fixNuget("${WORKSPACE}\\GPW.sln")
parallel (
HOME: {
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/${env.versionNumber}/HOME.zip /p:DeployIisAppPath=\"Default Web Site/GPW/HOME\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ HOME/HOME.csproj"
/*echo 'Copia SPS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\HOME\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\SPS\\HOME\" "
},
ADMIN: {
sleep 1
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/${env.versionNumber}/GPW_Admin.zip /p:DeployIisAppPath=\"Default Web Site/GPW/ADMIN\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=SPS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Admin/GPW_Admin.csproj"
/*echo 'Copia SPS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Admin\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\SPS\\ADMIN\" "
},
BCODE: {
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/${env.versionNumber}/GPW_Barcode.zip /p:DeployIisAppPath=\"Default Web Site/GPW/BCODE\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=SPS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Barcode/GPW_Barcode.csproj"
/*echo 'Copia SPS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Barcode\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\SPS\\BCODE\" "
},
COMM: {
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/${env.versionNumber}/GPW_Commesse.zip /p:DeployIisAppPath=\"Default Web Site/GPW/WRKLG\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=SPS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Commesse/GPW_Commesse.csproj"
/*echo 'Copia SPS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Commesse\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\SPS\\COMM\" "
},
SMART: {
sleep 1
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=SPS /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SPS_PROD/${env.versionNumber}/GPW_Smart.zip /p:DeployIisAppPath=\"Default Web Site/GPW/SMART\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=SPS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Smart/GPW_Smart.csproj"
/*echo 'Copia SPS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Smart\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\SPS\\SMART\" "
},
failFast: false)
}
else if (env.BRANCH_NAME == "ETS") {
/* CAMBIO numero versione in file sorgente!!! */
bat "e:\\fart.exe VersGen\\GPW.cs 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
parallel (
HOME: {
// sleep 4
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=ETS /p:PublishProfile=ETS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/ETS_PROD/${env.versionNumber}/HOME.zip /p:DeployIisAppPath=\"Default Web Site/GPW/HOME\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ HOME/HOME.csproj"
/*echo 'Copia ETS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\HOME\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\ETS\\HOME\" "
},
ADMIN: {
sleep 2
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=ETS /p:PublishProfile=ETS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/ETS_PROD/${env.versionNumber}/GPW_Admin.zip /p:DeployIisAppPath=\"Default Web Site/GPW/ADMIN\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Admin/GPW_Admin.csproj"
/*echo 'Copia ETS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Admin\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\ETS\\ADMIN\" "
},
BCODE: {
// sleep 3
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=ETS /p:PublishProfile=ETS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/ETS_PROD/${env.versionNumber}/GPW_Barcode.zip /p:DeployIisAppPath=\"Default Web Site/GPW/BCODE\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Barcode/GPW_Barcode.csproj"
/*echo 'Copia ETS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Barcode\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\ETS\\BCODE\" "
},
COMM: {
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=ETS /p:PublishProfile=ETS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/ETS_PROD/${env.versionNumber}/GPW_Commesse.zip /p:DeployIisAppPath=\"Default Web Site/GPW/WRKLG\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Commesse/GPW_Commesse.csproj"
/*echo 'Copia ETS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Commesse\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\ETS\\COMM\" "
},
SMART: {
sleep 1
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=ETS /p:PublishProfile=ETS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/ETS_PROD/${env.versionNumber}/GPW_Smart.zip /p:DeployIisAppPath=\"Default Web Site/GPW/SMART\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /p:TargetConnectionString=\"Data Source=W2012FS\\SQLEXPRESS;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=steamware\" GPW_Smart/GPW_Smart.csproj"
/*echo 'Copia ETS'*/
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GPW_Smart\\ReleaseClienti\" \"E:\\Staging\\byProd\\GPW\\ETS\\SMART\" "
},
failFast: false)
}
else{
echo 'Questo BRANCH non necessita di installer...'
}
}
}
}
}
post {
success {
sendSlack("Successful", "good")
}
failure {
sendSlack("Failed", "danger")
}
unstable {
sendSlack("Unstable", "warning")
}
}
}
// Funzione x pubblicazione su server IIS di deploy
def publishToDeployServer(prjPath, iisPath, packName) {
echo "Richiesto esecuzione publishToDeployServer con parametri: " + prjPath + " | " + iisPath + " | " + packName
// inizio copiando files di base da area VersGen...
bat "xcopy /y VersGen\\ChangeLog.html " + prjPath + "Resources\\ChangeLog.html "
bat "xcopy /y VersGen\\logoSteamware.png " + prjPath + "Resources\\logoSteamware.png "
bat "xcopy /y VersGen\\manifest.xml " + prjPath + "Resources\\manifest.xml "
// manifest.xml: aggiorno versNumber ed URL del branch di update...
bat "e:\\fart.exe " + prjPath + "Resources\\manifest.xml 0.0.0.0 ${env.versionNumber} || EXIT /B 0"
bat "e:\\fart.exe " + prjPath + "Resources\\manifest.xml {{BRANCHNAME}} ${env.BRANCH_NAME} || EXIT /B 0"
bat "e:\\fart.exe " + prjPath + "Resources\\manifest.xml {{PACKNAME}} " + packName + " || EXIT /B 0"
bat "e:\\fart.exe " + prjPath + "Resources\\ChangeLog.html {{CURRENT-REL}} ${env.versionNumber} || EXIT /B 0"
writeFile file: prjPath + 'changeLog.log', text: "${getChangeString()}"
powershell '(Get-Content ' + prjPath + 'Resources\\ChangeLog.html) | ForEach-Object { $_ -replace \"{{LAST-CHANGES}}\", \"${getChangeString()}\" } | Set-Content ' + prjPath + 'Resources\\ChangeLog.html'
// copio ed esporto in IIS02 i vari files .xml, .html, .zip
bat "xcopy /y " + prjPath + "Resources\\manifest.xml " + iisPath + packName + "\\${env.BRANCH_NAME}\\ "
bat "xcopy /y " + prjPath + "Resources\\ChangeLog.html " + iisPath + packName + "\\${env.BRANCH_NAME}\\ "
bat "xcopy /y " + prjPath + "Resources\\logoSteamware.png " + iisPath + packName + "\\${env.BRANCH_NAME}\\ "
// salvo copia della versione...
bat "xcopy /y " + prjPath + "\\ReleaseClienti\\${env.BRANCH_NAME}\\* E:\\Staging\\byProd\\MP\\${env.BRANCH_NAME}\\" + packName + "\\${env.versionNumber}\\ "
// copio x AutoUpdate deploy
bat "xcopy /y " + prjPath + "\\ReleaseClienti\\${env.BRANCH_NAME}\\" + packName + ".zip " + iisPath + packName + "\\${env.BRANCH_NAME}\\ "
}
@NonCPS
// Funzione x recupero changeLog
def getChangeString() {
MAX_MSG_LEN = 100
def changeString = ""
echo "Gathering SCM changes"
def changeLogSets = currentBuild.changeSets
for (int i = 0; i < changeLogSets.size(); i++) {
def entries = changeLogSets[i].items
for (int j = 0; j < entries.length; j++) {
def entry = entries[j]
truncated_msg = entry.msg.take(MAX_MSG_LEN)
changeString += " - ${truncated_msg} [${entry.author}]\n"
}
}
if (!changeString) {
changeString = " - Nessuna Modifica"
}
return changeString
}
// Funzione x invio slack
def sendSlack(status, colorCode) {
slackSend (
color: colorCode,
channel: "#GPW-dev",
failOnError: false,
message: "${env.JOB_NAME} ${env.versionNumber} | " + status + ": Build ${env.BUILD_NUMBER}\n\n" +
"Modifiche:\n " + getChangeString() + "\n\n Verifica build: <${env.BUILD_URL}|Apri>" + "\n"
)
}
// funzione x fix pacchetti nuget da NOSTRO repo Nexus con proxy
def fixNuget(solutionFile) {
// bat "e:\\nuget setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-group"
// solo la prima volta va aggiunta...
hasSource = bat "e:\\nuget sources list | find \"Steamware\" /C"
if (hasSource == "0")
{
bat "e:\\nuget sources Add -Name \"Steamware Nexus\" -Source http://nexus.steamware.net/repository/nuget-group -username \"nugetUser\" -password \"viaDante16\""
}
else
{
bat "e:\\nuget sources Update -Name \"Steamware Nexus\" -Source http://nexus.steamware.net/repository/nuget-group -username \"nugetUser\" -password \"viaDante16\""
}
bat "e:\\nuget.exe restore ${solutionFile}"
}
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <connectionStrings>
<add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
</configuration> </configuration>
+61 -38
View File
@@ -1,6 +1,7 @@
using GPW_data; using GPW_data;
using SteamWare; using SteamWare;
using System; using System;
using System.Linq;
namespace GPW_Admin namespace GPW_Admin
{ {
@@ -39,39 +40,10 @@ namespace GPW_Admin
#endregion Public Properties #endregion Public Properties
#region Private Methods
/// <summary>
/// controllo stato licenze!
/// </summary>
private bool doChkLicOk()
{
return (licenzeGPW.checkLicenze && licenzeGPW.checkPayload);
}
#endregion Private Methods
#region Protected Methods
/// <summary>
/// salva in variabile pagina il nome della pagina corrente
/// </summary>
protected void PagCorrente()
{
Uri MyUrl = Request.Url;
string delimStr = "/";
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
_paginaCorrente = finalUrl[n - 1].ToString();
}
#endregion Protected Methods
#region Public Methods #region Public Methods
/// <summary> /// <summary>
/// Verifica se il valore sia > limitValue /// Verifica se il valore sia &gt; limitValue
/// </summary> /// </summary>
/// <param name="_valore"></param> /// <param name="_valore"></param>
/// <param name="minVal"></param> /// <param name="minVal"></param>
@@ -90,7 +62,7 @@ namespace GPW_Admin
} }
/// <summary> /// <summary>
/// Verifica se il valore sia > limitValue /// Verifica se il valore sia &gt; limitValue
/// </summary> /// </summary>
/// <param name="_valore"></param> /// <param name="_valore"></param>
/// <param name="maxVal"></param> /// <param name="maxVal"></param>
@@ -108,7 +80,7 @@ namespace GPW_Admin
} }
/// <summary> /// <summary>
/// Verifica se il valore sia > 0 /// Verifica se il valore sia &gt; 0
/// </summary> /// </summary>
/// <param name="_valore"></param> /// <param name="_valore"></param>
/// <returns></returns> /// <returns></returns>
@@ -139,12 +111,8 @@ namespace GPW_Admin
return answ; return answ;
} }
/// <summary> /// <summary> Verifica se il valore sia < minVal </summary> <param name="_valore"></param>
/// Verifica se il valore sia < minVal /// <param name="minVal"></param> <returns></returns>
/// </summary>
/// <param name="_valore"></param>
/// <param name="minVal"></param>
/// <returns></returns>
public bool ltVal(object _valore, double minVal) public bool ltVal(object _valore, double minVal)
{ {
bool answ = false; bool answ = false;
@@ -239,5 +207,60 @@ namespace GPW_Admin
} }
#endregion Public Methods #endregion Public Methods
#region Protected Properties
protected DS_Applicazione.DipendentiDataTable listaDip { get; set; }
#endregion Protected Properties
#region Protected Methods
/// <summary>
/// Calcola email del responsabile dato idx
/// </summary>
/// <param name="idxResp"></param>
/// <returns></returns>
protected string emailResp(int idxResp)
{
string answ = "";
// recupero email resp...
if (idxResp > 0)
{
var recResp = listaDip.FirstOrDefault(x => x.idxDipendente == idxResp);
if (recResp != null)
{
answ = $"{recResp.email}";
}
}
return answ;
}
/// <summary>
/// salva in variabile pagina il nome della pagina corrente
/// </summary>
protected void PagCorrente()
{
Uri MyUrl = Request.Url;
string delimStr = "/";
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
_paginaCorrente = finalUrl[n - 1].ToString();
}
#endregion Protected Methods
#region Private Methods
/// <summary>
/// controllo stato licenze!
/// </summary>
private bool doChkLicOk()
{
return (licenzeGPW.checkLicenze && licenzeGPW.checkPayload);
}
#endregion Private Methods
} }
} }
+3
View File
@@ -20,6 +20,9 @@ body {
.textBig { .textBig {
font-size: 1.5em; font-size: 1.5em;
} }
.text-strike {
text-decoration: line-through;
}
.table-sm th, .table-sm th,
.table-sm td { .table-sm td {
padding: 0.2rem; padding: 0.2rem;
+7 -6
View File
@@ -25,6 +25,10 @@ body {
font-size: 1.5em; font-size: 1.5em;
} }
.text-strike {
text-decoration: line-through;
}
.table-sm th, .table-sm td { .table-sm th, .table-sm td {
padding: .2rem; padding: .2rem;
} }
@@ -38,6 +42,7 @@ body {
background-color: #AAFFCD; background-color: #AAFFCD;
color: #000000; color: #000000;
} }
.gPerConf { .gPerConf {
background-color: #9966DE; background-color: #9966DE;
color: #DEDEDE; color: #DEDEDE;
@@ -47,6 +52,7 @@ body {
background-color: #CDAAFF; background-color: #CDAAFF;
color: #000000; color: #000000;
} }
.g104Conf { .g104Conf {
background-color: #DE00AB; background-color: #DE00AB;
color: #DEDEDE; color: #DEDEDE;
@@ -56,7 +62,6 @@ body {
background-color: #FFAACD; background-color: #FFAACD;
color: #000000; color: #000000;
} }
/*------------------------------------------------------------------ /*------------------------------------------------------------------
[ Shortcuts / .shortcuts ] [ Shortcuts / .shortcuts ]
*/ */
@@ -188,7 +193,6 @@ textarea {
.body-content { .body-content {
padding: 0; padding: 0;
} }
/* Set widths on the form inputs since otherwise they're 100% wide */ /* Set widths on the form inputs since otherwise they're 100% wide */
input, input,
select, select,
@@ -229,9 +233,6 @@ textarea {
border-bottom: 1px solid #3AC0F2;*/ border-bottom: 1px solid #3AC0F2;*/
font-weight: bold; font-weight: bold;
} }
/* calendar white */ /* calendar white */
.calendar_white_main { .calendar_white_main {
@@ -350,7 +351,7 @@ textarea {
.calendar_white_event_inner { .calendar_white_event_inner {
color: @calGray1; color: @calGray1;
background: @calGray2; background: @calGray2;
/* background: -moz-linear-gradient( top, #ffffff 0%, #eee); /* background: -moz-linear-gradient( top, #ffffff 0%, #eee);
background: -webkit-gradient( linear, left top, left bottom, from(#ffffff), to(#eee)); background: -webkit-gradient( linear, left top, left bottom, from(#ffffff), to(#eee));
filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");*/ filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");*/
border: 1px solid #999; border: 1px solid #999;
+1 -1
View File
File diff suppressed because one or more lines are too long
+31 -4
View File
@@ -74,8 +74,8 @@
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> <Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath> <HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.AspNet.SessionState.SessionStateModule, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.SessionState.SessionStateModule.1.1.0\lib\Net462\Microsoft.AspNet.SessionState.SessionStateModule.dll</HintPath> <HintPath>..\packages\Microsoft.AspNet.SessionState.SessionStateModule.2.0.0\lib\Net462\Microsoft.AspNet.SessionState.SessionStateModule.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
@@ -87,8 +87,8 @@
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath> <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=5.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.5.0.0\lib\net472\Microsoft.Web.RedisSessionStateProvider.dll</HintPath> <HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.5.0.4\lib\net472\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Bson, Version=2.24.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Bson, Version=2.24.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Bson.2.24.0\lib\netstandard2.0\MongoDB.Bson.dll</HintPath> <HintPath>..\packages\MongoDB.Bson.2.24.0\lib\netstandard2.0\MongoDB.Bson.dll</HintPath>
@@ -126,6 +126,9 @@
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL"> <Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.2.7.27\lib\net461\StackExchange.Redis.dll</HintPath> <HintPath>..\packages\StackExchange.Redis.2.7.27\lib\net461\StackExchange.Redis.dll</HintPath>
</Reference> </Reference>
<Reference Include="StackExchange.Redis.StrongName, Version=1.0.316.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.StrongName.1.0.333\lib\net45\StackExchange.Redis.StrongName.dll</HintPath>
</Reference>
<Reference Include="SteamWare, Version=5.3.2311.2908, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="SteamWare, Version=5.3.2311.2908, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SteamWare.5.3.2311.2908\lib\net462\SteamWare.dll</HintPath> <HintPath>..\packages\SteamWare.5.3.2311.2908\lib\net462\SteamWare.dll</HintPath>
</Reference> </Reference>
@@ -689,6 +692,7 @@
<Content Include="Scripts\umd\popper.js" /> <Content Include="Scripts\umd\popper.js" />
<Content Include="Scripts\umd\popper.min.js" /> <Content Include="Scripts\umd\popper.min.js" />
<Content Include="tagMensili.aspx" /> <Content Include="tagMensili.aspx" />
<Content Include="tags.aspx" />
<Content Include="Test.aspx" /> <Content Include="Test.aspx" />
<Content Include="Test2.aspx" /> <Content Include="Test2.aspx" />
<Content Include="Vocabolario.aspx" /> <Content Include="Vocabolario.aspx" />
@@ -700,6 +704,8 @@
<Content Include="WebUserControls\cmp_footer.ascx" /> <Content Include="WebUserControls\cmp_footer.ascx" />
<Content Include="WebUserControls\cmp_gestMalattia.ascx" /> <Content Include="WebUserControls\cmp_gestMalattia.ascx" />
<Content Include="WebUserControls\cmp_gestRichDip.ascx" /> <Content Include="WebUserControls\cmp_gestRichDip.ascx" />
<Content Include="WebUserControls\cmp_gestTagFasi.ascx" />
<Content Include="WebUserControls\cmp_groupAssignClone.ascx" />
<Content Include="WebUserControls\cmp_homeButtons.ascx" /> <Content Include="WebUserControls\cmp_homeButtons.ascx" />
<Content Include="WebUserControls\cmp_lemmiVocab.ascx" /> <Content Include="WebUserControls\cmp_lemmiVocab.ascx" />
<Content Include="WebUserControls\cmp_menuTop.ascx" /> <Content Include="WebUserControls\cmp_menuTop.ascx" />
@@ -1016,6 +1022,13 @@
<Compile Include="tagMensili.aspx.designer.cs"> <Compile Include="tagMensili.aspx.designer.cs">
<DependentUpon>tagMensili.aspx</DependentUpon> <DependentUpon>tagMensili.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="tags.aspx.cs">
<DependentUpon>tags.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="tags.aspx.designer.cs">
<DependentUpon>tags.aspx</DependentUpon>
</Compile>
<Compile Include="Test.aspx.cs"> <Compile Include="Test.aspx.cs">
<DependentUpon>Test.aspx</DependentUpon> <DependentUpon>Test.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@@ -1118,6 +1131,20 @@
<Compile Include="WebUserControls\cmp_gestRichDip.ascx.designer.cs"> <Compile Include="WebUserControls\cmp_gestRichDip.ascx.designer.cs">
<DependentUpon>cmp_gestRichDip.ascx</DependentUpon> <DependentUpon>cmp_gestRichDip.ascx</DependentUpon>
</Compile> </Compile>
<Compile Include="WebUserControls\cmp_gestTagFasi.ascx.cs">
<DependentUpon>cmp_gestTagFasi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_gestTagFasi.ascx.designer.cs">
<DependentUpon>cmp_gestTagFasi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_groupAssignClone.ascx.cs">
<DependentUpon>cmp_groupAssignClone.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_groupAssignClone.ascx.designer.cs">
<DependentUpon>cmp_groupAssignClone.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_homeButtons.ascx.cs"> <Compile Include="WebUserControls\cmp_homeButtons.ascx.cs">
<DependentUpon>cmp_homeButtons.ascx</DependentUpon> <DependentUpon>cmp_homeButtons.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
+16 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- <!--
In the example below, the "SetAttributes" transform will change the value of In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB". finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,15 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings> </connectionStrings>
--> -->
<system.web> <appSettings>
<compilation xdt:Transform="RemoveAttributes(debug)" /> <add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!-- <add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlRedirRich" value="https://office.egalware.com/GPW/ADMIN/richiesteDip" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlRedirMal" value="https://office.egalware.com/GPW/ADMIN/malattia" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file. <customErrors> section of your web.config file.
Note that because there is only one customErrors section under the Note that because there is only one customErrors section under the
@@ -27,5 +33,10 @@
<error statusCode="500" redirect="InternalError.htm"/> <error statusCode="500" redirect="InternalError.htm"/>
</customErrors> </customErrors>
--> -->
</system.web> <sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration> </configuration>
+126 -118
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0"?>
<!-- <!--
For more information on how to configure your ASP.NET application, please visit For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433 http://go.microsoft.com/fwlink/?LinkId=169433
@@ -13,65 +13,73 @@
</system.Web> </system.Web>
--> -->
<system.web> <system.web>
<compilation targetFramework="4.8" debug="true" /> <compilation targetFramework="4.8" debug="true">
<httpRuntime targetFramework="4.6.2" /> <assemblies>
<add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpRuntime targetFramework="4.6.2"/>
<pages> <pages>
<namespaces> <namespaces>
<add namespace="System.Web.Optimization" /> <add namespace="System.Web.Optimization"/>
</namespaces> </namespaces>
<controls> <controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" /> <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/>
</controls> </controls>
</pages> </pages>
<customErrors mode="Off" /> <customErrors mode="Off"/>
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" /> <globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it"/>
<sessionState> <sessionState>
<providers> <providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="GPW_ADM" /> <add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" connectionString="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" applicationName="GPW_ADM"/>
</providers> </providers>
</sessionState> </sessionState>
</system.web> </system.web>
<appSettings> <appSettings>
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)--> <!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" /> <add key="serializeSession" value="true"/>
<add key="RedisConn" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false"/>
<add key="RedisConnAdmin" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, allowAdmin=true"/>
<!--Conf generale--> <!--Conf generale-->
<add key="appName" value="GPW" /> <add key="appName" value="GPW"/>
<add key="titleApp" value="GPW" /> <add key="titleApp" value="GPW"/>
<add key="welcomeApp" value="GPW_welcome" /> <add key="welcomeApp" value="GPW_welcome"/>
<add key="SiteName" value="Steamware" /> <add key="SiteName" value="Steamware"/>
<add key="copyRight" value="SteamWare" /> <add key="copyRight" value="SteamWare"/>
<add key="CodModulo" value="GPW" /> <add key="CodModulo" value="GPW"/>
<add key="_safePages" value="unauthorized#forceUser#login#login.aspx#test#Test.aspx" /> <add key="_safePages" value="unauthorized#forceUser#login#login.aspx#test#Test.aspx"/>
<add key="adminRole" value="GPW_admin"/>
<!--Gestione forzatura priam timbratura ad entrata--> <!--Gestione forzatura priam timbratura ad entrata-->
<add key="firstIsIN" value="true" /> <add key="firstIsIN" value="true"/>
<!--Gestione notifiche anomalie--> <!--Gestione notifiche anomalie-->
<add key="adminAnomalieEmail" value="samuele@steamware.net" /> <add key="adminAnomalieEmail" value="samuele@steamware.net"/>
<add key="adminContinuatoEmail" value="samuele@steamware.net" /> <add key="adminContinuatoEmail" value="samuele@steamware.net"/>
<add key="adminOreLavEmail" value="samuele@steamware.net" /> <add key="adminOreLavEmail" value="samuele@steamware.net"/>
<add key="adminRichDip" value="samuele.locatelli@egalware.com,mara.baroni@egalware.com" /> <add key="adminRichDip" value="samuele.locatelli@egalware.com,mara.baroni@egalware.com"/>
<add key="urlRedirRich" value="https://iis03.egalware.com/GPW/ADMIN/richiesteDip" /> <add key="urlRedirRich" value="https://iis01.egalware.com/GPW/ADMIN/richiesteDip"/>
<add key="urlRedirMal" value="https://iis03.egalware.com/GPW/ADMIN/malattia" /> <add key="urlRedirMal" value="https://iis01.egalware.com/GPW/ADMIN/malattia"/>
<add key="gg2Chk" value="60" /> <add key="gg2Chk" value="60"/>
<add key="gg2ChkCont" value="30" /> <add key="gg2ChkCont" value="30"/>
<add key="gg2ChkOreCaricate" value="30" /> <add key="gg2ChkOreCaricate" value="30"/>
<add key="checkAnomTimb" value="true" /> <add key="checkAnomTimb" value="true"/>
<add key="checkAnomAppr" value="true" /> <add key="checkAnomAppr" value="true"/>
<add key="checkAnomOreLav" value="true" /> <add key="checkAnomOreLav" value="true"/>
<add key="checkAnomOreLavComm" value="true" /> <add key="checkAnomOreLavComm" value="true"/>
<add key="checkAnomContinuato" value="true" /> <add key="checkAnomContinuato" value="true"/>
<add key="sendEmailToUser" value="true" /> <add key="sendEmailToUser" value="true"/>
<add key="firstHour2Check" value="6" /> <add key="firstHour2Check" value="6"/>
<add key="enableDailyCheck" value="true" /> <add key="enableDailyCheck" value="true"/>
<add key="imgLogoPath" value="../images/LogoSteamware.png" /> <add key="imgLogoPath" value="../images/LogoSteamware.png"/>
<!--veto ricalcolo progetti--> <!--veto ricalcolo progetti-->
<add key="vetoRicalcProj" value="60" /> <add key="vetoRicalcProj" value="60"/>
<!--fix menù--> <!--fix menù-->
<add key="fixPreUrlMenu" value="false" /> <add key="fixPreUrlMenu" value="false"/>
<!--Timeout vari--> <!--Timeout vari-->
<add key="intUpdatePagina_ms" value="120000" /> <add key="intUpdatePagina_ms" value="120000"/>
<add key="intUpdateFooter_ms" value="1000" /> <add key="intUpdateFooter_ms" value="1000"/>
<add key="maxRefreshToReload" value="30" /> <add key="maxRefreshToReload" value="30"/>
<!--Gestione Barcode--> <!--Gestione Barcode-->
<!--<add key="secTimeoutBCode" value="8" /> <!--<add key="secTimeoutBCode" value="8" />
<add key="prefComandi" value="CMD" /> <add key="prefComandi" value="CMD" />
@@ -83,134 +91,134 @@
<add key="ipv4StazBCode" value="*" /> <add key="ipv4StazBCode" value="*" />
<add key="showNameAfterCmd" value="true" />--> <add key="showNameAfterCmd" value="true" />-->
<!--ricerca autocomplete--> <!--ricerca autocomplete-->
<add key="maxNumSuggest" value="30" /> <add key="maxNumSuggest" value="30"/>
<!--Logging--> <!--Logging-->
<add key="_logDir" value="~/logs/" /> <add key="_logDir" value="~/logs/"/>
<add key="doShrinkFolder" value="true" /> <add key="doShrinkFolder" value="true"/>
<add key="_logLevel" value="6" /> <add key="_logLevel" value="6"/>
<add key="_logMaxMb" value="30" /> <add key="_logMaxMb" value="30"/>
<!--Definizione default x registrazione commesse--> <!--Definizione default x registrazione commesse-->
<add key="defRegAttMin" value="60" /> <add key="defRegAttMin" value="60"/>
<add key="maxErr" value="30" /> <add key="maxErr" value="30"/>
<add key="maxErrMin" value="-30" /> <add key="maxErrMin" value="-30"/>
<add key="maxErrPlus" value="91" /> <add key="maxErrPlus" value="91"/>
<!--default visualizzazione timbrature--> <!--default visualizzazione timbrature-->
<add key="reviewShowCN" value="true" /> <add key="reviewShowCN" value="true"/>
<add key="reviewShowOreMin" value="false" /> <add key="reviewShowOreMin" value="false"/>
<add key="reviewShowStraord" value="true" /> <add key="reviewShowStraord" value="true"/>
<!--gestione warning x calcolo real/budget--> <!--gestione warning x calcolo real/budget-->
<add key="warningRatioPerc" value="80" /> <add key="warningRatioPerc" value="80"/>
<!--Definizione URL e rete locale--> <!--Definizione URL e rete locale-->
<add key="localNet" value="10.74" /> <add key="localNet" value="10.74"/>
<add key="dhcpLeaseTime" value="15" /> <add key="dhcpLeaseTime" value="15"/>
<!--Conf x grafici a barre--> <!--Conf x grafici a barre-->
<add key="maxBarplotLargh" value="1000" /> <add key="maxBarplotLargh" value="1000"/>
<!--Conf attivazione funzionalità opzionali--> <!--Conf attivazione funzionalità opzionali-->
<add key="barcodeAutoApprove" value="true" /> <add key="barcodeAutoApprove" value="true"/>
<add key="regAttEnabled" value="true" /> <add key="regAttEnabled" value="true"/>
<!--Gestione selettore periodo--> <!--Gestione selettore periodo-->
<add key="defDayFrom" value="-30" /> <add key="defDayFrom" value="-30"/>
<add key="mostraSelOra" value="false" /> <add key="mostraSelOra" value="false"/>
<!--Timbratrice x Zucchetti--> <!--Timbratrice x Zucchetti-->
<add key="codTimbra" value="90" /> <add key="codTimbra" value="90"/>
<!--Gestione email--> <!--Gestione email-->
<add key="_fromEmail" value="steamwarebot@outlook.it" /> <add key="_fromEmail" value="services@steamware.net"/>
<add key="_smtpCli" value="smtp-mail.outlook.com" /> <add key="_smtpCli" value="smtp.gmail.com"/>
<add key="_emailUser" value="steamwarebot@outlook.it" /> <add key="_emailUser" value="services@steamware.net"/>
<add key="_emailPwd" value="siamoInViaNazionale93!" /> <add key="_emailPwd" value="ruejpcwgycvbmmsr"/>
<add key="_enableSSL" value="true" /> <add key="_enableSSL" value="true"/>
<!--gestione tac cloud--> <!--gestione tac cloud-->
<add key="TagCloudMode" value="elenco" /> <add key="TagCloudMode" value="elenco"/>
<!--Gestione auth dispositivi mobile--> <!--Gestione auth dispositivi mobile-->
<add key="authKey" value="keyhammer" /> <add key="authKey" value="keyhammer"/>
<add key="baseUrl" value="http://iis02/GPW/" /> <add key="baseUrl" value="http://iis02/GPW/"/>
<add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/" /> <add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/"/>
<add key="GpwSmartUrl" value="../../GPW-Smart" /> <add key="GpwSmartUrl" value="../../GPW-Smart"/>
<add key="GpwBCodeUrl" value="../../GPW-BCode" /> <add key="GpwBCodeUrl" value="../../GPW-BCode"/>
<!--Gestione SSRS--> <!--Gestione SSRS-->
<add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" /> <add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/"/>
<!--CONF DB--> <!--CONF DB-->
<add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77"/>
<add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77"/>
<add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77"/>
<add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77"/>
<add key="DbConfConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="DbConfConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /> <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient"/>
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient"/>
</connectionStrings> </connectionStrings>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" /> <bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" /> <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" /> <assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0" /> <bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" /> <assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0" /> <bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /> <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" /> <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /> <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0"/>
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
<system.webServer> <system.webServer>
<staticContent> <staticContent>
<remove fileExtension=".json" /> <remove fileExtension=".json"/>
<remove fileExtension=".svg" /> <remove fileExtension=".svg"/>
<remove fileExtension=".woff" /> <remove fileExtension=".woff"/>
<remove fileExtension=".woff2" /> <remove fileExtension=".woff2"/>
<mimeMap fileExtension=".json" mimeType="application/json" /> <mimeMap fileExtension=".json" mimeType="application/json"/>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> <mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" /> <mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2"/>
</staticContent> </staticContent>
</system.webServer> </system.webServer>
</configuration> </configuration>
+1 -1
View File
@@ -12,7 +12,7 @@
<div class="input-group-prepend"> <div class="input-group-prepend">
<span class="input-group-text">Filtro visualizzazione</span> <span class="input-group-text">Filtro visualizzazione</span>
</div> </div>
<asp:DropDownList runat="server" ID="ddlDip" CssClass="form-control" DataSourceID="odsDip" DataTextField="label" DataValueField="value" AutoPostBack="true"> <asp:DropDownList runat="server" ID="ddlDip" CssClass="form-select-sm" DataSourceID="odsDip" DataTextField="label" DataValueField="value" AutoPostBack="true">
</asp:DropDownList> </asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsDip" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" /> <asp:ObjectDataSource runat="server" ID="odsDip" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" />
</div> </div>
+17 -6
View File
@@ -2,8 +2,8 @@
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="input-group mb-3" runat="server" id="divAddNew"> <div class="input-group mb-3" runat="server" id="divAddNew">
<%--<asp:TextBox runat="server" ID="txtSearch" type="text" class="form-control" placeholder="Search"></asp:TextBox>--%> <asp:Label runat="server" ID="lblAdd" CssClass="input-group-text">Aggiungi</asp:Label>
<asp:DropDownList runat="server" ID="ddlDip" class="form-control" DataSourceID="odsAvail" DataTextField="label" DataValueField="value"></asp:DropDownList> <asp:DropDownList runat="server" ID="ddlDip" class="form-select" DataSourceID="odsAvail" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsAvail" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByGruppo" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" conditio = 1 "> <asp:ObjectDataSource ID="odsAvail" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByGruppo" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" conditio = 1 ">
<SelectParameters> <SelectParameters>
<asp:ControlParameter ControlID="hfGruppo" DefaultValue="###" Name="gruppo" PropertyName="Value" Type="String" /> <asp:ControlParameter ControlID="hfGruppo" DefaultValue="###" Name="gruppo" PropertyName="Value" Type="String" />
@@ -18,18 +18,29 @@
<asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="value" CssClass="table table-striped table-sm"> <asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="value" CssClass="table table-striped table-sm">
<EmptyDataTemplate>No record</EmptyDataTemplate> <EmptyDataTemplate>No record</EmptyDataTemplate>
<Columns> <Columns>
<asp:BoundField DataField="label" HeaderText="Dipendente" SortExpression="label" ReadOnly="True" /> <asp:TemplateField SortExpression="label">
<HeaderTemplate>
<b>Dipendente</b>
</HeaderTemplate>
<ItemTemplate>
<asp:Label runat="server" ID="lblDip" Text='<%# Eval("label") %>' CssClass=' <%# cssByDip(Eval("value")) %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Left" />
<HeaderStyle HorizontalAlign="Left" />
</asp:TemplateField>
<asp:TemplateField ShowHeader="False"> <asp:TemplateField ShowHeader="False">
<HeaderTemplate> <HeaderTemplate>
</HeaderTemplate> </HeaderTemplate>
<ItemTemplate> <ItemTemplate>
<asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbtDelete"></asp:ConfirmButtonExtender> <asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbtDelete"></asp:ConfirmButtonExtender>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
</EditItemTemplate> </EditItemTemplate>
<ItemStyle HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Right" />
<HeaderStyle HorizontalAlign="Center" /> <HeaderStyle HorizontalAlign="Right" />
</asp:TemplateField> </asp:TemplateField>
</Columns> </Columns>
</asp:GridView> </asp:GridView>
@@ -1,24 +1,14 @@
using GPW_data; using GPW_data;
using GPW_data.DS_UtilityTableAdapters;
using System; using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace GPW_Admin.WebUserControls namespace GPW_Admin.WebUserControls
{ {
public partial class cmp_dip2gruppi : BaseUserControl public partial class cmp_dip2gruppi : BaseUserControl
{ {
#region Protected Properties
protected int idxDipSel
{
get
{
int answ = 0;
int.TryParse(ddlDip.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Public Properties #region Public Properties
public string gruppoSel public string gruppoSel
@@ -33,8 +23,55 @@ namespace GPW_Admin.WebUserControls
#endregion Public Properties #endregion Public Properties
#region Public Methods
public string cssByDip(object idxDip)
{
int IdxDip = 0;
int.TryParse($"{idxDip}", out IdxDip);
bool attivo = false;
if (listActive == null || listActive.Count == 0)
{
reloadDip();
}
if (IdxDip > 0)
{
attivo = listActive.Where(x => x.value == IdxDip).Count() > 0;
}
// colore da stato attivo
string answ = attivo ? "text-dark" : "text-secondary text-strike";
return answ;
}
#endregion Public Methods
#region Protected Fields
protected List<DS_Utility.v_selDipendentiRow> listActive = new List<DS_Utility.v_selDipendentiRow>();
#endregion Protected Fields
#region Protected Properties
protected int idxDipSel
{
get
{
int answ = 0;
int.TryParse(ddlDip.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Protected Methods #region Protected Methods
/// <summary>
/// aggiunge dipendente al gruppo selezionato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtAdd_Click(object sender, EventArgs e) protected void lbtAdd_Click(object sender, EventArgs e)
{ {
// eseguo inserimento valore in schema // eseguo inserimento valore in schema
@@ -46,6 +83,16 @@ namespace GPW_Admin.WebUserControls
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
{ {
if (!Page.IsPostBack)
{
reloadDip();
}
}
protected void reloadDip()
{
var rawTab = DataProxy.DP.taVSD.getByConditio(true).OfType<DS_Utility.v_selDipendentiRow>().ToList();
listActive = rawTab.Where(x => x.conditio == 1).ToList();
} }
#endregion Protected Methods #endregion Protected Methods
@@ -23,6 +23,15 @@ namespace GPW_Admin.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAddNew; protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAddNew;
/// <summary>
/// lblAdd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblAdd;
/// <summary> /// <summary>
/// ddlDip control. /// ddlDip control.
/// </summary> /// </summary>
@@ -90,7 +90,6 @@ namespace GPW_Admin.WebUserControls
} }
} }
protected DS_Applicazione.DipendentiDataTable listaDip { get; set; }
protected List<DS_Applicazione.RegistroMalattieRow> listRM { get; set; } protected List<DS_Applicazione.RegistroMalattieRow> listRM { get; set; }
#endregion Protected Properties #endregion Protected Properties
@@ -164,7 +163,16 @@ namespace GPW_Admin.WebUserControls
var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault(); var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault();
string destEmail = currUser.email; string destEmail = currUser.email;
string fromEmail = memLayer.ML.CRS("_fromEmail"); string fromEmail = memLayer.ML.CRS("_fromEmail");
string adminRichDip = memLayer.ML.CRS("adminRichDip"); string adminEmail = memLayer.ML.CRS("adminRichDip");
// calcolo il responsabile
if (currUser.idxResp > 0)
{
string mailResp = emailResp(currUser.idxResp);
if (!string.IsNullOrEmpty(mailResp) && !adminEmail.Contains(mailResp))
{
adminEmail += $",{mailResp}";
}
}
string subjMess = $"ELIMINAZIONE richiesta Malattia n.{IdxRegMal}"; string subjMess = $"ELIMINAZIONE richiesta Malattia n.{IdxRegMal}";
DateTime adesso = DateTime.Now; DateTime adesso = DateTime.Now;
StringBuilder sbMain = new StringBuilder(); StringBuilder sbMain = new StringBuilder();
@@ -190,7 +198,7 @@ namespace GPW_Admin.WebUserControls
// invio email! // invio email!
gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess); gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess);
// ora sistemo x admin // ora sistemo x admin
var adminList = adminRichDip.Split(','); var adminList = adminEmail.Split(',');
string urlRedir = memLayer.ML.CRS("urlRedirMal"); string urlRedir = memLayer.ML.CRS("urlRedirMal");
bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione"; bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione";
foreach (var dest in adminList) foreach (var dest in adminList)
@@ -247,7 +255,16 @@ namespace GPW_Admin.WebUserControls
var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault(); var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault();
string destEmail = currUser.email; string destEmail = currUser.email;
string fromEmail = memLayer.ML.CRS("_fromEmail"); string fromEmail = memLayer.ML.CRS("_fromEmail");
string adminRichDip = memLayer.ML.CRS("adminRichDip"); string adminEmail = memLayer.ML.CRS("adminRichDip");
// calcolo il responsabile
if (currUser.idxResp > 0)
{
string mailResp = emailResp(currUser.idxResp);
if (!string.IsNullOrEmpty(mailResp) && !adminEmail.Contains(mailResp))
{
adminEmail += $",{mailResp}";
}
}
string subjMess = $"Aggiornamento richiesta Malattia n.{IdxRegMal}"; string subjMess = $"Aggiornamento richiesta Malattia n.{IdxRegMal}";
DateTime adesso = DateTime.Now; DateTime adesso = DateTime.Now;
StringBuilder sbMain = new StringBuilder(); StringBuilder sbMain = new StringBuilder();
@@ -273,7 +290,7 @@ namespace GPW_Admin.WebUserControls
// invio email! // invio email!
gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess); gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess);
// ora sistemo x admin // ora sistemo x admin
var adminList = adminRichDip.Split(','); var adminList = adminEmail.Split(',');
string urlRedir = memLayer.ML.CRS("urlRedirMal"); string urlRedir = memLayer.ML.CRS("urlRedirMal");
bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione"; bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione";
foreach (var dest in adminList) foreach (var dest in adminList)
@@ -66,7 +66,7 @@
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField HeaderText="Giust" SortExpression="CodGiust"> <asp:TemplateField HeaderText="Giust" SortExpression="CodGiust">
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlCodGiust" SelectedValue='<%# Bind("CodGiust") %>'> <asp:DropDownList runat="server" ID="ddlCodGiust" SelectedValue='<%# Bind("CodGiust") %>' CssClass="form-select-sm">
<asp:ListItem Value="104" Text="104"></asp:ListItem> <asp:ListItem Value="104" Text="104"></asp:ListItem>
<asp:ListItem Value="FER" Text="FERIE"></asp:ListItem> <asp:ListItem Value="FER" Text="FERIE"></asp:ListItem>
<asp:ListItem Value="PERM" Text="PERMESSO"></asp:ListItem> <asp:ListItem Value="PERM" Text="PERMESSO"></asp:ListItem>
@@ -5,6 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
@@ -91,7 +92,6 @@ namespace GPW_Admin.WebUserControls
} }
} }
protected DS_Applicazione.DipendentiDataTable listaDip { get; set; }
protected List<DS_Applicazione.RegistroRichiesteRow> listRR { get; set; } protected List<DS_Applicazione.RegistroRichiesteRow> listRR { get; set; }
#endregion Protected Properties #endregion Protected Properties
@@ -198,7 +198,16 @@ namespace GPW_Admin.WebUserControls
var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault(); var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault();
string destEmail = currUser.email; string destEmail = currUser.email;
string fromEmail = memLayer.ML.CRS("_fromEmail"); string fromEmail = memLayer.ML.CRS("_fromEmail");
string adminRichDip = memLayer.ML.CRS("adminRichDip"); string adminEmail = memLayer.ML.CRS("adminRichDip");
// calcolo il responsabile
if (currUser.idxResp > 0)
{
string mailResp = emailResp(currUser.idxResp);
if (!string.IsNullOrEmpty(mailResp) && !adminEmail.Contains(mailResp))
{
adminEmail += $",{mailResp}";
}
}
string subjMess = $"ELIMINAZIONE richiesta n.{IdxRegRich}"; string subjMess = $"ELIMINAZIONE richiesta n.{IdxRegRich}";
DateTime adesso = DateTime.Now; DateTime adesso = DateTime.Now;
StringBuilder sbMain = new StringBuilder(); StringBuilder sbMain = new StringBuilder();
@@ -222,7 +231,7 @@ namespace GPW_Admin.WebUserControls
// invio email! // invio email!
gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess); gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess);
// ora sistemo x admin // ora sistemo x admin
var adminList = adminRichDip.Split(','); var adminList = adminEmail.Split(',');
string urlRedir = memLayer.ML.CRS("urlRedirRich"); string urlRedir = memLayer.ML.CRS("urlRedirRich");
bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione"; bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione";
foreach (var dest in adminList) foreach (var dest in adminList)
@@ -261,7 +270,7 @@ namespace GPW_Admin.WebUserControls
{ {
// sistemo note (eventualmente) se fossero vuote... // sistemo note (eventualmente) se fossero vuote...
var rawNote = e.InputParameters["Note"]; var rawNote = e.InputParameters["Note"];
if(string.IsNullOrEmpty($"{rawNote}")) if (string.IsNullOrEmpty($"{rawNote}"))
{ {
e.InputParameters["Note"] = "-"; e.InputParameters["Note"] = "-";
} }
@@ -281,7 +290,7 @@ namespace GPW_Admin.WebUserControls
// se non trovato provo anno +1... // se non trovato provo anno +1...
if (listRR == null || listRR.Count == 0) if (listRR == null || listRR.Count == 0)
{ {
listRR = RRListByAnno(anno+1); listRR = RRListByAnno(anno + 1);
} }
var richDip = listRR.Where(x => x.IdxRegRich == IdxRegRich).FirstOrDefault(); var richDip = listRR.Where(x => x.IdxRegRich == IdxRegRich).FirstOrDefault();
if (richDip != null) if (richDip != null)
@@ -290,7 +299,16 @@ namespace GPW_Admin.WebUserControls
var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault(); var currUser = listaDip.Where(x => x.idxDipendente == richDip.IdxDipendente).FirstOrDefault();
string destEmail = currUser.email; string destEmail = currUser.email;
string fromEmail = memLayer.ML.CRS("_fromEmail"); string fromEmail = memLayer.ML.CRS("_fromEmail");
string adminRichDip = memLayer.ML.CRS("adminRichDip"); string adminEmail = memLayer.ML.CRS("adminRichDip");
// calcolo il responsabile
if (currUser.idxResp > 0)
{
string mailResp = emailResp(currUser.idxResp);
if (!string.IsNullOrEmpty(mailResp) && !adminEmail.Contains(mailResp))
{
adminEmail += $",{mailResp}";
}
}
string subjMess = $"Aggiornamento richiesta n.{IdxRegRich}"; string subjMess = $"Aggiornamento richiesta n.{IdxRegRich}";
DateTime adesso = DateTime.Now; DateTime adesso = DateTime.Now;
StringBuilder sbMain = new StringBuilder(); StringBuilder sbMain = new StringBuilder();
@@ -314,7 +332,7 @@ namespace GPW_Admin.WebUserControls
// invio email! // invio email!
gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess); gestEmail.geAuth.mandaEmail(fromEmail, destEmail, subjMess, bodyMess);
// ora sistemo x admin // ora sistemo x admin
var adminList = adminRichDip.Split(','); var adminList = adminEmail.Split(',');
string urlRedir = memLayer.ML.CRS("urlRedirRich"); string urlRedir = memLayer.ML.CRS("urlRedirRich");
bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione"; bodyMess += $"<hr/><br/>Cliccare sul <a href=\"{urlRedir}\">seguente link</a> per accedere alla pagina di gestione";
foreach (var dest in adminList) foreach (var dest in adminList)
@@ -0,0 +1,68 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_gestTagFasi.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_gestTagFasi" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="row small">
<div class="col-12">
<asp:GridView runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="CodTagFase" DataSourceID="ods" CssClass="table table-striped table-sm table-bordered small" ID="grView" OnDataBound="grView_DataBound" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle CssClass="table-primary" />
<SelectedRowStyle CssClass="table-info" />
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" CssClass="btn btn-sm btn-info" ToolTip='<%# traduci("Reset") %>' CausesValidation="False" OnClick="btnReset_Click" Visible="true"><i class="fa fa-refresh" aria-hidden="true"></i></asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<div class="text-nowrap">
<asp:LinkButton runat="server" ID="lbtSelect" CssClass="btn btn-sm btn-info" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtEdit" CssClass="btn btn-sm btn-primary" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# chkLicOk %>'><i class="fa fa-edit" aria-hidden="true"></i></asp:LinkButton>
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton runat="server" ID="lbtUpdate" CssClass="btn btn-sm btn-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtCancel" CssClass="btn btn-sm btn-warning" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
</asp:TemplateField>
<asp:BoundField DataField="CodTagFase" HeaderText="CodTagFase" SortExpression="CodTagFase" />
<asp:BoundField DataField="CodGruppo" HeaderText="CodGruppo" SortExpression="CodGruppo" />
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
<asp:CheckBoxField DataField="Enabled" HeaderText="Enabled" SortExpression="Enabled" />
<asp:BoundField DataField="NumFasi" HeaderText="NumFasi" SortExpression="NumFasi" ReadOnly="true" />
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton runat="server" ID="lbt" CssClass="btn btn-sm btn-success" OnClick="btnNew_Click" ToolTip='<%# traduci("New") %>' Visible='<%# chkLicOk %>'><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandArgument='<%# Eval("CodTagFase") %>' CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# Eval("NumFasi").ToString() == "0" %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbtDelete"></asp:ConfirmButtonExtender>
</ItemTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Center" />
<HeaderStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter" OnUpdating="ods_Updating" DeleteMethod="deleteQuery" InsertMethod="insertQuery" UpdateMethod="updateQuery">
<DeleteParameters>
<asp:Parameter Name="Original_CodTagFase" Type="String"></asp:Parameter>
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="CodTagFase" Type="String"></asp:Parameter>
<asp:Parameter Name="Descrizione" Type="String"></asp:Parameter>
<asp:Parameter Name="Enabled" Type="Boolean"></asp:Parameter>
<asp:Parameter Name="CodGruppo" Type="String"></asp:Parameter>
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="CodTagFase" Type="String"></asp:Parameter>
<asp:Parameter Name="Descrizione" Type="String"></asp:Parameter>
<asp:Parameter Name="Enabled" Type="Boolean"></asp:Parameter>
<asp:Parameter Name="CodGruppo" Type="String"></asp:Parameter>
<asp:Parameter Name="Original_CodTagFase" Type="String"></asp:Parameter>
</UpdateParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
</div>
</div>
@@ -0,0 +1,156 @@
using GPW_data;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_gestTagFasi : BaseUserControl
{
#region Public Methods
public void doUpdate()
{
grView.PageSize = utils.pageSize;
grView.DataBind();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
raiseReset();
}
#endregion Public Methods
#region Protected Methods
/// <summary>
/// gestione evento richiesta nuovo valore (mostra footer, ...)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
DataProxy.DP.taATF.insertQuery("NEW TAG", "Descrizione", true, "");
resetSelezione();
}
/// <summary>
/// reset della selezione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// elenco colonne del datagrid
/// </summary>
/// <returns></returns>
protected DataColumnCollection colonneObj()
{
DataColumnCollection colonne = null;
using (
DS_Applicazione.AnagClientiDataTable tabella = new DS_Applicazione.AnagClientiDataTable())
{
colonne = tabella.Columns;
}
return colonne;
}
/// <summary>
/// traduce gli header delle colonne
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
raiseEvent();
}
/// <summary>
/// annulla inserimento nuovo valore da footer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lblCanc_click(object sender, EventArgs e)
{
// annullo inserimento: nascondo footer, bind controlli...
grView.FooterRow.Visible = false;
}
/// <summary>
/// inserisce nuovo valore da footer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lblIns_click(object sender, EventArgs e)
{
// click su inserimento, chiamo il metodo insert dell'ObjectDataSource
ods.Insert();
}
/// <summary>
/// check licenze in fase di update...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
if (!licenzeGPW.checkLicenze)
{
if (e != null)
{
// annullo insert se licenze sforate...
e.Cancel = true;
grView.EditIndex = -1;
grView.DataBind();
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
grView.PageSize = utils.pageSize;
}
#endregion Protected Methods
}
}
@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Admin.WebUserControls
{
public partial class cmp_gestTagFasi
{
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// lblNumRec control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumRec;
}
}
@@ -0,0 +1,21 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_groupAssignClone.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_groupAssignClone" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="input-group mb-3" runat="server" id="divClone">
<asp:Label runat="server" ID="lblClona" CssClass="input-group-text">Clona</asp:Label>
<asp:DropDownList runat="server" ID="ddlFrom" class="form-select" DataSourceID="odsFrom" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsFrom" runat="server" SelectMethod="getByConditio" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" value > 0 ">
<SelectParameters>
<asp:Parameter Type="Boolean" Name="Conditio" DefaultValue="true" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:LinkButton runat="server" ID="lbtClona" CssClass="btn btn-success" OnClick="lbtClona_Click"><i class="fa fa-angle-double-right px-3" aria-hidden="true" title="Clona Assegnazioni"></i></asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeClone" runat="server" ConfirmText='<%# traduci("confirmClone")%>' TargetControlID="lbtClona"></asp:ConfirmButtonExtender>
<asp:DropDownList runat="server" ID="ddlTo" class="form-select" DataSourceID="odsTo" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTo" runat="server" SelectMethod="getByConditio" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" value > 0 ">
<SelectParameters>
<asp:Parameter Type="Boolean" Name="Conditio" DefaultValue="false" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
@@ -0,0 +1,59 @@
using GPW_data;
using System;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_groupAssignClone : BaseUserControl
{
#region Protected Properties
protected int idxDipFrom
{
get
{
int answ = 0;
int.TryParse(ddlFrom.SelectedValue, out answ);
return answ;
}
}
protected int idxDipTo
{
get
{
int answ = 0;
int.TryParse(ddlTo.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Protected Methods
/// <summary>
/// Clona assegnazioni dip FROM a dipendente TO
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtClona_Click(object sender, EventArgs e)
{
// eseguo cloning assegnazioni dip a nuovo (deve essere attivo)
if (idxDipFrom > 0 && idxDipTo > 0)
{
DataProxy.DP.taDip2Gruppi.cloneDip(idxDipFrom, idxDipTo);
}
raiseAddNew();
}
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
{
cbeClone.DataBind();
}
}
#endregion Protected Methods
}
}
@@ -0,0 +1,89 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Admin.WebUserControls
{
public partial class cmp_groupAssignClone
{
/// <summary>
/// divClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divClone;
/// <summary>
/// lblClona control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblClona;
/// <summary>
/// ddlFrom control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlFrom;
/// <summary>
/// odsFrom control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFrom;
/// <summary>
/// lbtClona control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtClona;
/// <summary>
/// cbeClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeClone;
/// <summary>
/// ddlTo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlTo;
/// <summary>
/// odsTo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsTo;
}
}
@@ -33,7 +33,7 @@
}); });
</script> </script>
<div runat="server" id="divGroup" class='<%# controlStyle %>'> <div runat="server" id="divGroup" class='<%# controlStyle %>'>
<asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="input-group-text" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value"> <asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="form-select-sm" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value">
</asp:DropDownList> </asp:DropDownList>
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="GPW_Data.DS_UtilityTableAdapters.v_selListValTableAdapter"> <asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="GPW_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters> <SelectParameters>
@@ -1,7 +1,7 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_selettoreMesi.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_selettoreMesi" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_selettoreMesi.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_selettoreMesi" %>
<div runat="server" id="divGroup" class='<%# controlStyle %>'> <div runat="server" id="divGroup" class='<%# controlStyle %>'>
<asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="input-group-text text-start" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value"> <asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="form-select-sm text-start" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value">
</asp:DropDownList> </asp:DropDownList>
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="GPW_Data.DS_UtilityTableAdapters.v_selListValTableAdapter"> <asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="GPW_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters> <SelectParameters>
@@ -97,7 +97,7 @@ namespace GPW_Admin.WebUserControls
{ {
string urlName = showExt ? "smartBaseUrlExt" : "smartBaseUrlInt"; string urlName = showExt ? "smartBaseUrlExt" : "smartBaseUrlInt";
// se vuole modalità core --> sostituisco // se vuole modalità core --> sostituisco
if(linkCore) if (linkCore)
{ {
urlName += "Core"; urlName += "Core";
} }
@@ -107,9 +107,14 @@ namespace GPW_Admin.WebUserControls
string baseUrl = $"{memLayer.ML.CRS("UrlQRCodeGen")}/HOME/QR_site/{memLayer.ML.CRS("UrlQuery")}"; string baseUrl = $"{memLayer.ML.CRS("UrlQRCodeGen")}/HOME/QR_site/{memLayer.ML.CRS("UrlQuery")}";
string urlEncoded = memLayer.ML.CRS(urlName) + HttpUtility.UrlEncode("jumper?idxDipendente={0}&UserAuthkey={1}"); string urlEncoded = memLayer.ML.CRS(urlName) + HttpUtility.UrlEncode("jumper?idxDipendente={0}&UserAuthkey={1}");
#if false
if (linkCore)
{
urlEncoded = memLayer.ML.CRS(urlName) + HttpUtility.UrlEncode("jumper?idxDipendente={0}&authKey={1}");
}
//string rawUrl = memLayer.ML.CRS(urlName) + "jumper?idxDipendente={0}&UserAuthkey={1}"; //string rawUrl = memLayer.ML.CRS(urlName) + "jumper?idxDipendente={0}&UserAuthkey={1}";
//string urlEncoded = HttpUtility.UrlEncode(rawUrl); //string urlEncoded = HttpUtility.UrlEncode(rawUrl);
#endif
qrPayload currPayload = new qrPayload() qrPayload currPayload = new qrPayload()
{ {
@@ -95,11 +95,11 @@
<asp:Label ID="lblcodOrario" runat="server" Text='<%# Eval("codOrario") %>' /> <asp:Label ID="lblcodOrario" runat="server" Text='<%# Eval("codOrario") %>' />
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="dlCodOrario" SelectedValue='<%# Bind("codOrario") %>' DataSourceID="odsOrario" DataTextField="label" <asp:DropDownList runat="server" ID="dlCodOrario" CssClass="form-select-sm" SelectedValue='<%# Bind("codOrario") %>' DataSourceID="odsOrario" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:DropDownList runat="server" ID="dlCodOrario" SelectedValue='<%# Bind("codOrario") %>' DataSourceID="odsOrario" DataTextField="label" <asp:DropDownList runat="server" ID="dlCodOrario" CssClass="form-select-sm" SelectedValue='<%# Bind("codOrario") %>' DataSourceID="odsOrario" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
@@ -227,12 +227,10 @@
<asp:Label ID="lblgruppo" runat="server" Text='<%# Eval("gruppo") %>' /></b> <asp:Label ID="lblgruppo" runat="server" Text='<%# Eval("gruppo") %>' /></b>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="dlgruppo" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" <asp:DropDownList runat="server" ID="dlgruppo" CssClass="form-select-sm" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" DataValueField="value" Width="150" />
DataValueField="value" />
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:DropDownList runat="server" ID="dlgruppo" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" <asp:DropDownList runat="server" ID="dlgruppo" CssClass="form-select-sm" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" DataValueField="value" Width="150" />
DataValueField="value" />
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderText="StatoLicenza" SortExpression="attivo"> <asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderText="StatoLicenza" SortExpression="attivo">
@@ -271,6 +269,17 @@
<asp:CheckBox ID="chkattivo" runat="server" Checked='<%# Bind("attivo") %>' Enabled="false" /> <asp:CheckBox ID="chkattivo" runat="server" Checked='<%# Bind("attivo") %>' Enabled="false" />
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" HeaderText="Responsabile" SortExpression="idxDesp">
<ItemTemplate>
<asp:DropDownList runat="server" ID="dlidxResp" DataSourceID="odsDip" CssClass="form-select-sm" SelectedValue='<%# Bind("idxResp") %>' DataValueField="value" DataTextField="label" Enabled="false"></asp:DropDownList>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList runat="server" ID="dlidxResp" DataSourceID="odsDip" CssClass="form-select-sm" SelectedValue='<%# Bind("idxResp") %>' DataValueField="value" DataTextField="label"></asp:DropDownList>
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList runat="server" ID="dlidxResp" DataSourceID="odsDip" CssClass="form-select-sm" SelectedValue='<%# Bind("idxResp") %>' DataValueField="value" DataTextField="label"></asp:DropDownList>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False"> <asp:TemplateField ShowHeader="False">
<HeaderTemplate> <HeaderTemplate>
<asp:LinkButton runat="server" ID="lbtNew" CssClass="btn btn-sm btn-success" OnClick="btnNew_Click" ToolTip='<%# traduci("New") %>' Visible='<%# chkLicOk %>'><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton runat="server" ID="lbtNew" CssClass="btn btn-sm btn-success" OnClick="btnNew_Click" ToolTip='<%# traduci("New") %>' Visible='<%# chkLicOk %>'><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
@@ -285,7 +294,7 @@
</asp:TemplateField> </asp:TemplateField>
</Columns> </Columns>
</asp:GridView> </asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" DeleteMethod="deleteQuery" InsertMethod="insertQuery" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttivi" TypeName="GPW_data.DS_ApplicazioneTableAdapters.DipendentiTableAdapter" UpdateMethod="updateQuery" FilterExpression=" (Cognome like '%{0}%') OR (Nome like '%{0}%') OR (CF like '%{0}%') OR (matricola like '%{0}%') OR (email like '%{0}%') " OnUpdating="ods_Updating" OnDeleting="ods_Deleting"> <asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" DeleteMethod="deleteQuery" InsertMethod="insertQuery" OldValuesParameterFormatString="Original_{0}" SelectMethod="getAttivi" TypeName="GPW_data.DS_ApplicazioneTableAdapters.DipendentiTableAdapter" UpdateMethod="updateQuery" FilterExpression=" (Cognome like '%{0}%') OR (Nome like '%{0}%') OR (CF like '%{0}%') OR (matricola like '%{0}%') OR (email like '%{0}%') " OnUpdating="ods_Updating" OnDeleting="ods_Deleting">
<FilterParameters> <FilterParameters>
<asp:SessionParameter SessionField="valoreSearch" Type="String" /> <asp:SessionParameter SessionField="valoreSearch" Type="String" />
</FilterParameters> </FilterParameters>
@@ -309,6 +318,7 @@
<asp:Parameter Name="gruppo" Type="String" /> <asp:Parameter Name="gruppo" Type="String" />
<asp:Parameter Name="authKey" Type="String" /> <asp:Parameter Name="authKey" Type="String" />
<asp:Parameter Name="attivo" Type="Boolean" DefaultValue="false" /> <asp:Parameter Name="attivo" Type="Boolean" DefaultValue="false" />
<asp:Parameter Name="idxResp" Type="Int32" />
</InsertParameters> </InsertParameters>
<SelectParameters> <SelectParameters>
<asp:ControlParameter ControlID="chkshowAll" DefaultValue="false" Name="showAll" PropertyName="Checked" Type="Boolean" /> <asp:ControlParameter ControlID="chkshowAll" DefaultValue="false" Name="showAll" PropertyName="Checked" Type="Boolean" />
@@ -331,9 +341,15 @@
<asp:Parameter Name="gruppo" Type="String" /> <asp:Parameter Name="gruppo" Type="String" />
<asp:Parameter Name="dataAssunzione" Type="DateTime" /> <asp:Parameter Name="dataAssunzione" Type="DateTime" />
<asp:Parameter Name="dataCessazione" Type="DateTime" /> <asp:Parameter Name="dataCessazione" Type="DateTime" />
<asp:Parameter Name="idxResp" Type="Int32" />
<asp:Parameter Name="Original_idxDipendente" Type="Int32" /> <asp:Parameter Name="Original_idxDipendente" Type="Int32" />
</UpdateParameters> </UpdateParameters>
</asp:ObjectDataSource> </asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsDip" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByRuolo" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter">
<SelectParameters>
<asp:Parameter Name="CodRuolo" Type="String" DefaultValue="Responsabile" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /> <asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
</div> </div>
<asp:ObjectDataSource ID="odsOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" <asp:ObjectDataSource ID="odsOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"
@@ -505,6 +505,15 @@ namespace GPW_Admin.WebUserControls
DateTime adesso = DateTime.Now; DateTime adesso = DateTime.Now;
string md5UserAuthKey = SteamCrypto.EncryptString($"{codCF}.{adesso:yyMMddHHmmss}", "AuthGPW"); string md5UserAuthKey = SteamCrypto.EncryptString($"{codCF}.{adesso:yyMMddHHmmss}", "AuthGPW");
e.InputParameters["authKey"] = $"{md5UserAuthKey}"; e.InputParameters["authKey"] = $"{md5UserAuthKey}";
// fix confersione dt
DateTime dtNasc = DateTime.Today;
try
{
dtNasc = DateTime.Parse($"{e.InputParameters["dataNascita"]}");
}
catch
{ }
e.InputParameters["dataNascita"] = $"{dtNasc:yyyy-MM-dd}";
} }
else else
{ {
@@ -95,6 +95,15 @@ namespace GPW_Admin.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods; protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// odsDip control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsDip;
/// <summary> /// <summary>
/// lblNumRec control. /// lblNumRec control.
/// </summary> /// </summary>
+66 -33
View File
@@ -11,20 +11,31 @@
<div class="col-2" runat="server" id="divReturn"> <div class="col-2" runat="server" id="divReturn">
<asp:HyperLink runat="server" ID="hlReturnProj" NavigateUrl="~/progetti" CssClass="btn w-100 btn-warning"><i class="fa fa-arrow-left" aria-hidden="true"></i> Progetti</asp:HyperLink> <asp:HyperLink runat="server" ID="hlReturnProj" NavigateUrl="~/progetti" CssClass="btn w-100 btn-warning"><i class="fa fa-arrow-left" aria-hidden="true"></i> Progetti</asp:HyperLink>
</div> </div>
<div class="col-4">
<uc1:mod_filtro ID="filtroCli" runat="server" filterChekText="filtroCliente" comboWidth="150" changeCheckVisible="false" isChecked="true" />
<asp:ObjectDataSource ID="odsClienti" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"
TypeName="GPW_data.DS_UtilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
</div>
<div class="col-6"> <div class="col-6">
<uc1:mod_filtro ID="filtroPrj" runat="server" filterChekText="filtroProgetto" comboWidth="200" changeCheckEnabled="false" changeCheckVisible="false" isChecked="true" /> <div class="d-flex">
<asp:ObjectDataSource ID="odsProj" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" <div>
TypeName="GPW_data.DS_UtilityTableAdapters.v_selProgettiTableAdapter"> <uc1:mod_filtro ID="filtroCli" runat="server" filterChekText="filtroCliente" comboWidth="150" changeCheckVisible="false" isChecked="true" />
<SelectParameters> <asp:ObjectDataSource ID="odsClienti" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"
<asp:ControlParameter ControlID="filtroCli" DefaultValue="0" PropertyName="valore" Name="conditio" Type="String" /> TypeName="GPW_data.DS_UtilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
<asp:Parameter DefaultValue="false" Name="soloAttivi" Type="Boolean" /> </div>
</SelectParameters> <div>
</asp:ObjectDataSource> <uc1:mod_filtro ID="filtroPrj" runat="server" filterChekText="filtroProgetto" comboWidth="200" changeCheckEnabled="false" changeCheckVisible="false" isChecked="true" />
<asp:ObjectDataSource ID="odsProj" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio"
TypeName="GPW_data.DS_UtilityTableAdapters.v_selProgettiTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="filtroCli" DefaultValue="0" PropertyName="valore" Name="conditio" Type="String" />
<asp:Parameter DefaultValue="false" Name="soloAttivi" Type="Boolean" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="col-4">
<div class="input-group">
<asp:DropDownList runat="server" ID="ddlTagFaseSet" class="form-select-sm" DataSourceID="odsTagFase" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:LinkButton runat="server" ID="lbtForceSet" CssClass="btn btn-danger" OnClick="lbtForceSet_Click"><i class="fa fa-arrow-left" aria-hidden="true" ></i> Force SET All</asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeForceSet" runat="server" ConfirmText='<%# traduci("confermaForceSet")%>' TargetControlID="lbtForceSet"></asp:ConfirmButtonExtender>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -77,27 +88,40 @@
</div> </div>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<div class="divSx"> <div class="input-group input-group-sm">
<asp:Image runat="server" ID="imgSpaz" Width='<%# widthByCod(Eval("codFase")) %>' ImageUrl="~/images/EmptyImg.png" /> <span class="input-group-text">nome:</span>
</div> <asp:TextBox ID="txtnomeFase" CssClass="form-control" runat="server" Text='<%# Bind("nomeFase") %>' Width="20em" />
<div class="divSx"> <span class="input-group-text">desc:</span>
<asp:TextBox ID="txtnomeFase" runat="server" Text='<%# Bind("nomeFase") %>' Width="20em" /> <asp:TextBox ID="txtdescrizioneFase" CssClass="form-control" runat="server" Text='<%# Bind("descrizioneFase") %>' Width="20em" />
&nbsp;
<asp:TextBox ID="txtdescrizioneFase" runat="server" Text='<%# Bind("descrizioneFase") %>' Width="20em" />
</div> </div>
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<div class="divSx"> <div class="input-group input-group-sm">
<asp:Image runat="server" ID="imgSpaz" Width='<%# widthByCod(Eval("codFase")) %>' ImageUrl="~/images/EmptyImg.png" /> <span class="input-group-text">nome:</span>
</div> <asp:TextBox ID="txtnomeFase" CssClass="form-control" runat="server" Text='<%# Bind("nomeFase") %>' Width="20em" />
<div class="divSx"> <span class="input-group-text">desc:</span>
<asp:TextBox ID="txtnomeFase" runat="server" Text='<%# Bind("nomeFase") %>' Width="20em" /> <asp:TextBox ID="txtdescrizioneFase" CssClass="form-control" runat="server" Text='<%# Bind("descrizioneFase") %>' Width="20em" />
&nbsp;
<asp:TextBox ID="txtdescrizioneFase" runat="server" Text='<%# Bind("descrizioneFase") %>' Width="20em" />
</div> </div>
</FooterTemplate> </FooterTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle> <ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="CodTagFase" SortExpression="CodTagFase">
<ItemTemplate>
<asp:Panel runat="server" ID="pnlTagFase" Width="14em" Visible='<%# Bind("enableTime") %>'>
<asp:DropDownList runat="server" ID="ddlTagFase" class="form-select-sm" DataSourceID="odsTagFase" DataTextField="label" DataValueField="value" Enabled="false" SelectedValue='<%# Bind("CodTagFase") %>'></asp:DropDownList>
</asp:Panel>
</ItemTemplate>
<EditItemTemplate>
<asp:Panel runat="server" ID="pnlTagFase" Width="14em">
<asp:DropDownList runat="server" ID="ddlTagFase" class="form-select-sm small" DataSourceID="odsTagFase" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodTagFase") %>'></asp:DropDownList>
</asp:Panel>
</EditItemTemplate>
<FooterTemplate>
<asp:Panel runat="server" ID="pnlTagFase" Width="14em">
<asp:DropDownList runat="server" ID="ddlTagFase" class="form-select-sm" DataSourceID="odsTagFase" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodTagFase") %>'></asp:DropDownList>
</asp:Panel>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="timeTrack" SortExpression="enableTime"> <asp:TemplateField HeaderText="timeTrack" SortExpression="enableTime">
<ItemTemplate> <ItemTemplate>
<ajaxToolkit:ToggleButtonExtender ID="tglTime" runat="server" TargetControlID="chkenableTime" ImageWidth="22" ImageHeight="22" <ajaxToolkit:ToggleButtonExtender ID="tglTime" runat="server" TargetControlID="chkenableTime" ImageWidth="22" ImageHeight="22"
@@ -149,11 +173,15 @@
</asp:Panel> </asp:Panel>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:TextBox ID="txtbudgetTime" runat="server" Text='<%# Bind("budgetTime") %>' Width="3em" /> <div class="input-group input-group-sm">
<asp:TextBox ID="txtbudgetTime" runat="server" CssClass="form-control" Text='<%# Bind("budgetTime") %>' Width="6em" />
</div>
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:TextBox ID="txtbudgetTime" runat="server" Text='<%# Bind("budgetTime") %>' Width="3em" /> <div class="input-group input-group-sm">
<asp:RequiredFieldValidator runat="server" ID="rfvBudgetTime" ControlToValidate="txtbudgetTime" CssClass="text-danger" ErrorMessage="!!!" /> <asp:TextBox ID="txtbudgetTime" runat="server" CssClass="form-control" Text='<%# Bind("budgetTime") %>' Width="6em" />
<asp:RequiredFieldValidator runat="server" ID="rfvBudgetTime" ControlToValidate="txtbudgetTime" CssClass="text-danger" ErrorMessage="!!!" />
</div>
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField HeaderText="percOpen" SortExpression="percOpen" ItemStyle-HorizontalAlign="Center"> <asp:TemplateField HeaderText="percOpen" SortExpression="percOpen" ItemStyle-HorizontalAlign="Center">
@@ -161,11 +189,15 @@
<asp:Label ID="lblpercOpen" runat="server" Text='<%# Eval("percOpen","{0:P2}") %>' Visible='<%# Eval("IdxFaseAncest").ToString() == "0" %>' /> <asp:Label ID="lblpercOpen" runat="server" Text='<%# Eval("percOpen","{0:P2}") %>' Visible='<%# Eval("IdxFaseAncest").ToString() == "0" %>' />
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:TextBox ID="txtpercOpen" runat="server" Text='<%# Bind("percOpen") %>' Width="3em" Enabled='<%# Eval("IdxFaseAncest").ToString() == "0" %>' /> <div class="input-group input-group-sm">
<asp:TextBox ID="txtpercOpen" runat="server" CssClass="form-control" Text='<%# Bind("percOpen") %>' Width="3em" Enabled='<%# Eval("IdxFaseAncest").ToString() == "0" %>' />
</div>
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:TextBox ID="txtpercOpen" runat="server" Text='<%# Bind("percOpen") %>' Width="3em" /> <div class="input-group input-group-sm">
<asp:RequiredFieldValidator runat="server" ID="rfvpercOpen" ControlToValidate="txtpercOpen" CssClass="text-danger" ErrorMessage="!!!" /> <asp:TextBox ID="txtpercOpen" runat="server" CssClass="form-control" Text='<%# Bind("percOpen") %>' Width="3em" />
<asp:RequiredFieldValidator runat="server" ID="rfvpercOpen" ControlToValidate="txtpercOpen" CssClass="text-danger" ErrorMessage="!!!" />
</div>
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField HeaderText="Attivo" SortExpression="Attivo" ItemStyle-HorizontalAlign="Center"> <asp:TemplateField HeaderText="Attivo" SortExpression="Attivo" ItemStyle-HorizontalAlign="Center">
@@ -243,6 +275,7 @@
<asp:Parameter Name="Original_idxFase" Type="Int32" /> <asp:Parameter Name="Original_idxFase" Type="Int32" />
</UpdateParameters> </UpdateParameters>
</asp:ObjectDataSource> </asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsTagFase" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_UtilityTableAdapters.v_selTagFasiTableAdapter"></asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /> <asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
<asp:Panel runat="server" ID="pnlDetRA"> <asp:Panel runat="server" ID="pnlDetRA">
<asp:Label runat="server" ID="lblDet" Text="---" /> <asp:Label runat="server" ID="lblDet" Text="---" />
@@ -283,6 +283,18 @@ namespace GPW_Admin.WebUserControls
resetSelezione(); resetSelezione();
} }
/// <summary>
/// Effettua mass update del CodTagFase x tutte le fasi di progetto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtForceSet_Click(object sender, EventArgs e)
{
string codTagFase = ddlTagFaseSet.SelectedValue;
DataProxy.DP.taAF.updCodFaseByProj(idxProgetto, codTagFase);
resetSelezione();
}
/// <summary> /// <summary>
/// elenco colonne del datagrid /// elenco colonne del datagrid
/// </summary> /// </summary>
+36
View File
@@ -104,6 +104,33 @@ namespace GPW_Admin.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsProj; protected global::System.Web.UI.WebControls.ObjectDataSource odsProj;
/// <summary>
/// ddlTagFaseSet control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlTagFaseSet;
/// <summary>
/// lbtForceSet control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtForceSet;
/// <summary>
/// cbeForceSet control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeForceSet;
/// <summary> /// <summary>
/// grView control. /// grView control.
/// </summary> /// </summary>
@@ -122,6 +149,15 @@ namespace GPW_Admin.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods; protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// odsTagFase control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsTagFase;
/// <summary> /// <summary>
/// lblNumRec control. /// lblNumRec control.
/// </summary> /// </summary>
+11 -11
View File
@@ -81,12 +81,12 @@
<asp:Parameter Name="oreVen" Type="Double" /> <asp:Parameter Name="oreVen" Type="Double" />
<asp:Parameter Name="oreSab" Type="Double" /> <asp:Parameter Name="oreSab" Type="Double" />
<asp:Parameter Name="oreDom" Type="Double" /> <asp:Parameter Name="oreDom" Type="Double" />
<asp:Parameter DbType="Time" Name="oraInizio_1" /> <asp:Parameter Name="oraInizio_1" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_1" /> <asp:Parameter Name="oraFine_1" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraInizio_2" /> <asp:Parameter Name="oraInizio_2" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_2" /> <asp:Parameter Name="oraFine_2" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraInizio_3" /> <asp:Parameter Name="oraInizio_3" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_3" /> <asp:Parameter Name="oraFine_3" DbType="Time" />
</InsertParameters> </InsertParameters>
<UpdateParameters> <UpdateParameters>
<asp:Parameter Name="codOrario" Type="String" /> <asp:Parameter Name="codOrario" Type="String" />
@@ -101,11 +101,11 @@
<asp:Parameter Name="oreSab" Type="Double" /> <asp:Parameter Name="oreSab" Type="Double" />
<asp:Parameter Name="oreDom" Type="Double" /> <asp:Parameter Name="oreDom" Type="Double" />
<asp:Parameter Name="oraInizio_1" DbType="Time" /> <asp:Parameter Name="oraInizio_1" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_1" /> <asp:Parameter Name="oraFine_1" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraInizio_2" /> <asp:Parameter Name="oraInizio_2" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_2" /> <asp:Parameter Name="oraFine_2" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraInizio_3" /> <asp:Parameter Name="oraInizio_3" DbType="Time" />
<asp:Parameter DbType="Time" Name="oraFine_3" /> <asp:Parameter Name="oraFine_3" DbType="Time" />
<asp:Parameter Name="Original_codOrario" Type="String" /> <asp:Parameter Name="Original_codOrario" Type="String" />
</UpdateParameters> </UpdateParameters>
</asp:ObjectDataSource> </asp:ObjectDataSource>
@@ -72,11 +72,11 @@
<asp:Label ID="lblgruppo" runat="server" Text='<%# Eval("gruppo") %>' /></b> <asp:Label ID="lblgruppo" runat="server" Text='<%# Eval("gruppo") %>' /></b>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="dlgruppo" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" <asp:DropDownList runat="server" ID="dlgruppo" CssClass="form-select-sm" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:DropDownList runat="server" ID="dlgruppo" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label" <asp:DropDownList runat="server" ID="dlgruppo" CssClass="form-select-sm" SelectedValue='<%# Bind("gruppo") %>' DataSourceID="odsGruppi" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
@@ -87,11 +87,11 @@
<asp:Label ID="lblRagSociale" runat="server" Text='<%# Eval("RagSociale") %>' /></b> <asp:Label ID="lblRagSociale" runat="server" Text='<%# Eval("RagSociale") %>' /></b>
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="dlidxCliente" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label" <asp:DropDownList runat="server" ID="dlidxCliente" CssClass="form-select-sm" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:DropDownList runat="server" ID="dlidxCliente" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label" <asp:DropDownList runat="server" ID="dlidxCliente" CssClass="form-select-sm" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label"
DataValueField="value" /> DataValueField="value" />
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
@@ -31,18 +31,26 @@
</EmptyDataTemplate> </EmptyDataTemplate>
<Columns> <Columns>
<asp:TemplateField> <asp:TemplateField>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip="Seleziona tutti" OnCheckedChanged="btnSelAll_Click"
AutoPostBack="true" Visible='<%# userIsAdmin %>' />
<asp:LinkButton ID="btnApproveSelected" runat="server" CssClass="btn btn-warning py-0" ToolTip="Approva tutte selezionate" OnClick="btnApproveSelected_Click" Visible='<%# userIsAdmin %>'><i class="fa fa-thumbs-o-up" aria-hidden="true"></i> Appr</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate> <ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" Visible='<%# userIsAdmin %>' />
<asp:LinkButton runat="server" ID="lbApprova" Visible='<%# userCanApprove && chkLicOk %>' Text="Approva" CommandArgument="approva" CommandName="Select" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton runat="server" ID="lbApprova" Visible='<%# userCanApprove && chkLicOk %>' Text="Approva" CommandArgument="approva" CommandName="Select" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Dipendente"> <asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Dipendente">
<ItemTemplate> <ItemTemplate>
<asp:Label ID="lblDip" runat="server" Text='<%# cognomeNome(Eval("idxDipendente")) %>' Visible='<%# userCanApprove %>' /> <asp:Label ID="lblDip" runat="server" Text='<%# cognomeNome(Eval("idxDipendente")) %>' Visible='<%# userCanApprove %>' />
<asp:Label ID="lblIdxDip" runat="server" Text='<%# Eval("idxDipendente") %>' Visible="false" />
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField HeaderText="dataOra" SortExpression="dataOra" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="left"> <asp:TemplateField HeaderText="dataOra" SortExpression="dataOra" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="left">
<ItemTemplate> <ItemTemplate>
<asp:Label ID="lblData" runat="server" Text='<%# Eval("dataOra", "{0:yyyy-MM-dd, ddd - HH:mm}") %>' /> <asp:Label ID="lblData" runat="server" Text='<%# Eval("dataOra", "{0:yyyy-MM-dd, ddd - HH:mm}") %>' />
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("dataOra", "{0:yyyy-MM-dd HH:mm}") %>' Visible="false" />
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center"> <asp:TemplateField ItemStyle-HorizontalAlign="Center">
@@ -1,6 +1,8 @@
using GPW_data; using GPW_data;
using SteamWare; using SteamWare;
using System; using System;
using System.Data;
using System.Web;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
@@ -8,6 +10,95 @@ namespace GPW_Admin.WebUserControls
{ {
public partial class mod_approvaTimbr : BaseUserControl public partial class mod_approvaTimbr : BaseUserControl
{ {
#region Public Properties
/// <summary>
/// verifica se l'utente possa approvare la modifica oraria
/// </summary>
public bool userCanApprove
{
get
{
bool answ = false;
try
{
answ = user_std.UtSn.userHasRight("GPW_admin") && chkLicOk;
}
catch
{ }
return answ;
}
}
/// <summary>
/// restituisce info se utente sia admin (vedi web.config x ruolo...)
/// </summary>
public bool userIsAdmin
{
get
{
bool answ = false;
try
{
string adminRole = memLayer.ML.confReadString("adminRole");
answ = user_std.UtSn.userHasRight(adminRole);
}
catch
{ }
return answ;
}
}
#endregion Public Properties
#region Public Methods
/// <summary>
/// calcola cognome-nome da idx
/// </summary>
/// <param name="idxDip"></param>
/// <returns></returns>
public string cognomeNome(object idxDip)
{
string answ = "";
try
{
int IdxDipendente = 0;
if (int.TryParse($"{idxDip}", out IdxDipendente))
{
answ = DataProxy.DP.cognomeNomeByIdx(IdxDipendente);
}
}
catch
{ }
return answ;
}
public void doUpdate()
{
grView.PageSize = utils.pageSize;
grView.DataBind();
}
/// <summary>
/// inverte valore booleano
/// </summary>
/// <param name="isEnt"></param>
/// <returns></returns>
public bool invBool(object valore)
{
bool answ = true;
try
{
answ = !Convert.ToBoolean(valore);
}
catch
{ }
return answ;
}
#endregion Public Methods
#region Protected Properties #region Protected Properties
/// <summary> /// <summary>
@@ -34,63 +125,107 @@ namespace GPW_Admin.WebUserControls
#endregion Protected Properties #endregion Protected Properties
#region Public Properties #region Protected Methods
/// <summary> /// <summary>
/// verifica se l'utente possa approvare la modifica oraria /// Approva + deseleziona le righe selezionate...
/// </summary>
public bool userCanApprove
{
get
{
bool answ = false;
try
{
answ = user_std.UtSn.userHasRight("GPW_admin") && chkLicOk;
}
catch
{ }
return answ;
}
}
#endregion Public Properties
#region Private Methods
/// <summary>
/// imposto ODS
/// </summary>
private void checkFixOds()
{
if (filtroDip.valoreInt != -1)
{
IdxDipSel = filtroDip.valoreInt;
ods.SelectMethod = "getNonApprByDip";
}
else
{
//memLayer.ML.emptySessionVal("idxDip_sel");
IdxDipSel = -1;
ods.SelectMethod = "getNonAppr";
}
grView.DataBind();
}
/// <summary>
/// seleziono
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="e"></param> /// <param name="e"></param>
private void filtroDip_eh_selValore(object sender, EventArgs e) protected void btnApproveSelected_Click(object sender, EventArgs e)
{ {
// imposto ods if (sender != null)
checkFixOds(); {
// salvo approvazione
DateTime dataOra = DateTime.Today;
int idxDip = 0;
foreach (GridViewRow riga in grView.Rows)
{
if (((CheckBox)riga.FindControl("chkSelect")).Checked)
{
idxDip = 0;
try
{
dataOra = Convert.ToDateTime(((Label)riga.FindControl("lblDataOra")).Text);
idxDip = Convert.ToInt32(((Label)riga.FindControl("lblIdxDip")).Text);
logger.lg.scriviLog(string.Format("Approvazione per dip {0} in data/ora {1}", idxDip, dataOra), tipoLog.INFO);
}
catch (Exception exc)
{
logger.lg.scriviLog($"Eccezione durante recupero dati dip/data-ora in approva timbr{Environment.NewLine}{exc}");
}
if (idxDip > 0)
{
// recupero tab timbr non approvate x dip
DS_Applicazione.TimbratureRow rigaTimb = DataProxy.DP.taTimb.getByDipDataOra(idxDip, dataOra)[0];
// effettua arrotondamento (aggiunge/toglie)
int minOrig = dataOra.Minute;
int secOrig = dataOra.Second;
int minArr = 0;
int step = Convert.ToInt32(txtArrot.Text);
if (rigaTimb.entrata)
{
minArr = Convert.ToInt32(Math.Ceiling(Convert.ToDouble(minOrig / step))) * step;
}
else
{
minArr = Convert.ToInt32(Math.Floor(Convert.ToDouble(minOrig / step))) * step;
}
try
{
// modifico data del record
DataProxy.DP.taTimb.stp_Timbr_modifica(idxDip, dataOra, dataOra.AddMinutes(minArr - minOrig).AddSeconds(-secOrig));
}
catch (Exception exc)
{
logger.lg.scriviLog($"Eccezione durante approva timbr{Environment.NewLine}{exc}");
}
try
{
// approvo con data modificata
DataProxy.DP.taTimb.stp_Timbr_Approva(idxDip, dataOra.AddMinutes(minArr - minOrig).AddSeconds(-secOrig));
((CheckBox)riga.FindControl("chkSelect")).Checked = false;
}
catch (Exception exc)
{
logger.lg.scriviLog($"Eccezione durante approva timbr{Environment.NewLine}{exc}");
}
}
}
}
// update!
grView.SelectedIndex = -1;
checkFixOds();
}
} }
#endregion Private Methods /// <summary>
/// seleziona/deseleziona le righe indicate...
#region Protected Methods /// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSelAll_Click(object sender, EventArgs e)
{
if (sender != null)
{
// seleziono tutti i valori visibili nel datagrid
CheckBox chkbox = ((CheckBox)sender);
bool isChecked = chkbox.Checked;
if (!isChecked)
{
chkbox.ToolTip = "Seleziona tutti";
}
else
{
chkbox.ToolTip = "Deseleziona tutti";
}
foreach (GridViewRow riga in grView.Rows)
{
((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked;
}
}
}
protected void chkshowAll_CheckedChanged(object sender, EventArgs e) protected void chkshowAll_CheckedChanged(object sender, EventArgs e)
{ {
@@ -192,52 +327,38 @@ namespace GPW_Admin.WebUserControls
#endregion Protected Methods #endregion Protected Methods
#region Public Methods #region Private Methods
/// <summary> /// <summary>
/// calcola cognome-nome da idx /// imposto ODS
/// </summary> /// </summary>
/// <param name="idxDip"></param> private void checkFixOds()
/// <returns></returns>
public string cognomeNome(object idxDip)
{ {
string answ = ""; if (filtroDip.valoreInt != -1)
try
{ {
int IdxDipendente = 0; IdxDipSel = filtroDip.valoreInt;
if (int.TryParse($"{idxDip}", out IdxDipendente)) ods.SelectMethod = "getNonApprByDip";
{ }
answ = DataProxy.DP.cognomeNomeByIdx(IdxDipendente); else
} {
//memLayer.ML.emptySessionVal("idxDip_sel");
IdxDipSel = -1;
ods.SelectMethod = "getNonAppr";
} }
catch
{ }
return answ;
}
public void doUpdate()
{
grView.PageSize = utils.pageSize;
grView.DataBind(); grView.DataBind();
} }
/// <summary> /// <summary>
/// inverte valore booleano /// seleziono
/// </summary> /// </summary>
/// <param name="isEnt"></param> /// <param name="sender"></param>
/// <returns></returns> /// <param name="e"></param>
public bool invBool(object valore) private void filtroDip_eh_selValore(object sender, EventArgs e)
{ {
bool answ = true; // imposto ods
try checkFixOds();
{
answ = !Convert.ToBoolean(valore);
}
catch
{ }
return answ;
} }
#endregion Public Methods #endregion Private Methods
} }
} }
+2 -2
View File
@@ -13,9 +13,9 @@
</div> </div>
<div class="divSx"> <div class="divSx">
<asp:Label runat="server" ID="lblOra" /> <asp:Label runat="server" ID="lblOra" />
<asp:DropDownList runat="server" ID="ddlOra" name="Ora" DataSourceID="odsOra" DataTextField="Ora" DataValueField="Ora" Font-Size="8pt"> <asp:DropDownList runat="server" ID="ddlOra" CssClass="form-select-sm" name="Ora" DataSourceID="odsOra" DataTextField="Ora" DataValueField="Ora" Font-Size="8pt">
</asp:DropDownList> </asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlMin" name="Min" DataSourceID="odsMin" DataTextField="Minuto" DataValueField="Minuto" <asp:DropDownList runat="server" ID="ddlMin" CssClass="form-select-sm" name="Min" DataSourceID="odsMin" DataTextField="Minuto" DataValueField="Minuto"
Font-Size="8pt"> Font-Size="8pt">
</asp:DropDownList> </asp:DropDownList>
</div> </div>
+1 -1
View File
@@ -6,7 +6,7 @@
<asp:CheckBox ID="chkFilt" runat="server" Checked="false" AutoPostBack="True" CssClass="" OnCheckedChanged="chkFilt_CheckedChanged" Text="filtro" /> <asp:CheckBox ID="chkFilt" runat="server" Checked="false" AutoPostBack="True" CssClass="" OnCheckedChanged="chkFilt_CheckedChanged" Text="filtro" />
</div> </div>
<div class="px-0"> <div class="px-0">
<asp:ComboBox ID="dlFilt" runat="server" Visible="False" DataTextField="label" DataValueField="value" AutoCompleteMode="SuggestAppend" DropDownStyle="DropDownList" AutoPostBack="True" OnSelectedIndexChanged="dlFilt_SelectedIndexChanged" CssClass="small" /> <asp:ComboBox ID="dlFilt" runat="server" Visible="False" DataTextField="label" DataValueField="value" AutoCompleteMode="SuggestAppend" AutoPostBack="True" OnSelectedIndexChanged="dlFilt_SelectedIndexChanged" />
<asp:Label ID="where" runat="server" Visible="false" Text="" /> <asp:Label ID="where" runat="server" Visible="false" Text="" />
<asp:HiddenField runat="server" ID="hfShowAll" /> <asp:HiddenField runat="server" ID="hfShowAll" />
<asp:HiddenField runat="server" ID="hfShowFiltered" /> <asp:HiddenField runat="server" ID="hfShowFiltered" />
@@ -38,7 +38,7 @@
<asp:TextBox runat="server" ID="txtFine" TextMode="Date"></asp:TextBox> <asp:TextBox runat="server" ID="txtFine" TextMode="Date"></asp:TextBox>
</div> </div>
<div class="col"> <div class="col">
<asp:DropDownList runat="server" ID="ddlCodGiustInsNew"> <asp:DropDownList runat="server" ID="ddlCodGiustInsNew" CssClass="form-select-sm">
<asp:ListItem Value="FER" Text="FERIE"></asp:ListItem> <asp:ListItem Value="FER" Text="FERIE"></asp:ListItem>
</asp:DropDownList> </asp:DropDownList>
</div> </div>
@@ -66,7 +66,7 @@
<asp:BoundField DataField="data" HeaderText="data" ReadOnly="True" SortExpression="data" DataFormatString="{0:yyyy-MM-dd}" /> <asp:BoundField DataField="data" HeaderText="data" ReadOnly="True" SortExpression="data" DataFormatString="{0:yyyy-MM-dd}" />
<asp:TemplateField HeaderText="codGiust" SortExpression="codGiust"> <asp:TemplateField HeaderText="codGiust" SortExpression="codGiust">
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList runat="server" ID="ddlCodGiust" SelectedValue='<%# Bind("codGiust") %>'> <asp:DropDownList runat="server" ID="ddlCodGiust" CssClass="form-select-sm" SelectedValue='<%# Bind("codGiust") %>'>
<asp:ListItem Value="FEST" Text="FESTIVO"></asp:ListItem> <asp:ListItem Value="FEST" Text="FESTIVO"></asp:ListItem>
<asp:ListItem Value="FER" Text="FERIE"></asp:ListItem> <asp:ListItem Value="FER" Text="FERIE"></asp:ListItem>
</asp:DropDownList> </asp:DropDownList>
+1 -1
View File
@@ -1,6 +1,6 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_pageSize.ascx.cs" Inherits="GPW_Admin.WebUserControls.mod_pageSize" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_pageSize.ascx.cs" Inherits="GPW_Admin.WebUserControls.mod_pageSize" %>
<asp:DropDownList ID="ddlPageSize" runat="server" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged" <asp:DropDownList ID="ddlPageSize" runat="server" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"
AutoPostBack="True" DataSourceID="odsPageSize" DataTextField="label" DataValueField="value"> AutoPostBack="True" DataSourceID="odsPageSize" DataTextField="label" DataValueField="value" CssClass="form-select-sm">
</asp:DropDownList> </asp:DropDownList>
<asp:ObjectDataSource ID="odsPageSize" runat="server" OldValuesParameterFormatString="original_{0}" <asp:ObjectDataSource ID="odsPageSize" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GPW_data.DS_UtilityTableAdapters.v_selPageSizeTableAdapter"></asp:ObjectDataSource> SelectMethod="GetData" TypeName="GPW_data.DS_UtilityTableAdapters.v_selPageSizeTableAdapter"></asp:ObjectDataSource>
@@ -6,7 +6,7 @@
<asp:Label ID="lblPeriodo" runat="server" CssClass="input-group-text"></asp:Label> <asp:Label ID="lblPeriodo" runat="server" CssClass="input-group-text"></asp:Label>
</div> </div>
<asp:TextBox ID="txtInizio" TabIndex="1" runat="server" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" /> <asp:TextBox ID="txtInizio" TabIndex="1" runat="server" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" />
<asp:DropDownList ID="ddlOraInizio" TabIndex="2" runat="server" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" Font-Size="Smaller"> <asp:DropDownList ID="ddlOraInizio" TabIndex="2" runat="server" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" Font-Size="Smaller" CssClass="form-select-sm">
<asp:ListItem>00</asp:ListItem> <asp:ListItem>00</asp:ListItem>
<asp:ListItem>01</asp:ListItem> <asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem> <asp:ListItem>02</asp:ListItem>
@@ -34,7 +34,7 @@
</asp:DropDownList> </asp:DropDownList>
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtInizio" FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender> <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtInizio" FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender>
<asp:TextBox ID="txtFine" TabIndex="3" runat="server" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" /> <asp:TextBox ID="txtFine" TabIndex="3" runat="server" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" />
<asp:DropDownList ID="ddlOraFine" TabIndex="2" runat="server" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" Font-Size="Smaller"> <asp:DropDownList ID="ddlOraFine" TabIndex="2" runat="server" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" Font-Size="Smaller" CssClass="form-select-sm">
<asp:ListItem>00</asp:ListItem> <asp:ListItem>00</asp:ListItem>
<asp:ListItem>01</asp:ListItem> <asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem> <asp:ListItem>02</asp:ListItem>
@@ -61,7 +61,7 @@
<asp:ListItem>23</asp:ListItem> <asp:ListItem>23</asp:ListItem>
</asp:DropDownList> </asp:DropDownList>
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtFine" FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender> <asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtFine" FirstDayOfWeek="Monday" Format="dd/MM/yyyy"></asp:CalendarExtender>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Font-Size="Smaller"> <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Font-Size="Smaller" CssClass="form-select-sm">
<asp:ListItem Selected="True">selezione</asp:ListItem> <asp:ListItem Selected="True">selezione</asp:ListItem>
<asp:ListItem>oggi</asp:ListItem> <asp:ListItem>oggi</asp:ListItem>
<asp:ListItem>ieri</asp:ListItem> <asp:ListItem>ieri</asp:ListItem>
@@ -166,7 +166,7 @@
<asp:Label ID="lblIsOkApp" runat="server" Text="A" ForeColor="Red" Visible='<%# invBool(Eval("isOkApp")) %>' ToolTip="Errore: timbrature non approvate." /> <asp:Label ID="lblIsOkApp" runat="server" Text="A" ForeColor="Red" Visible='<%# invBool(Eval("isOkApp")) %>' ToolTip="Errore: timbrature non approvate." />
<asp:Label ID="lblIsOkLav" runat="server" Text="O" ForeColor="Red" Visible='<%# invBool(Eval("isOkLav")) %>' ToolTip="Errore: manca copertura ore ordinarie." /> <asp:Label ID="lblIsOkLav" runat="server" Text="O" ForeColor="Red" Visible='<%# invBool(Eval("isOkLav")) %>' ToolTip="Errore: manca copertura ore ordinarie." />
<asp:Label ID="lblChkFun" runat="server" Text='<%# Eval("chkFunCod") %>' ForeColor='<%# coloreMPP(Eval("minMpp")) %>' Visible='<%# !string.IsNullOrEmpty(Eval("chkFunCod").ToString()) %>' ToolTip='<%# Eval("chkFunRes") %>' /> <asp:Label ID="lblChkFun" runat="server" Text='<%# Eval("chkFunCod") %>' ForeColor='<%# coloreMPP(Eval("minMpp")) %>' Visible='<%# !string.IsNullOrEmpty(Eval("chkFunCod").ToString()) %>' ToolTip='<%# Eval("chkFunRes") %>' />
<asp:Label ID="lblIsOk" runat="server" Text="Ok" ForeColor="Green" Visible='<%# toBool(Eval("isOk")) %>' ToolTip="Errore di uno o più fra timbrature / giustificativi / approvazione" /> <asp:Label ID="lblIsOk" runat="server" Text="Ok" ForeColor="Green" Visible='<%# toBool(Eval("isOk")) %>' ToolTip="Tutto ok" />
</b> </b>
</ItemTemplate> </ItemTemplate>
<ItemStyle HorizontalAlign="Right" Wrap="False" Width="4em"></ItemStyle> <ItemStyle HorizontalAlign="Right" Wrap="False" Width="4em"></ItemStyle>
@@ -253,13 +253,11 @@
<asp:Label ID="lblcodGiust" runat="server" Text='<%# Bind("codGiust") %>' /> <asp:Label ID="lblcodGiust" runat="server" Text='<%# Bind("codGiust") %>' />
</ItemTemplate> </ItemTemplate>
<EditItemTemplate> <EditItemTemplate>
<asp:DropDownList ID="ddlcodGiust" runat="server" DataSourceID="odsCodGiust" SelectedValue='<%# Bind("codGiust") %>' DataTextField="value" <asp:DropDownList ID="ddlcodGiust" runat="server" DataSourceID="odsCodGiust" SelectedValue='<%# Bind("codGiust") %>' DataTextField="value" CssClass="form-select-sm" DataValueField="value">
DataValueField="value">
</asp:DropDownList> </asp:DropDownList>
</EditItemTemplate> </EditItemTemplate>
<FooterTemplate> <FooterTemplate>
<asp:DropDownList ID="ddlcodGiust" runat="server" DataSourceID="odsCodGiust" SelectedValue='<%# Bind("codGiust") %>' DataTextField="value" <asp:DropDownList ID="ddlcodGiust" runat="server" DataSourceID="odsCodGiust" SelectedValue='<%# Bind("codGiust") %>' DataTextField="value" CssClass="form-select-sm" DataValueField="value">
DataValueField="value">
</asp:DropDownList> </asp:DropDownList>
</FooterTemplate> </FooterTemplate>
</asp:TemplateField> </asp:TemplateField>
@@ -201,6 +201,24 @@ namespace GPW_Admin.WebUserControls
{ {
// eseguo la stored di update dato condizione di filtro x periodo e dipendente... // eseguo la stored di update dato condizione di filtro x periodo e dipendente...
DataProxy.DP.taTimbExpl.stp_ricalcolaTimbExpl_byPeriodoUser(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine"))); DataProxy.DP.taTimbExpl.stp_ricalcolaTimbExpl_byPeriodoUser(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine")));
// verifico dip con giust da inserire...
var list2fix = DataProxy.DP.taTimbExpl.getByDipAnomalia(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine")), false, false, true);
if (list2fix != null && list2fix.Count > 0)
{
foreach (var item in list2fix)
{
// escludo date da oggi in poi...
if (item.dataLav < DateTime.Today)
{
// elimino eventuali vecchi permessi
DataProxy.DP.taGiust.DeleteQuery(item.dataLav, item.idxDipendente, "PERM");
// inserisco permessi...
DataProxy.DP.taGiust.giustInsByDate(item.idxDipendente, item.dataLav, "PERM");
}
}
// ricalcolo!
DataProxy.DP.taTimbExpl.stp_ricalcolaTimbExpl_byPeriodoUser(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine")));
}
DataProxy.DP.taRA.stp_ricalcolaRegAttivitaExpl_byPeriodoUser(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine"))); DataProxy.DP.taRA.stp_ricalcolaRegAttivitaExpl_byPeriodoUser(memLayer.ML.IntSessionObj("idxDip_sel"), Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio")), Convert.ToDateTime(memLayer.ML.objSessionObj("_fine")));
// aggiorno // aggiorno
checkFixOds(); checkFixOds();
+1 -1
View File
@@ -84,7 +84,7 @@
</div> </div>
<div class="p-2"> <div class="p-2">
<asp:DropDownList ID="ddlFaseDest" runat="server" DataSourceID="odsFasiDest" DataTextField="label" DataValueField="value" <asp:DropDownList ID="ddlFaseDest" runat="server" DataSourceID="odsFasiDest" DataTextField="label" DataValueField="value"
Font-Size="8pt" OnDataBound="ddlFaseDest_DataBound"> Font-Size="8pt" OnDataBound="ddlFaseDest_DataBound" CssClass="form-select-sm">
</asp:DropDownList> </asp:DropDownList>
<asp:ObjectDataSource ID="odsFasiDest" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" <asp:ObjectDataSource ID="odsFasiDest" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio"
TypeName="GPW_data.DS_UtilityTableAdapters.v_selFasiOptTableAdapter"> TypeName="GPW_data.DS_UtilityTableAdapters.v_selFasiOptTableAdapter">
+4 -4
View File
@@ -7,12 +7,12 @@
"outputFile": "Content/StyleCustom.css", "outputFile": "Content/StyleCustom.css",
"inputFile": "Content/StyleCustom.less" "inputFile": "Content/StyleCustom.less"
}, },
{
"outputFile": "Content/Site.css",
"inputFile": "Content/Site.less"
},
{ {
"outputFile": "Content/font.css", "outputFile": "Content/font.css",
"inputFile": "Content/font.less" "inputFile": "Content/font.less"
},
{
"outputFile": "Content/Site.css",
"inputFile": "Content/Site.less"
} }
] ]
+1
View File
@@ -32,6 +32,7 @@ namespace GPW_Admin
{ {
if (!Page.IsPostBack) if (!Page.IsPostBack)
{ {
cmp_toggleCoreSmart.toggleValue = true;
fixDisplay(); fixDisplay();
} }
mod_pageSize.eh_nuovaSize += Mod_pageSize_eh_nuovaSize; mod_pageSize.eh_nuovaSize += Mod_pageSize_eh_nuovaSize;
+9 -2
View File
@@ -3,12 +3,19 @@
<%@ Register Src="~/WebUserControls/cmp_elencoGruppi.ascx" TagPrefix="uc1" TagName="cmp_elencoGruppi" %> <%@ Register Src="~/WebUserControls/cmp_elencoGruppi.ascx" TagPrefix="uc1" TagName="cmp_elencoGruppi" %>
<%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %> <%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %>
<%@ Register Src="~/WebUserControls/cmp_dip2gruppi.ascx" TagPrefix="uc1" TagName="cmp_dip2gruppi" %> <%@ Register Src="~/WebUserControls/cmp_dip2gruppi.ascx" TagPrefix="uc1" TagName="cmp_dip2gruppi" %>
<%@ Register Src="~/WebUserControls/cmp_groupAssignClone.ascx" TagPrefix="uc1" TagName="cmp_groupAssignClone" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server"> <asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
<div class="card m-2"> <div class="card m-2">
<div class="card-header"> <div class="card-header d-flex justify-content-between">
<b><%: traduci(titolo) %></b> <div class="px-2">
<b><%: traduci(titolo) %></b>
</div>
<div class="px-2">
<uc1:cmp_groupAssignClone runat="server" id="cmp_groupAssignClone" />
</div>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
+19 -1
View File
@@ -3,8 +3,19 @@ using System;
namespace GPW_Admin namespace GPW_Admin
{ {
public partial class gruppi : BasePage public partial class gruppi : BasePage, IDisposable
{ {
public override void Dispose()
{
mod_pageSize.eh_nuovaSize -= Mod_pageSize_eh_nuovaSize;
cmp_elencoGruppi.eh_doRefresh -= Cmp_elencoGruppi_eh_doRefresh;
cmp_elencoGruppi.eh_doReset -= Cmp_elencoGruppi_eh_doReset;
cmp_dip2gruppi.eh_addNew -= Cmp_dip2gruppi_eh_addNew;
cmp_groupAssignClone.eh_addNew -= Cmp_groupAssignClone_eh_addNew;
base.Dispose();
}
#region Private Methods #region Private Methods
private void checkVisib() private void checkVisib()
@@ -57,6 +68,13 @@ namespace GPW_Admin
cmp_elencoGruppi.eh_doRefresh += Cmp_elencoGruppi_eh_doRefresh; cmp_elencoGruppi.eh_doRefresh += Cmp_elencoGruppi_eh_doRefresh;
cmp_elencoGruppi.eh_doReset += Cmp_elencoGruppi_eh_doReset; cmp_elencoGruppi.eh_doReset += Cmp_elencoGruppi_eh_doReset;
cmp_dip2gruppi.eh_addNew += Cmp_dip2gruppi_eh_addNew; cmp_dip2gruppi.eh_addNew += Cmp_dip2gruppi_eh_addNew;
cmp_groupAssignClone.eh_addNew += Cmp_groupAssignClone_eh_addNew;
}
private void Cmp_groupAssignClone_eh_addNew(object sender, EventArgs e)
{
cmp_elencoGruppi.doUpdate();
checkVisib();
} }
#endregion Protected Methods #endregion Protected Methods
+9
View File
@@ -14,6 +14,15 @@ namespace GPW_Admin
public partial class gruppi public partial class gruppi
{ {
/// <summary>
/// cmp_groupAssignClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Admin.WebUserControls.cmp_groupAssignClone cmp_groupAssignClone;
/// <summary> /// <summary>
/// cmp_elencoGruppi control. /// cmp_elencoGruppi control.
/// </summary> /// </summary>
+3 -2
View File
@@ -19,7 +19,7 @@
<package id="Microsoft.AspNet.FriendlyUrls.Core.it" version="1.0.2" targetFramework="net462" /> <package id="Microsoft.AspNet.FriendlyUrls.Core.it" version="1.0.2" targetFramework="net462" />
<package id="Microsoft.AspNet.ScriptManager.MSAjax" version="5.0.0" targetFramework="net462" /> <package id="Microsoft.AspNet.ScriptManager.MSAjax" version="5.0.0" targetFramework="net462" />
<package id="Microsoft.AspNet.ScriptManager.WebForms" version="5.0.0" targetFramework="net462" /> <package id="Microsoft.AspNet.ScriptManager.WebForms" version="5.0.0" targetFramework="net462" />
<package id="Microsoft.AspNet.SessionState.SessionStateModule" version="1.1.0" targetFramework="net48" /> <package id="Microsoft.AspNet.SessionState.SessionStateModule" version="2.0.0" targetFramework="net48" />
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" /> <package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" /> <package id="Microsoft.AspNet.Web.Optimization.WebForms" version="1.1.3" targetFramework="net462" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net48" /> <package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net48" />
@@ -28,7 +28,7 @@
<package id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" targetFramework="net462" /> <package id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" targetFramework="net462" />
<package id="Microsoft.NETCore.Platforms" version="6.0.5" targetFramework="net462" /> <package id="Microsoft.NETCore.Platforms" version="6.0.5" targetFramework="net462" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net48" /> <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net48" />
<package id="Microsoft.Web.RedisSessionStateProvider" version="5.0.0" targetFramework="net48" /> <package id="Microsoft.Web.RedisSessionStateProvider" version="5.0.4" targetFramework="net48" />
<package id="Modernizr" version="2.8.3" targetFramework="net462" /> <package id="Modernizr" version="2.8.3" targetFramework="net462" />
<package id="Moment.js" version="2.29.4" targetFramework="net462" /> <package id="Moment.js" version="2.29.4" targetFramework="net462" />
<package id="MongoDB.Bson" version="2.24.0" targetFramework="net462" requireReinstallation="true" /> <package id="MongoDB.Bson" version="2.24.0" targetFramework="net462" requireReinstallation="true" />
@@ -46,6 +46,7 @@
<package id="SharpZipLib" version="1.3.3" targetFramework="net462" /> <package id="SharpZipLib" version="1.3.3" targetFramework="net462" />
<package id="Snappier" version="1.0.0" targetFramework="net462" /> <package id="Snappier" version="1.0.0" targetFramework="net462" />
<package id="StackExchange.Redis" version="2.7.27" targetFramework="net462" requireReinstallation="true" /> <package id="StackExchange.Redis" version="2.7.27" targetFramework="net462" requireReinstallation="true" />
<package id="StackExchange.Redis.StrongName" version="1.0.333" targetFramework="net48" />
<package id="SteamWare" version="5.3.2311.2908" targetFramework="net462" /> <package id="SteamWare" version="5.3.2311.2908" targetFramework="net462" />
<package id="SteamWare.Logger" version="5.3.2311.2908" targetFramework="net462" /> <package id="SteamWare.Logger" version="5.3.2311.2908" targetFramework="net462" />
<package id="System.Buffers" version="4.5.1" targetFramework="net462" /> <package id="System.Buffers" version="4.5.1" targetFramework="net462" />
+17
View File
@@ -0,0 +1,17 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/BMP.Master" AutoEventWireup="true" CodeBehind="tags.aspx.cs" Inherits="GPW_Admin.tags" %>
<%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %>
<%@ Register Src="~/WebUserControls/cmp_gestTagFasi.ascx" TagPrefix="uc1" TagName="cmp_gestTagFasi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
<div class="card m-2">
<div class="card-header">
<b><%: traduci(titolo) %></b>
</div>
<div class="card-body">
<uc1:cmp_gestTagFasi runat="server" id="cmp_gestTagFasi" />
</div>
<div class="card-footer text-end">
<uc1:mod_pageSize runat="server" ID="mod_pageSize" />
</div>
</div>
</asp:Content>
+30
View File
@@ -0,0 +1,30 @@
using GPW_Admin.WebUserControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GPW_Admin
{
public partial class tags : BasePage
{
#region Private Methods
private void Mod_pageSize_eh_nuovaSize(object sender, EventArgs e)
{
}
#endregion Private Methods
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
mod_pageSize.eh_nuovaSize += Mod_pageSize_eh_nuovaSize;
}
#endregion Protected Methods
}
}
+35
View File
@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Admin
{
public partial class tags
{
/// <summary>
/// cmp_gestTagFasi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Admin.WebUserControls.cmp_gestTagFasi cmp_gestTagFasi;
/// <summary>
/// mod_pageSize control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Admin.WebUserControls.mod_pageSize mod_pageSize;
}
}
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <connectionStrings>
<add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
</configuration> </configuration>
+6 -6
View File
@@ -118,15 +118,15 @@
<!--Gestione SSRS--> <!--Gestione SSRS-->
<add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" /> <add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" />
<!--Conf DB--> <!--Conf DB-->
<add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /> <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
</appSettings> </appSettings>
<connectionStrings> <connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <connectionStrings>
<add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
</configuration> </configuration>
+14 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- <!--
In the example below, the "SetAttributes" transform will change the value of In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB". finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,13 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings> </connectionStrings>
--> -->
<system.web> <appSettings>
<compilation xdt:Transform="RemoveAttributes(debug)" /> <add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!-- <add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file. <customErrors> section of your web.config file.
Note that because there is only one customErrors section under the Note that because there is only one customErrors section under the
@@ -27,5 +31,10 @@
<error statusCode="500" redirect="InternalError.htm"/> <error statusCode="500" redirect="InternalError.htm"/>
</customErrors> </customErrors>
--> -->
</system.web> <sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration> </configuration>
+195 -194
View File
@@ -5,7 +5,7 @@
--> -->
<configuration> <configuration>
<!-- <!--
Per una descrizione delle modifiche al file web.config, vedere il sito Web all'indirizzo http://go.microsoft.com/fwlink/?LinkId=235367. Per una descrizione delle modifiche al file web.config, vedere il sito Web all'indirizzo http://go.microsoft.com/fwlink/?LinkId=235367.
Gli attributi seguenti possono essere impostati sul tag <httpRuntime>. Gli attributi seguenti possono essere impostati sul tag <httpRuntime>.
@@ -13,198 +13,199 @@
<httpRuntime targetFramework="4.7.2" /> <httpRuntime targetFramework="4.7.2" />
</system.Web> </system.Web>
--> -->
<system.web> <system.web>
<compilation targetFramework="4.8" /> <compilation targetFramework="4.8" />
<httpRuntime targetFramework="4.6.2" /> <httpRuntime targetFramework="4.6.2" />
<pages> <pages>
<namespaces> <namespaces>
<add namespace="System.Web.Optimization" /> <add namespace="System.Web.Optimization" />
</namespaces> </namespaces>
<controls> <controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" /> <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls> </controls>
</pages> </pages>
<customErrors mode="Off" /> <customErrors mode="Off" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" /> <globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
<sessionState>
<sessionState> <providers>
<providers> <add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" connectionString="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" applicationName="GPW_WRKLG" />
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="GPW_WRKLG" /> </providers>
</providers> </sessionState>
</sessionState> </system.web>
</system.web> <appSettings>
<appSettings> <!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)--> <add key="serializeSession" value="true" />
<add key="serializeSession" value="true" /> <add key="RedisConn" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" />
<!--Conf generale--> <add key="RedisConnAdmin" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, allowAdmin=true" />
<add key="appName" value="GPW" /> <!--Conf generale-->
<add key="titleApp" value="GPW" /> <add key="appName" value="GPW" />
<add key="welcomeApp" value="GPW_welcome" /> <add key="titleApp" value="GPW" />
<add key="SiteName" value="Steamware" /> <add key="welcomeApp" value="GPW_welcome" />
<add key="copyRight" value="SteamWare" /> <add key="SiteName" value="Steamware" />
<add key="CodModulo" value="GPW" /> <add key="copyRight" value="SteamWare" />
<add key="_safePages" value="unauthorized#forceUser#login#login#test#Test" /> <add key="CodModulo" value="GPW" />
<!--Gestione forzatura priam timbratura ad entrata--> <add key="_safePages" value="unauthorized#forceUser#login#login#test#Test" />
<add key="firstIsIN" value="true" /> <!--Gestione forzatura priam timbratura ad entrata-->
<!--Gestione notifiche anomalie--> <add key="firstIsIN" value="true" />
<add key="adminAnomalieEmail" value="samuele@steamware.net" /> <!--Gestione notifiche anomalie-->
<add key="adminContinuatoEmail" value="samuele@steamware.net" /> <add key="adminAnomalieEmail" value="samuele@steamware.net" />
<add key="adminOreLavEmail" value="samuele@steamware.net" /> <add key="adminContinuatoEmail" value="samuele@steamware.net" />
<add key="gg2Chk" value="60" /> <add key="adminOreLavEmail" value="samuele@steamware.net" />
<add key="gg2ChkCont" value="30" /> <add key="gg2Chk" value="60" />
<add key="gg2ChkOreCaricate" value="30" /> <add key="gg2ChkCont" value="30" />
<add key="checkAnomTimb" value="true" /> <add key="gg2ChkOreCaricate" value="30" />
<add key="checkAnomAppr" value="true" /> <add key="checkAnomTimb" value="true" />
<add key="checkAnomOreLav" value="true" /> <add key="checkAnomAppr" value="true" />
<add key="checkAnomOreLavComm" value="true" /> <add key="checkAnomOreLav" value="true" />
<add key="checkAnomContinuato" value="true" /> <add key="checkAnomOreLavComm" value="true" />
<add key="sendEmailToUser" value="true" /> <add key="checkAnomContinuato" value="true" />
<add key="firstHour2Check" value="6" /> <add key="sendEmailToUser" value="true" />
<add key="enableDailyCheck" value="true" /> <add key="firstHour2Check" value="6" />
<!--Timeout vari--> <add key="enableDailyCheck" value="true" />
<add key="intUpdatePagina_ms" value="150000" /> <!--Timeout vari-->
<!--Abilitazione link timbrature--> <add key="intUpdatePagina_ms" value="150000" />
<add key="showRepTimb" value="true" /> <!--Abilitazione link timbrature-->
<!--ricerca autocomplete--> <add key="showRepTimb" value="true" />
<add key="maxNumSuggest" value="30" /> <!--ricerca autocomplete-->
<!--Logging--> <add key="maxNumSuggest" value="30" />
<add key="_logDir" value="~/logs/" /> <!--Logging-->
<add key="doShrinkFolder" value="true" /> <add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="6" /> <add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" /> <add key="_logLevel" value="6" />
<!--Definizione default x registrazione commesse--> <add key="_logMaxMb" value="30" />
<add key="defRegAttMin" value="60" /> <!--Definizione default x registrazione commesse-->
<add key="maxErr" value="30" /> <add key="defRegAttMin" value="60" />
<add key="maxErrMin" value="-30" /> <add key="maxErr" value="30" />
<add key="maxErrPlus" value="91" /> <add key="maxErrMin" value="-30" />
<!--default visualizzazione timbrature--> <add key="maxErrPlus" value="91" />
<add key="reviewShowCN" value="true" /> <!--default visualizzazione timbrature-->
<add key="reviewShowOreMin" value="false" /> <add key="reviewShowCN" value="true" />
<add key="reviewShowStraord" value="true" /> <add key="reviewShowOreMin" value="false" />
<!--gestione warning x calcolo real/budget--> <add key="reviewShowStraord" value="true" />
<add key="warningRatioPerc" value="80" /> <!--gestione warning x calcolo real/budget-->
<!--Definizione URL e rete locale--> <add key="warningRatioPerc" value="80" />
<add key="localNet" value="10.74" /> <!--Definizione URL e rete locale-->
<add key="dhcpLeaseTime" value="15" /> <add key="localNet" value="10.74" />
<!--Conf x grafici a barre--> <add key="dhcpLeaseTime" value="15" />
<add key="maxBarplotLargh" value="1000" /> <!--Conf x grafici a barre-->
<!--Conf attivazione funzionalità opzionali--> <add key="maxBarplotLargh" value="1000" />
<add key="barcodeAutoApprove" value="true" /> <!--Conf attivazione funzionalità opzionali-->
<add key="regAttEnabled" value="true" /> <add key="barcodeAutoApprove" value="true" />
<!--Gestione selettore periodo--> <add key="regAttEnabled" value="true" />
<add key="defDayFrom" value="-10" /> <!--Gestione selettore periodo-->
<add key="mostraSelOra" value="false" /> <add key="defDayFrom" value="-10" />
<!--Timbratrice x Zucchetti--> <add key="mostraSelOra" value="false" />
<add key="codTimbra" value="90" /> <!--Timbratrice x Zucchetti-->
<!--Gestione email--> <add key="codTimbra" value="90" />
<add key="_fromEmail" value="steamwarebot@outlook.it" /> <!--Gestione email-->
<add key="_smtpCli" value="smtp-mail.outlook.com" /> <add key="_fromEmail" value="steamwarebot@outlook.it" />
<add key="_emailUser" value="steamwarebot@outlook.it" /> <add key="_smtpCli" value="smtp-mail.outlook.com" />
<add key="_emailPwd" value="siamoInViaNazionale93" /> <add key="_emailUser" value="steamwarebot@outlook.it" />
<add key="_enableSSL" value="true" /> <add key="_emailPwd" value="siamoInViaNazionale93" />
<!--gestione tac cloud--> <add key="_enableSSL" value="true" />
<add key="TagCloudMode" value="elenco" /> <!--gestione tac cloud-->
<!--Gestione auth dispositivi mobile--> <add key="TagCloudMode" value="elenco" />
<add key="authKey" value="keyhammer" /> <!--Gestione auth dispositivi mobile-->
<add key="baseUrl" value="http://iis02/GPW/" /> <add key="authKey" value="keyhammer" />
<add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/" /> <add key="baseUrl" value="http://iis02/GPW/" />
<add key="GpwSmartUrl" value="../../GPW/SMART" /> <add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/" />
<add key="GpwBCodeUrl" value="../../GPW/BCODE" /> <add key="GpwSmartUrl" value="../../GPW/SMART" />
<!--Gestione SSRS--> <add key="GpwBCodeUrl" value="../../GPW/BCODE" />
<add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" /> <!--Gestione SSRS-->
<!--COnf DB--> <add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" />
<add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <!--COnf DB-->
<add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" /> <add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /> <add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
</appSettings> <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
<connectionStrings> </appSettings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <connectionStrings>
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> <add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<runtime> </connectionStrings>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <runtime>
<dependentAssembly> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" /> <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0" /> <assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0" /> <assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" /> <assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> <assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /> <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /> <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9" /> <assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> <assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
</dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</assemblyBinding> </dependentAssembly>
</runtime> </assemblyBinding>
<system.webServer> </runtime>
<modules> <system.webServer>
<remove name="Session" /> <modules>
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" /> <remove name="Session" />
</modules> <add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
<staticContent> </modules>
<remove fileExtension=".woff" /> <staticContent>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> <remove fileExtension=".woff" />
<remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" /> <remove fileExtension=".woff2" />
<remove fileExtension=".svg" /> <mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> <remove fileExtension=".svg" />
<remove fileExtension=".json" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".json" mimeType="application/json" /> <remove fileExtension=".json" />
</staticContent> <mimeMap fileExtension=".json" mimeType="application/json" />
<handlers> </staticContent>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <handlers>
<remove name="OPTIONSVerbHandler" /> <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="TRACEVerbHandler" /> <remove name="OPTIONSVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> <remove name="TRACEVerbHandler" />
</handlers> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</system.webServer> </handlers>
</system.webServer>
</configuration> </configuration>
<!--ProjectGuid: BE3DE583-5F7A-42D7-9CBB-3A31E7E70063--> <!--ProjectGuid: BE3DE583-5F7A-42D7-9CBB-3A31E7E70063-->
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <connectionStrings>
<add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
</configuration> </configuration>
+1414 -658
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+40 -79
View File
@@ -4,40 +4,41 @@
Changes to this file may cause incorrect behavior and will be lost if Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated. the code is regenerated.
</autogenerated>--> </autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-11" ViewPortY="430" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-11" ViewPortY="179" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes> <Shapes>
<Shape ID="DesignTable:Timbrature" ZOrder="36" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:Timbrature" ZOrder="34" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="28" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:TimbratureExpl" ZOrder="27" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagDevices" ZOrder="11" X="951" Y="215" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> <Shape ID="DesignTable:AnagDevices" ZOrder="14" X="951" Y="215" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:Dipendenti" ZOrder="12" X="285" Y="543" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:Dipendenti" ZOrder="1" X="285" Y="543" Height="382" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:AnagClienti" ZOrder="23" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:AnagClienti" ZOrder="22" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="2" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:AnagProgetti" ZOrder="6" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="35" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="33" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagFasi" ZOrder="20" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:AnagFasi" ZOrder="2" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_logCommUt" ZOrder="26" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:v_logCommUt" ZOrder="25" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RegAttivita" ZOrder="24" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> <Shape ID="DesignTable:RegAttivita" ZOrder="23" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="8" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:CalendFesteFerie" ZOrder="11" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagOrari" ZOrder="13" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:AnagOrari" ZOrder="15" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="31" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:TimbMeseExpl" ZOrder="30" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Giustificativi" ZOrder="4" X="955" Y="1424" Height="229" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:Giustificativi" ZOrder="8" X="955" Y="1424" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="6" X="8" Y="1311" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="10" X="8" Y="1311" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="18" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:TE_RA_Expl" ZOrder="19" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:regAttDayExpl" ZOrder="22" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:regAttDayExpl" ZOrder="21" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="30" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="29" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RegistroEventi" ZOrder="29" X="44" Y="1467" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:RegistroEventi" ZOrder="28" X="44" Y="1467" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:RilievoTemp" ZOrder="14" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:RilievoTemp" ZOrder="16" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:HistTemp" ZOrder="25" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:HistTemp" ZOrder="24" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:CheckVC19" ZOrder="7" X="287" Y="1407" Height="229" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:CheckVC19" ZOrder="5" X="287" Y="1407" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagGruppi" ZOrder="15" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:AnagGruppi" ZOrder="17" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="17" X="367" Y="370" Height="153" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="18" X="367" Y="370" Height="172" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:TagMese" ZOrder="10" X="963" Y="-12" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:TagMese" ZOrder="13" X="963" Y="-12" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ListTagDD" ZOrder="9" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:ListTagDD" ZOrder="12" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:RegistroRichieste" ZOrder="5" X="489" Y="1366" Height="267" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:RegistroRichieste" ZOrder="9" X="489" Y="1366" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:RegistroMalattie" ZOrder="3" X="751" Y="1369" Height="247" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:RegistroMalattie" ZOrder="7" X="751" Y="1369" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:CalMesi" ZOrder="1" X="104" Y="1549" Height="96" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" /> <Shape ID="DesignTable:CalMesi" ZOrder="3" X="59" Y="1673" Height="97" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:AnagTagFasi" ZOrder="4" X="491" Y="1646" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
</Shapes> </Shapes>
<Connectors> <Connectors>
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="37" LineWidth="11"> <Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="35" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>391</X> <X>391</X>
@@ -49,7 +50,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="21" LineWidth="11"> <Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="20" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1046</X> <X>1046</X>
@@ -61,7 +62,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="34" LineWidth="11"> <Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="32" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>871</X> <X>871</X>
@@ -77,67 +78,27 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="33" LineWidth="11"> <Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="31" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>585</X> <X>585</X>
<Y>808</Y> <Y>715</Y>
</Point> </Point>
<Point> <Point>
<X>598</X> <X>598</X>
<Y>808</Y> <Y>715</Y>
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="32" LineWidth="11"> <Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="26" LineWidth="11">
<RoutePoints>
<Point>
<X>332</X>
<Y>1001</Y>
</Point>
<Point>
<X>332</X>
<Y>924</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="27" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>285</X> <X>285</X>
<Y>726</Y> <Y>715</Y>
</Point> </Point>
<Point> <Point>
<X>276</X> <X>276</X>
<Y>726</Y> <Y>715</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi" ZOrder="19" LineWidth="11">
<RoutePoints>
<Point>
<X>286</X>
<Y>428</Y>
</Point>
<Point>
<X>338</X>
<Y>428</Y>
</Point>
<Point>
<X>338</X>
<Y>543</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi1" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>428</X>
<Y>523</Y>
</Point>
<Point>
<X>428</X>
<Y>543</Y>
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
+589 -1
View File
@@ -62,6 +62,8 @@ namespace GPW_data {
private v_selGruppiDataTable tablev_selGruppi; private v_selGruppiDataTable tablev_selGruppi;
private v_selTagFasiDataTable tablev_selTagFasi;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -147,6 +149,9 @@ namespace GPW_data {
if ((ds.Tables["v_selGruppi"] != null)) { if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"])); base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
} }
if ((ds.Tables["v_selTagFasi"] != null)) {
base.Tables.Add(new v_selTagFasiDataTable(ds.Tables["v_selTagFasi"]));
}
this.DataSetName = ds.DataSetName; this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix; this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace; this.Namespace = ds.Namespace;
@@ -355,6 +360,16 @@ namespace GPW_data {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public v_selTagFasiDataTable v_selTagFasi {
get {
return this.tablev_selTagFasi;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.BrowsableAttribute(true)]
@@ -479,6 +494,9 @@ namespace GPW_data {
if ((ds.Tables["v_selGruppi"] != null)) { if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"])); base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
} }
if ((ds.Tables["v_selTagFasi"] != null)) {
base.Tables.Add(new v_selTagFasiDataTable(ds.Tables["v_selTagFasi"]));
}
this.DataSetName = ds.DataSetName; this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix; this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace; this.Namespace = ds.Namespace;
@@ -626,6 +644,12 @@ namespace GPW_data {
this.tablev_selGruppi.InitVars(); this.tablev_selGruppi.InitVars();
} }
} }
this.tablev_selTagFasi = ((v_selTagFasiDataTable)(base.Tables["v_selTagFasi"]));
if ((initTable == true)) {
if ((this.tablev_selTagFasi != null)) {
this.tablev_selTagFasi.InitVars();
}
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -674,6 +698,8 @@ namespace GPW_data {
base.Tables.Add(this.tablev_selListVal); base.Tables.Add(this.tablev_selListVal);
this.tablev_selGruppi = new v_selGruppiDataTable(); this.tablev_selGruppi = new v_selGruppiDataTable();
base.Tables.Add(this.tablev_selGruppi); base.Tables.Add(this.tablev_selGruppi);
this.tablev_selTagFasi = new v_selTagFasiDataTable();
base.Tables.Add(this.tablev_selTagFasi);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -790,6 +816,12 @@ namespace GPW_data {
return false; return false;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private bool ShouldSerializev_selTagFasi() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -902,6 +934,9 @@ namespace GPW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void v_selGruppiRowChangeEventHandler(object sender, v_selGruppiRowChangeEvent e); public delegate void v_selGruppiRowChangeEventHandler(object sender, v_selGruppiRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void v_selTagFasiRowChangeEventHandler(object sender, v_selTagFasiRowChangeEvent e);
/// <summary> /// <summary>
///Represents the strongly named DataTable class. ///Represents the strongly named DataTable class.
///</summary> ///</summary>
@@ -6328,6 +6363,280 @@ namespace GPW_data {
} }
} }
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class v_selTagFasiDataTable : global::System.Data.TypedTableBase<v_selTagFasiRow> {
private global::System.Data.DataColumn columnvalue;
private global::System.Data.DataColumn columnlabel;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiDataTable() {
this.TableName = "v_selTagFasi";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal v_selTagFasiDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected v_selTagFasiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn valueColumn {
get {
return this.columnvalue;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn labelColumn {
get {
return this.columnlabel;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRow this[int index] {
get {
return ((v_selTagFasiRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event v_selTagFasiRowChangeEventHandler v_selTagFasiRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event v_selTagFasiRowChangeEventHandler v_selTagFasiRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event v_selTagFasiRowChangeEventHandler v_selTagFasiRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event v_selTagFasiRowChangeEventHandler v_selTagFasiRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void Addv_selTagFasiRow(v_selTagFasiRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRow Addv_selTagFasiRow(string value, string label) {
v_selTagFasiRow rowv_selTagFasiRow = ((v_selTagFasiRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
value,
label};
rowv_selTagFasiRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_selTagFasiRow);
return rowv_selTagFasiRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRow FindByvalue(string value) {
return ((v_selTagFasiRow)(this.Rows.Find(new object[] {
value})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public override global::System.Data.DataTable Clone() {
v_selTagFasiDataTable cln = ((v_selTagFasiDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new v_selTagFasiDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal void InitVars() {
this.columnvalue = base.Columns["value"];
this.columnlabel = base.Columns["label"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitClass() {
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalue);
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlabel);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnvalue}, true));
this.columnvalue.AllowDBNull = false;
this.columnvalue.Unique = true;
this.columnvalue.MaxLength = 50;
this.columnlabel.MaxLength = 250;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRow Newv_selTagFasiRow() {
return ((v_selTagFasiRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new v_selTagFasiRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(v_selTagFasiRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.v_selTagFasiRowChanged != null)) {
this.v_selTagFasiRowChanged(this, new v_selTagFasiRowChangeEvent(((v_selTagFasiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.v_selTagFasiRowChanging != null)) {
this.v_selTagFasiRowChanging(this, new v_selTagFasiRowChangeEvent(((v_selTagFasiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.v_selTagFasiRowDeleted != null)) {
this.v_selTagFasiRowDeleted(this, new v_selTagFasiRowChangeEvent(((v_selTagFasiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.v_selTagFasiRowDeleting != null)) {
this.v_selTagFasiRowDeleting(this, new v_selTagFasiRowChangeEvent(((v_selTagFasiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void Removev_selTagFasiRow(v_selTagFasiRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Utility ds = new DS_Utility();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "v_selTagFasiDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary> /// <summary>
///Represents strongly named DataRow class. ///Represents strongly named DataRow class.
///</summary> ///</summary>
@@ -7959,6 +8268,60 @@ namespace GPW_data {
} }
} }
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class v_selTagFasiRow : global::System.Data.DataRow {
private v_selTagFasiDataTable tablev_selTagFasi;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal v_selTagFasiRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablev_selTagFasi = ((v_selTagFasiDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string value {
get {
return ((string)(this[this.tablev_selTagFasi.valueColumn]));
}
set {
this[this.tablev_selTagFasi.valueColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string label {
get {
try {
return ((string)(this[this.tablev_selTagFasi.labelColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTagFasi\' is DBNull.", e);
}
}
set {
this[this.tablev_selTagFasi.labelColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IslabelNull() {
return this.IsNull(this.tablev_selTagFasi.labelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetlabelNull() {
this[this.tablev_selTagFasi.labelColumn] = global::System.Convert.DBNull;
}
}
/// <summary> /// <summary>
///Row event argument class ///Row event argument class
///</summary> ///</summary>
@@ -8604,6 +8967,40 @@ namespace GPW_data {
} }
} }
} }
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public class v_selTagFasiRowChangeEvent : global::System.EventArgs {
private v_selTagFasiRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRowChangeEvent(v_selTagFasiRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
} }
} }
namespace GPW_data.DS_UtilityTableAdapters { namespace GPW_data.DS_UtilityTableAdapters {
@@ -8746,7 +9143,7 @@ namespace GPW_data.DS_UtilityTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() { private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_selDipendenti\r\nORDER BY label"; this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_selDipendenti\r\nORDER BY label";
@@ -8771,6 +9168,12 @@ namespace GPW_data.DS_UtilityTableAdapters {
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invSel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invSel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_VSDip_getByRuolo";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodRuolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -8837,6 +9240,23 @@ namespace GPW_data.DS_UtilityTableAdapters {
return dataTable; return dataTable;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Utility.v_selDipendentiDataTable getByRuolo(string CodRuolo) {
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((CodRuolo == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodRuolo));
}
DS_Utility.v_selDipendentiDataTable dataTable = new DS_Utility.v_selDipendentiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -12585,6 +13005,174 @@ SELECT nomeVar, valInt, valFloat, valString, descrizione FROM AnagKeyValue WHERE
} }
} }
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class v_selTagFasiTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public v_selTagFasiTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "v_selTagFasi";
tableMapping.ColumnMappings.Add("value", "value");
tableMapping.ColumnMappings.Add("label", "label");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selTagFasi";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Utility.v_selTagFasiDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Utility.v_selTagFasiDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.v_selTagFasiDataTable dataTable = new DS_Utility.v_selTagFasiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary> /// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary> ///</summary>
+131 -79
View File
@@ -61,6 +61,17 @@ ORDER BY label</CommandText>
</DbCommand> </DbCommand>
</SelectCommand> </SelectCommand>
</DbSource> </DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_VSDip_getByRuolo" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByRuolo" GetMethodModifier="Public" GetMethodName="getByRuolo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByRuolo" UserSourceName="getByRuolo">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VSDip_getByRuolo</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodRuolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources> </Sources>
</TableAdapter> </TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_getLastDaysTableAdapter" GeneratorDataComponentClassName="stp_getLastDaysTableAdapter" Name="stp_getLastDays" UserDataComponentName="stp_getLastDaysTableAdapter"> <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_getLastDaysTableAdapter" GeneratorDataComponentClassName="stp_getLastDaysTableAdapter" Name="stp_getLastDays" UserDataComponentName="stp_getLastDaysTableAdapter">
@@ -572,33 +583,50 @@ ORDER BY ordinal</CommandText>
</DbSource> </DbSource>
</Sources> </Sources>
</TableAdapter> </TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selTagFasiTableAdapter" GeneratorDataComponentClassName="v_selTagFasiTableAdapter" Name="v_selTagFasi" UserDataComponentName="v_selTagFasiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.v_selTagFasi" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selTagFasi</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
</Tables> </Tables>
<Sources /> <Sources />
</DataSource> </DataSource>
</xs:appinfo> </xs:appinfo>
</xs:annotation> </xs:annotation>
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_UserDSName="DS_Utility" msprop:Generator_DataSetName="DS_Utility"> <xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_Utility" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selDipendenti" msprop:Generator_RowClassName="v_selDipendentiRow" msprop:Generator_RowEvHandlerName="v_selDipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDipendentiRowDeleted" msprop:Generator_RowDeletingName="v_selDipendentiRowDeleting" msprop:Generator_RowEvArgName="v_selDipendentiRowChangeEvent" msprop:Generator_TablePropName="v_selDipendenti" msprop:Generator_RowChangedName="v_selDipendentiRowChanged" msprop:Generator_RowChangingName="v_selDipendentiRowChanging" msprop:Generator_TableClassName="v_selDipendentiDataTable" msprop:Generator_UserTableName="v_selDipendenti" msprop:Generator_TableVarName="tablev_selDipendenti"> <xs:element name="v_selDipendenti" msprop:Generator_RowEvHandlerName="v_selDipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDipendentiRowDeleted" msprop:Generator_RowDeletingName="v_selDipendentiRowDeleting" msprop:Generator_RowEvArgName="v_selDipendentiRowChangeEvent" msprop:Generator_TablePropName="v_selDipendenti" msprop:Generator_RowChangedName="v_selDipendentiRowChanged" msprop:Generator_UserTableName="v_selDipendenti" msprop:Generator_RowChangingName="v_selDipendentiRowChanging" msprop:Generator_RowClassName="v_selDipendentiRow" msprop:Generator_TableClassName="v_selDipendentiDataTable" msprop:Generator_TableVarName="tablev_selDipendenti">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" /> <xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="101" /> <xs:maxLength value="101" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:int" minOccurs="0" /> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="stp_getLastDays" msprop:Generator_RowEvHandlerName="stp_getLastDaysRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getLastDaysRowDeleted" msprop:Generator_RowDeletingName="stp_getLastDaysRowDeleting" msprop:Generator_RowEvArgName="stp_getLastDaysRowChangeEvent" msprop:Generator_TablePropName="stp_getLastDays" msprop:Generator_RowChangedName="stp_getLastDaysRowChanged" msprop:Generator_RowChangingName="stp_getLastDaysRowChanging" msprop:Generator_TableClassName="stp_getLastDaysDataTable" msprop:Generator_RowClassName="stp_getLastDaysRow" msprop:Generator_TableVarName="tablestp_getLastDays" msprop:Generator_UserTableName="stp_getLastDays"> <xs:element name="stp_getLastDays" msprop:Generator_RowEvHandlerName="stp_getLastDaysRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getLastDaysRowDeleted" msprop:Generator_RowDeletingName="stp_getLastDaysRowDeleting" msprop:Generator_RowEvArgName="stp_getLastDaysRowChangeEvent" msprop:Generator_TablePropName="stp_getLastDays" msprop:Generator_RowChangedName="stp_getLastDaysRowChanged" msprop:Generator_UserTableName="stp_getLastDays" msprop:Generator_RowChangingName="stp_getLastDaysRowChanging" msprop:Generator_RowClassName="stp_getLastDaysRow" msprop:Generator_TableClassName="stp_getLastDaysDataTable" msprop:Generator_TableVarName="tablestp_getLastDays">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="Data" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_UserColumnName="Data" minOccurs="0"> <xs:element name="Data" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="30" /> <xs:maxLength value="30" />
@@ -608,34 +636,34 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="stp_getMin" msprop:Generator_RowEvHandlerName="stp_getMinRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getMinRowDeleted" msprop:Generator_RowDeletingName="stp_getMinRowDeleting" msprop:Generator_RowEvArgName="stp_getMinRowChangeEvent" msprop:Generator_TablePropName="stp_getMin" msprop:Generator_RowChangedName="stp_getMinRowChanged" msprop:Generator_RowChangingName="stp_getMinRowChanging" msprop:Generator_TableClassName="stp_getMinDataTable" msprop:Generator_RowClassName="stp_getMinRow" msprop:Generator_TableVarName="tablestp_getMin" msprop:Generator_UserTableName="stp_getMin"> <xs:element name="stp_getMin" msprop:Generator_RowEvHandlerName="stp_getMinRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getMinRowDeleted" msprop:Generator_RowDeletingName="stp_getMinRowDeleting" msprop:Generator_RowEvArgName="stp_getMinRowChangeEvent" msprop:Generator_TablePropName="stp_getMin" msprop:Generator_RowChangedName="stp_getMinRowChanged" msprop:Generator_UserTableName="stp_getMin" msprop:Generator_RowChangingName="stp_getMinRowChanging" msprop:Generator_RowClassName="stp_getMinRow" msprop:Generator_TableClassName="stp_getMinDataTable" msprop:Generator_TableVarName="tablestp_getMin">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="minuto" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="minuto" msprop:Generator_ColumnPropNameInTable="minutoColumn" msprop:Generator_ColumnVarNameInTable="columnminuto" msprop:Generator_UserColumnName="minuto" type="xs:int" minOccurs="0" /> <xs:element name="minuto" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="minutoColumn" msprop:Generator_ColumnPropNameInRow="minuto" msprop:Generator_UserColumnName="minuto" msprop:Generator_ColumnVarNameInTable="columnminuto" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="stp_getHours" msprop:Generator_RowEvHandlerName="stp_getHoursRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getHoursRowDeleted" msprop:Generator_RowDeletingName="stp_getHoursRowDeleting" msprop:Generator_RowEvArgName="stp_getHoursRowChangeEvent" msprop:Generator_TablePropName="stp_getHours" msprop:Generator_RowChangedName="stp_getHoursRowChanged" msprop:Generator_RowChangingName="stp_getHoursRowChanging" msprop:Generator_TableClassName="stp_getHoursDataTable" msprop:Generator_RowClassName="stp_getHoursRow" msprop:Generator_TableVarName="tablestp_getHours" msprop:Generator_UserTableName="stp_getHours"> <xs:element name="stp_getHours" msprop:Generator_RowEvHandlerName="stp_getHoursRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getHoursRowDeleted" msprop:Generator_RowDeletingName="stp_getHoursRowDeleting" msprop:Generator_RowEvArgName="stp_getHoursRowChangeEvent" msprop:Generator_TablePropName="stp_getHours" msprop:Generator_RowChangedName="stp_getHoursRowChanged" msprop:Generator_UserTableName="stp_getHours" msprop:Generator_RowChangingName="stp_getHoursRowChanging" msprop:Generator_RowClassName="stp_getHoursRow" msprop:Generator_TableClassName="stp_getHoursDataTable" msprop:Generator_TableVarName="tablestp_getHours">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="ora" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="ora" msprop:Generator_ColumnPropNameInTable="oraColumn" msprop:Generator_ColumnVarNameInTable="columnora" msprop:Generator_UserColumnName="ora" type="xs:int" minOccurs="0" /> <xs:element name="ora" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="oraColumn" msprop:Generator_ColumnPropNameInRow="ora" msprop:Generator_UserColumnName="ora" msprop:Generator_ColumnVarNameInTable="columnora" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selProgetti" msprop:Generator_RowClassName="v_selProgettiRow" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_TableVarName="tablev_selProgetti"> <xs:element name="v_selProgetti" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_RowClassName="v_selProgettiRow" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_TableVarName="tablev_selProgetti">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" /> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="303" /> <xs:maxLength value="303" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:int" /> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:int" />
<xs:element name="Attivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" /> <xs:element name="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_UserColumnName="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" type="xs:boolean" />
<xs:element name="gruppo" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_ColumnVarNameInTable="columngruppo" msprop:Generator_UserColumnName="gruppo"> <xs:element name="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_UserColumnName="gruppo" msprop:Generator_ColumnVarNameInTable="columngruppo">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
@@ -645,59 +673,59 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selFasi" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_TableVarName="tablev_selFasi"> <xs:element name="v_selFasi" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" /> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:int" minOccurs="0" /> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selClienti" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_RowClassName="v_selClientiRow" msprop:Generator_TableVarName="tablev_selClienti" msprop:Generator_UserTableName="v_selClienti"> <xs:element name="v_selClienti" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_UserTableName="v_selClienti" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_RowClassName="v_selClientiRow" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_TableVarName="tablev_selClienti">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" /> <xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:boolean" minOccurs="0" /> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:boolean" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="stp_statsProj" msprop:Generator_RowClassName="stp_statsProjRow" msprop:Generator_RowEvHandlerName="stp_statsProjRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statsProjRowDeleted" msprop:Generator_RowDeletingName="stp_statsProjRowDeleting" msprop:Generator_RowEvArgName="stp_statsProjRowChangeEvent" msprop:Generator_TablePropName="stp_statsProj" msprop:Generator_RowChangedName="stp_statsProjRowChanged" msprop:Generator_RowChangingName="stp_statsProjRowChanging" msprop:Generator_TableClassName="stp_statsProjDataTable" msprop:Generator_UserTableName="stp_statsProj" msprop:Generator_TableVarName="tablestp_statsProj"> <xs:element name="stp_statsProj" msprop:Generator_RowEvHandlerName="stp_statsProjRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statsProjRowDeleted" msprop:Generator_RowDeletingName="stp_statsProjRowDeleting" msprop:Generator_RowEvArgName="stp_statsProjRowChangeEvent" msprop:Generator_TablePropName="stp_statsProj" msprop:Generator_RowChangedName="stp_statsProjRowChanged" msprop:Generator_UserTableName="stp_statsProj" msprop:Generator_RowChangingName="stp_statsProjRowChanging" msprop:Generator_RowClassName="stp_statsProjRow" msprop:Generator_TableClassName="stp_statsProjDataTable" msprop:Generator_TableVarName="tablestp_statsProj">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="oreBudget" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="oreBudget" msprop:Generator_ColumnPropNameInTable="oreBudgetColumn" msprop:Generator_ColumnVarNameInTable="columnoreBudget" msprop:Generator_UserColumnName="oreBudget" type="xs:decimal" minOccurs="0" /> <xs:element name="oreBudget" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="oreBudgetColumn" msprop:Generator_ColumnPropNameInRow="oreBudget" msprop:Generator_UserColumnName="oreBudget" msprop:Generator_ColumnVarNameInTable="columnoreBudget" type="xs:decimal" minOccurs="0" />
<xs:element name="oreTot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="oreTot" msprop:Generator_ColumnPropNameInTable="oreTotColumn" msprop:Generator_ColumnVarNameInTable="columnoreTot" msprop:Generator_UserColumnName="oreTot" type="xs:decimal" minOccurs="0" /> <xs:element name="oreTot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="oreTotColumn" msprop:Generator_ColumnPropNameInRow="oreTot" msprop:Generator_UserColumnName="oreTot" msprop:Generator_ColumnVarNameInTable="columnoreTot" type="xs:decimal" minOccurs="0" />
<xs:element name="oreMese" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="oreMese" msprop:Generator_ColumnPropNameInTable="oreMeseColumn" msprop:Generator_ColumnVarNameInTable="columnoreMese" msprop:Generator_UserColumnName="oreMese" type="xs:decimal" minOccurs="0" /> <xs:element name="oreMese" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="oreMeseColumn" msprop:Generator_ColumnPropNameInRow="oreMese" msprop:Generator_UserColumnName="oreMese" msprop:Generator_ColumnVarNameInTable="columnoreMese" type="xs:decimal" minOccurs="0" />
<xs:element name="oreMesePrec" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="oreMesePrec" msprop:Generator_ColumnPropNameInTable="oreMesePrecColumn" msprop:Generator_ColumnVarNameInTable="columnoreMesePrec" msprop:Generator_UserColumnName="oreMesePrec" type="xs:decimal" minOccurs="0" /> <xs:element name="oreMesePrec" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="oreMesePrecColumn" msprop:Generator_ColumnPropNameInRow="oreMesePrec" msprop:Generator_UserColumnName="oreMesePrec" msprop:Generator_ColumnVarNameInTable="columnoreMesePrec" type="xs:decimal" minOccurs="0" />
<xs:element name="Attivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" /> <xs:element name="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_UserColumnName="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" type="xs:boolean" />
<xs:element name="starred" msprop:Generator_ColumnPropNameInRow="starred" msprop:Generator_ColumnPropNameInTable="starredColumn" msprop:Generator_ColumnVarNameInTable="columnstarred" msprop:Generator_UserColumnName="starred" type="xs:boolean" /> <xs:element name="starred" msprop:Generator_ColumnPropNameInTable="starredColumn" msprop:Generator_ColumnPropNameInRow="starred" msprop:Generator_UserColumnName="starred" msprop:Generator_ColumnVarNameInTable="columnstarred" type="xs:boolean" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selCodGiust" msprop:Generator_RowEvHandlerName="v_selCodGiustRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCodGiustRowDeleted" msprop:Generator_RowDeletingName="v_selCodGiustRowDeleting" msprop:Generator_RowEvArgName="v_selCodGiustRowChangeEvent" msprop:Generator_TablePropName="v_selCodGiust" msprop:Generator_RowChangedName="v_selCodGiustRowChanged" msprop:Generator_RowChangingName="v_selCodGiustRowChanging" msprop:Generator_TableClassName="v_selCodGiustDataTable" msprop:Generator_RowClassName="v_selCodGiustRow" msprop:Generator_TableVarName="tablev_selCodGiust" msprop:Generator_UserTableName="v_selCodGiust"> <xs:element name="v_selCodGiust" msprop:Generator_RowEvHandlerName="v_selCodGiustRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCodGiustRowDeleted" msprop:Generator_RowDeletingName="v_selCodGiustRowDeleting" msprop:Generator_RowEvArgName="v_selCodGiustRowChangeEvent" msprop:Generator_TablePropName="v_selCodGiust" msprop:Generator_RowChangedName="v_selCodGiustRowChanged" msprop:Generator_UserTableName="v_selCodGiust" msprop:Generator_RowChangingName="v_selCodGiustRowChanging" msprop:Generator_RowClassName="v_selCodGiustRow" msprop:Generator_TableClassName="v_selCodGiustDataTable" msprop:Generator_TableVarName="tablev_selCodGiust">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value"> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="5" /> <xs:maxLength value="5" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
@@ -707,49 +735,49 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="nextValContatore" msprop:Generator_RowClassName="nextValContatoreRow" msprop:Generator_RowEvHandlerName="nextValContatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="nextValContatoreRowDeleted" msprop:Generator_RowDeletingName="nextValContatoreRowDeleting" msprop:Generator_RowEvArgName="nextValContatoreRowChangeEvent" msprop:Generator_TablePropName="nextValContatore" msprop:Generator_RowChangedName="nextValContatoreRowChanged" msprop:Generator_RowChangingName="nextValContatoreRowChanging" msprop:Generator_TableClassName="nextValContatoreDataTable" msprop:Generator_UserTableName="nextValContatore" msprop:Generator_TableVarName="tablenextValContatore"> <xs:element name="nextValContatore" msprop:Generator_RowEvHandlerName="nextValContatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="nextValContatoreRowDeleted" msprop:Generator_RowDeletingName="nextValContatoreRowDeleting" msprop:Generator_RowEvArgName="nextValContatoreRowChangeEvent" msprop:Generator_TablePropName="nextValContatore" msprop:Generator_RowChangedName="nextValContatoreRowChanged" msprop:Generator_UserTableName="nextValContatore" msprop:Generator_RowChangingName="nextValContatoreRowChanging" msprop:Generator_RowClassName="nextValContatoreRow" msprop:Generator_TableClassName="nextValContatoreDataTable" msprop:Generator_TableVarName="tablenextValContatore">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="Column1" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="Column1" msprop:Generator_ColumnPropNameInTable="Column1Column" msprop:Generator_ColumnVarNameInTable="columnColumn1" msprop:Generator_UserColumnName="Column1" type="xs:int" minOccurs="0" /> <xs:element name="Column1" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="Column1Column" msprop:Generator_ColumnPropNameInRow="Column1" msprop:Generator_UserColumnName="Column1" msprop:Generator_ColumnVarNameInTable="columnColumn1" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selFasiOpt" msprop:Generator_RowEvHandlerName="v_selFasiOptRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiOptRowDeleted" msprop:Generator_RowDeletingName="v_selFasiOptRowDeleting" msprop:Generator_RowEvArgName="v_selFasiOptRowChangeEvent" msprop:Generator_TablePropName="v_selFasiOpt" msprop:Generator_RowChangedName="v_selFasiOptRowChanged" msprop:Generator_RowChangingName="v_selFasiOptRowChanging" msprop:Generator_TableClassName="v_selFasiOptDataTable" msprop:Generator_RowClassName="v_selFasiOptRow" msprop:Generator_TableVarName="tablev_selFasiOpt" msprop:Generator_UserTableName="v_selFasiOpt"> <xs:element name="v_selFasiOpt" msprop:Generator_RowEvHandlerName="v_selFasiOptRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiOptRowDeleted" msprop:Generator_RowDeletingName="v_selFasiOptRowDeleting" msprop:Generator_RowEvArgName="v_selFasiOptRowChangeEvent" msprop:Generator_TablePropName="v_selFasiOpt" msprop:Generator_RowChangedName="v_selFasiOptRowChanged" msprop:Generator_UserTableName="v_selFasiOpt" msprop:Generator_RowChangingName="v_selFasiOptRowChanging" msprop:Generator_RowClassName="v_selFasiOptRow" msprop:Generator_TableClassName="v_selFasiOptDataTable" msprop:Generator_TableVarName="tablev_selFasiOpt">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="valueGroup" msprop:Generator_ColumnPropNameInRow="valueGroup" msprop:Generator_ColumnPropNameInTable="valueGroupColumn" msprop:Generator_ColumnVarNameInTable="columnvalueGroup" msprop:Generator_UserColumnName="valueGroup" type="xs:int" /> <xs:element name="valueGroup" msprop:Generator_ColumnPropNameInTable="valueGroupColumn" msprop:Generator_ColumnPropNameInRow="valueGroup" msprop:Generator_UserColumnName="valueGroup" msprop:Generator_ColumnVarNameInTable="columnvalueGroup" type="xs:int" />
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" /> <xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:int" minOccurs="0" /> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="AnagKeyValue" msprop:Generator_RowClassName="AnagKeyValueRow" msprop:Generator_RowEvHandlerName="AnagKeyValueRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagKeyValueRowDeleted" msprop:Generator_RowDeletingName="AnagKeyValueRowDeleting" msprop:Generator_RowEvArgName="AnagKeyValueRowChangeEvent" msprop:Generator_TablePropName="AnagKeyValue" msprop:Generator_RowChangedName="AnagKeyValueRowChanged" msprop:Generator_RowChangingName="AnagKeyValueRowChanging" msprop:Generator_TableClassName="AnagKeyValueDataTable" msprop:Generator_UserTableName="AnagKeyValue" msprop:Generator_TableVarName="tableAnagKeyValue"> <xs:element name="AnagKeyValue" msprop:Generator_RowEvHandlerName="AnagKeyValueRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagKeyValueRowDeleted" msprop:Generator_RowDeletingName="AnagKeyValueRowDeleting" msprop:Generator_RowEvArgName="AnagKeyValueRowChangeEvent" msprop:Generator_TablePropName="AnagKeyValue" msprop:Generator_RowChangedName="AnagKeyValueRowChanged" msprop:Generator_UserTableName="AnagKeyValue" msprop:Generator_RowChangingName="AnagKeyValueRowChanging" msprop:Generator_RowClassName="AnagKeyValueRow" msprop:Generator_TableClassName="AnagKeyValueDataTable" msprop:Generator_TableVarName="tableAnagKeyValue">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="nomeVar" msprop:Generator_ColumnPropNameInRow="nomeVar" msprop:Generator_ColumnPropNameInTable="nomeVarColumn" msprop:Generator_ColumnVarNameInTable="columnnomeVar" msprop:Generator_UserColumnName="nomeVar"> <xs:element name="nomeVar" msprop:Generator_ColumnPropNameInTable="nomeVarColumn" msprop:Generator_ColumnPropNameInRow="nomeVar" msprop:Generator_UserColumnName="nomeVar" msprop:Generator_ColumnVarNameInTable="columnnomeVar">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="valInt" msprop:Generator_ColumnPropNameInRow="valInt" msprop:Generator_ColumnPropNameInTable="valIntColumn" msprop:Generator_ColumnVarNameInTable="columnvalInt" msprop:Generator_UserColumnName="valInt" type="xs:int" minOccurs="0" /> <xs:element name="valInt" msprop:Generator_ColumnPropNameInTable="valIntColumn" msprop:Generator_ColumnPropNameInRow="valInt" msprop:Generator_UserColumnName="valInt" msprop:Generator_ColumnVarNameInTable="columnvalInt" type="xs:int" minOccurs="0" />
<xs:element name="valFloat" msprop:Generator_ColumnPropNameInRow="valFloat" msprop:Generator_ColumnPropNameInTable="valFloatColumn" msprop:Generator_ColumnVarNameInTable="columnvalFloat" msprop:Generator_UserColumnName="valFloat" type="xs:double" minOccurs="0" /> <xs:element name="valFloat" msprop:Generator_ColumnPropNameInTable="valFloatColumn" msprop:Generator_ColumnPropNameInRow="valFloat" msprop:Generator_UserColumnName="valFloat" msprop:Generator_ColumnVarNameInTable="columnvalFloat" type="xs:double" minOccurs="0" />
<xs:element name="valString" msprop:Generator_ColumnPropNameInRow="valString" msprop:Generator_ColumnPropNameInTable="valStringColumn" msprop:Generator_ColumnVarNameInTable="columnvalString" msprop:Generator_UserColumnName="valString" minOccurs="0"> <xs:element name="valString" msprop:Generator_ColumnPropNameInTable="valStringColumn" msprop:Generator_ColumnPropNameInRow="valString" msprop:Generator_UserColumnName="valString" msprop:Generator_ColumnVarNameInTable="columnvalString" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_UserColumnName="descrizione" minOccurs="0"> <xs:element name="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
@@ -759,17 +787,17 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selCodOrario" msprop:Generator_RowEvHandlerName="v_selCodOrarioRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCodOrarioRowDeleted" msprop:Generator_RowDeletingName="v_selCodOrarioRowDeleting" msprop:Generator_RowEvArgName="v_selCodOrarioRowChangeEvent" msprop:Generator_TablePropName="v_selCodOrario" msprop:Generator_RowChangedName="v_selCodOrarioRowChanged" msprop:Generator_RowChangingName="v_selCodOrarioRowChanging" msprop:Generator_TableClassName="v_selCodOrarioDataTable" msprop:Generator_RowClassName="v_selCodOrarioRow" msprop:Generator_TableVarName="tablev_selCodOrario" msprop:Generator_UserTableName="v_selCodOrario"> <xs:element name="v_selCodOrario" msprop:Generator_RowEvHandlerName="v_selCodOrarioRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCodOrarioRowDeleted" msprop:Generator_RowDeletingName="v_selCodOrarioRowDeleting" msprop:Generator_RowEvArgName="v_selCodOrarioRowChangeEvent" msprop:Generator_TablePropName="v_selCodOrario" msprop:Generator_RowChangedName="v_selCodOrarioRowChanged" msprop:Generator_UserTableName="v_selCodOrario" msprop:Generator_RowChangingName="v_selCodOrarioRowChanging" msprop:Generator_RowClassName="v_selCodOrarioRow" msprop:Generator_TableClassName="v_selCodOrarioDataTable" msprop:Generator_TableVarName="tablev_selCodOrario">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value"> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
@@ -779,86 +807,86 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selPageSize" msprop:Generator_RowEvHandlerName="v_selPageSizeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPageSizeRowDeleted" msprop:Generator_RowDeletingName="v_selPageSizeRowDeleting" msprop:Generator_RowEvArgName="v_selPageSizeRowChangeEvent" msprop:Generator_TablePropName="v_selPageSize" msprop:Generator_RowChangedName="v_selPageSizeRowChanged" msprop:Generator_RowChangingName="v_selPageSizeRowChanging" msprop:Generator_TableClassName="v_selPageSizeDataTable" msprop:Generator_RowClassName="v_selPageSizeRow" msprop:Generator_TableVarName="tablev_selPageSize" msprop:Generator_UserTableName="v_selPageSize"> <xs:element name="v_selPageSize" msprop:Generator_RowEvHandlerName="v_selPageSizeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPageSizeRowDeleted" msprop:Generator_RowDeletingName="v_selPageSizeRowDeleting" msprop:Generator_RowEvArgName="v_selPageSizeRowChangeEvent" msprop:Generator_TablePropName="v_selPageSize" msprop:Generator_RowChangedName="v_selPageSizeRowChanged" msprop:Generator_UserTableName="v_selPageSize" msprop:Generator_RowChangingName="v_selPageSizeRowChanging" msprop:Generator_RowClassName="v_selPageSizeRow" msprop:Generator_TableClassName="v_selPageSizeDataTable" msprop:Generator_TableVarName="tablev_selPageSize">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value"> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ordinal" msprop:Generator_ColumnPropNameInRow="ordinal" msprop:Generator_ColumnPropNameInTable="ordinalColumn" msprop:Generator_ColumnVarNameInTable="columnordinal" msprop:Generator_UserColumnName="ordinal" type="xs:int" minOccurs="0" /> <xs:element name="ordinal" msprop:Generator_ColumnPropNameInTable="ordinalColumn" msprop:Generator_ColumnPropNameInRow="ordinal" msprop:Generator_UserColumnName="ordinal" msprop:Generator_ColumnVarNameInTable="columnordinal" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="stp_VSProjFasi_search" msprop:Generator_RowEvHandlerName="stp_VSProjFasi_searchRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_VSProjFasi_searchRowDeleted" msprop:Generator_RowDeletingName="stp_VSProjFasi_searchRowDeleting" msprop:Generator_RowEvArgName="stp_VSProjFasi_searchRowChangeEvent" msprop:Generator_TablePropName="stp_VSProjFasi_search" msprop:Generator_RowChangedName="stp_VSProjFasi_searchRowChanged" msprop:Generator_RowChangingName="stp_VSProjFasi_searchRowChanging" msprop:Generator_TableClassName="stp_VSProjFasi_searchDataTable" msprop:Generator_RowClassName="stp_VSProjFasi_searchRow" msprop:Generator_TableVarName="tablestp_VSProjFasi_search" msprop:Generator_UserTableName="stp_VSProjFasi_search"> <xs:element name="stp_VSProjFasi_search" msprop:Generator_RowEvHandlerName="stp_VSProjFasi_searchRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_VSProjFasi_searchRowDeleted" msprop:Generator_RowDeletingName="stp_VSProjFasi_searchRowDeleting" msprop:Generator_RowEvArgName="stp_VSProjFasi_searchRowChangeEvent" msprop:Generator_TablePropName="stp_VSProjFasi_search" msprop:Generator_RowChangedName="stp_VSProjFasi_searchRowChanged" msprop:Generator_UserTableName="stp_VSProjFasi_search" msprop:Generator_RowChangingName="stp_VSProjFasi_searchRowChanging" msprop:Generator_RowClassName="stp_VSProjFasi_searchRow" msprop:Generator_TableClassName="stp_VSProjFasi_searchDataTable" msprop:Generator_TableVarName="tablestp_VSProjFasi_search">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" /> <xs:element name="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_UserColumnName="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" type="xs:int" minOccurs="0" />
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_UserColumnName="idxFase" type="xs:int" /> <xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_UserColumnName="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" type="xs:int" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="freqProgetti" msprop:Generator_RowClassName="freqProgettiRow" msprop:Generator_RowEvHandlerName="freqProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="freqProgettiRowDeleted" msprop:Generator_RowDeletingName="freqProgettiRowDeleting" msprop:Generator_RowEvArgName="freqProgettiRowChangeEvent" msprop:Generator_TablePropName="freqProgetti" msprop:Generator_RowChangedName="freqProgettiRowChanged" msprop:Generator_RowChangingName="freqProgettiRowChanging" msprop:Generator_TableClassName="freqProgettiDataTable" msprop:Generator_UserTableName="freqProgetti" msprop:Generator_TableVarName="tablefreqProgetti"> <xs:element name="freqProgetti" msprop:Generator_RowEvHandlerName="freqProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="freqProgettiRowDeleted" msprop:Generator_RowDeletingName="freqProgettiRowDeleting" msprop:Generator_RowEvArgName="freqProgettiRowChangeEvent" msprop:Generator_TablePropName="freqProgetti" msprop:Generator_RowChangedName="freqProgettiRowChanged" msprop:Generator_UserTableName="freqProgetti" msprop:Generator_RowChangingName="freqProgettiRowChanging" msprop:Generator_RowClassName="freqProgettiRow" msprop:Generator_TableClassName="freqProgettiDataTable" msprop:Generator_TableVarName="tablefreqProgetti">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="nomeComm" msprop:Generator_ColumnPropNameInRow="nomeComm" msprop:Generator_ColumnPropNameInTable="nomeCommColumn" msprop:Generator_ColumnVarNameInTable="columnnomeComm" msprop:Generator_UserColumnName="nomeComm" minOccurs="0"> <xs:element name="nomeComm" msprop:Generator_ColumnPropNameInTable="nomeCommColumn" msprop:Generator_ColumnPropNameInRow="nomeComm" msprop:Generator_UserColumnName="nomeComm" msprop:Generator_ColumnVarNameInTable="columnnomeComm" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="idxFaseComm" msprop:Generator_ColumnPropNameInRow="idxFaseComm" msprop:Generator_ColumnPropNameInTable="idxFaseCommColumn" msprop:Generator_ColumnVarNameInTable="columnidxFaseComm" msprop:Generator_UserColumnName="idxFaseComm" type="xs:int" minOccurs="0" /> <xs:element name="idxFaseComm" msprop:Generator_ColumnPropNameInTable="idxFaseCommColumn" msprop:Generator_ColumnPropNameInRow="idxFaseComm" msprop:Generator_UserColumnName="idxFaseComm" msprop:Generator_ColumnVarNameInTable="columnidxFaseComm" type="xs:int" minOccurs="0" />
<xs:element name="idxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_UserColumnName="idxFase" type="xs:int" minOccurs="0" /> <xs:element name="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_UserColumnName="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" type="xs:int" minOccurs="0" />
<xs:element name="nomeProj" msprop:Generator_ColumnPropNameInRow="nomeProj" msprop:Generator_ColumnPropNameInTable="nomeProjColumn" msprop:Generator_ColumnVarNameInTable="columnnomeProj" msprop:Generator_UserColumnName="nomeProj" minOccurs="0"> <xs:element name="nomeProj" msprop:Generator_ColumnPropNameInTable="nomeProjColumn" msprop:Generator_ColumnPropNameInRow="nomeProj" msprop:Generator_UserColumnName="nomeProj" msprop:Generator_ColumnVarNameInTable="columnnomeProj" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="nomeFase" msprop:Generator_ColumnPropNameInRow="nomeFase" msprop:Generator_ColumnPropNameInTable="nomeFaseColumn" msprop:Generator_ColumnVarNameInTable="columnnomeFase" msprop:Generator_UserColumnName="nomeFase" minOccurs="0"> <xs:element name="nomeFase" msprop:Generator_ColumnPropNameInTable="nomeFaseColumn" msprop:Generator_ColumnPropNameInRow="nomeFase" msprop:Generator_UserColumnName="nomeFase" msprop:Generator_ColumnVarNameInTable="columnnomeFase" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="freq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="freq" msprop:Generator_ColumnPropNameInTable="freqColumn" msprop:Generator_ColumnVarNameInTable="columnfreq" msprop:Generator_UserColumnName="freq" type="xs:decimal" minOccurs="0" /> <xs:element name="freq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="freqColumn" msprop:Generator_ColumnPropNameInRow="freq" msprop:Generator_UserColumnName="freq" msprop:Generator_ColumnVarNameInTable="columnfreq" type="xs:decimal" minOccurs="0" />
<xs:element name="qty" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_ColumnVarNameInTable="columnqty" msprop:Generator_UserColumnName="qty" type="xs:decimal" minOccurs="0" /> <xs:element name="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_UserColumnName="qty" msprop:Generator_ColumnVarNameInTable="columnqty" type="xs:decimal" minOccurs="0" />
<xs:element name="tot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="tot" msprop:Generator_ColumnPropNameInTable="totColumn" msprop:Generator_ColumnVarNameInTable="columntot" msprop:Generator_UserColumnName="tot" type="xs:int" minOccurs="0" /> <xs:element name="tot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="totColumn" msprop:Generator_ColumnPropNameInRow="tot" msprop:Generator_UserColumnName="tot" msprop:Generator_ColumnVarNameInTable="columntot" type="xs:int" minOccurs="0" />
<xs:element name="RowNum" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_ColumnVarNameInTable="columnRowNum" msprop:Generator_UserColumnName="RowNum" type="xs:long" minOccurs="0" /> <xs:element name="RowNum" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_UserColumnName="RowNum" msprop:Generator_ColumnVarNameInTable="columnRowNum" type="xs:long" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selProjFasi" msprop:Generator_RowClassName="v_selProjFasiRow" msprop:Generator_RowEvHandlerName="v_selProjFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProjFasiRowDeleted" msprop:Generator_RowDeletingName="v_selProjFasiRowDeleting" msprop:Generator_RowEvArgName="v_selProjFasiRowChangeEvent" msprop:Generator_TablePropName="v_selProjFasi" msprop:Generator_RowChangedName="v_selProjFasiRowChanged" msprop:Generator_RowChangingName="v_selProjFasiRowChanging" msprop:Generator_TableClassName="v_selProjFasiDataTable" msprop:Generator_UserTableName="v_selProjFasi" msprop:Generator_TableVarName="tablev_selProjFasi"> <xs:element name="v_selProjFasi" msprop:Generator_RowEvHandlerName="v_selProjFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProjFasiRowDeleted" msprop:Generator_RowDeletingName="v_selProjFasiRowDeleting" msprop:Generator_RowEvArgName="v_selProjFasiRowChangeEvent" msprop:Generator_TablePropName="v_selProjFasi" msprop:Generator_RowChangedName="v_selProjFasiRowChanged" msprop:Generator_UserTableName="v_selProjFasi" msprop:Generator_RowChangingName="v_selProjFasiRowChanging" msprop:Generator_RowClassName="v_selProjFasiRow" msprop:Generator_TableClassName="v_selProjFasiDataTable" msprop:Generator_TableVarName="tablev_selProjFasi">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" minOccurs="0"> <xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="101" /> <xs:maxLength value="101" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="1315" /> <xs:maxLength value="1315" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ordine" msprop:Generator_ColumnPropNameInRow="ordine" msprop:Generator_ColumnPropNameInTable="ordineColumn" msprop:Generator_ColumnVarNameInTable="columnordine" msprop:Generator_UserColumnName="ordine"> <xs:element name="ordine" msprop:Generator_ColumnPropNameInTable="ordineColumn" msprop:Generator_ColumnPropNameInRow="ordine" msprop:Generator_UserColumnName="ordine" msprop:Generator_ColumnVarNameInTable="columnordine">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
@@ -868,17 +896,17 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selListVal" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_UserTableName="v_selListVal"> <xs:element name="v_selListVal" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" minOccurs="0"> <xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="112" /> <xs:maxLength value="112" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
@@ -888,24 +916,24 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selGruppi" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_RowClassName="v_selGruppiRow" msprop:Generator_TableVarName="tablev_selGruppi" msprop:Generator_UserTableName="v_selGruppi"> <xs:element name="v_selGruppi" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_UserTableName="v_selGruppi" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_RowClassName="v_selGruppiRow" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_TableVarName="tablev_selGruppi">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0"> <xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value"> <xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" minOccurs="0"> <xs:element name="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="4" /> <xs:maxLength value="4" />
@@ -915,6 +943,26 @@ ORDER BY ordinal</CommandText>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="v_selTagFasi" msprop:Generator_RowEvHandlerName="v_selTagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTagFasiRowDeleted" msprop:Generator_RowDeletingName="v_selTagFasiRowDeleting" msprop:Generator_RowEvArgName="v_selTagFasiRowChangeEvent" msprop:Generator_TablePropName="v_selTagFasi" msprop:Generator_RowChangedName="v_selTagFasiRowChanged" msprop:Generator_UserTableName="v_selTagFasi" msprop:Generator_RowChangingName="v_selTagFasiRowChanging" msprop:Generator_RowClassName="v_selTagFasiRow" msprop:Generator_TableClassName="v_selTagFasiDataTable" msprop:Generator_TableVarName="tablev_selTagFasi">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice> </xs:choice>
</xs:complexType> </xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true"> <xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -957,5 +1005,9 @@ ORDER BY ordinal</CommandText>
<xs:selector xpath=".//mstns:v_selGruppi" /> <xs:selector xpath=".//mstns:v_selGruppi" />
<xs:field xpath="mstns:value" /> <xs:field xpath="mstns:value" />
</xs:unique> </xs:unique>
<xs:unique name="v_selTagFasi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selTagFasi" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element> </xs:element>
</xs:schema> </xs:schema>
+21 -20
View File
@@ -4,27 +4,28 @@
Changes to this file may cause incorrect behavior and will be lost if Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated. the code is regenerated.
</autogenerated>--> </autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="60" ViewPortY="16" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-3" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes> <Shapes>
<Shape ID="DesignTable:v_selDipendenti" ZOrder="1" X="410" Y="489" Height="191" Width="298" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selDipendenti" ZOrder="2" X="356" Y="455" Height="210" Width="298" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:stp_getLastDays" ZOrder="19" X="797" Y="760" Height="97" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" /> <Shape ID="DesignTable:stp_getLastDays" ZOrder="20" X="797" Y="758" Height="97" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:stp_getMin" ZOrder="5" X="1061" Y="715" Height="97" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" /> <Shape ID="DesignTable:stp_getMin" ZOrder="6" X="1061" Y="713" Height="97" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:stp_getHours" ZOrder="18" X="1063" Y="285" Height="97" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" /> <Shape ID="DesignTable:stp_getHours" ZOrder="19" X="1063" Y="283" Height="97" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:v_selProgetti" ZOrder="2" X="504" Y="940" Height="228" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:v_selProgetti" ZOrder="3" X="504" Y="940" Height="229" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selFasi" ZOrder="13" X="755" Y="531" Height="153" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selFasi" ZOrder="14" X="755" Y="531" Height="153" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selClienti" ZOrder="17" X="662" Y="342" Height="153" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selClienti" ZOrder="18" X="662" Y="342" Height="153" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:stp_statsProj" ZOrder="16" X="286" Y="721" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:stp_statsProj" ZOrder="17" X="286" Y="721" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:v_selCodGiust" ZOrder="15" X="1021" Y="481" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:v_selCodGiust" ZOrder="16" X="1021" Y="481" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:nextValContatore" ZOrder="14" X="562" Y="130" Height="97" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" /> <Shape ID="DesignTable:nextValContatore" ZOrder="15" X="562" Y="128" Height="97" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:v_selFasiOpt" ZOrder="10" X="814" Y="972" Height="153" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:v_selFasiOpt" ZOrder="11" X="814" Y="972" Height="153" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagKeyValue" ZOrder="6" X="198" Y="992" Height="191" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:AnagKeyValue" ZOrder="7" X="198" Y="992" Height="191" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selCodOrario" ZOrder="12" X="86" Y="668" Height="115" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:v_selCodOrario" ZOrder="13" X="86" Y="668" Height="115" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selPageSize" ZOrder="11" X="115" Y="449" Height="134" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selPageSize" ZOrder="12" X="115" Y="449" Height="134" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:stp_VSProjFasi_search" ZOrder="9" X="522" Y="723" Height="115" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:stp_VSProjFasi_search" ZOrder="10" X="522" Y="723" Height="115" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:freqProgetti" ZOrder="8" X="303" Y="117" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> <Shape ID="DesignTable:freqProgetti" ZOrder="9" X="303" Y="117" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selProjFasi" ZOrder="7" X="782" Y="137" Height="134" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selProjFasi" ZOrder="8" X="782" Y="137" Height="134" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selListVal" ZOrder="4" X="1041" Y="93" Height="134" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:v_selListVal" ZOrder="5" X="1041" Y="93" Height="134" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selGruppi" ZOrder="3" X="1112" Y="938" Height="153" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:v_selGruppi" ZOrder="4" X="1112" Y="938" Height="153" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selTagFasi" ZOrder="1" X="61" Y="200" Height="115" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes> </Shapes>
<Connectors /> <Connectors />
</DiagramLayout> </DiagramLayout>
+3
View File
@@ -27,6 +27,7 @@ namespace GPW_data
public static DataProxy DP = new DataProxy(); public static DataProxy DP = new DataProxy();
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF; public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
public DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter taATF;
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV; public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev; public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli; public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
@@ -192,6 +193,7 @@ namespace GPW_data
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter(); taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter(); taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter(); taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
taATF = new DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter();
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter(); taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter(); taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter(); taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
@@ -233,6 +235,7 @@ namespace GPW_data
taDip2Ruoli.Connection.ConnectionString = connGPW; taDip2Ruoli.Connection.ConnectionString = connGPW;
taAP.Connection.ConnectionString = connGPW; taAP.Connection.ConnectionString = connGPW;
taAF.Connection.ConnectionString = connGPW; taAF.Connection.ConnectionString = connGPW;
taATF.Connection.ConnectionString = connGPW;
taLCU.Connection.ConnectionString = connGPW; taLCU.Connection.ConnectionString = connGPW;
taRA.Connection.ConnectionString = connGPW; taRA.Connection.ConnectionString = connGPW;
taRAExpl.Connection.ConnectionString = connGPW; taRAExpl.Connection.ConnectionString = connGPW;
+9 -9
View File
@@ -12,7 +12,7 @@ namespace GPW_data.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -26,22 +26,22 @@ namespace GPW_data.Properties {
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=" + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User I" +
"True;User ID=sa;Password=keyhammer")] "D=sa;Password=keyhammer16;TrustServerCertificate=True")]
public string ETS_GPWConnectionString { public string GPWConnectionString {
get { get {
return ((string)(this["ETS_GPWConnectionString"])); return ((string)(this["GPWConnectionString"]));
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Pa" + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=" +
"ssword=keyhammer")] "True;User ID=sa;Password=keyhammer;TrustServerCertificate=True")]
public string GPWConnectionString { public string ETS_GPWConnectionString {
get { get {
return ((string)(this["GPWConnectionString"])); return ((string)(this["ETS_GPWConnectionString"]));
} }
} }
} }
+11 -11
View File
@@ -2,21 +2,21 @@
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="GPW_data.Properties" GeneratedClassName="Settings"> <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="GPW_data.Properties" GeneratedClassName="Settings">
<Profiles /> <Profiles />
<Settings> <Settings>
<Setting Name="ETS_GPWConnectionString" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</Value>
</Setting>
<Setting Name="GPWConnectionString" Type="(Connection string)" Scope="Application"> <Setting Name="GPWConnectionString" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt; <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; &lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;ConnectionString&gt;Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer&lt;/ConnectionString&gt; &lt;ConnectionString&gt;Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt; &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue> &lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</Value> <Value Profile="(Default)">Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;TrustServerCertificate=True</Value>
</Setting>
<Setting Name="ETS_GPWConnectionString" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;ConnectionString&gt;Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer;TrustServerCertificate=True&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer;TrustServerCertificate=True</Value>
</Setting> </Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>
+1 -1
View File
@@ -589,7 +589,7 @@ namespace GPW_data
} }
// confronto payload calc con quello della licenza // confronto payload calc con quello della licenza
var currInfo = InfoApplicativo; var currInfo = InfoApplicativo;
answ = (InfoApplicativo.Payload == currPayload); answ = (currInfo.Payload == currPayload);
// se fallisce --> resetto payload calcolato // se fallisce --> resetto payload calcolato
if (!answ) if (!answ)
{ {
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings> <connectionStrings>
<add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.loggerConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_SC;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaBremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=AnagraficaBrembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_BremboConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Brembo;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Flamma_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Flamma_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
</configuration> </configuration>
+14 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- <!--
In the example below, the "SetAttributes" transform will change the value of In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB". finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,13 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings> </connectionStrings>
--> -->
<system.web> <appSettings>
<compilation xdt:Transform="RemoveAttributes(debug)" /> <add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!-- <add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file. <customErrors> section of your web.config file.
Note that because there is only one customErrors section under the Note that because there is only one customErrors section under the
@@ -27,5 +31,10 @@
<error statusCode="500" redirect="InternalError.htm"/> <error statusCode="500" redirect="InternalError.htm"/>
</customErrors> </customErrors>
--> -->
</system.web> <sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration> </configuration>
+228 -228
View File
@@ -4,15 +4,15 @@
http://go.microsoft.com/fwlink/?LinkId=169433 http://go.microsoft.com/fwlink/?LinkId=169433
--> -->
<configuration> <configuration>
<configSections> <configSections>
<sectionGroup name="elmah"> <sectionGroup name="elmah">
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" /> <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" /> <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" /> <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" /> <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
</sectionGroup> </sectionGroup>
</configSections> </configSections>
<!-- <!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367. For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag. The following attributes can be set on the <httpRuntime> tag.
@@ -20,228 +20,228 @@
<httpRuntime targetFramework="4.8" /> <httpRuntime targetFramework="4.8" />
</system.Web> </system.Web>
--> -->
<system.web>
<compilation targetFramework="4.8" />
<httpRuntime targetFramework="4.6.2" />
<pages>
<namespaces>
<add namespace="System.Web.Optimization" />
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
<!--<customErrors mode="Off" />-->
<customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPage" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<sessionState>
<providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="GPW_SMART" databaseId="1" />
</providers>
</sessionState>
</system.web>
<appSettings>
<!--Redis conn-->
<add key="RedisConn" value="localhost,abortConnect=false,ssl=false" />
<add key="RedisConnAdmin" value="localhost,abortConnect=false,ssl=false" />
<add key="redisDb" value="1" />
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="errorPageRedirect" value="./Reset?Action=CDV" />
<add key="shotTimeCache" value="300" />
<!--Conf generale-->
<add key="appName" value="GPW" />
<add key="titleApp" value="GPW" />
<add key="welcomeApp" value="GPW_welcome" />
<add key="SiteName" value="Steamware" />
<!--<add key="mainRev" value="1.8" />
<add key="minRev" value="375" />-->
<add key="copyRight" value="SteamWare" />
<add key="CodModulo" value="GPW" />
<add key="_safePages" value="unauthorized.aspx#forceUser.aspx#login#login.aspx#test.aspx#Test.aspx" />
<!--Gestione forzatura priam timbratura ad entrata-->
<add key="firstIsIN" value="true" />
<add key="ttlAbilitaAll" value="10" />
<!--Gestione notifiche anomalie-->
<add key="adminAnomalieEmail" value="samuele@steamware.net" />
<add key="adminContinuatoEmail" value="samuele@steamware.net" />
<add key="adminOreLavEmail" value="samuele@steamware.net" />
<add key="gg2Chk" value="60" />
<add key="gg2ChkCont" value="30" />
<add key="gg2ChkOreCaricate" value="30" />
<add key="checkAnomTimb" value="true" />
<add key="checkAnomAppr" value="true" />
<add key="checkAnomOreLav" value="true" />
<add key="checkAnomOreLavComm" value="true" />
<add key="checkAnomContinuato" value="true" />
<add key="sendEmailToUser" value="true" />
<add key="firstHour2Check" value="6" />
<add key="enableDailyCheck" value="true" />
<!--Timeout vari-->
<add key="intUpdatePagina_ms" value="120000" />
<add key="intUpdateFooter_ms" value="1000" />
<add key="maxRefreshToReload" value="30" />
<!--ricerca autocomplete-->
<add key="maxNumSuggest" value="30" />
<!--Logging-->
<add key="_logDir" value="~/logs/" />
<add key="doShrinkFolder" value="true" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<!--Definizione default x registrazione commesse-->
<add key="defRegAttMin" value="60" />
<add key="maxErr" value="30" />
<add key="maxErrMin" value="-30" />
<add key="maxErrPlus" value="91" />
<!--default visualizzazione timbrature-->
<add key="reviewShowCN" value="true" />
<add key="reviewShowOreMin" value="false" />
<add key="reviewShowStraord" value="true" />
<!--gestione warning x calcolo real/budget-->
<add key="warningRatioPerc" value="80" />
<!--Definizione URL e rete locale-->
<add key="localNet" value="10.74" />
<add key="dhcpLeaseTime" value="15" />
<!--Conf x grafici a barre-->
<add key="maxBarplotLargh" value="1000" />
<!--Conf attivazione funzionalità opzionali-->
<add key="barcodeAutoApprove" value="true" />
<add key="regAttEnabled" value="true" />
<!--Gestione selettore periodo-->
<add key="defDayFrom" value="-30" />
<add key="mostraSelOra" value="false" />
<!--Timbratrice x Zucchetti-->
<add key="codTimbra" value="90" />
<!--Gestione email-->
<add key="_fromEmail" value="steamwarebot@outlook.it" />
<add key="_smtpCli" value="smtp-mail.outlook.com" />
<add key="_emailUser" value="steamwarebot@outlook.it" />
<add key="_emailPwd" value="siamoInViaNazionale93" />
<add key="_enableSSL" value="true" />
<!--gestione tac cloud-->
<add key="TagCloudMode" value="elenco" />
<!--Gestione auth dispositivi mobile-->
<add key="authKey" value="keyhammer" />
<add key="baseUrl" value="http://10.74.82.219/GPW/SMART/" />
<add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/SMART/" />
<!--Gestione SSRS-->
<add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" />
<!--Conf DB-->
<add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
</appSettings>
<connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<staticContent>
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<modules>
<remove name="Session" />
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
</modules>
</system.webServer>
<elmah>
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ErrorLog" />
<security allowRemoteAccess="false" />
</elmah>
<location path="elmah.axd" inheritInChildApplications="false">
<system.web> <system.web>
<httpHandlers> <compilation targetFramework="4.8" />
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /> <httpRuntime targetFramework="4.6.2" />
</httpHandlers> <pages>
<namespaces>
<add namespace="System.Web.Optimization" />
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
<!--<customErrors mode="Off" />-->
<customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPage" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<sessionState>
<providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" connectionString="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" applicationName="GPW_SMART" />
</providers>
</sessionState>
</system.web> </system.web>
<appSettings>
<!--Redis conn-->
<add key="RedisConn" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" />
<add key="RedisConnAdmin" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, allowAdmin=true" />
<add key="redisDb" value="1" />
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="errorPageRedirect" value="./Reset?Action=CDV" />
<add key="shotTimeCache" value="300" />
<!--Conf generale-->
<add key="appName" value="GPW" />
<add key="titleApp" value="GPW" />
<add key="welcomeApp" value="GPW_welcome" />
<add key="SiteName" value="Steamware" />
<!--<add key="mainRev" value="1.8" />
<add key="minRev" value="375" />-->
<add key="copyRight" value="SteamWare" />
<add key="CodModulo" value="GPW" />
<add key="_safePages" value="unauthorized.aspx#forceUser.aspx#login#login.aspx#test.aspx#Test.aspx" />
<!--Gestione forzatura priam timbratura ad entrata-->
<add key="firstIsIN" value="true" />
<add key="ttlAbilitaAll" value="10" />
<!--Gestione notifiche anomalie-->
<add key="adminAnomalieEmail" value="samuele@steamware.net" />
<add key="adminContinuatoEmail" value="samuele@steamware.net" />
<add key="adminOreLavEmail" value="samuele@steamware.net" />
<add key="gg2Chk" value="60" />
<add key="gg2ChkCont" value="30" />
<add key="gg2ChkOreCaricate" value="30" />
<add key="checkAnomTimb" value="true" />
<add key="checkAnomAppr" value="true" />
<add key="checkAnomOreLav" value="true" />
<add key="checkAnomOreLavComm" value="true" />
<add key="checkAnomContinuato" value="true" />
<add key="sendEmailToUser" value="true" />
<add key="firstHour2Check" value="6" />
<add key="enableDailyCheck" value="true" />
<!--Timeout vari-->
<add key="intUpdatePagina_ms" value="120000" />
<add key="intUpdateFooter_ms" value="1000" />
<add key="maxRefreshToReload" value="30" />
<!--ricerca autocomplete-->
<add key="maxNumSuggest" value="30" />
<!--Logging-->
<add key="_logDir" value="~/logs/" />
<add key="doShrinkFolder" value="true" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<!--Definizione default x registrazione commesse-->
<add key="defRegAttMin" value="60" />
<add key="maxErr" value="30" />
<add key="maxErrMin" value="-30" />
<add key="maxErrPlus" value="91" />
<!--default visualizzazione timbrature-->
<add key="reviewShowCN" value="true" />
<add key="reviewShowOreMin" value="false" />
<add key="reviewShowStraord" value="true" />
<!--gestione warning x calcolo real/budget-->
<add key="warningRatioPerc" value="80" />
<!--Definizione URL e rete locale-->
<add key="localNet" value="10.74" />
<add key="dhcpLeaseTime" value="15" />
<!--Conf x grafici a barre-->
<add key="maxBarplotLargh" value="1000" />
<!--Conf attivazione funzionalità opzionali-->
<add key="barcodeAutoApprove" value="true" />
<add key="regAttEnabled" value="true" />
<!--Gestione selettore periodo-->
<add key="defDayFrom" value="-30" />
<add key="mostraSelOra" value="false" />
<!--Timbratrice x Zucchetti-->
<add key="codTimbra" value="90" />
<!--Gestione email-->
<add key="_fromEmail" value="steamwarebot@outlook.it" />
<add key="_smtpCli" value="smtp-mail.outlook.com" />
<add key="_emailUser" value="steamwarebot@outlook.it" />
<add key="_emailPwd" value="siamoInViaNazionale93" />
<add key="_enableSSL" value="true" />
<!--gestione tac cloud-->
<add key="TagCloudMode" value="elenco" />
<!--Gestione auth dispositivi mobile-->
<add key="authKey" value="keyhammer" />
<add key="baseUrl" value="http://10.74.82.219/GPW/SMART/" />
<add key="baseWebUrl" value="http://seriate.steamware.net:8083/GPW/SMART/" />
<!--Gestione SSRS-->
<add key="reportBaseUrl" value="http://W2019-SQL-STEAM/ReportServer?/Steamware/" />
<!--Conf DB-->
<add key="PermessiConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="UtenteCdcConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="VocabolarioConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW_vocabolario;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="GPWConnectionString" value="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" />
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
</appSettings>
<connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77" providerName="System.Data.SqlClient" />
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.36.0.0" newVersion="0.36.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.7.5.0" newVersion="0.7.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.9" newVersion="6.0.0.9" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer> <system.webServer>
<handlers> <validation validateIntegratedModeConfiguration="false" />
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" /> <staticContent>
</handlers> <remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<modules>
<remove name="Session" />
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
</modules>
</system.webServer> </system.webServer>
</location> <elmah>
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ErrorLog" />
<security allowRemoteAccess="false" />
</elmah>
<location path="elmah.axd" inheritInChildApplications="false">
<system.web>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
</httpHandlers>
</system.web>
<system.webServer>
<handlers>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
</handlers>
</system.webServer>
</location>
</configuration> </configuration>
<!--ProjectGuid: 4A1F29A9-D692-4E42-873E-492496368777--> <!--ProjectGuid: 4A1F29A9-D692-4E42-873E-492496368777-->
+6 -2
View File
@@ -3,8 +3,12 @@
<configSections> <configSections>
</configSections> </configSections>
<connectionStrings> <connectionStrings>
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" /> <add name="GPW_data.Properties.Settings.GPWConnectionString"
<add name="GPW_data.Properties.Settings.ETS_GPWConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" /> connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;TrustServerCertificate=True"
providerName="System.Data.SqlClient" />
<add name="GPW_data.Properties.Settings.ETS_GPWConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer;TrustServerCertificate=True"
providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
+2 -2
View File
@@ -99,8 +99,8 @@
</modules> </modules>
</system.webServer> </system.webServer>
<connectionStrings> <connectionStrings>
<add name="GPWEntities" connectionString="metadata=res://*/Models.GPWModel.csdl|res://*/Models.GPWModel.ssdl|res://*/Models.GPWModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=W2019-SQL-STEAM;initial catalog=GPW;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /> <add name="GPWEntities" connectionString="metadata=res://*/Models.GPWModel.csdl|res://*/Models.GPWModel.ssdl|res://*/Models.GPWModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=W2019-SQL-STEAM;initial catalog=GPW;persist security info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=UserGPW; Password=Us3rGpw!75x93$77;" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<entityFramework> <entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">