Compare commits

..

60 Commits

Author SHA1 Message Date
Samuele Locatelli 5f422d3cc6 tolto gestione rilettura appconf mitigata (da testare meglio...) 2021-08-11 15:26:41 +02:00
Samuele Locatelli 5292da811b Merge branch 'develop' 2021-08-10 18:52:47 +02:00
Samuele Locatelli 8ec8e76fb5 Fix versione progetto con ddHH 2021-08-10 18:52:06 +02:00
Samuele Locatelli bfcd476190 Merge tag 'fixConcurrent_resetAppConf' into develop
Gestione semaforo x evitare reset multiplo in fase di rilettura appConf
2021-08-10 18:49:58 +02:00
Samuele Locatelli eb722c6e44 Merge branch 'release/fixConcurrent_resetAppConf' 2021-08-10 18:49:40 +02:00
Samuele Locatelli 502d5ba092 Riorg classe + fix metodo reset appConfRedis con semaforo (redis) 2021-08-10 18:48:49 +02:00
Samuele Locatelli 1cb1878e8a Merge branch 'develop' 2021-07-16 18:00:45 +02:00
Samuele Locatelli a54cd875ce refresh 2021-07-16 18:00:40 +02:00
Samuele Locatelli 4ab4a9c0ae Update modalità log di base 2021-07-16 18:00:35 +02:00
Samuele Locatelli f1762a078f Refresh pacchetto x test download 2021-07-16 15:59:20 +02:00
Samuele Locatelli 8781679ce7 Merge tag '5.1' into develop
Inserito download da nexus authenticated
2021-05-27 15:47:30 +02:00
Samuele Locatelli 3c8d351438 Merge branch 'release/5.1' 2021-05-27 15:47:17 +02:00
Samuele Locatelli d980229ac0 update rel vers 2021-05-27 15:47:06 +02:00
Samuele Locatelli a53530569d Merge branch 'feature/UpdManNexus' into develop 2021-05-27 15:46:06 +02:00
Samuele Locatelli bdbc91f83a Aggiornato componente gesitone update sw 2021-05-27 15:45:54 +02:00
Samuele Locatelli ae562ec3cc inizio modifica x updMan autenticato 2021-05-27 13:23:38 +02:00
Samuele Locatelli d9e4f9fc18 ver 757 2021-04-13 16:52:26 +02:00
Samuele Locatelli c74252e31a refresh reportConf definition 2021-04-13 16:52:17 +02:00
Samuele Locatelli 8398cc2ab6 Aggiunto oggetto conf tipo template report 2021-04-13 16:18:10 +02:00
Samuele Locatelli cbb9723609 Modifica reportData: multi report su singola queue 2021-04-13 08:25:51 +02:00
Samuele E. Locatelli 072b9db5f0 Inizio integrazione BBM 2021-03-11 12:01:45 +01:00
Samuele E. Locatelli 0bc247aa83 refresh logger 2021-03-04 09:37:49 +01:00
Samuele E. Locatelli f0f22a4d54 refresh AIM + versnumb 2021-03-04 09:13:40 +01:00
Samuele E. Locatelli 57a0c1eb35 fix appconfig (maybe) 2021-03-04 09:10:37 +01:00
Samuele E. Locatelli 161328874e fix AIM mail, restored 2021-03-04 08:57:10 +01:00
Samuele E. Locatelli 09e23bd2ad eliminato riferimento mail AIM x errore compilazione master 2021-03-04 08:52:15 +01:00
Samuele E. Locatelli b6912c4be9 fix conf x compilazione master 2021-03-04 08:41:14 +01:00
Samuele E. Locatelli 68e88dbc26 Merge branch 'develop' 2021-03-04 08:31:46 +01:00
Samuele E. Locatelli 9afa4f68a9 refresh nuget vari 2021-03-04 08:31:30 +01:00
Samuele E. Locatelli 9c25f5210d Merge branch 'master' into develop 2020-12-16 11:07:14 +01:00
Samuele E. Locatelli d9d413b1bf update a 751 2020-12-16 11:06:58 +01:00
Samuele E. Locatelli 8ff762d3b6 fix calcolo getBrowserData in HwSwInfo 2020-12-16 11:06:45 +01:00
Samuele E. Locatelli b05fb2cfcd refactor metodi calcolo size screen 2020-12-16 10:31:37 +01:00
Samuele E. Locatelli 164629ce0e Merge branch 'develop' 2020-12-16 10:06:05 +01:00
Samuele E. Locatelli 21e451a61f new rel 2020-12-16 10:05:38 +01:00
Samuele E. Locatelli 6db20d2c9b updsate HwSw info x pareto browsers size 2020-12-16 10:05:27 +01:00
Samuele E. Locatelli c8c68cadcf downgrade email AIM + vers 748 2020-11-20 18:08:29 +01:00
Samuele E. Locatelli cdf7a5ab0e refresh core library a 5! 2020-11-20 18:03:56 +01:00
Samuele E. Locatelli c77982c21a refresh class AIM x email (SMTP port) 2020-11-20 17:59:25 +01:00
Samuele E. Locatelli 13d8302be1 Merge branch 'develop' 2020-11-20 17:52:40 +01:00
Samuele E. Locatelli b217591103 compiler + crypt nuget 2020-11-20 17:52:10 +01:00
Samuele E. Locatelli f44ba76f0a ancora update nuget 2020-11-20 17:50:59 +01:00
Samuele E. Locatelli c5f1e26924 new rel 2020-11-20 17:50:53 +01:00
Samuele E. Locatelli 9af9b67bc7 update nuget vari 2020-11-20 17:50:33 +01:00
Samuele E. Locatelli 1133594e1e Merge branch 'develop' 2020-11-11 11:45:46 +01:00
Samuele E. Locatelli b5ef535fcb new release 2020-11-11 11:45:41 +01:00
Samuele E. Locatelli fd26968e54 corretta dipendenza da libreria log (da completare parcellizzaizone) 2020-11-11 11:45:28 +01:00
Samuele E. Locatelli a5f6beb716 Merge branch 'develop' 2020-10-03 16:54:15 +02:00
Samuele E. Locatelli 0e3971e795 ulteriore update vers steamwarelibs 2020-10-03 16:52:32 +02:00
Samuele E. Locatelli 9e47f29e2e Merge branch 'develop' 2020-10-03 15:58:09 +02:00
Samuele E. Locatelli e71c58236e vers 744 2020-10-03 15:58:02 +02:00
Samuele E. Locatelli f637478dca Riorganizzaizone classi logger in memLayer 2020-10-03 15:57:46 +02:00
Samuele E. Locatelli d3255ad00a ancora delay x multi build parallele 2020-10-02 23:20:03 +02:00
Samuele E. Locatelli 75a2e18c04 reorg build jenkins 2020-10-02 23:18:21 +02:00
Samuele E. Locatelli 053a9a5c93 Merge branch 'develop' into master 2020-10-02 23:15:14 +02:00
Samuele E. Locatelli e7ce86abf2 Reshape logging (disruptive) --> major update!!! 2020-10-02 23:15:08 +02:00
Samuele E. Locatelli a52ae045b7 Refresh NLog 2020-10-02 23:03:41 +02:00
Samuele E. Locatelli c2ce8fb028 Cambio dipendenza progetto IO da Logger 2020-10-02 23:03:18 +02:00
Samuele E. Locatelli ebb7fc5478 conf parametri pulizia log redis da .config 2020-10-02 23:01:42 +02:00
Samuele E. Locatelli fb5b663327 start new rel 2020-10-02 23:01:28 +02:00
45 changed files with 14506 additions and 5884 deletions
Vendored
+17 -16
View File
@@ -7,12 +7,9 @@ pipeline {
steps { steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */ /* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script { script {
withEnv(['NEXT_BUILD_NUMBER=742']) { env.versionNumber = VersionNumber(versionNumberString : '5.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILD_DATE_FORMATTED, "ddHH"}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
// env.versionNumber = VersionNumber(versionNumberString : '4.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumberBeta = VersionNumber(versionNumberString : '5.1.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILD_DATE_FORMATTED, "ddHH"}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.versionNumber = VersionNumber(versionNumberString : '4.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'SteamWareLib'
env.versionNumberBeta = VersionNumber(versionNumberString : '4.9.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'SteamWareLib'
}
} }
script { script {
currentBuild.displayName = "${env.versionNumber}" currentBuild.displayName = "${env.versionNumber}"
@@ -37,24 +34,26 @@ pipeline {
script { script {
parallel ( parallel (
IO: { IO: {
sleep 3;
// Reports lib // Reports lib
bat "\"${tool 'MSBuild-15.0'}\" SteamWare.IO\\SteamWare.IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-15.0'}\" SteamWare.IO\\SteamWare.IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
}, },
LOGGER: { LOGGER: {
sleep 5;
// Reports lib // Reports lib
bat "\"${tool 'MSBuild-15.0'}\" SteamWare.Logger\\SteamWare.Logger.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-15.0'}\" SteamWare.Logger\\SteamWare.Logger.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
}, },
MAIN_LIB: { MAIN_LIB: {
// MAIN lib // MAIN lib
bat "\"${tool 'MSBuild-15.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-15.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
}, },
REPORTS: { REPORTS: {
// Reports lib // Reports lib
bat "\"${tool 'MSBuild-15.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-15.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
}, },
SCHEDULER: { SCHEDULER: {
// Reports lib // Reports lib
bat "\"${tool 'MSBuild-15.0'}\" Steamware.Scheduler\\SteamWare.Scheduler.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" bat "\"${tool 'MSBuild-15.0'}\" Steamware.Scheduler\\SteamWare.Scheduler.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
}, },
failFast: false) failFast: false)
} }
@@ -90,32 +89,34 @@ pipeline {
fixNuget("${WORKSPACE}\\SteamWare.sln") fixNuget("${WORKSPACE}\\SteamWare.sln")
parallel ( parallel (
IO: { IO: {
sleep 3;
// BUILD Logger lib! // BUILD Logger lib!
bat "\"${tool 'MSBuild-16.0'}\" SteamWare.IO\\SteamWare.IO.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" bat "\"${tool 'MSBuild-16.0'}\" SteamWare.IO\\SteamWare.IO.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
// creo package NuGet... con version in modo da fare ANCHE le beta // creo package NuGet... con version in modo da fare ANCHE le beta
bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.IO\\SteamWare.IO.csproj -properties Configuration=${env.config} -Version ${env.packVers}" bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.IO\\SteamWare.IO.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
}, },
LOGGER: { LOGGER: {
sleep 5;
// BUILD Logger lib! // BUILD Logger lib!
bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Logger\\SteamWare.Logger.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Logger\\SteamWare.Logger.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
// creo package NuGet... con version in modo da fare ANCHE le beta // creo package NuGet... con version in modo da fare ANCHE le beta
bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Logger\\SteamWare.Logger.csproj -properties Configuration=${env.config} -Version ${env.packVers}" bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Logger\\SteamWare.Logger.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
}, },
MAIN_LIB: { MAIN_LIB: {
// BUILD! // BUILD!
bat "\"${tool 'MSBuild-16.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" bat "\"${tool 'MSBuild-16.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
// creo package NuGet... con version in modo da fare ANCHE le beta // creo package NuGet... con version in modo da fare ANCHE le beta
bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWareLib\\SteamWare.csproj -properties Configuration=${env.config} -Version ${env.packVers}" bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWareLib\\SteamWare.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
}, },
REPORTS: { REPORTS: {
// BUILD Reports lib! // BUILD Reports lib!
bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
// creo package NuGet... con version in modo da fare ANCHE le beta // creo package NuGet... con version in modo da fare ANCHE le beta
bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Reports\\SteamWare.Reports.csproj -properties Configuration=${env.config} -Version ${env.packVers}" bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Reports\\SteamWare.Reports.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
}, },
SCHEDULER: { SCHEDULER: {
// BUILD Reports lib! // BUILD Reports lib!
bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Scheduler\\SteamWare.Scheduler.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Scheduler\\SteamWare.Scheduler.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
// creo package NuGet... con version in modo da fare ANCHE le beta // creo package NuGet... con version in modo da fare ANCHE le beta
bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Scheduler\\SteamWare.Scheduler.csproj -properties Configuration=${env.config} -Version ${env.packVers}" bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Scheduler\\SteamWare.Scheduler.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
}, },
@@ -1,12 +0,0 @@
---------------------------------------------------------------
------- SteamWareLib SDK -------
---------------------------------------------------------------
Libreria di utility base di SteamWare.
Le dipendenze inserite sono necessarie al funzionamento dell'SDK.
Sono inclusi a titolo di esempio vari files di conf:
* example-NLog.config
Attenzione a configurare correttamente il file NLog.xml includendo il rule per la classe, vedere ad esempio il file example-NLog.config allegato.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

+48 -37
View File
@@ -37,47 +37,44 @@
<Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath> <HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath>
</Reference> </Reference>
<Reference Include="DnsClient, Version=1.3.2.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL"> <Reference Include="DnsClient, Version=1.4.0.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
<HintPath>..\packages\DnsClient.1.3.2\lib\net45\DnsClient.dll</HintPath> <HintPath>..\packages\DnsClient.1.4.0\lib\net45\DnsClient.dll</HintPath>
</Reference> </Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=1.2.0.246, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> <Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.2.0\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath> <HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Bson, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Bson, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Bson.2.11.2\lib\net452\MongoDB.Bson.dll</HintPath> <HintPath>..\packages\MongoDB.Bson.2.12.0\lib\net452\MongoDB.Bson.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Driver, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Driver, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.2.11.2\lib\net452\MongoDB.Driver.dll</HintPath> <HintPath>..\packages\MongoDB.Driver.2.12.0\lib\net452\MongoDB.Driver.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Driver.Core, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Driver.Core, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.Core.2.11.2\lib\net452\MongoDB.Driver.Core.dll</HintPath> <HintPath>..\packages\MongoDB.Driver.Core.2.12.0\lib\net452\MongoDB.Driver.Core.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Libmongocrypt, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.LibMongocrypt, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Libmongocrypt.1.0.0\lib\net452\MongoDB.Libmongocrypt.dll</HintPath> <HintPath>..\packages\MongoDB.LibMongocrypt.1.2.0\lib\net452\MongoDB.LibMongocrypt.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"> <Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.7.4\lib\net45\NLog.dll</HintPath> <HintPath>..\packages\NLog.4.7.8\lib\net45\NLog.dll</HintPath>
</Reference> </Reference>
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL"> <Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.16\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath> <HintPath>..\packages\Pipelines.Sockets.Unofficial.2.2.0\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
</Reference> </Reference>
<Reference Include="SharpCompress, Version=0.26.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL"> <Reference Include="SharpCompress, Version=0.28.1.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
<HintPath>..\packages\SharpCompress.0.26.0\lib\net46\SharpCompress.dll</HintPath> <HintPath>..\packages\SharpCompress.0.28.1\lib\netstandard2.0\SharpCompress.dll</HintPath>
</Reference> </Reference>
<Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath> <HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath>
</Reference> </Reference>
<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.1.58\lib\net461\StackExchange.Redis.dll</HintPath> <HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="SteamWare.Logger, Version=4.9.2009.739, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SteamWare.Logger.4.9.2009.739\lib\net462\SteamWare.Logger.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
@@ -85,15 +82,16 @@
</Reference> </Reference>
<Reference Include="System.Configuration" /> <Reference Include="System.Configuration" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Diagnostics.PerformanceCounter, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Diagnostics.PerformanceCounter, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.4.7.0\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath> <HintPath>..\packages\System.Diagnostics.PerformanceCounter.5.0.1\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
</Reference>
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.5.0.1\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference> </Reference>
<!-- <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <!-- <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath> <HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
</Reference> --> </Reference> -->
<Reference Include="System.IO.Pipelines, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath> <HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
</Reference> </Reference>
@@ -106,8 +104,8 @@
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath> <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference> </Reference>
<!-- <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <!-- <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
@@ -134,8 +132,11 @@
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="System.ServiceModel" /> <Reference Include="System.ServiceModel" />
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.4.7.1\lib\net461\System.Threading.Channels.dll</HintPath> <HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Channels, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.5.0.0\lib\net461\System.Threading.Channels.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath> <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
@@ -202,6 +203,8 @@
<None Include="DS_Utility.xss"> <None Include="DS_Utility.xss">
<DependentUpon>DS_Utility.xsd</DependentUpon> <DependentUpon>DS_Utility.xsd</DependentUpon>
</None> </None>
<None Include="libmongocrypt.dylib" />
<None Include="libmongocrypt.so" />
<None Include="packages.config" /> <None Include="packages.config" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
@@ -209,20 +212,28 @@
</None> </None>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="App_Readme\README_SteamWare.txt" /> <ProjectReference Include="..\SteamWare.Logger\SteamWare.Logger.csproj">
<Content Include="App_Readme\SteamWare_demo\example-favicon.ico" /> <Project>{97a9f482-c173-4f0f-9f8f-7bb41c59cdd6}</Project>
<Name>SteamWare.Logger</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" /> <Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" /> <Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" /> <Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
<Content Include="mongocrypt.dll" />
</ItemGroup>
<ItemGroup>
<Folder Include="bin\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" /> <Import Project="..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup> <PropertyGroup>
<ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText> <ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets'))" /> <Error Condition="!Exists('..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets'))" />
<Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets'))" /> <Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets'))" />
</Target> </Target>
<Import Project="..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" /> <Import Project="..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets')" />
</Project> </Project>
+27 -59
View File
@@ -6,63 +6,31 @@
<add name="SteamWare.IO.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" /> <add name="SteamWare.IO.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.IO.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.IO.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" 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.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" /> <bindingRedirect oldVersion="0.0.0.0-0.28.1.0" newVersion="0.28.1.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" /> <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" /> <bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" /> <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</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> </assemblyBinding>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> </runtime>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> <startup>
</dependentAssembly> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
<dependentAssembly> </startup>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.26.0.0" newVersion="0.26.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="DnsClient" publicKeyToken="4574bb5573c51424" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.2.0" newVersion="1.3.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.1.1.3" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<<<<<<< HEAD
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
=======
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration> </configuration>
>>>>>>> master
Binary file not shown.
Binary file not shown.
+1678 -1588
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
+16 -16
View File
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Crc32C.NET" version="1.0.5.0" targetFramework="net462" /> <package id="Crc32C.NET" version="1.0.5.0" targetFramework="net462" />
<package id="DnsClient" version="1.3.2" targetFramework="net462" /> <package id="DnsClient" version="1.4.0" targetFramework="net462" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.1" targetFramework="net462" /> <package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net462" />
<package id="MongoDB.Bson" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Bson" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Driver" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Driver" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Driver.Core" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Driver.Core" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Libmongocrypt" version="1.0.0" targetFramework="net462" /> <package id="MongoDB.LibMongocrypt" version="1.2.0" targetFramework="net462" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" /> <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" />
<package id="NLog" version="4.7.4" targetFramework="net462" /> <package id="NLog" version="4.7.8" targetFramework="net462" />
<package id="Pipelines.Sockets.Unofficial" version="2.1.16" targetFramework="net462" /> <package id="Pipelines.Sockets.Unofficial" version="2.2.0" targetFramework="net462" />
<package id="SharpCompress" version="0.26.0" targetFramework="net462" /> <package id="SharpCompress" version="0.28.1" targetFramework="net462" />
<package id="SharpZipLib" version="1.2.0" targetFramework="net462" /> <package id="SharpZipLib" version="1.3.1" targetFramework="net462" />
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" /> <package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
<package id="StackExchange.Redis" version="2.1.58" targetFramework="net462" /> <package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
<package id="SteamWare.Logger" version="4.9.2009.739" targetFramework="net462" />
<package id="System.Buffers" version="4.5.1" targetFramework="net462" /> <package id="System.Buffers" version="4.5.1" targetFramework="net462" />
<package id="System.Diagnostics.PerformanceCounter" version="4.7.0" targetFramework="net462" /> <package id="System.Diagnostics.PerformanceCounter" version="5.0.1" targetFramework="net462" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" /> <package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
<package id="System.IO.Pipelines" version="4.7.2" targetFramework="net462" /> <package id="System.IO.Pipelines" version="5.0.1" targetFramework="net462" />
<package id="System.Memory" version="4.5.4" targetFramework="net462" /> <package id="System.Memory" version="4.5.4" targetFramework="net462" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net462" /> <package id="System.Net.Http" version="4.3.4" targetFramework="net462" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" /> <package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net462" /> <package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net462" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" /> <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net462" /> <package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net462" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net462" /> <package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" /> <package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net462" /> <package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net462" />
<package id="System.Threading.Channels" version="4.7.1" targetFramework="net462" /> <package id="System.Text.Encoding.CodePages" version="5.0.0" targetFramework="net462" />
<package id="System.Threading.Channels" version="5.0.0" targetFramework="net462" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" /> <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
</packages> </packages>
+13 -8
View File
@@ -6,14 +6,19 @@ using System.Threading.Tasks;
namespace SteamWare.Logger namespace SteamWare.Logger
{ {
public class Constants public class Constants
{
public enum ERROR_LEVEL
{ {
INFO = 1, #region Public Enums
WARNING = 2,
ERROR = 3, public enum ERROR_LEVEL
FATAL = 4 {
Info = 1,
Warning,
Error,
Exception,
Fatal
}
#endregion Public Enums
} }
}
} }
+84 -68
View File
@@ -6,92 +6,108 @@ using static SteamWare.Logger.Constants;
namespace SteamWare.Logger namespace SteamWare.Logger
{ {
/// <summary>
/// Classe helper x LOG basata su NLog
/// </summary>
public static class Logging
{
/// <summary> /// <summary>
/// S /// Classe helper x LOG basata su NLog
/// </summary> /// </summary>
public static NLog.Logger Instance { get; private set; } public static class Logging
static Logging()
{ {
#if DEBUG #region Private Fields
// Setup the logging view for Sentinel - http://sentinel.codeplex.com
var sentinalTarget = new NLogViewerTarget() private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
{
Name = "sentinal", #endregion Private Fields
Address = "udp://127.0.0.1:9999",
IncludeNLogData = false #region Public Constructors
};
var sentinalRule = new LoggingRule("*", LogLevel.Trace, sentinalTarget); static Logging()
LogManager.Configuration.AddTarget("sentinal", sentinalTarget); {
LogManager.Configuration.LoggingRules.Add(sentinalRule); #if false
// Setup the logging view for Sentinel - http://sentinel.codeplex.com
var sentinalTarget = new NLogViewerTarget()
{
Name = "sentinal",
Address = "udp://127.0.0.1:9999",
IncludeNLogData = false
};
var sentinalRule = new LoggingRule("*", LogLevel.Trace, sentinalTarget);
LogManager.Configuration.AddTarget("sentinal", sentinalTarget);
LogManager.Configuration.LoggingRules.Add(sentinalRule);
#endif #endif
LogManager.ReconfigExistingLoggers(); LogManager.ReconfigExistingLoggers();
Instance = LogManager.GetCurrentClassLogger(); Instance = LogManager.GetCurrentClassLogger();
} }
private static NLog.Logger Log = LogManager.GetCurrentClassLogger(); #endregion Public Constructors
public static void LogException(Exception ex, ERROR_LEVEL errorLevel) #region Public Properties
{
LogMessage(ex.Message, errorLevel);
}
public static void LogMessage(string message, ERROR_LEVEL errorLevel) /// <summary>
{ /// S
switch (errorLevel) /// </summary>
{ public static NLog.Logger Instance { get; private set; }
case ERROR_LEVEL.INFO:
{
Log.Info(message);
}
break;
case ERROR_LEVEL.WARNING: #endregion Public Properties
{
Log.Warn(message);
}
break;
case ERROR_LEVEL.ERROR: #region Public Methods
{
public static void LogError(string message)
{
Log.Error(message); Log.Error(message);
} }
break;
case ERROR_LEVEL.FATAL: public static void LogException(Exception ex, ERROR_LEVEL errorLevel)
{ {
LogMessage(ex.Message, errorLevel);
}
public static void LogFatal(string message)
{
Log.Fatal(message); Log.Fatal(message);
} }
break;
}
}
public static void LogInfo(string message) public static void LogInfo(string message)
{ {
Log.Info(message); Log.Info(message);
} }
public static void LogWarning(string message) public static void LogMessage(string message, ERROR_LEVEL errorLevel)
{ {
Log.Warn(message); switch (errorLevel)
} {
case ERROR_LEVEL.Info:
{
Log.Info(message);
}
break;
public static void LogError(string message) case ERROR_LEVEL.Warning:
{ {
Log.Error(message); Log.Warn(message);
} }
break;
public static void LogFatal(string message) case ERROR_LEVEL.Error:
{ {
Log.Fatal(message); Log.Error(message);
}
break;
case ERROR_LEVEL.Fatal:
{
Log.Fatal(message);
}
break;
}
}
public static void LogWarning(string message)
{
Log.Warn(message);
}
#endregion Public Methods
} }
}
} }
+5 -2
View File
@@ -32,7 +32,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"> <Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.7.4\lib\net45\NLog.dll</HintPath> <HintPath>..\packages\NLog.4.7.8\lib\net45\NLog.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Configuration" /> <Reference Include="System.Configuration" />
@@ -60,13 +60,16 @@
<None Include="..\.editorconfig"> <None Include="..\.editorconfig">
<Link>.editorconfig</Link> <Link>.editorconfig</Link>
</None> </None>
<None Include="app.config" />
<None Include="App_Readme\SteamWare_demo\example-NLog.config" /> <None Include="App_Readme\SteamWare_demo\example-NLog.config" />
<None Include="logs\.placeholder"> <None Include="logs\.placeholder">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
<None Include="packages.config" /> <None Include="packages.config" />
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup>
<Folder Include="bin\" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="App_Readme\README_SteamWare.txt" /> <Content Include="App_Readme\README_SteamWare.txt" />
<Content Include="App_Readme\SteamWare_demo\example-favicon.ico" /> <Content Include="App_Readme\SteamWare_demo\example-favicon.ico" />
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
</connectionStrings>
<runtime>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
+1 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NLog" version="4.7.4" targetFramework="net462" /> <package id="NLog" version="4.7.8" targetFramework="net462" />
</packages> </packages>
@@ -57,6 +57,10 @@
<None Include="..\.editorconfig"> <None Include="..\.editorconfig">
<Link>.editorconfig</Link> <Link>.editorconfig</Link>
</None> </None>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="bin\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
</connectionStrings>
<runtime>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
+91 -46
View File
@@ -7,58 +7,103 @@ using System.Threading.Tasks;
namespace SteamWare.Reports namespace SteamWare.Reports
{ {
/// <summary>
/// Configuraizone di una coda di stampa (1 coda = 1 tipo di report + stampante)
/// </summary>
public class queueConf
{
/// <summary> /// <summary>
/// Nome coda /// Corpo risposta alla chiamata
/// </summary> /// </summary>
public string name { get; set; } = "default"; public class printTask
{
#region Public Properties
/// <summary>
/// Ulteriore messaggio opzionale
/// </summary>
public string message { get; set; } = "";
/// <summary>
/// Stato da impostare sul task : 0 --> DA FARE, 1 --> fatto, -1 --> annullato
/// </summary>
public int newStatus { get; set; } = 0;
/// <summary>
/// Numero di ticket della richeista di stampa (per poter chiudere)
/// </summary>
public string ticketNum { get; set; } = "";
#endregion Public Properties
}
/// <summary> /// <summary>
/// Template report (rdlc) /// Configuraizone di una coda di stampa (1 coda = 1 tipo di report + stampante)
/// </summary> /// </summary>
public string template { get; set; } = "default.rdlc"; public class queueConf
{
#region Public Properties
/// <summary>
/// Configurazione device di stampa
/// </summary>
public devInfoParam deviceInfoParam { get; set; }
/// <summary>
/// Nome coda
/// </summary>
public string name { get; set; } = "default";
/// <summary>
/// Nome stampante (opzionale)
/// </summary>
public string printerName { get; set; } = "Microsoft Print to PDF";
/// <summary>
/// Template report (rdlc)
/// </summary>
public string template { get; set; } = "default.rdlc";
#endregion Public Properties
}
/// <summary> /// <summary>
/// Nome stampante (opzionale) /// Configuraizone di un report (nom/type --> template)
/// </summary> /// </summary>
public string printerName { get; set; } = "Microsoft Print to PDF"; public class reportConf
{
#region Public Properties
/// <summary>
/// Nome coda
/// </summary>
public string name { get; set; } = "default";
/// <summary>
/// Template report (rdlc)
/// </summary>
public string template { get; set; } = "default.rdlc";
#endregion Public Properties
}
/// <summary> /// <summary>
/// Configurazione device di stampa /// Istanza dei dati di stampa di un SINGOLO docuemnto (report SSRS)
/// </summary> /// </summary>
public devInfoParam deviceInfoParam { get; set; } public class reportData
} {
/// <summary> #region Public Properties
/// Istanza dei dati di stampa di un SINGOLO docuemnto (report SSRS)
/// </summary> /// <summary>
public class reportData /// Dictionary degli RDS da impiegare, chiave = nome RDS, valore = tabella RDS
{ /// </summary>
/// <summary> public Dictionary<string, DataTable> rdsData { get; set; }
/// Numero di ticket della richeista di stampa (per poter chiudere)
/// </summary> /// <summary>
public string ticketNum { get; set; } = ""; /// Template report (rdlc) della SINGOLA richiesta di stampa (per gestione multi coda), se vuoto --> prendo quello della coda
/// <summary> /// </summary>
/// Dictionary degli RDS da impiegare, chiave = nome RDS, valore = tabella RDS public string template { get; set; } = "";
/// </summary>
public Dictionary<string, DataTable> rdsData { get; set; } /// <summary>
} /// Numero di ticket della richiesta di stampa (per poter chiudere)
/// <summary> /// </summary>
/// Corpo risposta alla chiamata public string ticketNum { get; set; } = "";
/// </summary>
public class printTask #endregion Public Properties
{ }
/// <summary>
/// Numero di ticket della richeista di stampa (per poter chiudere)
/// </summary>
public string ticketNum { get; set; } = "";
/// <summary>
/// Stato da impostare sul task : 0 --> DA FARE, 1 --> fatto, -1 --> annullato
/// </summary>
public int newStatus { get; set; } = 0;
/// <summary>
/// Ulteriore messaggio opzionale
/// </summary>
public string message { get; set; } = "";
}
} }
+3 -3
View File
@@ -6,9 +6,9 @@ namespace SteamWare
{ {
public partial class DS_Billing public partial class DS_Billing
{ {
} }
} }
namespace SteamWare namespace SteamWare
{ {
+2 -2
View File
@@ -4,11 +4,11 @@
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="0" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="83" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes> <Shapes>
<Shape ID="DesignTable:selTipo" ZOrder="16" X="1163" Y="72" Height="135" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" /> <Shape ID="DesignTable:selTipo" ZOrder="16" X="1163" Y="72" Height="135" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:selCli" ZOrder="17" X="1151" Y="237" Height="135" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" /> <Shape ID="DesignTable:selCli" ZOrder="17" X="1151" Y="237" Height="135" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:Documenti" ZOrder="3" X="127" Y="52" Height="802" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="559" /> <Shape ID="DesignTable:Documenti" ZOrder="3" X="127" Y="106" Height="704" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="501" />
<Shape ID="DesignTable:Righe" ZOrder="8" X="501" Y="360" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" /> <Shape ID="DesignTable:Righe" ZOrder="8" X="501" Y="360" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:selIVA" ZOrder="15" X="1182" Y="402" Height="135" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" /> <Shape ID="DesignTable:selIVA" ZOrder="15" X="1182" Y="402" Height="135" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:VAT" ZOrder="14" X="499" Y="928" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" /> <Shape ID="DesignTable:VAT" ZOrder="14" X="499" Y="928" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
+7085
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
namespace SteamWare
{
public partial class DS_Budget
{
}
}
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>
+748
View File
@@ -0,0 +1,748 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_Budget" targetNamespace="http://tempuri.org/DS_Budget.xsd" xmlns:mstns="http://tempuri.org/DS_Budget.xsd" xmlns="http://tempuri.org/DS_Budget.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SEL_fatture_SteamWareConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SEL_fatture_SteamWareConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.SteamWare.Properties.Settings.GlobalReference.Default.SEL_fatture_SteamWareConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TrattativeTableAdapter" GeneratorDataComponentClassName="TrattativeTableAdapter" Name="Trattative" UserDataComponentName="TrattativeTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.Trattative" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Trattative] WHERE (([CodTrattativa] = @Original_CodTrattativa) AND ([Data] = @Original_Data) AND ([codiceCliente] = @Original_codiceCliente) AND ([Descrizione] = @Original_Descrizione) AND ([Referente] = @Original_Referente) AND ([BasePath] = @Original_BasePath))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Referente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Referente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BasePath" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Trattative] ([CodTrattativa], [Data], [codiceCliente], [Descrizione], [Referente], [BasePath]) VALUES (@CodTrattativa, @Data, @codiceCliente, @Descrizione, @Referente, @BasePath);
SELECT CodTrattativa, Data, codiceCliente, Descrizione, Referente, BasePath FROM Trattative WHERE (CodTrattativa = @CodTrattativa)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Referente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Referente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BasePath" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM Trattative</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Trattative] SET [CodTrattativa] = @CodTrattativa, [Data] = @Data, [codiceCliente] = @codiceCliente, [Descrizione] = @Descrizione, [Referente] = @Referente, [BasePath] = @BasePath WHERE (([CodTrattativa] = @Original_CodTrattativa) AND ([Data] = @Original_Data) AND ([codiceCliente] = @Original_codiceCliente) AND ([Descrizione] = @Original_Descrizione) AND ([Referente] = @Original_Referente) AND ([BasePath] = @Original_BasePath));
SELECT CodTrattativa, Data, codiceCliente, Descrizione, Referente, BasePath FROM Trattative WHERE (CodTrattativa = @CodTrattativa)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Referente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Referente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BasePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Referente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Referente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BasePath" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodTrattativa" DataSetColumn="CodTrattativa" />
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="codiceCliente" DataSetColumn="codiceCliente" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="Referente" DataSetColumn="Referente" />
<Mapping SourceColumn="BasePath" DataSetColumn="BasePath" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DocComTableAdapter" GeneratorDataComponentClassName="DocComTableAdapter" Name="DocCom" UserDataComponentName="DocComTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.DocCom" DbObjectType="Table" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [DocCom] WHERE (([CodDocCom] = @Original_CodDocCom) AND ([CodTrattativa] = @Original_CodTrattativa) AND ([NumDoc] = @Original_NumDoc) AND ([DocType] = @Original_DocType) AND ([Data] = @Original_Data) AND ([CodBasket] = @Original_CodBasket) AND ([DocPath] = @Original_DocPath))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumDoc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DocType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DocPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocPath" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [DocCom] ([CodDocCom], [CodTrattativa], [NumDoc], [DocType], [Data], [CodBasket], [DocPath]) VALUES (@CodDocCom, @CodTrattativa, @NumDoc, @DocType, @Data, @CodBasket, @DocPath);
SELECT CodDocCom, CodTrattativa, NumDoc, DocType, Data, CodBasket, DocPath FROM DocCom WHERE (CodDocCom = @CodDocCom)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocPath" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM DocCom
</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [DocCom] SET [CodDocCom] = @CodDocCom, [CodTrattativa] = @CodTrattativa, [NumDoc] = @NumDoc, [DocType] = @DocType, [Data] = @Data, [CodBasket] = @CodBasket, [DocPath] = @DocPath WHERE (([CodDocCom] = @Original_CodDocCom) AND ([CodTrattativa] = @Original_CodTrattativa) AND ([NumDoc] = @Original_NumDoc) AND ([DocType] = @Original_DocType) AND ([Data] = @Original_Data) AND ([CodBasket] = @Original_CodBasket) AND ([DocPath] = @Original_DocPath));
SELECT CodDocCom, CodTrattativa, NumDoc, DocType, Data, CodBasket, DocPath FROM DocCom WHERE (CodDocCom = @CodDocCom)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocPath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTrattativa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTrattativa" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumDoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumDoc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DocType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DocPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocPath" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodDoc" DataSetColumn="CodDocCom" />
<Mapping SourceColumn="CodDocCom" DataSetColumn="CodDocCom" />
<Mapping SourceColumn="CodTrattativa" DataSetColumn="CodTrattativa" />
<Mapping SourceColumn="NumDoc" DataSetColumn="NumDoc" />
<Mapping SourceColumn="DocType" DataSetColumn="DocType" />
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="CodBasket" DataSetColumn="CodBasket" />
<Mapping SourceColumn="DocPath" DataSetColumn="DocPath" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ListinoTableAdapter" GeneratorDataComponentClassName="ListinoTableAdapter" Name="Listino" UserDataComponentName="ListinoTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.Listino" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Listino] WHERE (([CodItem] = @Original_CodItem) AND ([ResType] = @Original_ResType) AND ([UM] = @Original_UM) AND ([Descrizione] = @Original_Descrizione) AND ([UnitCost] = @Original_UnitCost) AND ([UnitPrice] = @Original_UnitPrice))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ResType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ResType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitCost" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitPrice" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Listino] ([CodItem], [ResType], [UM], [Descrizione], [UnitCost], [UnitPrice]) VALUES (@CodItem, @ResType, @UM, @Descrizione, @UnitCost, @UnitPrice);
SELECT CodItem, ResType, UM, Descrizione, UnitCost, UnitPrice FROM Listino WHERE (CodItem = @CodItem)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ResType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ResType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitPrice" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM Listino</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Listino] SET [CodItem] = @CodItem, [ResType] = @ResType, [UM] = @UM, [Descrizione] = @Descrizione, [UnitCost] = @UnitCost, [UnitPrice] = @UnitPrice WHERE (([CodItem] = @Original_CodItem) AND ([ResType] = @Original_ResType) AND ([UM] = @Original_UM) AND ([Descrizione] = @Original_Descrizione) AND ([UnitCost] = @Original_UnitCost) AND ([UnitPrice] = @Original_UnitPrice));
SELECT CodItem, ResType, UM, Descrizione, UnitCost, UnitPrice FROM Listino WHERE (CodItem = @CodItem)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ResType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ResType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitPrice" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ResType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ResType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitCost" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitPrice" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="ResType" DataSetColumn="ResType" />
<Mapping SourceColumn="UM" DataSetColumn="UM" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="UnitCost" DataSetColumn="UnitCost" />
<Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RisorseTableAdapter" GeneratorDataComponentClassName="RisorseTableAdapter" Name="Risorse" UserDataComponentName="RisorseTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.Risorse" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Risorse] WHERE (([IdxRes] = @Original_IdxRes) AND ([CodDocCom] = @Original_CodDocCom) AND ([Ordinal] = @Original_Ordinal) AND ([CodItem] = @Original_CodItem) AND ([Qty] = @Original_Qty) AND ([QtyOffered] = @Original_QtyOffered) AND ([UnitPriceOffered] = @Original_UnitPriceOffered))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxRes" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRes" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ordinal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ordinal" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Qty" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QtyOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="QtyOffered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitPriceOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPriceOffered" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Risorse] ([CodDocCom], [Ordinal], [CodItem], [Qty], [QtyOffered], [UnitPriceOffered]) VALUES (@CodDocCom, @Ordinal, @CodItem, @Qty, @QtyOffered, @UnitPriceOffered);
SELECT IdxRes, CodDocCom, Ordinal, CodItem, Qty, QtyOffered, UnitPriceOffered FROM Risorse WHERE (IdxRes = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Ordinal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ordinal" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Qty" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QtyOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="QtyOffered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitPriceOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPriceOffered" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM Risorse</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Risorse] SET [CodDocCom] = @CodDocCom, [Ordinal] = @Ordinal, [CodItem] = @CodItem, [Qty] = @Qty, [QtyOffered] = @QtyOffered, [UnitPriceOffered] = @UnitPriceOffered WHERE (([IdxRes] = @Original_IdxRes) AND ([CodDocCom] = @Original_CodDocCom) AND ([Ordinal] = @Original_Ordinal) AND ([CodItem] = @Original_CodItem) AND ([Qty] = @Original_Qty) AND ([QtyOffered] = @Original_QtyOffered) AND ([UnitPriceOffered] = @Original_UnitPriceOffered));
SELECT IdxRes, CodDocCom, Ordinal, CodItem, Qty, QtyOffered, UnitPriceOffered FROM Risorse WHERE (IdxRes = @IdxRes)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Ordinal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ordinal" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Qty" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QtyOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="QtyOffered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitPriceOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPriceOffered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxRes" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRes" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ordinal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ordinal" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Qty" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QtyOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="QtyOffered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitPriceOffered" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="UnitPriceOffered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="IdxRes" ColumnName="IdxRes" DataSourceName="SEL_fatture_SteamWare.dbo.Risorse" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxRes" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxRes" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxRes" DataSetColumn="IdxRes" />
<Mapping SourceColumn="CodDocCom" DataSetColumn="CodDocCom" />
<Mapping SourceColumn="Ordinal" DataSetColumn="Ordinal" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="Qty" DataSetColumn="Qty" />
<Mapping SourceColumn="QtyOffered" DataSetColumn="QtyOffered" />
<Mapping SourceColumn="UnitPriceOffered" DataSetColumn="UnitPriceOffered" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BasketsTableAdapter" GeneratorDataComponentClassName="BasketsTableAdapter" Name="Baskets" UserDataComponentName="BasketsTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.Baskets" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Baskets] WHERE (([CodBasket] = @Original_CodBasket) AND ([Data] = @Original_Data) AND ([codiceCliente] = @Original_codiceCliente) AND ([Descrizione] = @Original_Descrizione))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Baskets] ([CodBasket], [Data], [codiceCliente], [Descrizione]) VALUES (@CodBasket, @Data, @codiceCliente, @Descrizione);
SELECT CodBasket, Data, codiceCliente, Descrizione FROM Baskets WHERE (CodBasket = @CodBasket)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM Baskets</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Baskets] SET [CodBasket] = @CodBasket, [Data] = @Data, [codiceCliente] = @codiceCliente, [Descrizione] = @Descrizione WHERE (([CodBasket] = @Original_CodBasket) AND ([Data] = @Original_Data) AND ([codiceCliente] = @Original_codiceCliente) AND ([Descrizione] = @Original_Descrizione));
SELECT CodBasket, Data, codiceCliente, Descrizione FROM Baskets WHERE (CodBasket = @CodBasket)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBasket" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBasket" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_codiceCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codiceCliente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodBasket" DataSetColumn="CodBasket" />
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="codiceCliente" DataSetColumn="codiceCliente" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FattureTableAdapter" GeneratorDataComponentClassName="FattureTableAdapter" Name="Fatture" UserDataComponentName="FattureTableAdapter">
<MainSource>
<DbSource ConnectionRef="SEL_fatture_SteamWareConnectionString (Settings)" DbObjectName="SEL_fatture_SteamWare.dbo.Fatture" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Fatture] WHERE (([IdxFatt] = @Original_IdxFatt) AND ((@IsNull_anno = 1 AND [anno] IS NULL) OR ([anno] = @Original_anno)) AND ((@IsNull_num = 1 AND [num] IS NULL) OR ([num] = @Original_num)) AND ((@IsNull_idxCli = 1 AND [idxCli] IS NULL) OR ([idxCli] = @Original_idxCli)) AND ((@IsNull_tipo = 1 AND [tipo] IS NULL) OR ([tipo] = @Original_tipo)) AND ([emesso] = @Original_emesso) AND ([ritenuta] = @Original_ritenuta) AND ([scelta] = @Original_scelta) AND ((@IsNull_dataPagam = 1 AND [dataPagam] IS NULL) OR ([dataPagam] = @Original_dataPagam)) AND ([Id] = @Original_Id) AND ([data] = @Original_data) AND ((@IsNull_scadenza = 1 AND [scadenza] IS NULL) OR ([scadenza] = @Original_scadenza)) AND ([token] = @Original_token) AND ([new_id] = @Original_new_id) AND ([dtEvent] = @Original_dtEvent) AND ([CodDocCom] = @Original_CodDocCom) AND ([changed] = @Original_changed))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxFatt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxFatt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_emesso" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="emesso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ritenuta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ritenuta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_scelta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="scelta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataPagam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dataPagam" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_scadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="scadenza" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_scadenza" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="scadenza" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_token" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="token" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_new_id" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="new_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtEvent" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_changed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="changed" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Fatture] ([anno], [num], [idxCli], [tipo], [emesso], [ritenuta], [scelta], [dataPagam], [token], [new_id], [dtEvent], [CodDocCom], [changed]) VALUES (@anno, @num, @idxCli, @tipo, @emesso, @ritenuta, @scelta, @dataPagam, @token, @new_id, @dtEvent, @CodDocCom, @changed);
SELECT IdxFatt, anno, num, idxCli, tipo, emesso, ritenuta, scelta, dataPagam, Id, data, scadenza, token, new_id, dtEvent, CodDocCom, changed FROM Fatture WHERE (IdxFatt = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@emesso" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="emesso" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ritenuta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ritenuta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@scelta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="scelta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dataPagam" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@token" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="token" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@new_id" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="new_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtEvent" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@changed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="changed" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM Fatture</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Fatture] SET [anno] = @anno, [num] = @num, [idxCli] = @idxCli, [tipo] = @tipo, [emesso] = @emesso, [ritenuta] = @ritenuta, [scelta] = @scelta, [dataPagam] = @dataPagam, [token] = @token, [new_id] = @new_id, [dtEvent] = @dtEvent, [CodDocCom] = @CodDocCom, [changed] = @changed WHERE (([IdxFatt] = @Original_IdxFatt) AND ((@IsNull_anno = 1 AND [anno] IS NULL) OR ([anno] = @Original_anno)) AND ((@IsNull_num = 1 AND [num] IS NULL) OR ([num] = @Original_num)) AND ((@IsNull_idxCli = 1 AND [idxCli] IS NULL) OR ([idxCli] = @Original_idxCli)) AND ((@IsNull_tipo = 1 AND [tipo] IS NULL) OR ([tipo] = @Original_tipo)) AND ([emesso] = @Original_emesso) AND ([ritenuta] = @Original_ritenuta) AND ([scelta] = @Original_scelta) AND ((@IsNull_dataPagam = 1 AND [dataPagam] IS NULL) OR ([dataPagam] = @Original_dataPagam)) AND ([Id] = @Original_Id) AND ([data] = @Original_data) AND ((@IsNull_scadenza = 1 AND [scadenza] IS NULL) OR ([scadenza] = @Original_scadenza)) AND ([token] = @Original_token) AND ([new_id] = @Original_new_id) AND ([dtEvent] = @Original_dtEvent) AND ([CodDocCom] = @Original_CodDocCom) AND ([changed] = @Original_changed));
SELECT IdxFatt, anno, num, idxCli, tipo, emesso, ritenuta, scelta, dataPagam, Id, data, scadenza, token, new_id, dtEvent, CodDocCom, changed FROM Fatture WHERE (IdxFatt = @IdxFatt)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@emesso" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="emesso" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ritenuta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ritenuta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@scelta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="scelta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dataPagam" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@token" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="token" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@new_id" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="new_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtEvent" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@changed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="changed" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxFatt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxFatt" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="num" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxCli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCli" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_emesso" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="emesso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ritenuta" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ritenuta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_scelta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="scelta" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataPagam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dataPagam" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataPagam" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_scadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="scadenza" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_scadenza" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="scadenza" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_token" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="token" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_new_id" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="new_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtEvent" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDocCom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDocCom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_changed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="changed" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="IdxFatt" ColumnName="IdxFatt" DataSourceName="SEL_fatture_SteamWare.dbo.Fatture" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxFatt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxFatt" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxFatt" DataSetColumn="IdxFatt" />
<Mapping SourceColumn="anno" DataSetColumn="anno" />
<Mapping SourceColumn="num" DataSetColumn="num" />
<Mapping SourceColumn="idxCli" DataSetColumn="idxCli" />
<Mapping SourceColumn="tipo" DataSetColumn="tipo" />
<Mapping SourceColumn="emesso" DataSetColumn="emesso" />
<Mapping SourceColumn="ritenuta" DataSetColumn="ritenuta" />
<Mapping SourceColumn="scelta" DataSetColumn="scelta" />
<Mapping SourceColumn="dataPagam" DataSetColumn="dataPagam" />
<Mapping SourceColumn="Id" DataSetColumn="Id" />
<Mapping SourceColumn="data" DataSetColumn="data" />
<Mapping SourceColumn="scadenza" DataSetColumn="scadenza" />
<Mapping SourceColumn="token" DataSetColumn="token" />
<Mapping SourceColumn="new_id" DataSetColumn="new_id" />
<Mapping SourceColumn="dtEvent" DataSetColumn="dtEvent" />
<Mapping SourceColumn="CodDocCom" DataSetColumn="CodDocCom" />
<Mapping SourceColumn="changed" DataSetColumn="changed" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_Budget" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Budget" msprop:Generator_UserDSName="DS_Budget">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Trattative" msprop:Generator_TableClassName="TrattativeDataTable" msprop:Generator_TableVarName="tableTrattative" msprop:Generator_TablePropName="Trattative" msprop:Generator_RowDeletingName="TrattativeRowDeleting" msprop:Generator_RowChangingName="TrattativeRowChanging" msprop:Generator_RowEvHandlerName="TrattativeRowChangeEventHandler" msprop:Generator_RowDeletedName="TrattativeRowDeleted" msprop:Generator_UserTableName="Trattative" msprop:Generator_RowChangedName="TrattativeRowChanged" msprop:Generator_RowEvArgName="TrattativeRowChangeEvent" msprop:Generator_RowClassName="TrattativeRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTrattativa" msprop:Generator_ColumnVarNameInTable="columnCodTrattativa" msprop:Generator_ColumnPropNameInRow="CodTrattativa" msprop:Generator_ColumnPropNameInTable="CodTrattativaColumn" msprop:Generator_UserColumnName="CodTrattativa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
<xs:element name="codiceCliente" msprop:Generator_ColumnVarNameInTable="columncodiceCliente" msprop:Generator_ColumnPropNameInRow="codiceCliente" msprop:Generator_ColumnPropNameInTable="codiceClienteColumn" msprop:Generator_UserColumnName="codiceCliente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Referente" msprop:Generator_ColumnVarNameInTable="columnReferente" msprop:Generator_ColumnPropNameInRow="Referente" msprop:Generator_ColumnPropNameInTable="ReferenteColumn" msprop:Generator_UserColumnName="Referente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BasePath" msprop:Generator_ColumnVarNameInTable="columnBasePath" msprop:Generator_ColumnPropNameInRow="BasePath" msprop:Generator_ColumnPropNameInTable="BasePathColumn" msprop:Generator_UserColumnName="BasePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DocCom" msprop:Generator_TableClassName="DocComDataTable" msprop:Generator_TableVarName="tableDocCom" msprop:Generator_TablePropName="DocCom" msprop:Generator_RowDeletingName="DocComRowDeleting" msprop:Generator_RowChangingName="DocComRowChanging" msprop:Generator_RowEvHandlerName="DocComRowChangeEventHandler" msprop:Generator_RowDeletedName="DocComRowDeleted" msprop:Generator_UserTableName="DocCom" msprop:Generator_RowChangedName="DocComRowChanged" msprop:Generator_RowEvArgName="DocComRowChangeEvent" msprop:Generator_RowClassName="DocComRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodDocCom" msdata:Caption="CodDoc" msprop:Generator_ColumnVarNameInTable="columnCodDocCom" msprop:Generator_ColumnPropNameInRow="CodDocCom" msprop:Generator_ColumnPropNameInTable="CodDocComColumn" msprop:Generator_UserColumnName="CodDocCom">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodTrattativa" msprop:Generator_ColumnVarNameInTable="columnCodTrattativa" msprop:Generator_ColumnPropNameInRow="CodTrattativa" msprop:Generator_ColumnPropNameInTable="CodTrattativaColumn" msprop:Generator_UserColumnName="CodTrattativa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumDoc" msprop:Generator_ColumnVarNameInTable="columnNumDoc" msprop:Generator_ColumnPropNameInRow="NumDoc" msprop:Generator_ColumnPropNameInTable="NumDocColumn" msprop:Generator_UserColumnName="NumDoc" type="xs:int" />
<xs:element name="DocType" msprop:Generator_ColumnVarNameInTable="columnDocType" msprop:Generator_ColumnPropNameInRow="DocType" msprop:Generator_ColumnPropNameInTable="DocTypeColumn" msprop:Generator_UserColumnName="DocType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
<xs:element name="CodBasket" msprop:Generator_ColumnVarNameInTable="columnCodBasket" msprop:Generator_ColumnPropNameInRow="CodBasket" msprop:Generator_ColumnPropNameInTable="CodBasketColumn" msprop:Generator_UserColumnName="CodBasket">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DocPath" msprop:Generator_ColumnVarNameInTable="columnDocPath" msprop:Generator_ColumnPropNameInRow="DocPath" msprop:Generator_ColumnPropNameInTable="DocPathColumn" msprop:Generator_UserColumnName="DocPath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Listino" msprop:Generator_TableClassName="ListinoDataTable" msprop:Generator_TableVarName="tableListino" msprop:Generator_TablePropName="Listino" msprop:Generator_RowDeletingName="ListinoRowDeleting" msprop:Generator_RowChangingName="ListinoRowChanging" msprop:Generator_RowEvHandlerName="ListinoRowChangeEventHandler" msprop:Generator_RowDeletedName="ListinoRowDeleted" msprop:Generator_UserTableName="Listino" msprop:Generator_RowChangedName="ListinoRowChanged" msprop:Generator_RowEvArgName="ListinoRowChangeEvent" msprop:Generator_RowClassName="ListinoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ResType" msprop:Generator_ColumnVarNameInTable="columnResType" msprop:Generator_ColumnPropNameInRow="ResType" msprop:Generator_ColumnPropNameInTable="ResTypeColumn" msprop:Generator_UserColumnName="ResType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UM" msprop:Generator_ColumnVarNameInTable="columnUM" msprop:Generator_ColumnPropNameInRow="UM" msprop:Generator_ColumnPropNameInTable="UMColumn" msprop:Generator_UserColumnName="UM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitCost" msprop:Generator_ColumnVarNameInTable="columnUnitCost" msprop:Generator_ColumnPropNameInRow="UnitCost" msprop:Generator_ColumnPropNameInTable="UnitCostColumn" msprop:Generator_UserColumnName="UnitCost" type="xs:decimal" />
<xs:element name="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" msprop:Generator_UserColumnName="UnitPrice" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Risorse" msprop:Generator_TableClassName="RisorseDataTable" msprop:Generator_TableVarName="tableRisorse" msprop:Generator_TablePropName="Risorse" msprop:Generator_RowDeletingName="RisorseRowDeleting" msprop:Generator_RowChangingName="RisorseRowChanging" msprop:Generator_RowEvHandlerName="RisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="RisorseRowDeleted" msprop:Generator_UserTableName="Risorse" msprop:Generator_RowChangedName="RisorseRowChanged" msprop:Generator_RowEvArgName="RisorseRowChangeEvent" msprop:Generator_RowClassName="RisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxRes" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRes" msprop:Generator_ColumnPropNameInRow="IdxRes" msprop:Generator_ColumnPropNameInTable="IdxResColumn" msprop:Generator_UserColumnName="IdxRes" type="xs:int" />
<xs:element name="CodDocCom" msprop:Generator_ColumnVarNameInTable="columnCodDocCom" msprop:Generator_ColumnPropNameInRow="CodDocCom" msprop:Generator_ColumnPropNameInTable="CodDocComColumn" msprop:Generator_UserColumnName="CodDocCom">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ordinal" msprop:Generator_ColumnVarNameInTable="columnOrdinal" msprop:Generator_ColumnPropNameInRow="Ordinal" msprop:Generator_ColumnPropNameInTable="OrdinalColumn" msprop:Generator_UserColumnName="Ordinal" type="xs:int" />
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:decimal" />
<xs:element name="QtyOffered" msprop:Generator_ColumnVarNameInTable="columnQtyOffered" msprop:Generator_ColumnPropNameInRow="QtyOffered" msprop:Generator_ColumnPropNameInTable="QtyOfferedColumn" msprop:Generator_UserColumnName="QtyOffered" type="xs:decimal" />
<xs:element name="UnitPriceOffered" msprop:Generator_ColumnVarNameInTable="columnUnitPriceOffered" msprop:Generator_ColumnPropNameInRow="UnitPriceOffered" msprop:Generator_ColumnPropNameInTable="UnitPriceOfferedColumn" msprop:Generator_UserColumnName="UnitPriceOffered" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Baskets" msprop:Generator_TableClassName="BasketsDataTable" msprop:Generator_TableVarName="tableBaskets" msprop:Generator_TablePropName="Baskets" msprop:Generator_RowDeletingName="BasketsRowDeleting" msprop:Generator_RowChangingName="BasketsRowChanging" msprop:Generator_RowEvHandlerName="BasketsRowChangeEventHandler" msprop:Generator_RowDeletedName="BasketsRowDeleted" msprop:Generator_UserTableName="Baskets" msprop:Generator_RowChangedName="BasketsRowChanged" msprop:Generator_RowEvArgName="BasketsRowChangeEvent" msprop:Generator_RowClassName="BasketsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodBasket" msprop:Generator_ColumnVarNameInTable="columnCodBasket" msprop:Generator_ColumnPropNameInRow="CodBasket" msprop:Generator_ColumnPropNameInTable="CodBasketColumn" msprop:Generator_UserColumnName="CodBasket">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
<xs:element name="codiceCliente" msprop:Generator_ColumnVarNameInTable="columncodiceCliente" msprop:Generator_ColumnPropNameInRow="codiceCliente" msprop:Generator_ColumnPropNameInTable="codiceClienteColumn" msprop:Generator_UserColumnName="codiceCliente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Fatture" msprop:Generator_TableClassName="FattureDataTable" msprop:Generator_TableVarName="tableFatture" msprop:Generator_TablePropName="Fatture" msprop:Generator_RowDeletingName="FattureRowDeleting" msprop:Generator_RowChangingName="FattureRowChanging" msprop:Generator_RowEvHandlerName="FattureRowChangeEventHandler" msprop:Generator_RowDeletedName="FattureRowDeleted" msprop:Generator_UserTableName="Fatture" msprop:Generator_RowChangedName="FattureRowChanged" msprop:Generator_RowEvArgName="FattureRowChangeEvent" msprop:Generator_RowClassName="FattureRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxFatt" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxFatt" msprop:Generator_ColumnPropNameInRow="IdxFatt" msprop:Generator_ColumnPropNameInTable="IdxFattColumn" msprop:Generator_UserColumnName="IdxFatt" type="xs:int" />
<xs:element name="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_UserColumnName="anno" type="xs:int" minOccurs="0" />
<xs:element name="num" msprop:Generator_ColumnVarNameInTable="columnnum" msprop:Generator_ColumnPropNameInRow="num" msprop:Generator_ColumnPropNameInTable="numColumn" msprop:Generator_UserColumnName="num" type="xs:int" minOccurs="0" />
<xs:element name="idxCli" msprop:Generator_ColumnVarNameInTable="columnidxCli" msprop:Generator_ColumnPropNameInRow="idxCli" msprop:Generator_ColumnPropNameInTable="idxCliColumn" msprop:Generator_UserColumnName="idxCli" type="xs:int" minOccurs="0" />
<xs:element name="tipo" msprop:Generator_ColumnVarNameInTable="columntipo" msprop:Generator_ColumnPropNameInRow="tipo" msprop:Generator_ColumnPropNameInTable="tipoColumn" msprop:Generator_UserColumnName="tipo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="emesso" msprop:Generator_ColumnVarNameInTable="columnemesso" msprop:Generator_ColumnPropNameInRow="emesso" msprop:Generator_ColumnPropNameInTable="emessoColumn" msprop:Generator_UserColumnName="emesso" type="xs:dateTime" />
<xs:element name="ritenuta" msprop:Generator_ColumnVarNameInTable="columnritenuta" msprop:Generator_ColumnPropNameInRow="ritenuta" msprop:Generator_ColumnPropNameInTable="ritenutaColumn" msprop:Generator_UserColumnName="ritenuta" type="xs:double" />
<xs:element name="scelta" msprop:Generator_ColumnVarNameInTable="columnscelta" msprop:Generator_ColumnPropNameInRow="scelta" msprop:Generator_ColumnPropNameInTable="sceltaColumn" msprop:Generator_UserColumnName="scelta" type="xs:boolean" />
<xs:element name="dataPagam" msprop:Generator_ColumnVarNameInTable="columndataPagam" msprop:Generator_ColumnPropNameInRow="dataPagam" msprop:Generator_ColumnPropNameInTable="dataPagamColumn" msprop:Generator_UserColumnName="dataPagam" type="xs:dateTime" minOccurs="0" />
<xs:element name="Id" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" minOccurs="0" />
<xs:element name="data" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" minOccurs="0" />
<xs:element name="scadenza" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnscadenza" msprop:Generator_ColumnPropNameInRow="scadenza" msprop:Generator_ColumnPropNameInTable="scadenzaColumn" msprop:Generator_UserColumnName="scadenza" type="xs:dateTime" minOccurs="0" />
<xs:element name="token" msprop:Generator_ColumnVarNameInTable="columntoken" msprop:Generator_ColumnPropNameInRow="token" msprop:Generator_ColumnPropNameInTable="tokenColumn" msprop:Generator_UserColumnName="token">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="new_id" msprop:Generator_ColumnVarNameInTable="columnnew_id" msprop:Generator_ColumnPropNameInRow="new_id" msprop:Generator_ColumnPropNameInTable="new_idColumn" msprop:Generator_UserColumnName="new_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dtEvent" msprop:Generator_ColumnVarNameInTable="columndtEvent" msprop:Generator_ColumnPropNameInRow="dtEvent" msprop:Generator_ColumnPropNameInTable="dtEventColumn" msprop:Generator_UserColumnName="dtEvent" type="xs:dateTime" />
<xs:element name="CodDocCom" msprop:Generator_ColumnVarNameInTable="columnCodDocCom" msprop:Generator_ColumnPropNameInRow="CodDocCom" msprop:Generator_ColumnPropNameInTable="CodDocComColumn" msprop:Generator_UserColumnName="CodDocCom">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="changed" msprop:Generator_ColumnVarNameInTable="columnchanged" msprop:Generator_ColumnPropNameInRow="changed" msprop:Generator_ColumnPropNameInTable="changedColumn" msprop:Generator_UserColumnName="changed" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Trattative" />
<xs:field xpath="mstns:CodTrattativa" />
</xs:unique>
<xs:unique name="Constraint2" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:DocCom" />
<xs:field xpath="mstns:CodDocCom" />
</xs:unique>
<xs:unique name="Listino_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Listino" />
<xs:field xpath="mstns:CodItem" />
</xs:unique>
<xs:unique name="Risorse_Constraint2" msdata:ConstraintName="Constraint2" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Risorse" />
<xs:field xpath="mstns:IdxRes" />
</xs:unique>
<xs:unique name="Baskets_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Baskets" />
<xs:field xpath="mstns:CodBasket" />
</xs:unique>
<xs:unique name="Fatture_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Fatture" />
<xs:field xpath="mstns:IdxFatt" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_DocCom_Baskets" msdata:parent="Baskets" msdata:child="DocCom" msdata:parentkey="CodBasket" msdata:childkey="CodBasket" msprop:Generator_UserChildTable="DocCom" msprop:Generator_ChildPropName="GetDocComRows" msprop:Generator_UserRelationName="FK_DocCom_Baskets" msprop:Generator_RelationVarName="relationFK_DocCom_Baskets" msprop:Generator_UserParentTable="Baskets" msprop:Generator_ParentPropName="BasketsRow" />
<msdata:Relationship name="FK_DocCom_Trattative" msdata:parent="Trattative" msdata:child="DocCom" msdata:parentkey="CodTrattativa" msdata:childkey="CodTrattativa" msprop:Generator_UserChildTable="DocCom" msprop:Generator_ChildPropName="GetDocComRows" msprop:Generator_UserRelationName="FK_DocCom_Trattative" msprop:Generator_ParentPropName="TrattativeRow" msprop:Generator_RelationVarName="relationFK_DocCom_Trattative" msprop:Generator_UserParentTable="Trattative" />
<msdata:Relationship name="FK_Risorse_DocCom" msdata:parent="DocCom" msdata:child="Risorse" msdata:parentkey="CodDocCom" msdata:childkey="CodDocCom" msprop:Generator_UserChildTable="Risorse" msprop:Generator_ChildPropName="GetRisorseRows" msprop:Generator_UserRelationName="FK_Risorse_DocCom" msprop:Generator_ParentPropName="DocComRow" msprop:Generator_RelationVarName="relationFK_Risorse_DocCom" msprop:Generator_UserParentTable="DocCom" />
<msdata:Relationship name="FK_Risorse_Listino" msdata:parent="Listino" msdata:child="Risorse" msdata:parentkey="CodItem" msdata:childkey="CodItem" msprop:Generator_UserChildTable="Risorse" msprop:Generator_ChildPropName="GetRisorseRows" msprop:Generator_UserRelationName="FK_Risorse_Listino" msprop:Generator_ParentPropName="ListinoRow" msprop:Generator_RelationVarName="relationFK_Risorse_Listino" msprop:Generator_UserParentTable="Listino" />
<msdata:Relationship name="FK_Fatture_DocCom" msdata:parent="DocCom" msdata:child="Fatture" msdata:parentkey="CodDocCom" msdata:childkey="CodDocCom" msprop:Generator_UserChildTable="Fatture" msprop:Generator_ChildPropName="GetFattureRows" msprop:Generator_UserRelationName="FK_Fatture_DocCom" msprop:Generator_ParentPropName="DocComRow" msprop:Generator_RelationVarName="relationFK_Fatture_DocCom" msprop:Generator_UserParentTable="DocCom" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+82
View File
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="128" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Trattative" ZOrder="11" X="98" Y="206" Height="191" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:DocCom" ZOrder="10" X="93" Y="498" Height="210" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:Listino" ZOrder="9" X="432" Y="221" Height="191" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:Risorse" ZOrder="6" X="401" Y="518" Height="210" Width="186" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:Baskets" ZOrder="8" X="408" Y="790" Height="153" Width="188" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Fatture" ZOrder="7" X="84" Y="824" Height="419" Width="186" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_DocCom_Baskets" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>408</X>
<Y>807</Y>
</Point>
<Point>
<X>270</X>
<Y>807</Y>
</Point>
<Point>
<X>270</X>
<Y>708</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_DocCom_Trattative" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>192</X>
<Y>397</Y>
</Point>
<Point>
<X>192</X>
<Y>498</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Risorse_DocCom" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>287</X>
<Y>566</Y>
</Point>
<Point>
<X>401</X>
<Y>566</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Risorse_Listino" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>509</X>
<Y>412</Y>
</Point>
<Point>
<X>509</X>
<Y>518</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Fatture_DocCom" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>155</X>
<Y>708</Y>
</Point>
<Point>
<X>155</X>
<Y>824</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
+305 -241
View File
@@ -8,262 +8,326 @@ using System.Text;
namespace SteamWare namespace SteamWare
{ {
/// <summary> /// <summary>
/// Helper x estrarre dati sintetici su HW, Software, librerie installate... /// Helper x estrarre dati sintetici su HW, Software, librerie installate...
/// </summary> /// </summary>
public class HwSwInfo public class HwSwInfo
{ {
#region Protected Fields
/// <summary>
/// Assembly di base
/// </summary>
protected Assembly assembly = Assembly.GetExecutingAssembly();
#endregion Protected Fields
#region Public Constructors
/// <summary>
/// Istanza base
/// </summary>
public HwSwInfo()
{
assembly = Assembly.GetExecutingAssembly();
}
public HwSwInfo(Assembly targetAssembly)
{
assembly = targetAssembly;
}
#endregion Public Constructors
/// <summary>
/// Assembly di base
/// </summary>
protected Assembly assembly = Assembly.GetExecutingAssembly();
/// <summary>
/// Istanza base
/// </summary>
public HwSwInfo()
{
assembly = Assembly.GetExecutingAssembly();
}
public HwSwInfo(Assembly targetAssembly)
{
assembly = targetAssembly;
}
#if false #if false
/// <summary> /// <summary>
/// Singleton! /// Singleton!
/// </summary> /// </summary>
public static HwSwInfo man = new HwSwInfo(); public static HwSwInfo man = new HwSwInfo();
#endif #endif
/// <summary>
/// Singleton!
/// </summary>
public static HwSwInfo man(Assembly targetAssembly)
{
HwSwInfo answ = new HwSwInfo(targetAssembly);
return answ;
}
/// <summary>
/// Restitusice l'elenco pareto (decrescente) delle dimensioni browser registrate
/// </summary>
public string paretoBrowserSize
{
get
{
StringBuilder sb = new StringBuilder();
string redHash = memLayer.ML.redHash("COUNT:wh:*");
int numRec = memLayer.ML.redCountKey(redHash);
List<KeyValuePair<string, int>> kvp = memLayer.ML.redGetCounterByKey(redHash, memLayer.kvpOrderBy.ValDesc);
// riordino elenco #region Public Properties
sb.AppendLine(string.Format("Trovate {0} combinazioni", numRec));
foreach (var item in kvp)
{
sb.AppendLine(string.Format("{0}: {1}", item.Key.Replace(memLayer.ML.redHash("COUNT:wh:"), ""), item.Value));
}
return sb.ToString();
}
}
/// <summary>
/// Formatta un numero da int a size in Kb/Mb/Gb/Tb
/// </summary>
/// <param name="rawSize"></param>
/// <returns></returns>
public string memFormat(double rawSize)
{
string[] sizes = { "B", "KB", "MB", "GB", "TB" };
int order = 0;
while (rawSize >= 1024 && order < sizes.Length - 1)
{
order++;
rawSize = rawSize / 1024;
}
// Adjust the format string to your preferences. For example "{0:0.#}{1}" would /// <summary>
// show a single decimal place, and no space. /// Statistiche IIS
return String.Format("{0:0.##} {1}", rawSize, sizes[order]); /// </summary>
} public string IISStats
/// <summary>
/// Dati sui server redis...
/// </summary>
public string redisServersData
{
get
{
StringBuilder sb = new StringBuilder();
try
{ {
var servData = memLayer.ML.redServInfo(); get
foreach (var item in servData)
{
sb.AppendLine(string.Format("Server: {0} | {1} | {2}", item, item.Version, item.ServerType));
// da completare con altre info?!?
var srvInfo = item.Info();
// esporto un pò di info x gruppo...
foreach (IGrouping<string, System.Collections.Generic.KeyValuePair<string, string>> capitolo in srvInfo)
{ {
sb.AppendLine("----------------------------------------------"); StringBuilder sb = new StringBuilder();
sb.AppendLine(string.Format("Capitolo: {0}", capitolo.Key)); using (var iis = Process.GetCurrentProcess())
sb.AppendLine("----------------------------------------------"); {
foreach (var kvp in capitolo) //Process iis = Process.GetCurrentProcess();
{ sb.AppendLine(string.Format("UPTIME: {0}", ToDateString(DateTime.Now - iis.StartTime)));
sb.AppendLine(string.Format("{0}:{1}", kvp.Key, kvp.Value)); sb.AppendLine(string.Format("Priority: {0}", iis.PriorityClass));
} sb.AppendLine(string.Format("Physical Memory Used: {0}", memFormat(iis.WorkingSet64)));
sb.AppendLine(string.Format("Virtual Memory Used: {0}", memFormat(iis.VirtualMemorySize64)));
sb.AppendLine(); }
return sb.ToString();
} }
}
} }
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in redisServersData{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
}
return sb.ToString();
}
}
/// <summary>
/// Stringa timing in gg, ore, ... da timespan
/// </summary>
/// <param name="time"></param>
/// <returns></returns>
public string ToDateString(TimeSpan time)
{
return string.Format("{0}gg, {1:00}:{2:00}:{3:00} (h:m:s)", time.Days, time.Hours, time.Minutes, time.Seconds);
}
/// <summary>
/// Statistiche server
/// </summary>
public string ServerStats
{
get
{
StringBuilder sb = new StringBuilder();
try
{
// calcoli preliminari
TimeSpan uptime;
using (var uptimeCounter = new PerformanceCounter("System", "System Up Time"))
{
uptimeCounter.NextValue();
uptime = TimeSpan.FromSeconds(uptimeCounter.NextValue());
}
var computer = new ComputerInfo();
// compongo output /// <summary>
sb.AppendLine(string.Format("NAME: {0}", Environment.MachineName)); /// Versioni di ogni libreria compresa
sb.AppendLine(Environment.OSVersion.VersionString); /// </summary>
sb.AppendLine(string.Format("OS 64bit: {0} | PROC 64bit: {1}", Environment.Is64BitOperatingSystem, Environment.Is64BitProcess)); public string librariesVers
sb.AppendLine(string.Format("SYS UPTIME: {0}", ToDateString(uptime)));
sb.AppendLine(string.Format("CPU: {0}", Environment.ProcessorCount));
sb.AppendLine(string.Format("RAM: {0}", memFormat(computer.TotalPhysicalMemory)));
sb.AppendLine(string.Format("Virtual Memory: {0}", memFormat(computer.TotalVirtualMemory)));
sb.AppendLine(string.Format("Available RAM: {0}", memFormat(computer.AvailablePhysicalMemory)));
sb.AppendLine(string.Format("Available Virtual Memory: {0}", memFormat(computer.AvailableVirtualMemory)));
sb.AppendLine(string.Format("DIR: {0}", Environment.CurrentDirectory));
sb.AppendLine(string.Format("USER: {0} | USER: {1}", Environment.UserDomainName, Environment.UserName));
}
catch (Exception exc)
{ {
logger.lg.scriviLog(string.Format("Errore in ServerStats{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION); get
{
string answ = "";
try
{
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
{
answ += referencedAssemblyName.FullName + Environment.NewLine;
}
}
catch
{ }
return answ;
}
} }
return sb.ToString();
}
}
/// <summary>
/// Statistiche IIS
/// </summary>
public string IISStats
{
get
{
StringBuilder sb = new StringBuilder();
using (var iis = Process.GetCurrentProcess())
{
//Process iis = Process.GetCurrentProcess();
sb.AppendLine(string.Format("UPTIME: {0}", ToDateString(DateTime.Now - iis.StartTime)));
sb.AppendLine(string.Format("Priority: {0}", iis.PriorityClass));
sb.AppendLine(string.Format("Physical Memory Used: {0}", memFormat(iis.WorkingSet64)));
sb.AppendLine(string.Format("Virtual Memory Used: {0}", memFormat(iis.VirtualMemorySize64)));
}
return sb.ToString();
}
}
/// <summary>
/// Nome MainAssembly
/// </summary>
public string mainAssembly
{
get
{
string answ = "";
try
{
answ = assembly.FullName;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Runtime assembly
/// </summary>
public string runtimeImg
{
get
{
string answ = "";
try
{
answ = assembly.ImageRuntimeVersion;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Versioni di ogni libreria compresa
/// </summary>
public string librariesVers
{
get
{
string answ = "";
try
{
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
{
answ += referencedAssemblyName.FullName + Environment.NewLine;
}
}
catch
{ }
return answ;
}
}
/// <summary>
/// Num di librerie inserite
/// </summary>
public int numLibraries
{
get
{
int numLib = 0; ;
try
{
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
{
numLib++;
}
}
catch
{ }
return numLib;
}
}
} /// <summary>
/// Nome MainAssembly
/// </summary>
public string mainAssembly
{
get
{
string answ = "";
try
{
answ = assembly.FullName;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Num di librerie inserite
/// </summary>
public int numLibraries
{
get
{
int numLib = 0; ;
try
{
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
{
numLib++;
}
}
catch
{ }
return numLib;
}
}
/// <summary>
/// Restitusice l'elenco delle dimensioni browser registrate
/// </summary>
public string paretoBrowserSize
{
get
{
string redHash = memLayer.ML.redHash("COUNT:wh:*");
return getBrowserData(redHash);
}
}
/// <summary>
/// Restitusice l'elenco delle dimensioni SCHERMO registrate
/// </summary>
public string paretoScreenSize
{
get
{
string redHash = memLayer.ML.redHash("COUNT:scr:*");
return getBrowserData(redHash);
}
}
/// <summary>
/// Restitusice l'elenco delle dimensioni FINESTRA browser + PIXEL ratio registrate
/// </summary>
public string paretoWinPixRat
{
get
{
string redHash = memLayer.ML.redHash("COUNT:wpr:*");
return getBrowserData(redHash);
}
}
/// <summary>
/// Dati sui server redis...
/// </summary>
public string redisServersData
{
get
{
StringBuilder sb = new StringBuilder();
try
{
var servData = memLayer.ML.redServInfo();
foreach (var item in servData)
{
sb.AppendLine(string.Format("Server: {0} | {1} | {2}", item, item.Version, item.ServerType));
// da completare con altre info?!?
var srvInfo = item.Info();
// esporto un pò di info x gruppo...
foreach (IGrouping<string, System.Collections.Generic.KeyValuePair<string, string>> capitolo in srvInfo)
{
sb.AppendLine("----------------------------------------------");
sb.AppendLine(string.Format("Capitolo: {0}", capitolo.Key));
sb.AppendLine("----------------------------------------------");
foreach (var kvp in capitolo)
{
sb.AppendLine(string.Format("{0}:{1}", kvp.Key, kvp.Value));
}
sb.AppendLine();
}
}
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in redisServersData{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
}
return sb.ToString();
}
}
/// <summary>
/// Runtime assembly
/// </summary>
public string runtimeImg
{
get
{
string answ = "";
try
{
answ = assembly.ImageRuntimeVersion;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Statistiche server
/// </summary>
public string ServerStats
{
get
{
StringBuilder sb = new StringBuilder();
try
{
// calcoli preliminari
TimeSpan uptime;
using (var uptimeCounter = new PerformanceCounter("System", "System Up Time"))
{
uptimeCounter.NextValue();
uptime = TimeSpan.FromSeconds(uptimeCounter.NextValue());
}
var computer = new ComputerInfo();
// compongo output
sb.AppendLine(string.Format("NAME: {0}", Environment.MachineName));
sb.AppendLine(Environment.OSVersion.VersionString);
sb.AppendLine(string.Format("OS 64bit: {0} | PROC 64bit: {1}", Environment.Is64BitOperatingSystem, Environment.Is64BitProcess));
sb.AppendLine(string.Format("SYS UPTIME: {0}", ToDateString(uptime)));
sb.AppendLine(string.Format("CPU: {0}", Environment.ProcessorCount));
sb.AppendLine(string.Format("RAM: {0}", memFormat(computer.TotalPhysicalMemory)));
sb.AppendLine(string.Format("Virtual Memory: {0}", memFormat(computer.TotalVirtualMemory)));
sb.AppendLine(string.Format("Available RAM: {0}", memFormat(computer.AvailablePhysicalMemory)));
sb.AppendLine(string.Format("Available Virtual Memory: {0}", memFormat(computer.AvailableVirtualMemory)));
sb.AppendLine(string.Format("DIR: {0}", Environment.CurrentDirectory));
sb.AppendLine(string.Format("USER: {0} | USER: {1}", Environment.UserDomainName, Environment.UserName));
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in ServerStats{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
}
return sb.ToString();
}
}
#endregion Public Properties
#region Private Methods
private static string getBrowserData(string redPattern)
{
StringBuilder sb = new StringBuilder();
int numRec = memLayer.ML.redCountKey(redPattern);
var redKeys = memLayer.ML.redGetKeys(redPattern);
// riordino elenco
sb.AppendLine(string.Format("Trovate {0} combinazioni", numRec));
string currKey = "";
string currVal = "";
foreach (var item in redKeys)
{
currKey = item.ToString().Replace(memLayer.ML.redHash(redPattern.Replace(":*", ":")), "");
currVal = memLayer.ML.getRSV(item);
sb.AppendLine($"{currKey}: {currVal}");
}
return sb.ToString();
}
#endregion Private Methods
#region Public Methods
/// <summary>
/// Singleton!
/// </summary>
public static HwSwInfo man(Assembly targetAssembly)
{
HwSwInfo answ = new HwSwInfo(targetAssembly);
return answ;
}
/// <summary>
/// Formatta un numero da int a size in Kb/Mb/Gb/Tb
/// </summary>
/// <param name="rawSize"></param>
/// <returns></returns>
public string memFormat(double rawSize)
{
string[] sizes = { "B", "KB", "MB", "GB", "TB" };
int order = 0;
while (rawSize >= 1024 && order < sizes.Length - 1)
{
order++;
rawSize = rawSize / 1024;
}
// Adjust the format string to your preferences. For example "{0:0.#}{1}" would
// show a single decimal place, and no space.
return String.Format("{0:0.##} {1}", rawSize, sizes[order]);
}
/// <summary>
/// Stringa timing in gg, ore, ... da timespan
/// </summary>
/// <param name="time"></param>
/// <returns></returns>
public string ToDateString(TimeSpan time)
{
return string.Format("{0}gg, {1:00}:{2:00}:{3:00} (h:m:s)", time.Days, time.Hours, time.Minutes, time.Seconds);
}
#endregion Public Methods
}
} }
-37
View File
@@ -1,37 +0,0 @@
using NLog;
using NLog.Config;
using NLog.Targets;
namespace SteamWare
{
/// <summary>
/// Classe helper x LOG basata su NLog
/// </summary>
public static class Log
{
/// <summary>
/// S
/// </summary>
public static Logger Instance { get; private set; }
static Log()
{
#if DEBUG
// Setup the logging view for Sentinel - http://sentinel.codeplex.com
var sentinalTarget = new NLogViewerTarget()
{
Name = "sentinal",
Address = "udp://127.0.0.1:9999",
IncludeNLogData = false
};
var sentinalRule = new LoggingRule("*", LogLevel.Trace, sentinalTarget);
LogManager.Configuration.AddTarget("sentinal", sentinalTarget);
LogManager.Configuration.LoggingRules.Add(sentinalRule);
#endif
LogManager.ReconfigExistingLoggers();
Instance = LogManager.GetCurrentClassLogger();
}
}
}
+69 -40
View File
@@ -61,7 +61,8 @@
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>App_Readme\SteamWare_demo\example-favicon.ico</ApplicationIcon> <ApplicationIcon>
</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -76,34 +77,34 @@
<Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath> <HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath>
</Reference> </Reference>
<Reference Include="DnsClient, Version=1.3.2.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL"> <Reference Include="DnsClient, Version=1.4.0.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
<HintPath>..\packages\DnsClient.1.3.2\lib\net45\DnsClient.dll</HintPath> <HintPath>..\packages\DnsClient.1.4.0\lib\net45\DnsClient.dll</HintPath>
</Reference> </Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=1.2.0.246, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> <Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.2.0\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath> <HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.VisualBasic" /> <Reference Include="Microsoft.VisualBasic" />
<Reference Include="MongoDB.Bson, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Bson, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Bson.2.11.2\lib\net452\MongoDB.Bson.dll</HintPath> <HintPath>..\packages\MongoDB.Bson.2.12.0\lib\net452\MongoDB.Bson.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Driver, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Driver, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.2.11.2\lib\net452\MongoDB.Driver.dll</HintPath> <HintPath>..\packages\MongoDB.Driver.2.12.0\lib\net452\MongoDB.Driver.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Driver.Core, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.Driver.Core, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.Core.2.11.2\lib\net452\MongoDB.Driver.Core.dll</HintPath> <HintPath>..\packages\MongoDB.Driver.Core.2.12.0\lib\net452\MongoDB.Driver.Core.dll</HintPath>
</Reference> </Reference>
<Reference Include="MongoDB.Libmongocrypt, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MongoDB.LibMongocrypt, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Libmongocrypt.1.0.0\lib\net452\MongoDB.Libmongocrypt.dll</HintPath> <HintPath>..\packages\MongoDB.LibMongocrypt.1.2.0\lib\net452\MongoDB.LibMongocrypt.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"> <Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.7.4\lib\net45\NLog.dll</HintPath> <HintPath>..\packages\NLog.4.7.8\lib\net45\NLog.dll</HintPath>
</Reference> </Reference>
<Reference Include="PdfSharp, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL"> <Reference Include="PdfSharp, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.dll</HintPath> <HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.dll</HintPath>
@@ -112,16 +113,19 @@
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.Charting.dll</HintPath> <HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.Charting.dll</HintPath>
</Reference> </Reference>
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL"> <Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.16\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath> <HintPath>..\packages\Pipelines.Sockets.Unofficial.2.2.0\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
</Reference> </Reference>
<Reference Include="SharpCompress, Version=0.26.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL"> <Reference Include="SharpCompress, Version=0.28.1.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
<HintPath>..\packages\SharpCompress.0.26.0\lib\net46\SharpCompress.dll</HintPath> <HintPath>..\packages\SharpCompress.0.28.1\lib\netstandard2.0\SharpCompress.dll</HintPath>
</Reference> </Reference>
<Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath> <HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath>
</Reference> </Reference>
<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.1.58\lib\net461\StackExchange.Redis.dll</HintPath> <HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="SteamWare.Logger, Version=5.0.2103.754, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SteamWare.Logger.5.0.2103.754\lib\net462\SteamWare.Logger.dll</HintPath>
</Reference> </Reference>
<Reference Include="System"> <Reference Include="System">
<HintPath>c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.dll</HintPath> <HintPath>c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.dll</HintPath>
@@ -135,17 +139,18 @@
</Reference> </Reference>
<Reference Include="System.Data" /> <Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Diagnostics.PerformanceCounter, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Diagnostics.PerformanceCounter, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.4.7.0\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath> <HintPath>..\packages\System.Diagnostics.PerformanceCounter.5.0.1\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />
<Reference Include="System.EnterpriseServices" /> <Reference Include="System.EnterpriseServices" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.5.0.1\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference>
<!-- <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <!-- <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath> <HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
</Reference> --> </Reference> -->
<Reference Include="System.IO.Pipelines, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference>
<Reference Include="System.Management" /> <Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath> <HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
@@ -159,13 +164,14 @@
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath> <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference> </Reference>
<!-- <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <!-- <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
</Reference> --> </Reference> -->
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Security" />
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath> <HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
<Private>True</Private> <Private>True</Private>
@@ -176,6 +182,9 @@
<Private>True</Private> <Private>True</Private>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="System.Security.Cryptography.Pkcs, Version=5.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Pkcs.5.0.1\lib\net461\System.Security.Cryptography.Pkcs.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath> <HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
<Private>True</Private> <Private>True</Private>
@@ -187,8 +196,11 @@
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="System.ServiceModel" /> <Reference Include="System.ServiceModel" />
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.4.7.1\lib\net461\System.Threading.Channels.dll</HintPath> <HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Channels, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.5.0.0\lib\net461\System.Threading.Channels.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath> <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
@@ -243,6 +255,14 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>DS_Billing.xsd</DependentUpon> <DependentUpon>DS_Billing.xsd</DependentUpon>
</Compile> </Compile>
<Compile Include="DS_Budget.cs">
<DependentUpon>DS_Budget.xsd</DependentUpon>
</Compile>
<Compile Include="DS_Budget.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DS_Budget.xsd</DependentUpon>
</Compile>
<Compile Include="DS_devices.Designer.cs"> <Compile Include="DS_devices.Designer.cs">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
@@ -268,7 +288,6 @@
<Compile Include="licenseMan.cs" /> <Compile Include="licenseMan.cs" />
<Compile Include="log2note.cs" /> <Compile Include="log2note.cs" />
<Compile Include="logger.cs" /> <Compile Include="logger.cs" />
<Compile Include="Logging.cs" />
<Compile Include="memLayer.cs" /> <Compile Include="memLayer.cs" />
<Compile Include="NetworkConnection.cs" /> <Compile Include="NetworkConnection.cs" />
<Compile Include="pdfUtils.cs" /> <Compile Include="pdfUtils.cs" />
@@ -301,25 +320,35 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="App_Readme\README_SteamWare.txt" />
<Content Include="App_Readme\SteamWare_demo\example-config-table.txt" /> <Content Include="App_Readme\SteamWare_demo\example-config-table.txt" />
<Content Include="App_Readme\SteamWare_demo\example-favicon.ico"> <Content Include="App_Readme\SteamWare_demo\example-favicon.ico" />
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="App_Readme\SteamWare_demo\example-NLog.config"> <Content Include="App_Readme\SteamWare_demo\example-NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="App_Readme\README_SteamWare.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="App_Readme\SteamWare_demo\example-app.config"> <Content Include="App_Readme\SteamWare_demo\example-app.config">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Content> </Content>
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" /> <Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" /> <Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" /> <Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
<Content Include="mongocrypt.dll" />
<None Include="..\.editorconfig"> <None Include="..\.editorconfig">
<Link>.editorconfig</Link> <Link>.editorconfig</Link>
</None> </None>
<None Include="DS_Budget.xsc">
<DependentUpon>DS_Budget.xsd</DependentUpon>
</None>
<None Include="DS_Budget.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DS_Budget.Designer.cs</LastGenOutput>
</None>
<None Include="DS_Budget.xss">
<DependentUpon>DS_Budget.xsd</DependentUpon>
</None>
<None Include="libmongocrypt.dylib" />
<None Include="libmongocrypt.so" />
<None Include="SteamWare.tt"> <None Include="SteamWare.tt">
<Generator>TextTemplatingFileGenerator</Generator> <Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>SteamWare.cs</LastGenOutput> <LastGenOutput>SteamWare.cs</LastGenOutput>
@@ -454,9 +483,9 @@
<ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText> <ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" /> <Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
<Error Condition="!Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets'))" /> <Error Condition="!Exists('..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets'))" />
<Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets'))" /> <Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets'))" />
</Target> </Target>
<Import Project="..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" /> <Import Project="..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.LibMongocrypt.1.2.0\build\MongoDB.Libmongocrypt.targets')" />
<Import Project="..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" /> <Import Project="..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.12.0\build\MongoDB.Driver.Core.targets')" />
</Project> </Project>
+202 -136
View File
@@ -4,160 +4,226 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Net.Http;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Xml; using System.Xml;
namespace SteamWare namespace SteamWare
{ {
/// <summary>
/// Gestione update applicazioni
/// </summary>
public class UpdateMan
{
/// <summary> /// <summary>
/// Init classe /// Object of this class gives you all the details about the update useful in handling the update logic yourself.
/// </summary> /// </summary>
protected UpdateMan() public class UpdateInfoEventArgs : EventArgs
{ }
/// <summary>
/// Init classe
/// </summary>
public static UpdateMan obj = new UpdateMan();
/// <summary>
/// Recupera l'ultima versione disponibile
/// </summary>
/// <param name="remoteUrl"></param>
/// <returns></returns>
public UpdateInfoEventArgs getUpdateInfo(string remoteUrl)
{ {
UpdateInfoEventArgs args = new UpdateInfoEventArgs(); #region Public Properties
Version CurrentVersion;
bool Mandatory; /// <summary>
XmlDocument recXml = new XmlDocument(); /// URL of the webpage specifying changes in the new update.
try /// </summary>
{ public string ChangelogURL { get; set; }
// recupero dati
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.CreateHttp(remoteUrl); /// <summary>
HttpWebResponse remData = (HttpWebResponse)request.GetResponse(); /// Returns newest version of the application available to download.
// converto in XML /// </summary>
recXml.Load(remData.GetResponseStream()); public Version CurrentVersion { get; set; }
XmlNodeList recData = recXml.SelectNodes("item");
if (recData != null) /// <summary>
{ /// Download URL of the update file.
foreach (XmlNode item in recData) /// </summary>
{ public string DownloadURL { get; set; }
XmlNode appCastVersion = item.SelectSingleNode("version");
Version.TryParse(appCastVersion?.InnerText, out CurrentVersion); /// <summary>
args.CurrentVersion = CurrentVersion; /// Returns version of the application currently installed on the user's PC.
XmlNode appCastChangeLog = item.SelectSingleNode("changelog"); /// </summary>
args.ChangelogURL = appCastChangeLog?.InnerText; public Version InstalledVersion { get; set; }
XmlNode appCastUrl = item.SelectSingleNode("url");
args.DownloadURL = appCastUrl?.InnerText; /// <summary>
XmlNode mandatory = item.SelectSingleNode("mandatory"); /// If new update is available then returns true otherwise false.
Boolean.TryParse(mandatory?.InnerText, out Mandatory); /// </summary>
args.Mandatory = Mandatory; public bool IsUpdateAvailable { get; set; }
args.IsUpdateAvailable = true;
} /// <summary>
} /// Shows if the update is required or optional.
} /// </summary>
catch public bool Mandatory { get; set; }
{
// metto versione = 0 + errore... #endregion Public Properties
args.IsUpdateAvailable = false;
args.CurrentVersion= new Version("0.0.0.0");
}
return args;
} }
/// <summary> /// <summary>
/// Effettua download ultima versione applicativo /// Gestione update applicazioni
/// </summary> /// </summary>
/// <param name="remoteUrl"></param> public class UpdateMan
/// <param name="localRepo"></param>
/// <param name="packName"></param>
public int downloadLatest(string remoteUrl, string localRepo, string packName)
{ {
int done = 0; #region Public Fields
// verifico directory
if (!Directory.Exists(localRepo)) /// <summary>
{ /// Init classe
Directory.CreateDirectory(localRepo); /// </summary>
} public static UpdateMan obj = new UpdateMan();
string localFile = "";
string localLast = ""; #endregion Public Fields
try
{ #region Public Constructors
// in primis scarico update info...
UpdateInfoEventArgs updateData = getUpdateInfo(remoteUrl); /// <summary>
if (updateData.IsUpdateAvailable) /// Init classe
/// </summary>
public UpdateMan()
{ }
/// <summary>
/// Init classe
/// </summary>
/// <param name="user"></param>
/// <param name="pwd"></param>
public UpdateMan(string user, string pwd)
{ {
string DownloadURL = updateData.DownloadURL; userName = user;
localFile = string.Format(@"{0}\{2}_Build_{1}.zip", localRepo, updateData.CurrentVersion, packName); passwd = pwd;
localLast = string.Format(@"{0}\{1}.zip", localRepo, packName);
// scarica file e salva in directory locale...
var client = new WebClient();
client.DownloadFile(updateData.DownloadURL, localFile);
// ora lo copio come latest...
File.Copy(localFile, localLast, true);
// indico come fatto!
done = 1;
} }
else
#endregion Public Constructors
#region Protected Properties
protected string passwd { get; set; } = "";
protected string userName { get; set; } = "";
#endregion Protected Properties
#region Public Methods
/// <summary>
/// Effettua download ultima versione applicativo
/// </summary>
/// <param name="remoteUrl"></param>
/// <param name="localRepo"></param>
/// <param name="packName"></param>
public int downloadLatest(string remoteUrl, string localRepo, string packName)
{ {
localFile = string.Format(@"{0}\Error.log", localRepo); int done = 0;
// scrivo file in area target... // verifico directory
using (StreamWriter sw = File.AppendText(localFile)) if (!Directory.Exists(localRepo))
{ {
sw.WriteLine(string.Format("{0:yyyy-MM-dd HH:mm:ss} ATTENZIONE! Installer NON disponibile | {1}", DateTime.Now, remoteUrl)); Directory.CreateDirectory(localRepo);
} }
string localFile = "";
string localLast = "";
try
{
// in primis scarico update info...
UpdateInfoEventArgs updateData = getUpdateInfo(remoteUrl);
if (updateData.IsUpdateAvailable)
{
string DownloadURL = updateData.DownloadURL;
localFile = string.Format(@"{0}\{1}_Build_{2}.zip", localRepo, packName, updateData.CurrentVersion);
localLast = string.Format(@"{0}\{1}.zip", localRepo, packName);
// scarica file e salva in directory locale...
var client = new WebClient();
bool doAuth = !string.IsNullOrEmpty($"{userName}{passwd}");
if (doAuth)
{
client.Credentials = new System.Net.NetworkCredential(userName, passwd);
}
client.DownloadFile(updateData.DownloadURL, localFile);
// ora lo copio come latest...
File.Copy(localFile, localLast, true);
// indico come fatto!
done = 1;
}
else
{
localFile = string.Format(@"{0}\Error.log", localRepo);
// scrivo file in area target...
using (StreamWriter sw = File.AppendText(localFile))
{
sw.WriteLine(string.Format("{0:yyyy-MM-dd HH:mm:ss} ATTENZIONE! Installer NON disponibile | {1}", DateTime.Now, remoteUrl));
}
}
}
catch (Exception exc)
{
localFile = string.Format(@"{0}\Error.log", localRepo);
// scrivo file in area target...
using (StreamWriter sw = File.AppendText(localFile))
{
sw.WriteLine(string.Format("{0:yyyy-MM-dd HH:mm:ss} Errore in fase di download installers per {1}", DateTime.Now, remoteUrl));
sw.WriteLine(exc.ToString());
}
}
return done;
} }
}
catch (Exception exc) /// <summary>
{ /// Recupera l'ultima versione disponibile
localFile = string.Format(@"{0}\Error.log", localRepo); /// </summary>
// scrivo file in area target... /// <param name="remoteUrl"></param>
using (StreamWriter sw = File.AppendText(localFile)) /// <returns></returns>
public UpdateInfoEventArgs getUpdateInfo(string remoteUrl)
{ {
sw.WriteLine(string.Format("{0:yyyy-MM-dd HH:mm:ss} Errore in fase di download installers per {1}", DateTime.Now, remoteUrl)); bool doAuth = !string.IsNullOrEmpty($"{userName}{passwd}");
sw.WriteLine(exc.ToString());
UpdateInfoEventArgs args = new UpdateInfoEventArgs();
Version CurrentVersion;
bool Mandatory;
XmlDocument recXml = new XmlDocument();
try
{
// recupero dati
using (var http = new HttpClient())
{
if (doAuth)
{
http.DefaultRequestHeaders.Accept.Clear();
var byteArray = System.Text.ASCIIEncoding.UTF8.GetBytes($"{userName}:{passwd}");
http.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));
}
// url da chiamare
http.BaseAddress = new Uri(remoteUrl);
// lettura
var data = http.GetAsync(remoteUrl).Result;
var myReader = data.Content.ReadAsStreamAsync();
if (data.StatusCode != HttpStatusCode.OK)
{
logger.lg.scriviLog($"Errore in chiamata getUpdateInfo per URL {remoteUrl}: status code: {data.StatusCode}", tipoLog.INFO);
}
else
{
recXml.Load(myReader.Result);
XmlNodeList recData = recXml.SelectNodes("item");
if (recData != null)
{
foreach (XmlNode item in recData)
{
XmlNode appCastVersion = item.SelectSingleNode("version");
Version.TryParse(appCastVersion?.InnerText, out CurrentVersion);
args.CurrentVersion = CurrentVersion;
XmlNode appCastChangeLog = item.SelectSingleNode("changelog");
args.ChangelogURL = appCastChangeLog?.InnerText;
XmlNode appCastUrl = item.SelectSingleNode("url");
args.DownloadURL = appCastUrl?.InnerText;
XmlNode mandatory = item.SelectSingleNode("mandatory");
Boolean.TryParse(mandatory?.InnerText, out Mandatory);
args.Mandatory = Mandatory;
args.IsUpdateAvailable = true;
}
}
}
}
}
catch (Exception exc)
{
logger.lg.scriviLog($"Eccezione in getUpdateInfo:{Environment.NewLine}{exc}");
// metto versione = 0 + errore...
args.IsUpdateAvailable = false;
args.CurrentVersion = new Version("0.0.0.0");
}
return args;
} }
}
return done; #endregion Public Methods
} }
}
/// <summary>
/// Object of this class gives you all the details about the update useful in handling the update logic yourself.
/// </summary>
public class UpdateInfoEventArgs : EventArgs
{
/// <summary>
/// If new update is available then returns true otherwise false.
/// </summary>
public bool IsUpdateAvailable { get; set; }
/// <summary>
/// Download URL of the update file.
/// </summary>
public string DownloadURL { get; set; }
/// <summary>
/// URL of the webpage specifying changes in the new update.
/// </summary>
public string ChangelogURL { get; set; }
/// <summary>
/// Returns newest version of the application available to download.
/// </summary>
public Version CurrentVersion { get; set; }
/// <summary>
/// Returns version of the application currently installed on the user's PC.
/// </summary>
public Version InstalledVersion { get; set; }
/// <summary>
/// Shows if the update is required or optional.
/// </summary>
public bool Mandatory { get; set; }
}
} }
+87 -109
View File
@@ -1,112 +1,90 @@
<?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">
<configSections> <configSections>
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup"> <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection" /> <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection" />
</sectionGroup> </sectionGroup>
<section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections> </configSections>
<appSettings> <appSettings>
<webServices> <webServices>
<soapExtensionTypes> <soapExtensionTypes>
<add type="Microsoft.Web.Services2.WebServicesExtension, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" priority="1" group="0" /> <add type="Microsoft.Web.Services2.WebServicesExtension, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
</soapExtensionTypes> </soapExtensionTypes>
</webServices> </webServices>
<add key="_logDir" value="./logs/" /> <add key="_logDir" value="./logs/" />
<add key="_smtpCli" value="10.10.11.22" /> <add key="_smtpCli" value="10.10.11.22" />
<add key="mdbConnString" value="mongodb://W2019-MONGODB:27017" /> <add key="mdbConnString" value="mongodb://W2019-MONGODB:27017" />
</appSettings> </appSettings>
<microsoft.web> <microsoft.web>
<converters> <converters>
<add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter" /> <add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter" />
<add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter" /> <add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter" />
<add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter" /> <add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter" />
</converters> </converters>
</microsoft.web> </microsoft.web>
<!-- SteamWare --> <!-- SteamWare -->
<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.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />-->
<add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SteamWare_Vocabolario;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=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=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=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" /> <add name="SteamWare.Properties.Settings.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SteamWare_Vocabolario;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=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=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=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=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=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=sa;Password=keyhammer16;" 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.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.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.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.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.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer16;Encrypt=False;TrustServerCertificate=True" 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.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.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.GMWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
</connectionStrings> <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" />
<system.web> <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" />
<pages> </connectionStrings>
<controls> <system.web>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" /> <pages>
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" /> <controls>
</controls> <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" />
</pages> <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas" />
<!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. --> </controls>
<httpHandlers> </pages>
<remove verb="*" path="*.asmx" /> <!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. -->
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false" /> <httpHandlers>
</httpHandlers> <remove verb="*" path="*.asmx" />
<httpModules> <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false" />
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule" /> </httpHandlers>
</httpModules> <httpModules>
</system.web> <add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule" />
<startup> </httpModules>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /> </system.web>
</startup> <startup>
<runtime xmlns=""> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> </startup>
<dependentAssembly> <runtime xmlns="">
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> <dependentAssembly>
</dependentAssembly> <assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> <dependentAssembly>
</dependentAssembly> <assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
<dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-0.28.1.0" newVersion="0.28.1.0" />
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-0.26.0.0" newVersion="0.26.0.0" /> <dependentAssembly>
</dependentAssembly> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" /> <dependentAssembly>
</dependentAssembly> <assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> <dependentAssembly>
</dependentAssembly> <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<dependentAssembly> <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" /> <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.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> </dependentAssembly>
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" /> </assemblyBinding>
</dependentAssembly> </runtime>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="DnsClient" publicKeyToken="4574bb5573c51424" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.2.0" newVersion="1.3.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.1.1.3" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> </configuration>
+1221 -1210
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
+49 -4
View File
@@ -92,6 +92,21 @@ namespace SteamWare
/// </summary> /// </summary>
protected int _logMaxMb; protected int _logMaxMb;
/// <summary>
/// max numero di veto count da accettare
/// </summary>
protected int _vetoRedisCheckLimit = 100;
/// <summary>
/// max numero di veto count da accettare
/// </summary>
protected int _vetoRedisPausePurge = 20;
/// <summary>
/// max numero di key da eliminare ogni check
/// </summary>
protected int _vetoRedisPurgeMax = 200;
/// <summary> /// <summary>
/// Indica se sia abilitato log diagnostico esteso... /// Indica se sia abilitato log diagnostico esteso...
/// </summary> /// </summary>
@@ -137,6 +152,34 @@ namespace SteamWare
{ {
enableDumpDiag = false; enableDumpDiag = false;
} }
// imposto i parametri per la pulizia dei veto su Redis
try
{
if (!string.IsNullOrEmpty(memLayer.ML.CRS("vetoRedisCheckLimit")))
{
_vetoRedisCheckLimit = memLayer.ML.CRI("vetoRedisCheckLimit");
}
}
catch
{ }
try
{
if (!string.IsNullOrEmpty(memLayer.ML.CRS("vetoRedisPausePurge")))
{
_vetoRedisPausePurge = memLayer.ML.CRI("vetoRedisPausePurge");
}
}
catch
{ }
try
{
if (!string.IsNullOrEmpty(memLayer.ML.CRS("vetoRedisPurgeMax")))
{
_vetoRedisPurgeMax = memLayer.ML.CRI("vetoRedisPurgeMax");
}
}
catch
{ }
// all'avvio imposto ultimo check a 23 ore fa... così farà shrink DOPO 1 h da avvio // all'avvio imposto ultimo check a 23 ore fa... così farà shrink DOPO 1 h da avvio
lastDirCheck = DateTime.Now.AddHours(-23); lastDirCheck = DateTime.Now.AddHours(-23);
} }
@@ -210,19 +253,21 @@ namespace SteamWare
private void purgeOldVeto() private void purgeOldVeto()
{ {
// limite minimo di chaivi salvate per cui procedere coi controlli // limite minimo di chaivi salvate per cui procedere coi controlli
int checkLimit = 100; int checkLimit = _vetoRedisCheckLimit;
// limito cleanup x avere un operazione graduale... // limito cleanup x avere un operazione graduale...
int maxCleanup = checkLimit * 2; int maxCleanup = _vetoRedisPurgeMax;
// parto recuperando i valori VETO.... se > 100... // parto recuperando i valori VETO.... se > 100...
string redKeyCounters = memLayer.ML.redHash("Logger:Counter:*"); string redKeyCounters = memLayer.ML.redHash("Logger:Counter:*");
string redLastCheck = memLayer.ML.redHash("Logger:CheckLock"); string redLastCheck = memLayer.ML.redHash("Logger:CheckLock");
// se non ho un veto check... // se non ho un veto check...
if (string.IsNullOrEmpty(memLayer.ML.getRSV(redLastCheck))) if (string.IsNullOrEmpty(memLayer.ML.getRSV(redLastCheck)))
{ {
memLayer.ML.setRSV(redLastCheck, "LOCK", 5); memLayer.ML.setRSV(redLastCheck, "LOCK", _vetoRedisPausePurge);
int numCount = memLayer.ML.redCountKey(redKeyCounters); int numCount = memLayer.ML.redCountKey(redKeyCounters);
if (numCount > checkLimit) if (numCount > checkLimit)
{ {
// se necessario riduco valore maxCleanup --> checkLimit...
maxCleanup = numCount < maxCleanup ? checkLimit : maxCleanup;
var redKeysList2check = memLayer.ML.redGetKeys(redKeyCounters); var redKeysList2check = memLayer.ML.redGetKeys(redKeyCounters);
foreach (var item in redKeysList2check) foreach (var item in redKeysList2check)
{ {
@@ -584,7 +629,7 @@ namespace SteamWare
protected void newLogfileName() protected void newLogfileName()
{ {
DateTime CurrentDateTime = DateTime.Now; DateTime CurrentDateTime = DateTime.Now;
_logfileName = _logBaseDir + String.Format("{0}.log", CurrentDateTime.ToString("yyyyMMdd")); _logfileName = _logBaseDir + String.Format("{0}.log", CurrentDateTime.ToString("yyyy-MM-dd"));
} }
/// <summary> /// <summary>
+1113 -1080
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
+19 -16
View File
@@ -3,35 +3,38 @@
<package id="AIM" version="1.0.3" targetFramework="net462" /> <package id="AIM" version="1.0.3" targetFramework="net462" />
<package id="AjaxControlToolkit" version="20.1.0" targetFramework="net462" /> <package id="AjaxControlToolkit" version="20.1.0" targetFramework="net462" />
<package id="Crc32C.NET" version="1.0.5.0" targetFramework="net462" /> <package id="Crc32C.NET" version="1.0.5.0" targetFramework="net462" />
<package id="DnsClient" version="1.3.2" targetFramework="net462" /> <package id="DnsClient" version="1.4.0" targetFramework="net462" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.1" targetFramework="net462" /> <package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net462" />
<package id="Microsoft.NETCore.Platforms" version="3.1.3" targetFramework="net462" /> <package id="Microsoft.NETCore.Platforms" version="5.0.1" targetFramework="net462" />
<package id="MongoDB.Bson" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Bson" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Driver" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Driver" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Driver.Core" version="2.11.2" targetFramework="net462" /> <package id="MongoDB.Driver.Core" version="2.12.0" targetFramework="net462" />
<package id="MongoDB.Libmongocrypt" version="1.0.0" targetFramework="net462" /> <package id="MongoDB.LibMongocrypt" version="1.2.0" targetFramework="net462" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="net462" /> <package id="NETStandard.Library" version="2.0.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" /> <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" />
<package id="NLog" version="4.7.4" targetFramework="net462" /> <package id="NLog" version="4.7.8" targetFramework="net462" />
<package id="PDFsharp" version="1.50.5147" targetFramework="net462" /> <package id="PDFsharp" version="1.50.5147" targetFramework="net462" />
<package id="Pipelines.Sockets.Unofficial" version="2.1.16" targetFramework="net462" /> <package id="Pipelines.Sockets.Unofficial" version="2.2.0" targetFramework="net462" />
<package id="SharpCompress" version="0.26.0" targetFramework="net462" /> <package id="SharpCompress" version="0.28.1" targetFramework="net462" />
<package id="SharpZipLib" version="1.2.0" targetFramework="net462" /> <package id="SharpZipLib" version="1.3.1" targetFramework="net462" />
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" /> <package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
<package id="StackExchange.Redis" version="2.1.58" targetFramework="net462" /> <package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
<package id="SteamWare.Logger" version="5.0.2103.754" targetFramework="net462" />
<package id="System.Buffers" version="4.5.1" targetFramework="net462" /> <package id="System.Buffers" version="4.5.1" targetFramework="net462" />
<package id="System.Diagnostics.PerformanceCounter" version="4.7.0" targetFramework="net462" /> <package id="System.Diagnostics.PerformanceCounter" version="5.0.1" targetFramework="net462" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" /> <package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
<package id="System.IO.Pipelines" version="4.7.2" targetFramework="net462" /> <package id="System.IO.Pipelines" version="5.0.1" targetFramework="net462" />
<package id="System.Memory" version="4.5.4" targetFramework="net462" /> <package id="System.Memory" version="4.5.4" targetFramework="net462" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net462" /> <package id="System.Net.Http" version="4.3.4" targetFramework="net462" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" /> <package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net462" /> <package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net462" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" /> <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net462" /> <package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net462" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net462" /> <package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.Pkcs" version="5.0.1" targetFramework="net462" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" /> <package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net462" /> <package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net462" />
<package id="System.Threading.Channels" version="4.7.1" targetFramework="net462" /> <package id="System.Text.Encoding.CodePages" version="5.0.0" targetFramework="net462" />
<package id="System.Threading.Channels" version="5.0.0" targetFramework="net462" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" /> <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
</packages> </packages>
+1208 -1040
View File
File diff suppressed because it is too large Load Diff
@@ -52,6 +52,10 @@
<None Include="..\.editorconfig"> <None Include="..\.editorconfig">
<Link>.editorconfig</Link> <Link>.editorconfig</Link>
</None> </None>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="bin\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
</connectionStrings>
<runtime>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
+10 -3
View File
@@ -10,6 +10,9 @@
<add key="cacheOnRedis" value="true" /> <add key="cacheOnRedis" value="true" />
<add key="redisDb" value="1" /> <add key="redisDb" value="1" />
<add key="_logDir" value="./logs/" /> <add key="_logDir" value="./logs/" />
<add key="vetoRedisCheckLimit" value="100" />
<add key="vetoRedisPausePurge" value="10" />
<add key="vetoRedisPurgeMax" value="300" />
<add key="codModulo" value="TestBench" /> <add key="codModulo" value="TestBench" />
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=TestBench;Persist Security Info=True;User ID=sa;Password=keyhammer16;" /> <add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=TestBench;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
</appSettings> </appSettings>
@@ -21,7 +24,7 @@
</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.26.0.0" newVersion="0.26.0.0" /> <bindingRedirect oldVersion="0.0.0.0-0.28.1.0" newVersion="0.28.1.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
@@ -33,7 +36,7 @@
</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-4.0.2.1" newVersion="4.0.2.1" /> <bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
@@ -41,7 +44,7 @@
</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-4.0.6.0" newVersion="4.0.6.0" /> <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
@@ -51,6 +54,10 @@
<assemblyIdentity name="DnsClient" publicKeyToken="4574bb5573c51424" culture="neutral" /> <assemblyIdentity name="DnsClient" publicKeyToken="4574bb5573c51424" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.2.0" newVersion="1.3.2.0" /> <bindingRedirect oldVersion="0.0.0.0-1.3.2.0" newVersion="1.3.2.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
</dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>
+190 -54
View File
@@ -49,6 +49,9 @@
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage(); this.tabPage3 = new System.Windows.Forms.TabPage();
this.btnResetAppConf = new System.Windows.Forms.Button();
this.lblTestLogger = new System.Windows.Forms.Label();
this.chkTestLogger = new System.Windows.Forms.CheckBox();
this.btnResetCdv = new System.Windows.Forms.Button(); this.btnResetCdv = new System.Windows.Forms.Button();
this.lblRedCDV = new System.Windows.Forms.Label(); this.lblRedCDV = new System.Windows.Forms.Label();
this.btnShowCdv = new System.Windows.Forms.Button(); this.btnShowCdv = new System.Windows.Forms.Button();
@@ -77,9 +80,17 @@
this.txtQueueMessage = new System.Windows.Forms.TextBox(); this.txtQueueMessage = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lblQueueRead = new System.Windows.Forms.Label(); this.lblQueueRead = new System.Windows.Forms.Label();
this.tabPage7 = new System.Windows.Forms.TabPage();
this.btnDownload = new System.Windows.Forms.Button();
this.lblOutUpdMan = new System.Windows.Forms.Label();
this.btnReadUpdMan = new System.Windows.Forms.Button();
this.txtRemoteUrl = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.txtPass = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.txtUser = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.clockTimer = new System.Windows.Forms.Timer(this.components); this.clockTimer = new System.Windows.Forms.Timer(this.components);
this.chkTestLogger = new System.Windows.Forms.CheckBox();
this.lblTestLogger = new System.Windows.Forms.Label();
this.LogTimer = new System.Windows.Forms.Timer(this.components); this.LogTimer = new System.Windows.Forms.Timer(this.components);
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.tabControl1.SuspendLayout(); this.tabControl1.SuspendLayout();
@@ -93,6 +104,7 @@
this.groupBox3.SuspendLayout(); this.groupBox3.SuspendLayout();
this.grpPublisher.SuspendLayout(); this.grpPublisher.SuspendLayout();
this.groupBox2.SuspendLayout(); this.groupBox2.SuspendLayout();
this.tabPage7.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// groupBox1 // groupBox1
@@ -108,9 +120,9 @@
this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.txtSourceDir); this.groupBox1.Controls.Add(this.txtSourceDir);
this.groupBox1.Location = new System.Drawing.Point(5, 5); this.groupBox1.Location = new System.Drawing.Point(5, 5);
this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
this.groupBox1.Size = new System.Drawing.Size(740, 84); this.groupBox1.Size = new System.Drawing.Size(740, 84);
this.groupBox1.TabIndex = 1; this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
@@ -130,7 +142,7 @@
// //
this.chkRecursive.AutoSize = true; this.chkRecursive.AutoSize = true;
this.chkRecursive.Location = new System.Drawing.Point(400, 17); this.chkRecursive.Location = new System.Drawing.Point(400, 17);
this.chkRecursive.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chkRecursive.Margin = new System.Windows.Forms.Padding(2);
this.chkRecursive.Name = "chkRecursive"; this.chkRecursive.Name = "chkRecursive";
this.chkRecursive.Size = new System.Drawing.Size(69, 17); this.chkRecursive.Size = new System.Drawing.Size(69, 17);
this.chkRecursive.TabIndex = 6; this.chkRecursive.TabIndex = 6;
@@ -140,7 +152,7 @@
// btnCopyAll // btnCopyAll
// //
this.btnCopyAll.Location = new System.Drawing.Point(521, 15); this.btnCopyAll.Location = new System.Drawing.Point(521, 15);
this.btnCopyAll.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnCopyAll.Margin = new System.Windows.Forms.Padding(2);
this.btnCopyAll.Name = "btnCopyAll"; this.btnCopyAll.Name = "btnCopyAll";
this.btnCopyAll.Size = new System.Drawing.Size(56, 19); this.btnCopyAll.Size = new System.Drawing.Size(56, 19);
this.btnCopyAll.TabIndex = 5; this.btnCopyAll.TabIndex = 5;
@@ -161,7 +173,7 @@
// txtDestDir // txtDestDir
// //
this.txtDestDir.Location = new System.Drawing.Point(278, 17); this.txtDestDir.Location = new System.Drawing.Point(278, 17);
this.txtDestDir.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtDestDir.Margin = new System.Windows.Forms.Padding(2);
this.txtDestDir.Name = "txtDestDir"; this.txtDestDir.Name = "txtDestDir";
this.txtDestDir.Size = new System.Drawing.Size(118, 20); this.txtDestDir.Size = new System.Drawing.Size(118, 20);
this.txtDestDir.TabIndex = 3; this.txtDestDir.TabIndex = 3;
@@ -179,7 +191,7 @@
// txtSourceDir // txtSourceDir
// //
this.txtSourceDir.Location = new System.Drawing.Point(77, 17); this.txtSourceDir.Location = new System.Drawing.Point(77, 17);
this.txtSourceDir.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtSourceDir.Margin = new System.Windows.Forms.Padding(2);
this.txtSourceDir.Name = "txtSourceDir"; this.txtSourceDir.Name = "txtSourceDir";
this.txtSourceDir.Size = new System.Drawing.Size(118, 20); this.txtSourceDir.Size = new System.Drawing.Size(118, 20);
this.txtSourceDir.TabIndex = 1; this.txtSourceDir.TabIndex = 1;
@@ -265,6 +277,7 @@
this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Controls.Add(this.tabPage5); this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Controls.Add(this.tabPage6); this.tabControl1.Controls.Add(this.tabPage6);
this.tabControl1.Controls.Add(this.tabPage7);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1"; this.tabControl1.Name = "tabControl1";
@@ -277,8 +290,8 @@
this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.groupBox1);
this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1"; this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(768, 305); this.tabPage1.Size = new System.Drawing.Size(768, 353);
this.tabPage1.TabIndex = 0; this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "File IO test"; this.tabPage1.Text = "File IO test";
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.UseVisualStyleBackColor = true;
@@ -290,14 +303,15 @@
this.tabPage2.Controls.Add(this.button1); this.tabPage2.Controls.Add(this.button1);
this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2"; this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(768, 305); this.tabPage2.Size = new System.Drawing.Size(768, 353);
this.tabPage2.TabIndex = 1; this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "PDF test"; this.tabPage2.Text = "PDF test";
this.tabPage2.UseVisualStyleBackColor = true; this.tabPage2.UseVisualStyleBackColor = true;
// //
// tabPage3 // tabPage3
// //
this.tabPage3.Controls.Add(this.btnResetAppConf);
this.tabPage3.Controls.Add(this.lblTestLogger); this.tabPage3.Controls.Add(this.lblTestLogger);
this.tabPage3.Controls.Add(this.chkTestLogger); this.tabPage3.Controls.Add(this.chkTestLogger);
this.tabPage3.Controls.Add(this.btnResetCdv); this.tabPage3.Controls.Add(this.btnResetCdv);
@@ -312,6 +326,36 @@
this.tabPage3.Text = "Redis test"; this.tabPage3.Text = "Redis test";
this.tabPage3.UseVisualStyleBackColor = true; this.tabPage3.UseVisualStyleBackColor = true;
// //
// btnResetAppConf
//
this.btnResetAppConf.Location = new System.Drawing.Point(576, 13);
this.btnResetAppConf.Name = "btnResetAppConf";
this.btnResetAppConf.Size = new System.Drawing.Size(114, 23);
this.btnResetAppConf.TabIndex = 16;
this.btnResetAppConf.Text = "ResetAppConf";
this.btnResetAppConf.UseVisualStyleBackColor = true;
this.btnResetAppConf.Click += new System.EventHandler(this.btnResetAppConf_Click);
//
// lblTestLogger
//
this.lblTestLogger.AutoSize = true;
this.lblTestLogger.Location = new System.Drawing.Point(229, 300);
this.lblTestLogger.Name = "lblTestLogger";
this.lblTestLogger.Size = new System.Drawing.Size(16, 13);
this.lblTestLogger.TabIndex = 15;
this.lblTestLogger.Text = "...";
//
// chkTestLogger
//
this.chkTestLogger.AutoSize = true;
this.chkTestLogger.Location = new System.Drawing.Point(11, 300);
this.chkTestLogger.Name = "chkTestLogger";
this.chkTestLogger.Size = new System.Drawing.Size(123, 17);
this.chkTestLogger.TabIndex = 14;
this.chkTestLogger.Text = "Test Redis Log Veto";
this.chkTestLogger.UseVisualStyleBackColor = true;
this.chkTestLogger.CheckedChanged += new System.EventHandler(this.chkTestLogger_CheckedChanged);
//
// btnResetCdv // btnResetCdv
// //
this.btnResetCdv.Location = new System.Drawing.Point(495, 13); this.btnResetCdv.Location = new System.Drawing.Point(495, 13);
@@ -349,7 +393,7 @@
this.tabPage4.Controls.Add(this.lblHwSwData); this.tabPage4.Controls.Add(this.lblHwSwData);
this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Name = "tabPage4"; this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(768, 305); this.tabPage4.Size = new System.Drawing.Size(768, 353);
this.tabPage4.TabIndex = 3; this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "Hw Sw pages"; this.tabPage4.Text = "Hw Sw pages";
this.tabPage4.UseVisualStyleBackColor = true; this.tabPage4.UseVisualStyleBackColor = true;
@@ -368,10 +412,10 @@
this.tabPage5.Controls.Add(this.txtOre); this.tabPage5.Controls.Add(this.txtOre);
this.tabPage5.Controls.Add(this.btnStartSched); this.tabPage5.Controls.Add(this.btnStartSched);
this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Location = new System.Drawing.Point(4, 22);
this.tabPage5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage5.Margin = new System.Windows.Forms.Padding(2);
this.tabPage5.Name = "tabPage5"; this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage5.Padding = new System.Windows.Forms.Padding(2);
this.tabPage5.Size = new System.Drawing.Size(768, 305); this.tabPage5.Size = new System.Drawing.Size(768, 353);
this.tabPage5.TabIndex = 4; this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "Scheduler"; this.tabPage5.Text = "Scheduler";
this.tabPage5.UseVisualStyleBackColor = true; this.tabPage5.UseVisualStyleBackColor = true;
@@ -429,7 +473,7 @@
// txtSec // txtSec
// //
this.txtSec.Location = new System.Drawing.Point(242, 19); this.txtSec.Location = new System.Drawing.Point(242, 19);
this.txtSec.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtSec.Margin = new System.Windows.Forms.Padding(2);
this.txtSec.Name = "txtSec"; this.txtSec.Name = "txtSec";
this.txtSec.Size = new System.Drawing.Size(35, 20); this.txtSec.Size = new System.Drawing.Size(35, 20);
this.txtSec.TabIndex = 5; this.txtSec.TabIndex = 5;
@@ -448,7 +492,7 @@
// txtMin // txtMin
// //
this.txtMin.Location = new System.Drawing.Point(182, 19); this.txtMin.Location = new System.Drawing.Point(182, 19);
this.txtMin.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtMin.Margin = new System.Windows.Forms.Padding(2);
this.txtMin.Name = "txtMin"; this.txtMin.Name = "txtMin";
this.txtMin.Size = new System.Drawing.Size(30, 20); this.txtMin.Size = new System.Drawing.Size(30, 20);
this.txtMin.TabIndex = 3; this.txtMin.TabIndex = 3;
@@ -467,7 +511,7 @@
// txtOre // txtOre
// //
this.txtOre.Location = new System.Drawing.Point(122, 19); this.txtOre.Location = new System.Drawing.Point(122, 19);
this.txtOre.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtOre.Margin = new System.Windows.Forms.Padding(2);
this.txtOre.Name = "txtOre"; this.txtOre.Name = "txtOre";
this.txtOre.Size = new System.Drawing.Size(30, 20); this.txtOre.Size = new System.Drawing.Size(30, 20);
this.txtOre.TabIndex = 1; this.txtOre.TabIndex = 1;
@@ -476,7 +520,7 @@
// btnStartSched // btnStartSched
// //
this.btnStartSched.Location = new System.Drawing.Point(16, 19); this.btnStartSched.Location = new System.Drawing.Point(16, 19);
this.btnStartSched.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnStartSched.Margin = new System.Windows.Forms.Padding(2);
this.btnStartSched.Name = "btnStartSched"; this.btnStartSched.Name = "btnStartSched";
this.btnStartSched.Size = new System.Drawing.Size(56, 19); this.btnStartSched.Size = new System.Drawing.Size(56, 19);
this.btnStartSched.TabIndex = 0; this.btnStartSched.TabIndex = 0;
@@ -491,9 +535,9 @@
this.tabPage6.Controls.Add(this.grpPublisher); this.tabPage6.Controls.Add(this.grpPublisher);
this.tabPage6.Controls.Add(this.groupBox2); this.tabPage6.Controls.Add(this.groupBox2);
this.tabPage6.Location = new System.Drawing.Point(4, 22); this.tabPage6.Location = new System.Drawing.Point(4, 22);
this.tabPage6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage6.Margin = new System.Windows.Forms.Padding(2);
this.tabPage6.Name = "tabPage6"; this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(768, 305); this.tabPage6.Size = new System.Drawing.Size(768, 353);
this.tabPage6.TabIndex = 5; this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "MessageQueue"; this.tabPage6.Text = "MessageQueue";
this.tabPage6.UseVisualStyleBackColor = true; this.tabPage6.UseVisualStyleBackColor = true;
@@ -504,9 +548,9 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.groupBox4.Controls.Add(this.lblChannelReceive); this.groupBox4.Controls.Add(this.lblChannelReceive);
this.groupBox4.Location = new System.Drawing.Point(232, 93); this.groupBox4.Location = new System.Drawing.Point(232, 93);
this.groupBox4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
this.groupBox4.Size = new System.Drawing.Size(155, 214); this.groupBox4.Size = new System.Drawing.Size(155, 214);
this.groupBox4.TabIndex = 2; this.groupBox4.TabIndex = 2;
this.groupBox4.TabStop = false; this.groupBox4.TabStop = false;
@@ -528,9 +572,9 @@
this.groupBox3.Controls.Add(this.label8); this.groupBox3.Controls.Add(this.label8);
this.groupBox3.Controls.Add(this.txtChannelSend); this.groupBox3.Controls.Add(this.txtChannelSend);
this.groupBox3.Location = new System.Drawing.Point(232, 2); this.groupBox3.Location = new System.Drawing.Point(232, 2);
this.groupBox3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
this.groupBox3.Size = new System.Drawing.Size(155, 84); this.groupBox3.Size = new System.Drawing.Size(155, 84);
this.groupBox3.TabIndex = 4; this.groupBox3.TabIndex = 4;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
@@ -549,7 +593,7 @@
// txtChannelSend // txtChannelSend
// //
this.txtChannelSend.Location = new System.Drawing.Point(7, 31); this.txtChannelSend.Location = new System.Drawing.Point(7, 31);
this.txtChannelSend.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtChannelSend.Margin = new System.Windows.Forms.Padding(2);
this.txtChannelSend.Multiline = true; this.txtChannelSend.Multiline = true;
this.txtChannelSend.Name = "txtChannelSend"; this.txtChannelSend.Name = "txtChannelSend";
this.txtChannelSend.Size = new System.Drawing.Size(140, 49); this.txtChannelSend.Size = new System.Drawing.Size(140, 49);
@@ -562,9 +606,9 @@
this.grpPublisher.Controls.Add(this.label7); this.grpPublisher.Controls.Add(this.label7);
this.grpPublisher.Controls.Add(this.txtQueueMessage); this.grpPublisher.Controls.Add(this.txtQueueMessage);
this.grpPublisher.Location = new System.Drawing.Point(6, 2); this.grpPublisher.Location = new System.Drawing.Point(6, 2);
this.grpPublisher.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.grpPublisher.Margin = new System.Windows.Forms.Padding(2);
this.grpPublisher.Name = "grpPublisher"; this.grpPublisher.Name = "grpPublisher";
this.grpPublisher.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.grpPublisher.Padding = new System.Windows.Forms.Padding(2);
this.grpPublisher.Size = new System.Drawing.Size(154, 84); this.grpPublisher.Size = new System.Drawing.Size(154, 84);
this.grpPublisher.TabIndex = 1; this.grpPublisher.TabIndex = 1;
this.grpPublisher.TabStop = false; this.grpPublisher.TabStop = false;
@@ -573,7 +617,7 @@
// btnSend // btnSend
// //
this.btnSend.Location = new System.Drawing.Point(7, 54); this.btnSend.Location = new System.Drawing.Point(7, 54);
this.btnSend.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnSend.Margin = new System.Windows.Forms.Padding(2);
this.btnSend.Name = "btnSend"; this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(139, 19); this.btnSend.Size = new System.Drawing.Size(139, 19);
this.btnSend.TabIndex = 3; this.btnSend.TabIndex = 3;
@@ -594,7 +638,7 @@
// txtQueueMessage // txtQueueMessage
// //
this.txtQueueMessage.Location = new System.Drawing.Point(7, 31); this.txtQueueMessage.Location = new System.Drawing.Point(7, 31);
this.txtQueueMessage.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtQueueMessage.Margin = new System.Windows.Forms.Padding(2);
this.txtQueueMessage.Name = "txtQueueMessage"; this.txtQueueMessage.Name = "txtQueueMessage";
this.txtQueueMessage.Size = new System.Drawing.Size(140, 20); this.txtQueueMessage.Size = new System.Drawing.Size(140, 20);
this.txtQueueMessage.TabIndex = 2; this.txtQueueMessage.TabIndex = 2;
@@ -605,9 +649,9 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.lblQueueRead); this.groupBox2.Controls.Add(this.lblQueueRead);
this.groupBox2.Location = new System.Drawing.Point(6, 91); this.groupBox2.Location = new System.Drawing.Point(6, 91);
this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
this.groupBox2.Size = new System.Drawing.Size(154, 214); this.groupBox2.Size = new System.Drawing.Size(154, 214);
this.groupBox2.TabIndex = 0; this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
@@ -624,31 +668,110 @@
this.lblQueueRead.TabIndex = 1; this.lblQueueRead.TabIndex = 1;
this.lblQueueRead.Text = "..."; this.lblQueueRead.Text = "...";
// //
// tabPage7
//
this.tabPage7.Controls.Add(this.btnDownload);
this.tabPage7.Controls.Add(this.lblOutUpdMan);
this.tabPage7.Controls.Add(this.btnReadUpdMan);
this.tabPage7.Controls.Add(this.txtRemoteUrl);
this.tabPage7.Controls.Add(this.label11);
this.tabPage7.Controls.Add(this.txtPass);
this.tabPage7.Controls.Add(this.label10);
this.tabPage7.Controls.Add(this.txtUser);
this.tabPage7.Controls.Add(this.label9);
this.tabPage7.Location = new System.Drawing.Point(4, 22);
this.tabPage7.Name = "tabPage7";
this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
this.tabPage7.Size = new System.Drawing.Size(768, 353);
this.tabPage7.TabIndex = 6;
this.tabPage7.Text = "Update Man";
this.tabPage7.UseVisualStyleBackColor = true;
//
// btnDownload
//
this.btnDownload.Location = new System.Drawing.Point(496, 15);
this.btnDownload.Name = "btnDownload";
this.btnDownload.Size = new System.Drawing.Size(175, 23);
this.btnDownload.TabIndex = 8;
this.btnDownload.Text = "Download latest";
this.btnDownload.UseVisualStyleBackColor = true;
this.btnDownload.Click += new System.EventHandler(this.btnDownload_Click);
//
// lblOutUpdMan
//
this.lblOutUpdMan.AutoSize = true;
this.lblOutUpdMan.Location = new System.Drawing.Point(19, 76);
this.lblOutUpdMan.Name = "lblOutUpdMan";
this.lblOutUpdMan.Size = new System.Drawing.Size(16, 13);
this.lblOutUpdMan.TabIndex = 7;
this.lblOutUpdMan.Text = "---";
//
// btnReadUpdMan
//
this.btnReadUpdMan.Location = new System.Drawing.Point(315, 15);
this.btnReadUpdMan.Name = "btnReadUpdMan";
this.btnReadUpdMan.Size = new System.Drawing.Size(175, 23);
this.btnReadUpdMan.TabIndex = 6;
this.btnReadUpdMan.Text = "Retrieve Info";
this.btnReadUpdMan.UseVisualStyleBackColor = true;
this.btnReadUpdMan.Click += new System.EventHandler(this.btnReadUpdMan_Click);
//
// txtRemoteUrl
//
this.txtRemoteUrl.Location = new System.Drawing.Point(60, 43);
this.txtRemoteUrl.Name = "txtRemoteUrl";
this.txtRemoteUrl.Size = new System.Drawing.Size(611, 20);
this.txtRemoteUrl.TabIndex = 5;
this.txtRemoteUrl.Text = "http://nexus.steamware.net/repository/SWS/ZCode/master/LAST/manifest.xml";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(19, 46);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(20, 13);
this.label11.TabIndex = 4;
this.label11.Text = "Url";
//
// txtPass
//
this.txtPass.Location = new System.Drawing.Point(209, 17);
this.txtPass.Name = "txtPass";
this.txtPass.Size = new System.Drawing.Size(100, 20);
this.txtPass.TabIndex = 3;
this.txtPass.Text = "viaD@nte16";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(168, 20);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(30, 13);
this.label10.TabIndex = 2;
this.label10.Text = "Pass";
//
// txtUser
//
this.txtUser.Location = new System.Drawing.Point(60, 17);
this.txtUser.Name = "txtUser";
this.txtUser.Size = new System.Drawing.Size(100, 20);
this.txtUser.TabIndex = 1;
this.txtUser.Text = "SWDownloader";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(19, 20);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(29, 13);
this.label9.TabIndex = 0;
this.label9.Text = "User";
//
// clockTimer // clockTimer
// //
this.clockTimer.Interval = 50; this.clockTimer.Interval = 50;
this.clockTimer.Tick += new System.EventHandler(this.clockTimer_Tick); this.clockTimer.Tick += new System.EventHandler(this.clockTimer_Tick);
// //
// chkTestLogger
//
this.chkTestLogger.AutoSize = true;
this.chkTestLogger.Location = new System.Drawing.Point(11, 300);
this.chkTestLogger.Name = "chkTestLogger";
this.chkTestLogger.Size = new System.Drawing.Size(123, 17);
this.chkTestLogger.TabIndex = 14;
this.chkTestLogger.Text = "Test Redis Log Veto";
this.chkTestLogger.UseVisualStyleBackColor = true;
this.chkTestLogger.CheckedChanged += new System.EventHandler(this.chkTestLogger_CheckedChanged);
//
// lblTestLogger
//
this.lblTestLogger.AutoSize = true;
this.lblTestLogger.Location = new System.Drawing.Point(229, 300);
this.lblTestLogger.Name = "lblTestLogger";
this.lblTestLogger.Size = new System.Drawing.Size(16, 13);
this.lblTestLogger.TabIndex = 15;
this.lblTestLogger.Text = "...";
//
// LogTimer // LogTimer
// //
this.LogTimer.Interval = 10; this.LogTimer.Interval = 10;
@@ -660,7 +783,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(776, 379); this.ClientSize = new System.Drawing.Size(776, 379);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "MainForm"; this.Name = "MainForm";
this.Text = "WinForm library POC"; this.Text = "WinForm library POC";
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
@@ -685,6 +808,8 @@
this.grpPublisher.PerformLayout(); this.grpPublisher.PerformLayout();
this.groupBox2.ResumeLayout(false); this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout(); this.groupBox2.PerformLayout();
this.tabPage7.ResumeLayout(false);
this.tabPage7.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -744,6 +869,17 @@
private System.Windows.Forms.Label lblTestLogger; private System.Windows.Forms.Label lblTestLogger;
private System.Windows.Forms.CheckBox chkTestLogger; private System.Windows.Forms.CheckBox chkTestLogger;
private System.Windows.Forms.Timer LogTimer; private System.Windows.Forms.Timer LogTimer;
private System.Windows.Forms.Button btnResetAppConf;
private System.Windows.Forms.TabPage tabPage7;
private System.Windows.Forms.TextBox txtPass;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox txtUser;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox txtRemoteUrl;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label lblOutUpdMan;
private System.Windows.Forms.Button btnReadUpdMan;
private System.Windows.Forms.Button btnDownload;
} }
} }
+20 -4
View File
@@ -33,16 +33,12 @@ namespace TestBench
#endregion Public Constructors #endregion Public Constructors
#region Private Delegates #region Private Delegates
private delegate void SetTextCallback(string text); private delegate void SetTextCallback(string text);
#endregion Private Delegates #endregion Private Delegates
#region Private Methods #region Private Methods
private void actionTimer_Tick(object sender, EventArgs e) private void actionTimer_Tick(object sender, EventArgs e)
@@ -65,6 +61,26 @@ namespace TestBench
} }
} }
private void btnDownload_Click(object sender, EventArgs e)
{
var currUpdMan = new UpdateMan(txtUser.Text.Trim(), txtPass.Text.Trim());
currUpdMan.downloadLatest(txtRemoteUrl.Text.Trim(), "c:\\Temp", "MP-STATS");
}
private void btnReadUpdMan_Click(object sender, EventArgs e)
{
// recupero i dati dall'URL
var currUpdMan = new UpdateMan(txtUser.Text.Trim(), txtPass.Text.Trim());
// popolo la label
var updInfo = currUpdMan.getUpdateInfo(txtRemoteUrl.Text.Trim());
lblOutUpdMan.Text = $"Vers: {updInfo.CurrentVersion} | URL: {updInfo.DownloadURL}";
}
private void btnResetAppConf_Click(object sender, EventArgs e)
{
memLayer.ML.resetAppConf();
}
private void btnResetCdv_Click(object sender, EventArgs e) private void btnResetCdv_Click(object sender, EventArgs e)
{ {
memLayer.ML.resetAppConf(); memLayer.ML.resetAppConf();
+12 -12
View File
@@ -33,30 +33,30 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference> </Reference>
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL"> <Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.16\lib\net472\Pipelines.Sockets.Unofficial.dll</HintPath> <HintPath>..\packages\Pipelines.Sockets.Unofficial.2.2.0\lib\net472\Pipelines.Sockets.Unofficial.dll</HintPath>
</Reference> </Reference>
<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.1.58\lib\net472\StackExchange.Redis.dll</HintPath> <HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net472\StackExchange.Redis.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath> <HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Diagnostics.PerformanceCounter, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Diagnostics.PerformanceCounter, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.4.7.0\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath> <HintPath>..\packages\System.Diagnostics.PerformanceCounter.5.0.1\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath> <HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
<Private>True</Private> <Private>True</Private>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="System.IO.Pipelines, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll</HintPath> <HintPath>..\packages\System.IO.Pipelines.5.0.1\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath> <HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
@@ -65,11 +65,11 @@
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath> <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Threading.Channels, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.4.7.1\lib\net461\System.Threading.Channels.dll</HintPath> <HintPath>..\packages\System.Threading.Channels.5.0.0\lib\net461\System.Threading.Channels.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath> <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
+7 -7
View File
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.1" targetFramework="net472" /> <package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net472" />
<package id="Pipelines.Sockets.Unofficial" version="2.1.16" targetFramework="net472" /> <package id="Pipelines.Sockets.Unofficial" version="2.2.0" targetFramework="net472" />
<package id="StackExchange.Redis" version="2.1.58" targetFramework="net472" /> <package id="StackExchange.Redis" version="2.2.4" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net472" /> <package id="System.Buffers" version="4.5.1" targetFramework="net472" />
<package id="System.Diagnostics.PerformanceCounter" version="4.7.0" targetFramework="net472" /> <package id="System.Diagnostics.PerformanceCounter" version="5.0.1" targetFramework="net472" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net472" /> <package id="System.IO.Compression" version="4.3.0" targetFramework="net472" />
<package id="System.IO.Pipelines" version="4.7.2" targetFramework="net472" /> <package id="System.IO.Pipelines" version="5.0.1" targetFramework="net472" />
<package id="System.Memory" version="4.5.4" targetFramework="net472" /> <package id="System.Memory" version="4.5.4" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" /> <package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net472" /> <package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
<package id="System.Threading.Channels" version="4.7.1" targetFramework="net472" /> <package id="System.Threading.Channels" version="5.0.0" targetFramework="net472" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" /> <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
</packages> </packages>