Merge branch 'develop' into ES3
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1348']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1349']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
|
||||
+4
-10
@@ -123,12 +123,11 @@
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
</Reference>
|
||||
<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>
|
||||
@@ -451,14 +450,11 @@
|
||||
<Content Include="images\view_m.png" />
|
||||
<Content Include="images\view_s.gif" />
|
||||
<Content Include="images\view_s.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="menu.aspx" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="Planner.aspx" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
<Content Include="README.txt" />
|
||||
<Content Include="Resources\ChangeLog.html" />
|
||||
<Content Include="Resources\logoSteamware.png" />
|
||||
<Content Include="Resources\manifest.xml" />
|
||||
@@ -570,8 +566,6 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="testUtente.aspx" />
|
||||
|
||||
@@ -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.
Binary file not shown.
@@ -42,8 +42,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,26 +0,0 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MP_IO.Default" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>MoonPro IO Landing Page</h1>
|
||||
Questo sito e queste pagine di servizio sono riservate all'uso dei dispositivi di acquisizione MapoIOB<br />
|
||||
<br />
|
||||
per una semplice diagnostica dello stato degli acquisitori consultare <a href="status.aspx">questa pagina</a><br />
|
||||
<br />
|
||||
<em>Note setup: <b>possono essere</b> sono necessari più siti reali (es: MP-IO e MP-IO-2) e 1 sito virtuale (MPIO) che punti normalmente al primo ed al secondo in fase di web.deploy</em>
|
||||
<br />
|
||||
<hr />
|
||||
<div style="float: right;">
|
||||
<asp:Label runat="server" ID="lblVers" Text="..." Font-Size="8pt" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,22 +0,0 @@
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace MP_IO
|
||||
{
|
||||
public partial class Default : System.Web.UI.Page
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
lblVers.Text = string.Format("{0} v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
|
||||
Response.Redirect("status");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+5
-27
@@ -120,12 +120,13 @@
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<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>
|
||||
@@ -232,10 +233,7 @@
|
||||
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
|
||||
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
|
||||
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="enabled.aspx" />
|
||||
<Content Include="example-config-table.txt" />
|
||||
<Content Include="example-favicon.ico" />
|
||||
<Content Include="favicon.ico">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -273,12 +271,9 @@
|
||||
<Content Include="images\macchine\Transfer_Tecnotransfer.jpg" />
|
||||
<Content Include="inputIOB.aspx" />
|
||||
<Content Include="lastUpdate.aspx" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="PingPage.htm" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
<Content Include="README.txt" />
|
||||
<Content Include="Resources\ChangeLog.html">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -290,8 +285,6 @@
|
||||
</Content>
|
||||
<Content Include="sendReboot.aspx" />
|
||||
<Content Include="sigLogEnabled.aspx" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="status.aspx" />
|
||||
<Content Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
@@ -316,13 +309,6 @@
|
||||
<Compile Include="Controllers\IOBController.cs" />
|
||||
<Compile Include="Controllers\WebAPI\CacheFilter.cs" />
|
||||
<Compile Include="Controllers\WebAPI\IOBController.cs" />
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="enabled.aspx.cs">
|
||||
<DependentUpon>enabled.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -377,8 +363,6 @@
|
||||
<Content Include="NLog.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="example-NLog.config" />
|
||||
<Content Include="example-app.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<None Include="NLog.xsd">
|
||||
@@ -386,12 +370,6 @@
|
||||
</None>
|
||||
<None Include="Properties\PublishProfiles\IIS01.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
|
||||
<None Include="Web-Sql2012.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Web-Sql2016.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
||||
@@ -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.
|
||||
@@ -1,64 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
||||
<add key="sqlLongCommandTimeout" value="600" />
|
||||
<!--keep alive!-->
|
||||
<add key="resetConnKA" value="false" />
|
||||
<add key="forceResetKeepAlive" value="true" />
|
||||
<!--<add key="kaMinUpdSec" value="90" />-->
|
||||
<add key="kaMinUpdSec" value="3" />
|
||||
<!--conf base-->
|
||||
<add key="appName" value="MP-IO" />
|
||||
<!-- Logging -->
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_logLevel" value="7" />
|
||||
<add key="_logMaxMb" value="30" />
|
||||
<!--stringhe connessione-->
|
||||
<add key="MoonProConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="DevicesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<!--gestione charting-->
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="MoonProConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5.2" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
||||
<customErrors mode="Off" />
|
||||
<compilation debug="true" targetFramework="4.6.2" />
|
||||
<httpRuntime />
|
||||
<pages controlRenderingCompatibilityVersion="4.0" />
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,65 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
||||
<add key="sqlLongCommandTimeout" value="600" />
|
||||
<!--keep alive!-->
|
||||
<add key="resetConnKA" value="false" />
|
||||
<add key="forceResetKeepAlive" value="true" />
|
||||
<!--<add key="kaMinUpdSec" value="90" />-->
|
||||
<add key="kaMinUpdSec" value="3" />
|
||||
<!--conf base-->
|
||||
<add key="appName" value="MP-IO" />
|
||||
<!-- Logging -->
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_logLevel" value="7" />
|
||||
<add key="_logMaxMb" value="30" />
|
||||
<!--stringhe connessione-->
|
||||
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<add key="DevicesConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<!--gestione charting-->
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5.2" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
||||
<customErrors mode="Off" />
|
||||
<compilation debug="true" targetFramework="4.6.2" />
|
||||
<httpRuntime />
|
||||
<pages controlRenderingCompatibilityVersion="4.0" />
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
|
||||
autoReload="true"
|
||||
throwExceptions="false"
|
||||
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" >
|
||||
|
||||
|
||||
<!-- optional, add some variabeles
|
||||
https://github.com/nlog/NLog/wiki/Configuration-file#variables
|
||||
-->
|
||||
<variable name="myvar" value="myvalue"/>
|
||||
|
||||
<!--
|
||||
See https://github.com/nlog/nlog/wiki/Configuration-file
|
||||
for information on customizing logging rules and outputs.
|
||||
-->
|
||||
|
||||
<targets async="true">
|
||||
<target xsi:type="File"
|
||||
name="SteamWareLib"
|
||||
fileName="${basedir}/logs/${shortdate}-SteamWare.log"
|
||||
layout="${longdate} ${uppercase:${level}} ${message}"
|
||||
/>
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<logger name="SteamWare.*" minlevel="Debug" writeTo="SteamWareLib" />
|
||||
</rules>
|
||||
</nlog>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
|
||||
<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.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.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.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_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.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.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.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.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.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.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
@@ -1,30 +0,0 @@
|
||||
# chiave valore valoreStd note
|
||||
_adminEmail samuele@steamware.net,info@steamware.net samuele@steamware.net,info@steamware.net info@steamware.net
|
||||
_allowForceUser true true abilita login forzato
|
||||
_commonPages menu menu pagina comune
|
||||
_emailPwd drmfsls16 drmfsls16 drmfsls16
|
||||
_emailUser steamwarebot@gmail.com steamwarebot@gmail.com steamwarebot@gmail.com
|
||||
_enableSSL true true true
|
||||
_fromEmail webmaster@admodelling.org webmaster@admodelling.org email mittente eventuali msg
|
||||
_righeDataGrid 30 30 Num righe datagrid std
|
||||
_righeDataGridAnagr 20 20 Num righe datagrid anagrafiche
|
||||
_righeDataGridLong 30 30 Num righe datagrid long
|
||||
_righeDataGridMed 15 15 Num righe datagrid med
|
||||
_righeDataGridShort 10 10 Num righe datagrid short
|
||||
_smtpCli smtp.gmail.com smtp.gmail.com smtp.gmail.com
|
||||
_useAIMSmtp false false impiego client posta elettronica alternativo
|
||||
_useAuthSmtp true true true
|
||||
AuthCookieName admodellingAuth admodellingAuth Cookie applicativo
|
||||
autoConfCmd true true Conferma automatica comandi barcode
|
||||
baseUrl http://site_name http://iis02/site_name URL base del sito
|
||||
cacheValSec 60 60 Validità cache dati in gestore Barcode
|
||||
cookieDayExp 365 365 Periodo validità cookie
|
||||
cookieUsed admodellingAuth admodellingAuth,CTrack_CodOpr,CTrack_CodPost Elenco dei cookie impiegati
|
||||
enableCookie true true Abilitazione uso cookie
|
||||
enableLogOut true false Abilita button logout COMPLETO in alto a sx
|
||||
enablePlain true true Abilitazione decode plain
|
||||
maxAuth 1000 1000 num auth minimo per NON consumare tokens
|
||||
serializeSession true true Serializzazione valori in sessione (REDIS)
|
||||
SiteName iis02/site_name iis02/site_name Nome sito
|
||||
enableDumpDiag false false abilitazione dumb diagnostico x eccezioni di default
|
||||
doShrinkFolder true true Imposta compressione area LOGS
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
Binary file not shown.
Binary file not shown.
@@ -42,8 +42,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -120,11 +120,13 @@
|
||||
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
@@ -321,7 +323,6 @@
|
||||
<Content Include="logs\PlaceHolder.file">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
<Content Include="Resources\ChangeLog.html">
|
||||
|
||||
Binary file not shown.
@@ -48,8 +48,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
@@ -124,12 +124,11 @@
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
@@ -392,7 +391,6 @@
|
||||
<LastGenOutput>MapoModel.Designer.cs</LastGenOutput>
|
||||
</EntityDeploy>
|
||||
<Content Include="images\LogoMapo.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="Models\MapoModel.edmx.diagram">
|
||||
<DependentUpon>MapoModel.edmx</DependentUpon>
|
||||
</Content>
|
||||
@@ -419,7 +417,6 @@
|
||||
<DependentUpon>MapoModel.edmx</DependentUpon>
|
||||
<LastGenOutput>MapoModel.cs</LastGenOutput>
|
||||
</Content>
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
<Content Include="README.txt" />
|
||||
@@ -539,8 +536,6 @@
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="Scripts\_references.js" />
|
||||
<Content Include="images\logoSteamware.png" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -43,8 +43,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -125,12 +125,11 @@
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
</Reference>
|
||||
<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>
|
||||
@@ -317,11 +316,9 @@
|
||||
<Content Include="images\view_s.png" />
|
||||
<Content Include="inputSeriale.aspx" />
|
||||
<Content Include="lastUpdate.aspx" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="M6Started.aspx" />
|
||||
<Content Include="MappaStato.aspx" />
|
||||
<Content Include="MappaStatoSeq.aspx" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="PingPage.htm" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
@@ -444,8 +441,6 @@
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="Semaforo.aspx" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="StatisticheImpiego.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="unauthorized.aspx" />
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
+15
-184
@@ -1,192 +1,23 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="MoonProTablet.About" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_HwSwInfo.ascx" TagPrefix="uc1" TagName="cmp_HwSwInfo" %>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container my-3">
|
||||
<h3 class="card-title text-uppercase">SteamWare's stats page</h3>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading04">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp01" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse04" aria-expanded="true" aria-controls="collapse04">
|
||||
<b>Global data</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse04" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Module</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1"><%: SteamWare.memLayer.ML.CRS("CodModulo") %></p>
|
||||
<%--<small>Altro.</small>--%>
|
||||
</div>
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">.net framework</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1"><%: runtimeImg %></p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Main Assembly</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1"><%: mainAssembly %></p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<h2 class="card-title text-uppercase">MAPO</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading01">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse01" aria-expanded="true" aria-controls="collapse01">
|
||||
<b>Stats (Server, IIS, APP)</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse01" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Server Stats</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: ServerStats %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
<div class="row">
|
||||
<div class="col-3"></div>
|
||||
<div class="col-6">
|
||||
<img src="images/LogoMapoFull.png" class="img-fluid p-3" />
|
||||
</div>
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">IIS Stats</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: IISStats %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading02">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse02" aria-expanded="true" aria-controls="collapse02">
|
||||
<b>Redis Server data</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse02" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Redis Servers Data</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: redisServersData %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body px-3">
|
||||
<p>MoonPro / MAPO sono una suite di applicazioni e dispositivi hw dedicati per l'IOT,l'industry 4.0 e la gestione automatizzata dei processi produttivi.</p>
|
||||
<p>Per maggiori informazioni <a href="http://www.steamware.net/iot">visita il link</a> sul nostro sito.</p>
|
||||
<uc1:cmp_HwSwInfo runat="server" ID="cmp_HwSwInfo" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading03">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton3" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse03" aria-expanded="true" aria-controls="collapse03">
|
||||
<b>Browser data</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse03" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Windows size data</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: paretoBrowserSize %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Screen size data</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: paretoScreenSize %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Pixel Ratio + Windows size data</h5>
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: paretoWinPixRat %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading05">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp02" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse05" aria-expanded="false" aria-controls="collapse05">
|
||||
<b>Other Libraries</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse05" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item bg-secondary">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Elenco librerie</h5>
|
||||
<span><%: numLibraries %></span>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><%: librariesVers %></pre>
|
||||
</p>
|
||||
<%--<small>Altro.</small>--%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card bg-dark">
|
||||
<div class="card-header" id="heading06">
|
||||
<p class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp03" class="btn btn-link collapsed p-0" data-toggle="collapse" data-target="#collapse06" aria-expanded="false" aria-controls="collapse06">
|
||||
<b>Reset Results</b>
|
||||
</asp:LinkButton>
|
||||
</p>
|
||||
</div>
|
||||
<div id="collapse06" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p class="mb-1">
|
||||
<pre class="bg-secondary text-warning"><asp:Label ID="lblOut" runat="server" /></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
</asp:Content>
|
||||
+121
-149
@@ -12,67 +12,87 @@ namespace MoonProTablet
|
||||
{
|
||||
public partial class About : BasePage
|
||||
{
|
||||
#region Protected Fields
|
||||
|
||||
protected Assembly assembly = Assembly.GetExecutingAssembly();
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public string IISStats
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
get
|
||||
{
|
||||
// faccio reset... sessioni e vocabolario..
|
||||
doReset();
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
private void doReset()
|
||||
public string librariesVers
|
||||
{
|
||||
string action = memLayer.ML.QSS("Action");
|
||||
string testo = "<h3>Reset Actions</h3>";
|
||||
long recPrev = 0;
|
||||
long recPost = 0;
|
||||
if (action != "")
|
||||
get
|
||||
{
|
||||
if (action.Contains("C"))
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
recPrev = Cache.Count;
|
||||
// reset dati in cache...
|
||||
memLayer.ML.flushRegisteredCache();
|
||||
recPost = Cache.Count;
|
||||
testo += string.Format("Reset Cache: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("D"))
|
||||
{
|
||||
recPrev = memLayer.ML.numRecAppConf;
|
||||
// reset dati in cache x DbConfig...
|
||||
memLayer.ML.resetAppConf();
|
||||
recPost = memLayer.ML.numRecAppConf;
|
||||
testo += string.Format("Reset DB AppConf: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("R"))
|
||||
{
|
||||
recPrev = memLayer.ML.numRecRedis;
|
||||
// reset dati in cache x DbConfig...
|
||||
memLayer.ML.redFlushKey("**");
|
||||
recPost = memLayer.ML.numRecRedis;
|
||||
testo += string.Format("Reset Redis: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("S"))
|
||||
{
|
||||
recPrev = Session.Count;
|
||||
// reset dati in sessione...
|
||||
Session.Clear();
|
||||
recPost = Session.Count;
|
||||
testo += string.Format("Reset Sessione: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("V"))
|
||||
{
|
||||
recPrev = DataWrap.DW.numRecVoc;
|
||||
// aggiorno vocabolario
|
||||
DataWrap.DW.resetVocabolario();
|
||||
recPost = DataWrap.DW.numRecVoc;
|
||||
testo += string.Format("Reset Vocabolario: {0} --> {1}</br>", recPrev, recPost);
|
||||
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
|
||||
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
|
||||
{
|
||||
answ += referencedAssemblyName.FullName + Environment.NewLine;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
lblOut.Text = testo;
|
||||
}
|
||||
|
||||
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 pareto (decrescente) delle dimensioni FINESTRA browser registrate
|
||||
/// </summary>
|
||||
@@ -94,6 +114,7 @@ namespace MoonProTablet
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restitusice l'elenco pareto (decrescente) delle dimensioni SCHERMO registrate
|
||||
/// </summary>
|
||||
@@ -115,6 +136,7 @@ namespace MoonProTablet
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restitusice l'elenco pareto (decrescente) delle dimensioni FINESTRA browser + PIXEL ratio registrate
|
||||
/// </summary>
|
||||
@@ -136,25 +158,7 @@ namespace MoonProTablet
|
||||
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
|
||||
// show a single decimal place, and no space.
|
||||
return String.Format("{0:0.##} {1}", rawSize, sizes[order]);
|
||||
}
|
||||
/// <summary>
|
||||
/// Dati sui server redis...
|
||||
/// </summary>
|
||||
@@ -193,15 +197,22 @@ namespace MoonProTablet
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Stringa timing
|
||||
/// </summary>
|
||||
/// <param name="time"></param>
|
||||
/// <returns></returns>
|
||||
public string ToDateString(TimeSpan time)
|
||||
|
||||
public string runtimeImg
|
||||
{
|
||||
return string.Format("{0}gg, {1:00}:{2:00}:{3:00} (h:m:s)", time.Days, time.Hours, time.Minutes, time.Seconds);
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = assembly.ImageRuntimeVersion;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Statistiche server
|
||||
/// </summary>
|
||||
@@ -241,88 +252,49 @@ namespace MoonProTablet
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
public string IISStats
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
public string mainAssembly
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = assembly.FullName;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
public string runtimeImg
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = assembly.ImageRuntimeVersion;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Num di librerie inserite
|
||||
/// Formatta un numero da int a size in Kb/Mb/Gb/Tb
|
||||
/// </summary>
|
||||
public int numLibraries
|
||||
/// <param name="rawSize"></param>
|
||||
/// <returns></returns>
|
||||
public string memFormat(double rawSize)
|
||||
{
|
||||
get
|
||||
string[] sizes = { "B", "KB", "MB", "GB", "TB" };
|
||||
int order = 0;
|
||||
while (rawSize >= 1024 && order < sizes.Length - 1)
|
||||
{
|
||||
int numLib = 0; ;
|
||||
try
|
||||
{
|
||||
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
|
||||
foreach (AssemblyName referencedAssemblyName in referencedAssemblyNames.OrderBy(n => n.Name))
|
||||
{
|
||||
numLib++;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return numLib;
|
||||
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
|
||||
/// </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
|
||||
}
|
||||
}
|
||||
Generated
+16
-59
@@ -7,65 +7,13 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet {
|
||||
|
||||
|
||||
public partial class About {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp01.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp01;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton2.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton2;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton3.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton3;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp02.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp02;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp03.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp03;
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
|
||||
|
||||
public partial class About
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
@@ -74,5 +22,14 @@ namespace MoonProTablet {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_HwSwInfo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.cmp_HwSwInfo cmp_HwSwInfo;
|
||||
}
|
||||
}
|
||||
|
||||
+13
-11
@@ -182,12 +182,11 @@
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
</Reference>
|
||||
<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>
|
||||
@@ -463,8 +462,6 @@
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="Demo.aspx" />
|
||||
<Content Include="DettaglioMacchina.aspx" />
|
||||
<Content Include="example-config-table.txt" />
|
||||
<Content Include="example-favicon.ico" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="Fermate.aspx" />
|
||||
<Content Include="fixODL.aspx" />
|
||||
@@ -501,6 +498,7 @@
|
||||
<Content Include="images\iconDic\7.png" />
|
||||
<Content Include="images\iconDic\8.png" />
|
||||
<Content Include="images\iconDic\9.png" />
|
||||
<Content Include="images\LogoMapoFull.png" />
|
||||
<Content Include="images\logoTextSteamware.png" />
|
||||
<Content Include="images\logoSteamware.png" />
|
||||
<Content Include="images\macchine\Steamware.png" />
|
||||
@@ -509,12 +507,10 @@
|
||||
<Content Include="jumper.aspx" />
|
||||
<Content Include="Logout.aspx" />
|
||||
<Content Include="MappaStato.aspx" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="ODL.aspx" />
|
||||
<Content Include="PianoProd.aspx" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
<Content Include="README.txt" />
|
||||
<Content Include="regNewDevice.aspx" />
|
||||
<Content Include="Bundle.config" />
|
||||
<Content Include="Content\OpenSans.woff" />
|
||||
@@ -531,6 +527,7 @@
|
||||
<Content Include="images\iconDic\IconGen.pdn" />
|
||||
<Content Include="Content\bloccoMacc.less" />
|
||||
<Content Include="Reset.aspx" />
|
||||
<Content Include="ResetAct.aspx" />
|
||||
<Content Include="Resources\Disegni\ND.docx" />
|
||||
<Content Include="Files\Disegni\ND.pdf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
@@ -542,8 +539,6 @@
|
||||
<Content Include="NLog.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="example-NLog.config" />
|
||||
<Content Include="example-app.config" />
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
@@ -901,6 +896,13 @@
|
||||
<Compile Include="Reset.aspx.designer.cs">
|
||||
<DependentUpon>Reset.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ResetAct.aspx.cs">
|
||||
<DependentUpon>ResetAct.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ResetAct.aspx.designer.cs">
|
||||
<DependentUpon>ResetAct.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Scarti.aspx.cs">
|
||||
<DependentUpon>Scarti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -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.
|
||||
+16
-3
@@ -5,13 +5,26 @@ namespace MoonProTablet
|
||||
{
|
||||
public partial class Reset : BasePage
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Session.Clear();
|
||||
// reset appConf
|
||||
memLayer.ML.resetAppConf();
|
||||
// se richiesto reset esplicito
|
||||
string action = memLayer.ML.QSS("Action");
|
||||
if (!string.IsNullOrEmpty(action))
|
||||
{
|
||||
Response.Redirect($"ResetAct?Action={action}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Session.Clear();
|
||||
// reset appConf
|
||||
memLayer.ML.resetAppConf();
|
||||
}
|
||||
// rimanda alla pagina di reg device
|
||||
Response.Redirect(memLayer.ML.CRS("mainPage"));
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="ResetAct.aspx.cs" Inherits="MoonProTablet.ResetAct" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,78 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
public partial class ResetAct : System.Web.UI.Page
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
private void doReset()
|
||||
{
|
||||
string action = memLayer.ML.QSS("Action");
|
||||
string testo = "<h3>Reset Actions</h3>";
|
||||
long recPrev = 0;
|
||||
long recPost = 0;
|
||||
if (action != "")
|
||||
{
|
||||
if (action.Contains("C"))
|
||||
{
|
||||
recPrev = Cache.Count;
|
||||
// reset dati in cache...
|
||||
memLayer.ML.flushRegisteredCache();
|
||||
recPost = Cache.Count;
|
||||
testo += string.Format("Reset Cache: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("D"))
|
||||
{
|
||||
recPrev = memLayer.ML.numRecAppConf;
|
||||
// reset dati in cache x DbConfig...
|
||||
memLayer.ML.resetAppConf();
|
||||
recPost = memLayer.ML.numRecAppConf;
|
||||
testo += string.Format("Reset DB AppConf: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("R"))
|
||||
{
|
||||
recPrev = memLayer.ML.numRecRedis;
|
||||
// reset dati in cache x DbConfig...
|
||||
memLayer.ML.redFlushKey("**");
|
||||
recPost = memLayer.ML.numRecRedis;
|
||||
testo += string.Format("Reset Redis: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("S"))
|
||||
{
|
||||
recPrev = Session.Count;
|
||||
// reset dati in sessione...
|
||||
Session.Clear();
|
||||
recPost = Session.Count;
|
||||
testo += string.Format("Reset Sessione: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
if (action.Contains("V"))
|
||||
{
|
||||
recPrev = DataWrap.DW.numRecVoc;
|
||||
// aggiorno vocabolario
|
||||
DataWrap.DW.resetVocabolario();
|
||||
recPost = DataWrap.DW.numRecVoc;
|
||||
testo += string.Format("Reset Vocabolario: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
}
|
||||
lblOut.Text = testo;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
doReset();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -7,27 +7,20 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_IO {
|
||||
|
||||
|
||||
public partial class Default {
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
|
||||
|
||||
public partial class ResetAct
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo form1.
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblVers.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblVers;
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
}
|
||||
}
|
||||
@@ -1,158 +1,174 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_HwSwInfo.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_HwSwInfo" %>
|
||||
<%--<h3 class="card-title text-uppercase">SteamWare's Hw & Sw Info Page</h3>--%>
|
||||
<div class="row">
|
||||
<div class="col p-4 text-dark">
|
||||
<div id="accordion">
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading04">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp01" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse04" aria-expanded="true" aria-controls="collapse04">
|
||||
<div class="col p-4 text-dark">
|
||||
<div id="accordion">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading04">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp01" class="collapsed" data-toggle="collapse" data-target="#collapse04" aria-expanded="true" aria-controls="collapse04">
|
||||
Global data
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse04" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Module</h5>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: SteamWare.memLayer.ML.confReadString("CodModulo") %></p>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">.net framework</h5>
|
||||
<div id="collapse04" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Module</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: SteamWare.memLayer.ML.confReadString("CodModulo") %></p>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">.net framework</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: CurrHwSwInfo.runtimeImg %></p>
|
||||
</div>
|
||||
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Main DB Conf</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: currDb %></p>
|
||||
</div>
|
||||
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Main Assembly</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: CurrHwSwInfo.mainAssembly %></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-1"><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).runtimeImg %></p>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Main Assembly</h5>
|
||||
</div>
|
||||
<p class="mb-1"><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).mainAssembly %></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading01">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse01" aria-expanded="true" aria-controls="collapse01">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading01">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="collapsed" data-toggle="collapse" data-target="#collapse01" aria-expanded="true" aria-controls="collapse01">
|
||||
Stats (Server, IIS, APP)
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse01" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Server Stats</h5>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).ServerStats %></pre>
|
||||
</p>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">IIS Stats</h5>
|
||||
<div id="collapse01" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Server Stats</h5>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: CurrHwSwInfo.ServerStats %></pre>
|
||||
</p>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">IIS Stats</h5>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: CurrHwSwInfo.IISStats %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).IISStats %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading02">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse02" aria-expanded="true" aria-controls="collapse02">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading02">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="collapsed" data-toggle="collapse" data-target="#collapse02" aria-expanded="true" aria-controls="collapse02">
|
||||
Redis Server data
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse02" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Redis Servers Data</h5>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse02" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Redis Servers Data</h5>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: CurrHwSwInfo.redisServersData %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).redisServersData %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading03">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton3" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse03" aria-expanded="true" aria-controls="collapse03">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading03">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="LinkButton3" class="collapsed" data-toggle="collapse" data-target="#collapse03" aria-expanded="true" aria-controls="collapse03">
|
||||
Browser data
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse03" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Browser size data</h5>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse03" class="collapse" aria-labelledby="heading01" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Browser size data</h5>
|
||||
</div>
|
||||
<div>
|
||||
<asp:Literal runat="server" ID="litBrowserSize" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Screen size data</h5>
|
||||
</div>
|
||||
<div>
|
||||
<asp:Literal runat="server" ID="litScreenSize" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).paretoBrowserSize %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading05">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp02" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse05" aria-expanded="false" aria-controls="collapse05">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading05">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp02" class="collapsed" data-toggle="collapse" data-target="#collapse05" aria-expanded="false" aria-controls="collapse05">
|
||||
Other Libraries
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse05" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Elenco librerie</h5>
|
||||
<span><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).numLibraries %></span>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse05" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Elenco librerie</h5>
|
||||
<span><%: CurrHwSwInfo.numLibraries %></span>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre style="width: 100%; white-space: pre-wrap;"><%: CurrHwSwInfo.librariesVers %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<pre style="width: 100%; white-space: pre-wrap;"><%: SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly()).librariesVers %></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header" id="heading06">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp03" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse06" aria-expanded="false" aria-controls="collapse06">
|
||||
<div class="card">
|
||||
<div class="card-header text-uppercase btn btn-block" id="heading06">
|
||||
<h5 class="mb-0">
|
||||
<asp:LinkButton runat="server" ID="lbtGrp03" class="collapsed" data-toggle="collapse" data-target="#collapse06" aria-expanded="false" aria-controls="collapse06">
|
||||
Reset Results
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</asp:LinkButton>
|
||||
</h5>
|
||||
</div>
|
||||
<div id="collapse06" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p class="mb-1">
|
||||
<pre style="width: 100%; white-space: pre-wrap;"><asp:Label ID="lblOut" runat="server" /></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="collapse06" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p class="mb-1">
|
||||
<pre style="width: 100%; white-space: pre-wrap;"><asp:Label ID="lblOut" runat="server" /></pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
@@ -9,9 +11,63 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class cmp_HwSwInfo : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string currDb
|
||||
{
|
||||
get
|
||||
{
|
||||
string connStr = memLayer.ML.confReadString("DbConfConnectionString");
|
||||
return connStr.Substring(0, connStr.IndexOf(";Persist Security"));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto info hw/sw correnti
|
||||
/// </summary>
|
||||
public SteamWare.HwSwInfo CurrHwSwInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return SteamWare.HwSwInfo.man(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restitusice l'elenco pareto (decrescente) delle dimensioni FINESTRA browser registrate
|
||||
/// </summary>
|
||||
public string paretoBrowserSize
|
||||
{
|
||||
get
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
string redHash = memLayer.ML.redHash("COUNT:wh:*");
|
||||
int numRec = memLayer.ML.redCountKey(redHash);
|
||||
var redKeys = memLayer.ML.redGetKeys(redHash);
|
||||
// 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("COUNT:wh:"), "");
|
||||
currVal = memLayer.ML.getRSV(item);
|
||||
sb.AppendLine($"{currKey}: {currVal}");
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
litBrowserSize.Text = CurrHwSwInfo.paretoBrowserSize.Replace(Environment.NewLine, "<br />");
|
||||
//litScreenSize.Text = CurrHwSwInfo.paretoScreenSize.Replace(Environment.NewLine, "<br />");
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+77
-59
@@ -11,70 +11,88 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_HwSwInfo
|
||||
{
|
||||
public partial class cmp_HwSwInfo
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp01.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp01;
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp01.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp01;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton1;
|
||||
/// <summary>
|
||||
/// Controllo LinkButton1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton2.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton2;
|
||||
/// <summary>
|
||||
/// Controllo LinkButton2.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton2;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo LinkButton3.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton3;
|
||||
/// <summary>
|
||||
/// Controllo LinkButton3.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton3;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp02.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp02;
|
||||
/// <summary>
|
||||
/// Controllo litBrowserSize.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal litBrowserSize;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp03.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp03;
|
||||
/// <summary>
|
||||
/// Controllo litScreenSize.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal litScreenSize;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
}
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp02.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp02;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtGrp03.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtGrp03;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1099,10 +1099,17 @@ namespace MoonProTablet.WebUserControls
|
||||
var slaveList = DataLayerObj.taM2S.getByMaster(idxMacchina);
|
||||
foreach (var machine in slaveList)
|
||||
{
|
||||
// non funziona usato metodo aggiunta task "classico"...
|
||||
#if false
|
||||
// aggiungo i 3 valori
|
||||
DataLayerObj.updateMachineParameter(machine.IdxMacchinaSlave, "setArt", setArtVal);
|
||||
DataLayerObj.updateMachineParameter(machine.IdxMacchinaSlave, "setPzComm", setPzCommVal);
|
||||
DataLayerObj.updateMachineParameter(machine.IdxMacchinaSlave, "setComm", setCommVal);
|
||||
#endif
|
||||
|
||||
DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setArt, setArtVal);
|
||||
DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setPzComm, setPzCommVal);
|
||||
DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setComm, setCommVal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,14 +8,22 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class mod_title : BaseUserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// user agent corrente
|
||||
/// </summary>
|
||||
protected string userAgent = "";
|
||||
#region Protected Fields
|
||||
|
||||
/// <summary>
|
||||
/// IP corrente
|
||||
/// </summary>
|
||||
protected string postazione_IP = "";
|
||||
|
||||
/// <summary>
|
||||
/// user agent corrente
|
||||
/// </summary>
|
||||
protected string userAgent = "";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Versione corrente sw
|
||||
/// </summary>
|
||||
@@ -26,25 +34,70 @@ namespace MoonProTablet.WebUserControls
|
||||
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// URL stringa di UPDATE...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
protected string updateUrl
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
get
|
||||
{
|
||||
// prima apertura registro NO popup = refresh enabled
|
||||
memLayer.ML.setSessionVal("refreshEnabled", true);
|
||||
}
|
||||
// se ho user/dominio e matricola in sessione NON controllo coockie
|
||||
if (user_std.UtSn.utente == "" || user_std.UtSn.dominio == "" || DataLayerObj.MatrOpr == 0)
|
||||
{
|
||||
// altrimenti controllo se c'è utente in sessione..
|
||||
checkAuthCookieMoonProTablet();
|
||||
return string.Format("http://seriate.steamware.net:8083/SWS/MAPO/TAB/{0}/manifest.xml", memLayer.ML.CRS("appVers"));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Cognome Nome utente
|
||||
/// </summary>
|
||||
public string CognomeNome
|
||||
{
|
||||
get
|
||||
{
|
||||
string swData = "";
|
||||
string cognomeNome = "";
|
||||
try
|
||||
{
|
||||
cognomeNome = user_std.UtSn.CognomeNome;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Eccezione in {titolo} recupero CognomeNome: {Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||
}
|
||||
if (DataLayerObj.MatrOpr > 0)
|
||||
{
|
||||
swData = DataLayerObj.CognomeNomeOpr;
|
||||
}
|
||||
else if (cognomeNome != "")
|
||||
{
|
||||
swData = cognomeNome;
|
||||
}
|
||||
else
|
||||
{
|
||||
swData = "MoonProTablet";
|
||||
}
|
||||
return swData;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cognome Nome utente
|
||||
/// </summary>
|
||||
public string MatrOpr
|
||||
{
|
||||
get
|
||||
{
|
||||
return DataLayerObj.MatrOpr.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// verifica al presenza di un cookie VALIDO per autorizzare il device
|
||||
/// </summary>
|
||||
@@ -119,25 +172,35 @@ namespace MoonProTablet.WebUserControls
|
||||
logger.lg.scriviLog(string.Format("Errore in checkAuthCookie:{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// URL stringa di UPDATE...
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
protected string updateUrl
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
get
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
return string.Format("http://seriate.steamware.net:8083/SWS/MAPO/TAB/{0}/manifest.xml", memLayer.ML.CRS("appVers"));
|
||||
// prima apertura registro NO popup = refresh enabled
|
||||
memLayer.ML.setSessionVal("refreshEnabled", true);
|
||||
}
|
||||
// se ho user/dominio e matricola in sessione NON controllo coockie
|
||||
if (user_std.UtSn.utente == "" || user_std.UtSn.dominio == "" || DataLayerObj.MatrOpr == 0)
|
||||
{
|
||||
// altrimenti controllo se c'è utente in sessione..
|
||||
checkAuthCookieMoonProTablet();
|
||||
}
|
||||
}
|
||||
public string isActive(object pageName)
|
||||
{
|
||||
string answ = "";
|
||||
if (true)
|
||||
{
|
||||
answ = "active";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se la pagina corrente sia URL indicato --> mostra ACTIVE
|
||||
/// </summary>
|
||||
@@ -152,48 +215,17 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// Cognome Nome utente
|
||||
/// </summary>
|
||||
public string MatrOpr
|
||||
|
||||
public string isActive(object pageName)
|
||||
{
|
||||
get
|
||||
string answ = "";
|
||||
if (true)
|
||||
{
|
||||
return DataLayerObj.MatrOpr.ToString();
|
||||
answ = "active";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cognome Nome utente
|
||||
/// </summary>
|
||||
public string CognomeNome
|
||||
{
|
||||
get
|
||||
{
|
||||
string swData = "";
|
||||
string cognomeNome = "";
|
||||
try
|
||||
{
|
||||
cognomeNome = user_std.UtSn.CognomeNome;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Eccezione in User.aspx - page_load: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
if (DataLayerObj.MatrOpr > 0)
|
||||
{
|
||||
swData = DataLayerObj.CognomeNomeOpr;
|
||||
}
|
||||
else if (cognomeNome != "")
|
||||
{
|
||||
swData = cognomeNome;
|
||||
}
|
||||
else
|
||||
{
|
||||
swData = "MoonProTablet";
|
||||
}
|
||||
return swData;
|
||||
}
|
||||
}
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
|
||||
autoReload="true"
|
||||
throwExceptions="false"
|
||||
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" >
|
||||
|
||||
|
||||
<!-- optional, add some variabeles
|
||||
https://github.com/nlog/NLog/wiki/Configuration-file#variables
|
||||
-->
|
||||
<variable name="myvar" value="myvalue"/>
|
||||
|
||||
<!--
|
||||
See https://github.com/nlog/nlog/wiki/Configuration-file
|
||||
for information on customizing logging rules and outputs.
|
||||
-->
|
||||
|
||||
<targets async="true">
|
||||
<target xsi:type="File"
|
||||
name="SteamWareLib"
|
||||
fileName="${basedir}/logs/${shortdate}-SteamWare.log"
|
||||
layout="${longdate} ${uppercase:${level}} ${message}"
|
||||
/>
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<logger name="SteamWare.*" minlevel="Debug" writeTo="SteamWareLib" />
|
||||
</rules>
|
||||
</nlog>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
|
||||
<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.SteamWare_VocabolarioConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.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.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_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.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.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.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=SEL_fatture_SteamWare;User ID=sa;Password=keyhammer;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare.Properties.Settings.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.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.DbConfConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
@@ -1,30 +0,0 @@
|
||||
# chiave valore valoreStd note
|
||||
_adminEmail samuele@steamware.net,info@steamware.net samuele@steamware.net,info@steamware.net info@steamware.net
|
||||
_allowForceUser true true abilita login forzato
|
||||
_commonPages menu menu pagina comune
|
||||
_emailPwd drmfsls16 drmfsls16 drmfsls16
|
||||
_emailUser steamwarebot@gmail.com steamwarebot@gmail.com steamwarebot@gmail.com
|
||||
_enableSSL true true true
|
||||
_fromEmail webmaster@admodelling.org webmaster@admodelling.org email mittente eventuali msg
|
||||
_righeDataGrid 30 30 Num righe datagrid std
|
||||
_righeDataGridAnagr 20 20 Num righe datagrid anagrafiche
|
||||
_righeDataGridLong 30 30 Num righe datagrid long
|
||||
_righeDataGridMed 15 15 Num righe datagrid med
|
||||
_righeDataGridShort 10 10 Num righe datagrid short
|
||||
_smtpCli smtp.gmail.com smtp.gmail.com smtp.gmail.com
|
||||
_useAIMSmtp false false impiego client posta elettronica alternativo
|
||||
_useAuthSmtp true true true
|
||||
AuthCookieName admodellingAuth admodellingAuth Cookie applicativo
|
||||
autoConfCmd true true Conferma automatica comandi barcode
|
||||
baseUrl http://site_name http://iis02/site_name URL base del sito
|
||||
cacheValSec 60 60 Validità cache dati in gestore Barcode
|
||||
cookieDayExp 365 365 Periodo validità cookie
|
||||
cookieUsed admodellingAuth admodellingAuth,CTrack_CodOpr,CTrack_CodPost Elenco dei cookie impiegati
|
||||
enableCookie true true Abilitazione uso cookie
|
||||
enableLogOut true false Abilita button logout COMPLETO in alto a sx
|
||||
enablePlain true true Abilitazione decode plain
|
||||
maxAuth 1000 1000 num auth minimo per NON consumare tokens
|
||||
serializeSession true true Serializzazione valori in sessione (REDIS)
|
||||
SiteName iis02/site_name iis02/site_name Nome sito
|
||||
enableDumpDiag false false abilitazione dumb diagnostico x eccezioni di default
|
||||
doShrinkFolder true true Imposta compressione area LOGS
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
Binary file not shown.
@@ -43,8 +43,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
|
||||
+8
-1
@@ -3384,9 +3384,16 @@ namespace MapoDb
|
||||
bool answ = false;
|
||||
// recupero items...
|
||||
List<objItem> dcList = getCurrObjItems(idxMacchina);
|
||||
List<objItem> list2Update = new List<objItem>();
|
||||
// cerco quello da aggiornare
|
||||
objItem trovato = dcList.Find(obj => obj.uid == Original_uid);
|
||||
List<objItem> list2Update = new List<objItem>();
|
||||
// se non trova --> crea ed aggiunge...
|
||||
if(trovato==null)
|
||||
{
|
||||
dcList.Add(new objItem() { uid = Original_uid });
|
||||
trovato = dcList.Find(obj => obj.uid == Original_uid);
|
||||
}
|
||||
|
||||
// se trovato procedo
|
||||
if (trovato != null)
|
||||
{
|
||||
|
||||
@@ -128,11 +128,13 @@
|
||||
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2011.748\lib\net462\SteamWare.dll</HintPath>
|
||||
<Reference Include="SteamWare, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.0.2012.750\lib\net462\SteamWare.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2011.748, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2011.748\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Reference Include="SteamWare.Logger, Version=5.0.2012.750, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.0.2012.750\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
|
||||
+7
-20
@@ -5,26 +5,13 @@
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="MapoDb.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="MapoDb.Properties.Settings.MoonPro_IS_ConnectionString"
|
||||
connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_Donati;Persist Security Info=True;User ID=sa;Password=keyhammer16"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.C_TRACKConnectionString"
|
||||
connectionString="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User ID=sa;Password=keyhammer16"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_ES3ConnectionString"
|
||||
connectionString="Data Source=sql2016dev;Initial Catalog=MoonPro_ES3;Persist Security Info=True;User ID=sa;Password=keyhammer16"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoModel" connectionString="data source=SQL2016DEV;initial catalog=MoonPro;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EntityFramework"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_IS_ArcaConnectionString"
|
||||
connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_EdilChim;Persist Security Info=True;User ID=sa;Password=keyhammer16"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_MAGConnectionString"
|
||||
connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_MAG;Persist Security Info=True;User ID=sa;Password=keyhammer16"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.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="MapoDb.Properties.Settings.MoonPro_IS_ConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_Donati;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.C_TRACKConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_ES3ConnectionString" connectionString="Data Source=sql2016dev;Initial Catalog=MoonPro_ES3;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoModel" connectionString="data source=SQL2016DEV;initial catalog=MoonPro;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_IS_ArcaConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_EdilChim;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_MAGConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_MAG;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
<package id="SharpZipLib" version="1.3.0" targetFramework="net462" />
|
||||
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
|
||||
<package id="StackExchange.Redis" version="2.2.4" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2011.748" targetFramework="net462" />
|
||||
<package id="SteamWare" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="SteamWare.Logger" version="5.0.2012.750" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Collections" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="5.0.0" targetFramework="net462" />
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
|
||||
namespace WebConfigSetter
|
||||
@@ -20,7 +21,7 @@ namespace WebConfigSetter
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected static string baseDir { get; set; } = @"c:\Steamware\WebConfigSetter";
|
||||
protected static string baseDir { get; set; } = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);//@"c:\Steamware\WebConfigSetter";
|
||||
#if DEBUG
|
||||
protected static string baseWebAppDir { get; set; } = @"\\iis02\c$\inetpub\wwwroot\MP\";
|
||||
#else
|
||||
@@ -30,7 +31,6 @@ namespace WebConfigSetter
|
||||
protected static string confDir { get; set; } = $@"{baseDir}\CONF";
|
||||
|
||||
protected static string currentSetFile { get; set; } = $@"{confDir}\default.json";
|
||||
protected static string globalConfFile { get; set; } = $@"{confDir}\settings.json";
|
||||
|
||||
/// <summary>
|
||||
/// modalità scrittura (altrimenti legge e carica conf parsando i files)
|
||||
|
||||
Reference in New Issue
Block a user