diff --git a/EgtBEAMWALL.DataLayer/EgtBEAMWALL.DataLayer.csproj b/EgtBEAMWALL.DataLayer/EgtBEAMWALL.DataLayer.csproj index dc52daab..d07b2f28 100644 --- a/EgtBEAMWALL.DataLayer/EgtBEAMWALL.DataLayer.csproj +++ b/EgtBEAMWALL.DataLayer/EgtBEAMWALL.DataLayer.csproj @@ -83,17 +83,17 @@ + + + 202103051823092_InitDb.cs + + {f22835a1-83d8-4334-91bb-baaeb9cf59b1} EgtBEAMWALL.Core - - - 202103051823092_InitDb.cs - - copy $(TargetPath) c:\EgtProg\EgtBEAMWALL\ViewerOptimizer\EgtBEAMWALL.DataLayer.dll diff --git a/EgtBEAMWALL.StressTest.sln b/EgtBEAMWALL.StressTest.sln new file mode 100644 index 00000000..91fe252e --- /dev/null +++ b/EgtBEAMWALL.StressTest.sln @@ -0,0 +1,65 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30114.105 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgtBEAMWALL.DataLayer", "EgtBEAMWALL.DataLayer\EgtBEAMWALL.DataLayer.csproj", "{24D7760E-662A-47E4-B729-B70126C24A31}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgtBEAMWALL.StressTest", "EgtBEAMWALL.StressTest\EgtBEAMWALL.StressTest.csproj", "{8C528A07-3ECF-4005-AD49-F623277BEAB7}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EgtBEAMWALL.Core", "EgtBEAMWALL.Core\EgtBEAMWALL.Core.vbproj", "{F22835A1-83D8-4334-91BB-BAAEB9CF59B1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|Any CPU.Build.0 = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.ActiveCfg = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x64.Build.0 = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x86.ActiveCfg = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Debug|x86.Build.0 = Debug|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|Any CPU.ActiveCfg = Release|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|Any CPU.Build.0 = Release|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|x64.ActiveCfg = Release|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|x64.Build.0 = Release|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.ActiveCfg = Release|Any CPU + {24D7760E-662A-47E4-B729-B70126C24A31}.Release|x86.Build.0 = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|x64.ActiveCfg = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|x64.Build.0 = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|x86.ActiveCfg = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Debug|x86.Build.0 = Debug|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|Any CPU.Build.0 = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|x64.ActiveCfg = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|x64.Build.0 = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|x86.ActiveCfg = Release|Any CPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7}.Release|x86.Build.0 = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.ActiveCfg = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x64.Build.0 = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x86.ActiveCfg = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Debug|x86.Build.0 = Debug|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|Any CPU.Build.0 = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x64.ActiveCfg = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x64.Build.0 = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.ActiveCfg = Release|Any CPU + {F22835A1-83D8-4334-91BB-BAAEB9CF59B1}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {17B3925F-95AB-44F3-9E62-B3C8BD2CB52F} + EndGlobalSection +EndGlobal diff --git a/EgtBEAMWALL.StressTest/EgtBEAMWALL.StressTest.csproj b/EgtBEAMWALL.StressTest/EgtBEAMWALL.StressTest.csproj new file mode 100644 index 00000000..4818a387 --- /dev/null +++ b/EgtBEAMWALL.StressTest/EgtBEAMWALL.StressTest.csproj @@ -0,0 +1,88 @@ + + + + + Debug + AnyCPU + {8C528A07-3ECF-4005-AD49-F623277BEAB7} + WinExe + EgtBEAMWALL.StressTest + EgtBEAMWALL.StressTest + v4.0 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + StressTest.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + StressTest.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + {f22835a1-83d8-4334-91bb-baaeb9cf59b1} + EgtBEAMWALL.Core + + + {24d7760e-662a-47e4-b729-b70126c24a31} + EgtBEAMWALL.DataLayer + + + + \ No newline at end of file diff --git a/EgtBEAMWALL.StressTest/Program.cs b/EgtBEAMWALL.StressTest/Program.cs new file mode 100644 index 00000000..11c601c3 --- /dev/null +++ b/EgtBEAMWALL.StressTest/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace EgtBEAMWALL.StressTest +{ + static class Program + { + /// + /// Punto di ingresso principale dell'applicazione. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new StressTest()); + } + } +} diff --git a/EgtBEAMWALL.StressTest/Properties/AssemblyInfo.cs b/EgtBEAMWALL.StressTest/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..d65472ed --- /dev/null +++ b/EgtBEAMWALL.StressTest/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Le informazioni generali relative a un assembly sono controllate dal seguente +// set di attributi. Modificare i valori di questi attributi per modificare le informazioni +// associate a un assembly. +[assembly: AssemblyTitle("EgtBEAMWALL.StressTest")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EgtBEAMWALL.StressTest")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili +// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da +// COM, impostare su true l'attributo ComVisible per tale tipo. +[assembly: ComVisible(false)] + +// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi +[assembly: Guid("8c528a07-3ecf-4005-ad49-f623277beab7")] + +// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: +// +// Versione principale +// Versione secondaria +// Numero di build +// Revisione +// +// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build +// usando l'asterisco '*' come illustrato di seguito: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EgtBEAMWALL.StressTest/Properties/Resources.Designer.cs b/EgtBEAMWALL.StressTest/Properties/Resources.Designer.cs new file mode 100644 index 00000000..0d6baec0 --- /dev/null +++ b/EgtBEAMWALL.StressTest/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono causare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + + +namespace EgtBEAMWALL.StressTest.Properties +{ + /// + /// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + /// + // Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder + // tramite uno strumento quale ResGen o Visual Studio. + // Per aggiungere o rimuovere un membro, modificare il file .ResX, quindi eseguire di nuovo ResGen + // con l'opzione /str oppure ricompilare il progetto VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Restituisce l'istanza di ResourceManager memorizzata nella cache e usata da questa classe. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EgtBEAMWALL.StressTest.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + /// le ricerche di risorse che utilizzano questa classe di risorse fortemente tipizzata. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/EgtBEAMWALL.StressTest/Properties/Resources.resx b/EgtBEAMWALL.StressTest/Properties/Resources.resx new file mode 100644 index 00000000..af7dbebb --- /dev/null +++ b/EgtBEAMWALL.StressTest/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/EgtBEAMWALL.StressTest/Properties/Settings.Designer.cs b/EgtBEAMWALL.StressTest/Properties/Settings.Designer.cs new file mode 100644 index 00000000..26c39cbd --- /dev/null +++ b/EgtBEAMWALL.StressTest/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + +namespace EgtBEAMWALL.StressTest.Properties +{ + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/EgtBEAMWALL.StressTest/Properties/Settings.settings b/EgtBEAMWALL.StressTest/Properties/Settings.settings new file mode 100644 index 00000000..39645652 --- /dev/null +++ b/EgtBEAMWALL.StressTest/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/EgtBEAMWALL.StressTest/StressTest.Designer.cs b/EgtBEAMWALL.StressTest/StressTest.Designer.cs new file mode 100644 index 00000000..46ce946b --- /dev/null +++ b/EgtBEAMWALL.StressTest/StressTest.Designer.cs @@ -0,0 +1,48 @@ + +namespace EgtBEAMWALL.StressTest +{ + partial class StressTest + { + /// + /// Variabile di progettazione necessaria. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Pulire le risorse in uso. + /// + /// ha valore true se le risorse gestite devono essere eliminate, false in caso contrario. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Codice generato da Progettazione Windows Form + + /// + /// Metodo necessario per il supporto della finestra di progettazione. Non modificare + /// il contenuto del metodo con l'editor di codice. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // StressTest + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Name = "StressTest"; + this.Text = "Stress Test"; + this.ResumeLayout(false); + + } + + #endregion + } +} + diff --git a/EgtBEAMWALL.StressTest/StressTest.cs b/EgtBEAMWALL.StressTest/StressTest.cs new file mode 100644 index 00000000..b09a08e5 --- /dev/null +++ b/EgtBEAMWALL.StressTest/StressTest.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace EgtBEAMWALL.StressTest +{ + public partial class StressTest : Form + { + + #region Public Constructors + + public StressTest() + { + InitializeComponent(); + } + + #endregion Public Constructors + + } +} diff --git a/EgtBEAMWALL.StressTest/StressTest.resx b/EgtBEAMWALL.StressTest/StressTest.resx new file mode 100644 index 00000000..1af7de15 --- /dev/null +++ b/EgtBEAMWALL.StressTest/StressTest.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file