Inizio update TAB x metodi HwSwInfo

This commit is contained in:
Samuele E. Locatelli
2019-11-27 19:19:10 +01:00
parent 6aa1420254
commit 8d5ed5f91f
9 changed files with 357 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="HwSwInfo.aspx.cs" Inherits="MoonProTablet.HwSwInfo" %>
<%@ Register Src="~/WebUserControls/cmp_HwSwInfo.ascx" TagPrefix="uc1" TagName="cmp_HwSwInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<uc1:cmp_HwSwInfo runat="server" id="cmp_HwSwInfo" />
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
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 HwSwInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+26
View File
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MoonProTablet
{
public partial class HwSwInfo
{
/// <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;
}
}
+26 -4
View File
@@ -152,6 +152,12 @@
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.6.8\lib\net45\NLog.dll</HintPath>
</Reference>
<Reference Include="PdfSharp, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.dll</HintPath>
</Reference>
<Reference Include="PdfSharp.Charting, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.Charting.dll</HintPath>
</Reference>
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.0\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
</Reference>
@@ -164,8 +170,8 @@
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.2.0.601\lib\net461\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="SteamWare, Version=3.4.1911.687, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SteamWare.3.4.1911.687\lib\net462\SteamWare.dll</HintPath>
<Reference Include="SteamWare, Version=3.5.1911.698, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SteamWare.3.5.1911.698\lib\net462\SteamWare.dll</HintPath>
</Reference>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
@@ -419,6 +425,7 @@
<Content Include="fixODL.aspx" />
<Content Include="fonts\fontawesome-webfont.svg" />
<Content Include="Global.asax" />
<Content Include="HwSwInfo.aspx" />
<Content Include="images\addArancio.png" />
<Content Include="images\addBlu.png" />
<Content Include="images\edit_l.png" />
@@ -482,11 +489,11 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\flashing.less" />
<Content Include="example-NLog.config" />
<Content Include="example-app.config" />
<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>
@@ -578,6 +585,7 @@
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="WebUserControls\cmp_dettODL.ascx" />
<Content Include="WebUserControls\cmp_HwSwInfo.ascx" />
<Content Include="WebUserControls\cmp_newODL.ascx" />
<Content Include="WebUserControls\cmp_selPzPallet.ascx" />
<Content Include="WebUserControls\mod_checkHttps.ascx" />
@@ -686,6 +694,13 @@
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="HwSwInfo.aspx.cs">
<DependentUpon>HwSwInfo.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="HwSwInfo.aspx.designer.cs">
<DependentUpon>HwSwInfo.aspx</DependentUpon>
</Compile>
<Compile Include="IOB-info.aspx.cs">
<DependentUpon>IOB-info.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -821,6 +836,13 @@
<Compile Include="WebUserControls\cmp_dettODL.ascx.designer.cs">
<DependentUpon>cmp_dettODL.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_HwSwInfo.ascx.cs">
<DependentUpon>cmp_HwSwInfo.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_HwSwInfo.ascx.designer.cs">
<DependentUpon>cmp_HwSwInfo.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_newODL.ascx.cs">
<DependentUpon>cmp_newODL.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+20 -2
View File
@@ -841,6 +841,7 @@
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="error" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="writeBuffer" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
@@ -883,6 +884,11 @@
<xs:documentation>Indicates whether to auto-flush after </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeBuffer" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether to enable batch writing using char[]-buffers, instead of using </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
@@ -1178,7 +1184,7 @@
</xs:attribute>
<xs:attribute name="entryType" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Optional entrytype. When not set, or when not convertible to then determined by </xs:documentation>
<xs:documentation>Optional entry type. When not set, or when not convertible to then determined by </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="eventId" type="SimpleLayoutAttribute">
@@ -1374,7 +1380,7 @@
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
<xs:documentation>Maximum number of log file names that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileNameKind" type="NLog.Targets.FilePathKind">
@@ -2895,6 +2901,7 @@
<xs:element name="maxRecursionLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="renderEmptyObject" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeForwardSlash" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="excludeProperties" type="xs:string">
<xs:annotation>
@@ -2936,6 +2943,11 @@
<xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="escapeForwardSlash" type="xs:boolean">
<xs:annotation>
<xs:documentation>Should forward slashes be escaped? If true, / will be converted to \/</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2946,6 +2958,7 @@
<xs:element name="encode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeUnicode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeForwardSlash" minOccurs="0" maxOccurs="1" type="xs:boolean" />
</xs:choice>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
@@ -2972,6 +2985,11 @@
<xs:documentation>Whether an attribute with empty value should be included in the output</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="escapeForwardSlash" type="xs:boolean">
<xs:annotation>
<xs:documentation>Should forward slashes be escaped? If true, / will be converted to \/</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="LayoutWithHeaderAndFooter">
<xs:complexContent>
+158
View File
@@ -0,0 +1,158 @@
<%@ 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">
<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 show" data-target="#collapse04" aria-expanded="true" aria-controls="collapse04">
Global data
</asp:LinkButton>
</h5>
</div>
<div id="collapse04" class="collapse show" 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"><%: 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 show" data-target="#collapse01" aria-expanded="true" aria-controls="collapse01">
Stats (Server, IIS, APP)
</asp:LinkButton>
</h5>
</div>
<div id="collapse01" class="collapse show" 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><%: 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>
<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 show" data-target="#collapse02" aria-expanded="true" aria-controls="collapse02">
Redis Server data
</asp:LinkButton>
</h5>
</div>
<div id="collapse02" class="collapse show" 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><%: 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 show" data-target="#collapse03" aria-expanded="true" aria-controls="collapse03">
Browser data
</asp:LinkButton>
</h5>
</div>
<div id="collapse03" class="collapse show" 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>
<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 show" data-target="#collapse05" aria-expanded="false" aria-controls="collapse05">
Other Libraries
</asp:LinkButton>
</h5>
</div>
<div id="collapse05" class="collapse show" 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>
</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 show" data-target="#collapse06" aria-expanded="false" aria-controls="collapse06">
Reset Results
</asp:LinkButton>
</h5>
</div>
<div id="collapse06" class="collapse show" 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>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MoonProTablet.WebUserControls
{
public partial class cmp_HwSwInfo : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+80
View File
@@ -0,0 +1,80 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls
{
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 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;
/// <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;
}
}
+4 -3
View File
@@ -30,15 +30,16 @@
<package id="MongoDB.Driver.Core" version="2.9.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" />
<package id="NLog" version="4.6.8" targetFramework="net462" />
<package id="NLog.Config" version="4.6.7" targetFramework="net462" />
<package id="NLog.Schema" version="4.6.7" targetFramework="net462" />
<package id="NLog.Config" version="4.6.8" targetFramework="net462" />
<package id="NLog.Schema" version="4.6.8" targetFramework="net462" />
<package id="PDFsharp" version="1.50.5147" targetFramework="net462" />
<package id="Pipelines.Sockets.Unofficial" version="2.1.0" targetFramework="net462" />
<package id="popper.js" version="1.14.3" targetFramework="net462" />
<package id="SharpCompress" version="0.24.0" targetFramework="net462" />
<package id="SharpZipLib" version="1.2.0" targetFramework="net462" />
<package id="Snappy.NET" version="1.1.1.8" targetFramework="net462" />
<package id="StackExchange.Redis" version="2.0.601" targetFramework="net462" />
<package id="SteamWare" version="3.4.1911.687" targetFramework="net462" />
<package id="SteamWare" version="3.5.1911.698" targetFramework="net462" />
<package id="System.Buffers" version="4.5.0" targetFramework="net462" />
<package id="System.Diagnostics.PerformanceCounter" version="4.6.0" targetFramework="net462" />
<package id="System.IO.Pipelines" version="4.6.0" targetFramework="net462" />