diff --git a/MP-Admin/MP-Admin.csproj b/MP-Admin/MP-Admin.csproj
deleted file mode 100644
index a33bf2f0..00000000
--- a/MP-Admin/MP-Admin.csproj
+++ /dev/null
@@ -1,985 +0,0 @@
-
-
-
-
- bin\
-
-
- true
- pdbonly
- AnyCPU
- bin\MoonProAdmin.dll.CodeAnalysisLog.xml
- true
- GlobalSuppressions.cs
- prompt
- AllRules.ruleset
- ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- Default Web Site/MoonProAdmin
- true
- true
- false
-
-
- bin\
-
-
- true
- pdbonly
- AnyCPU
- bin\MoonProAdmin.dll.CodeAnalysisLog.xml
- true
- GlobalSuppressions.cs
- prompt
- AllRules.ruleset
- ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- true
- true
- Default Web Site/MoonProAdmin
- false
-
-
- bin\
- true
- pdbonly
- AnyCPU
- prompt
- AllRules.ruleset
- false
-
-
- bin\
- true
- pdbonly
- AnyCPU
- prompt
- AllRules.ruleset
-
-
- bin\
- true
- pdbonly
- AnyCPU
- prompt
- AllRules.ruleset
-
-
- bin\
- true
- pdbonly
- AnyCPU
- prompt
- AllRules.ruleset
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {18C9C6CF-52CB-4299-BC6E-C1DC78DF632C}
- {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
- Library
- Properties
- MoonProAdmin
- MoonProAdmin
- v4.6.2
-
-
- 3.5
-
- false
-
-
- disabled
- enabled
-
-
-
- Latest
-
-
- true
- full
- false
- bin\
- DEBUG;TRACE
- prompt
- 4
- AllRules.ruleset
- false
-
-
- pdbonly
- true
- bin\
-
-
- prompt
- 4
- AllRules.ruleset
- Default Web Site/MoonProAdmin
- true
- true
- false
-
-
-
- ..\packages\AjaxControlToolkit.18.1.0\lib\net40\AjaxControlToolkit.dll
-
-
- ..\packages\AjaxMin.5.14.5506.26202\lib\net40\AjaxMin.dll
- True
-
-
- ..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll
-
-
- ..\packages\AspNet.ScriptManager.bootstrap.4.1.1\lib\net45\AspNet.ScriptManager.bootstrap.dll
-
-
- ..\packages\AspNet.ScriptManager.jQuery.3.3.1\lib\net45\AspNet.ScriptManager.jQuery.dll
-
-
- ..\packages\elmah.corelibrary.1.2.2\lib\Elmah.dll
-
-
- ..\packages\Microsoft.AspNet.FriendlyUrls.Core.1.0.2\lib\net45\Microsoft.AspNet.FriendlyUrls.dll
-
-
- ..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll
-
-
- ..\packages\Microsoft.AspNet.ScriptManager.MSAjax.5.0.0\lib\net45\Microsoft.ScriptManager.MSAjax.dll
-
-
- ..\packages\Microsoft.AspNet.ScriptManager.WebForms.5.0.0\lib\net45\Microsoft.ScriptManager.WebForms.dll
-
-
- ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
-
-
- ..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll
-
-
-
-
-
-
-
-
-
-
-
- ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll
-
-
-
-
-
-
-
-
- ..\packages\WebGrease.1.6.0\lib\WebGrease.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- fonts.less
-
-
- fonts.css
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Style.less
-
-
- Style.less
-
-
- Designer
-
-
-
-
-
- MoonPro.cs
-
-
- anagArticoli.aspx
- ASPXCodeBehind
-
-
- anagArticoli.aspx
-
-
- aperturaImpianti.aspx
- ASPXCodeBehind
-
-
- aperturaImpianti.aspx
-
-
- approvazioneODL.aspx
- ASPXCodeBehind
-
-
- approvazioneODL.aspx
-
-
- approvazioneProd.aspx
- ASPXCodeBehind
-
-
- approvazioneProd.aspx
-
-
-
-
- Barcode.aspx
- ASPXCodeBehind
-
-
- Barcode.aspx
-
-
- BCode.aspx
- ASPXCodeBehind
-
-
- BCode.aspx
-
-
- calendChiusura.aspx
- ASPXCodeBehind
-
-
- calendChiusura.aspx
-
-
- ASPXCodeBehind
- Default.aspx
-
-
- Default.aspx
-
-
- ExportPdf.aspx
- ASPXCodeBehind
-
-
- ExportPdf.aspx
-
-
- forceUser.aspx
- ASPXCodeBehind
-
-
- forceUser.aspx
-
-
- gestioneDatiMacchine.aspx
- ASPXCodeBehind
-
-
- gestioneDatiMacchine.aspx
-
-
- gestioneODL.aspx
- ASPXCodeBehind
-
-
- gestioneODL.aspx
-
-
- GestKIT.aspx
- ASPXCodeBehind
-
-
- GestKIT.aspx
-
-
- gestPromesseODL.aspx
- ASPXCodeBehind
-
-
- gestPromesseODL.aspx
-
-
- Global.asax
-
-
- login.aspx
- ASPXCodeBehind
-
-
- login.aspx
-
-
- menu.aspx
- ASPXCodeBehind
-
-
- menu.aspx
-
-
-
- StoricoTC.aspx
- ASPXCodeBehind
-
-
- StoricoTC.aspx
-
-
- test.aspx
- ASPXCodeBehind
-
-
- test.aspx
-
-
- testUtente.aspx
- ASPXCodeBehind
-
-
- testUtente.aspx
-
-
- AjaxSimple.master
- ASPXCodeBehind
-
-
- AjaxSimple.master
-
-
- Bootstrap.Master
- ASPXCodeBehind
-
-
- Bootstrap.Master
-
-
- MoonPro.master
- ASPXCodeBehind
-
-
- MoonPro.master
-
-
- MoonPro_noAjax.master
- ASPXCodeBehind
-
-
- MoonPro_noAjax.master
-
-
- mod_anagArticoli.ascx
- ASPXCodeBehind
-
-
- mod_anagArticoli.ascx
-
-
- mod_aperturaImpianti.ascx
- ASPXCodeBehind
-
-
- mod_aperturaImpianti.ascx
-
-
- mod_approvazioneODL.ascx
- ASPXCodeBehind
-
-
- mod_approvazioneODL.ascx
-
-
- mod_approvProd.ascx
- ASPXCodeBehind
-
-
- mod_approvProd.ascx
-
-
- mod_barcode.ascx
- ASPXCodeBehind
-
-
- mod_barcode.ascx
-
-
- mod_calChiusura.ascx
- ASPXCodeBehind
-
-
- mod_calChiusura.ascx
-
-
- mod_fixCal.ascx
- ASPXCodeBehind
-
-
- mod_fixCal.ascx
-
-
- mod_footer.ascx
- ASPXCodeBehind
-
-
- mod_footer.ascx
-
-
- mod_gestioneDatiMacchine.ascx
- ASPXCodeBehind
-
-
- mod_gestioneDatiMacchine.ascx
-
-
- mod_gestioneODL.ascx
- ASPXCodeBehind
-
-
- mod_gestioneODL.ascx
-
-
- mod_gestKIT.ascx
- ASPXCodeBehind
-
-
- mod_gestKIT.ascx
-
-
- mod_gestPromODL.ascx
- ASPXCodeBehind
-
-
- mod_gestPromODL.ascx
-
-
- mod_login.ascx
- ASPXCodeBehind
-
-
- mod_login.ascx
-
-
- mod_main_help.ascx
- ASPXCodeBehind
-
-
- mod_main_help.ascx
-
-
- mod_menuBottom.ascx
- ASPXCodeBehind
-
-
- mod_menuBottom.ascx
-
-
- mod_menuSx.ascx
- ASPXCodeBehind
-
-
- mod_menuSx.ascx
-
-
- mod_menuTop.ascx
- ASPXCodeBehind
-
-
- mod_menuTop.ascx
-
-
- mod_menuTopCompact.ascx
- ASPXCodeBehind
-
-
- mod_menuTopCompact.ascx
-
-
- mod_newOdl.ascx
- ASPXCodeBehind
-
-
- mod_newOdl.ascx
-
-
- mod_newPromessaODL.ascx
- ASPXCodeBehind
-
-
- mod_newPromessaODL.ascx
-
-
- mod_pageTitleAndSearch.ascx
- ASPXCodeBehind
-
-
- mod_pageTitleAndSearch.ascx
-
-
- mod_ricercaGenerica.ascx
- ASPXCodeBehind
-
-
- mod_ricercaGenerica.ascx
-
-
- mod_storicoTC.ascx
- ASPXCodeBehind
-
-
- mod_storicoTC.ascx
-
-
- mod_unauthorized.ascx
- ASPXCodeBehind
-
-
- mod_unauthorized.ascx
-
-
- AutoCompletamento.asmx
- Component
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- compilerconfig.json
-
-
-
-
- Web.config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Web.config
-
-
- Web.config
-
-
- Web.config
-
-
-
-
-
-
-
-
-
-
- {2872dcfe-8b46-43b2-baa0-842a816a2dd5}
- SteamWare
-
-
- {4617a665-d6e3-4ceb-a689-ce2eecd45713}
- MapoDb
-
-
-
-
-
-
-
-
-
-
-
-
- 10.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
-
-
-
-
-
-
-
- False
- True
- 56734
- /
-
-
- False
- False
-
-
- False
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/MP-Admin.csproj.user b/MP-Admin/MP-Admin.csproj.user
deleted file mode 100644
index da6c97e3..00000000
--- a/MP-Admin/MP-Admin.csproj.user
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
- OVH-Demo
- ShowAllFiles
- false
- disabled
- enabled
-
-
-
-
- Debug|Any CPU
-
-
-
-
-
-
-
- CurrentPage
- True
- False
- False
- False
-
-
-
-
-
-
-
-
- True
- True
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/AssemblyInfo.cs b/MP-Admin/Properties/AssemblyInfo.cs
deleted file mode 100644
index 893fc544..00000000
--- a/MP-Admin/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MoonProAdmin")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-//[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("MoonProAdmin")]
-//[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-//[assembly: AssemblyVersion("1.0.0.0")]
-//[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/MP-Admin/Properties/PublishProfiles/Donati.pubxml b/MP-Admin/Properties/PublishProfiles/Donati.pubxml
deleted file mode 100644
index bd7919a2..00000000
--- a/MP-Admin/Properties/PublishProfiles/Donati.pubxml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- Package
- Donati
- Any CPU
-
- True
- C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\MoonPro\ReleaseClienti\Donati\MoonProAdmin.zip
- true
- Default Web Site/MP/ADM
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- True
- True
- False
- DonotMerge
-
-
-
- Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16
-
-
- Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/Donati.pubxml.user b/MP-Admin/Properties/PublishProfiles/Donati.pubxml.user
deleted file mode 100644
index 7fd3b7ae..00000000
--- a/MP-Admin/Properties/PublishProfiles/Donati.pubxml.user
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/IIS01.pubxml b/MP-Admin/Properties/PublishProfiles/IIS01.pubxml
deleted file mode 100644
index 8e9d806a..00000000
--- a/MP-Admin/Properties/PublishProfiles/IIS01.pubxml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
- MSDeploy
- False
- IIS01
- Any CPU
-
- True
- True
- https://IIS01:8172/MsDeploy.axd
- Default Web Site/MP/ADM
-
- False
- WMSVC
- False
- jenkins
- <_SavePWD>True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- True
- False
- DonotMerge
-
-
-
- Data Source=10.74.82.11\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16
- False
-
-
- Data Source=10.74.82.11\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16
- False
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/IIS01.pubxml.user b/MP-Admin/Properties/PublishProfiles/IIS01.pubxml.user
deleted file mode 100644
index 8b9a72da..00000000
--- a/MP-Admin/Properties/PublishProfiles/IIS01.pubxml.user
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAH0adXzrANk+QkSQiwkrZoAAAAAACAAAAAAADZgAAwAAAABAAAAD9aJJ3G379zVzzup4ozBBhAAAAAASAAACgAAAAEAAAAFN9nr3k+KEyzrjfk0V/MXkYAAAAbqY4mHstHir9T7T6G6eS+qeE9t4NPQcCFAAAAKOh5vgD2VXl3gFmaMZ3CRbKfjvF
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/IIS02.pubxml b/MP-Admin/Properties/PublishProfiles/IIS02.pubxml
deleted file mode 100644
index 3a3cb19b..00000000
--- a/MP-Admin/Properties/PublishProfiles/IIS02.pubxml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
- MSDeploy
- IIS02
- Any CPU
-
- True
- https://IIS02:8172/MsDeploy.axd
- Default Web Site/MP/ADM
-
- False
- WMSVC
- True
- jenkins
- <_SavePWD>True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- False
- True
- True
- False
- DonotMerge
-
-
-
- False
-
-
- False
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/IIS02.pubxml.user b/MP-Admin/Properties/PublishProfiles/IIS02.pubxml.user
deleted file mode 100644
index fed5119d..00000000
--- a/MP-Admin/Properties/PublishProfiles/IIS02.pubxml.user
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAH0adXzrANk+QkSQiwkrZoAAAAAACAAAAAAADZgAAwAAAABAAAACMkdGo+hmg4NN9+mYykXhBAAAAAASAAACgAAAAEAAAABZoq0sbipzoj0L+D0u6cnAYAAAAk5QxRasgkE8hUBg48tIERaacHxAsNyLGFAAAACS/a71mOhgsnxM59u6tWZfzwPZJ
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml b/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml
deleted file mode 100644
index 710a9c53..00000000
--- a/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
- MSDeploy
- Release
- Any CPU
-
- True
- True
- True
- False
- DonotMerge
- True
- https://wprod01.steamware.net:8172/MsDeploy.axd
- mp.steamware.net/ADM
-
- False
- WMSVC
- True
- steamwovh\administrator
- <_SavePWD>True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
-
-
- False
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml.user b/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml.user
deleted file mode 100644
index 2bfdc8c8..00000000
--- a/MP-Admin/Properties/PublishProfiles/OVH-Demo.pubxml.user
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFSC7SxKvFUatYSNDJzLCAwAAAAACAAAAAAADZgAAwAAAABAAAACHWIdSzYoDKUpZU/fx44FqAAAAAASAAACgAAAAEAAAAI43QYRfOCsZrpkzXRPRTcEYAAAAynvvJpUMUJmTlnZgGJdXeOxIKOpn9StjFAAAAFM160aT9PxSvghB34AmpwrxKHTL
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/Steamware.pubxml b/MP-Admin/Properties/PublishProfiles/Steamware.pubxml
deleted file mode 100644
index b39b1c10..00000000
--- a/MP-Admin/Properties/PublishProfiles/Steamware.pubxml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- Package
- Steamware
- Any CPU
-
- True
- C:\Users\samuele\Documents\Visual Studio 2012\Projects\MoonPro\MoonPro\ReleaseClienti\Steamware\MoonProAdmin.zip
- true
- Default Web Site/MoonProAdmin
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- True
- False
- DonotMerge
-
-
-
- Data Source=10.74.82.11\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16
-
-
- Data Source=10.74.82.11\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Properties/PublishProfiles/Steamware.pubxml.user b/MP-Admin/Properties/PublishProfiles/Steamware.pubxml.user
deleted file mode 100644
index 64439815..00000000
--- a/MP-Admin/Properties/PublishProfiles/Steamware.pubxml.user
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Reports/Donati_ODL.rdlc b/MP-Admin/Reports/Donati_ODL.rdlc
deleted file mode 100644
index ea25000a..00000000
--- a/MP-Admin/Reports/Donati_ODL.rdlc
+++ /dev/null
@@ -1,569 +0,0 @@
-
-
-
-
- d7e4c92b-5c68-45a5-bcec-bf637ebc9355
- MoonPro
-
-
- 11in
- Stampa ODL
- true
- 8.5in
- 0.25cm
- true
- 1cm
- 1cm
- 1cm
- e75b4cbf-314f-4c87-b2fb-d19a50c3fe0c
-
-
- image/png
- iVBORw0KGgoAAAANSUhEUgAAAzsAAABBCAMAAADBoEonAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMAUExURQAAACgxMCgxMSoyMCgyMSozMio0Mys1NCw1NC02NC02NS43Ni84NjA4NzE6ODM7OjQ7OTQ8OjY9OzY+Ozc+PDc/PTg+PDdAPztAPTlAPjhAPztCPztCQDxDQDxEQTxEQj5FQz5FRD9GREBHRUFIRUFIRkJJR0JKRkNKR0JKSEFKSURLSERMSUVNSkZOSkZOS0ZOTEhPTEhPTkZQTklQTUlRTktST0xTT0xTUE1UUE5VUU5VUk5WUk9XU0xVVFBWUlBXU1BYU1BYVFFYVVFZVlJaVVJaVlNaV1RaV1RcV1FaWVJbWlRbWFVcWFZdWVdeWVdeWlhgXl1mZGNraWpybm93dHB3dHZ9eXyCfgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALeLIC8AAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQBQYWludC5ORVQgdjMuNS420IOtWgAACntJREFUeF7tnQt72sYShktjFC4BX6lrUju+4QMBYtOACcR2KaoVHR+LOA4x+v9/RGdmdgWSkIS7yuM2ZjYORmhnJT7Nm5kdrdqfHG6sACugosBPKkZswwqwAg6zw07ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZWrACzwz7ACqgpwOyo6cZ
-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
-
-
- image/png
- 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
-
-
- 21cm
-
-
-
-
- IdxODL
- System.Int32
-
-
- CodArticolo
- System.String
-
-
- DescArticolo
- System.String
-
-
- IdxMacchina
- System.String
-
-
- CodMacchina
- System.String
-
-
- Nome
- System.String
-
-
- NumPezzi
- System.Int32
-
-
- TCAssegnato
- System.Decimal
-
-
- DataInizio
- System.DateTime
-
-
- DataFine
- System.DateTime
-
-
-
- MoonPro
- exec stp_ODL_getByIdx 1,0
- true
-
-
-
- S.E. Locatelli
-
- 19cm
-
- 1cm
-
-
- 27cm
- 7.5cm
-
- 27
- true
- 0.5cm
- 0.5cm
- SteamWare MoonPro/MAPO - v2.250
-
-
- 27cm
- 7.5cm
-
- 26
- true
- 11.25cm
- 0.5cm
- =Today
-
-
- 25.75cm
- 18.25397cm
-
- 25
- 0.5cm
- 0cm
-
-
- 21.25cm
- 18.25397cm
-
- 24
- 0.5cm
- 0cm
-
-
- 21.25cm
- 18.25cm
-
- 23
- true
- 0.5cm
- 1.025cm
- Passo 3
-
-
- 15.5cm
- 18.25397cm
-
- 22
- 0.5cm
- 0cm
-
-
- 15.5cm
- 18.25cm
-
- 21
- true
- 0.5cm
- 1.025cm
- Passo 2
-
-
- 9.75cm
- 18.25397cm
-
- 20
- 0.5cm
- 0cm
-
-
- 9.75cm
- 18.25cm
-
- 19
- true
- 0.5cm
- 1.025cm
- Passo 1
-
-
- 3cm
- 18.25cm
-
- 18
- true
- 0.5cm
- 2.75cm
- Scheda di attrezzaggio ODL
-
-
- 2.25cm
- 7.5cm
-
- 17
- true
- 11cm
- 0.5cm
- Stabilimento di Passirano (BS)
-
-
- 22.5cm
- 13cm
-
- 16
- true
- 5.75cm
- 3cm
- ="*AT07" & Fields!IdxODL.Value & "*"
-
-
- 16.75cm
- 13.00529cm
-
- 15
- true
- 5.75cm
- 3cm
- ="*AT01" & Fields!IdxODL.Value & "*"
-
-
- 22.5cm
- 5cm
-
- 14
- true
- 0.5cm
- 3cm
- Fine Produz
-
-
- 16.75cm
- 5cm
-
- 13
- true
- 0.5cm
- 3cm
- Fine Attrezzaggio
-
-
- 20cm
- 18.25397cm
-
- 12
- 0.5cm
- 0cm
-
-
- 7.25cm
- 2.75cm
-
- 11
- true
- 16cm
- 0.75cm
- =First(Fields!TCAssegnato.Value)
-
-
- 7.25cm
- 3.5cm
-
- 10
- true
- 12.5cm
- 0.75cm
- Tempo Ciclo(min)
-
-
- 6.25cm
- 3.5cm
-
- 9
- true
- 12.5cm
- 0.75cm
- Pezzi da produrre
-
-
- 6.25cm
- 2.75cm
-
- 8
- true
- 16cm
- 0.75cm
- =First(Fields!NumPezzi.Value)
-
-
- 7.25cm
- 6.5cm
-
- 7
- true
- 5.75cm
- 0.75cm
- =First(Fields!DescArticolo.Value)
-
-
- 6.25cm
- 6.5cm
-
- 6
- true
- 5.75cm
- 0.75cm
- =First(Fields!CodArticolo.Value)
-
-
- 6.25cm
- 5cm
-
- 5
- true
- 0.5cm
- 1.74603cm
- Articolo
-
-
- 14.25cm
- 18.25397cm
-
- 4
- 0.5cm
- 0cm
-
-
- textbox3
- 11cm
- 13cm
-
- 3
- true
- 5.75cm
- 3cm
- ="*AT02" & Fields!IdxODL.Value & "*"
-
-
- textbox2
- 11cm
- 5cm
-
- 2
- true
- 0.5cm
- 3cm
- Attrezzaggio ODL
-
-
- 2cm
- 18.25397cm
-
- 1
- 0.5cm
- 0cm
-
-
- textbox1
- 0.25cm
- 16.25cm
-
- true
- 2.25cm
- 2.25cm
- Donati S.p.A.
-
-
- 27.7cm
-
- en-US
- 1cm
- 29.7cm
-
\ No newline at end of file
diff --git a/MP-Admin/Resources/ChangeLog.html b/MP-Admin/Resources/ChangeLog.html
deleted file mode 100644
index ad5c7dc0..00000000
--- a/MP-Admin/Resources/ChangeLog.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
- Server gestioen devices TAB per MAPO/MoonPro
- Versione: {{CURRENT-REL}}
-
- Note di rilascio:
-
-
- Ultime modifiche:
-
-
-
- v.4.* →
-
- Integrazione sistemi di AutoUpdate
- Gestione KIT articoli
- Gestione doppia tavola/doppio subsistem
- Windows Server 2016 / SQL 2016
-
-
-
- v.3.* →
-
- Implementazione sistemi MON
- Estensione reportistica "sequencer" aggregata
- Windows Server 2012R2 / SQL 2012
-
-
-
- v.2.* →
-
- Implementazione con acquisitore rPI-IOB
- Applicazione avanzata di controllo e amministrazione
- Estensione reportistica aggregata e singola
- Windows Server 2012 / SQL 2008R2
-
-
-
- v.1.* →
-
- Implementazione iniziale con acquisitore seriale da PC
- Applicazione iniziale con Kanban
- Windows Server 2008 / SQL 2005
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Resources/Donati/BASI/web.config.ref b/MP-Admin/Resources/Donati/BASI/web.config.ref
deleted file mode 100644
index 2ccfb9cd..00000000
--- a/MP-Admin/Resources/Donati/BASI/web.config.ref
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Resources/Donati/LAVORAZIONI/Web.config.ref b/MP-Admin/Resources/Donati/LAVORAZIONI/Web.config.ref
deleted file mode 100644
index 9c12978e..00000000
--- a/MP-Admin/Resources/Donati/LAVORAZIONI/Web.config.ref
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/Resources/logoSteamware.png b/MP-Admin/Resources/logoSteamware.png
deleted file mode 100644
index 0958b50a..00000000
Binary files a/MP-Admin/Resources/logoSteamware.png and /dev/null differ
diff --git a/MP-Admin/Resources/manifest.xml b/MP-Admin/Resources/manifest.xml
deleted file mode 100644
index cec8fcad..00000000
--- a/MP-Admin/Resources/manifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
--
-
1.0.0.0
- http://seriate.steamware.net:8083/SWS/MAPO/{{PACKNAME}}/{{BRANCHNAME}}/{{PACKNAME}}.zip
- http://seriate.steamware.net:8083/SWS/MAPO/{{PACKNAME}}/{{BRANCHNAME}}/ChangeLog.html
- false
-
\ No newline at end of file
diff --git a/MP-Admin/Scripts/README.md b/MP-Admin/Scripts/README.md
deleted file mode 100644
index 7d682faf..00000000
--- a/MP-Admin/Scripts/README.md
+++ /dev/null
@@ -1,219 +0,0 @@
-
-
-Popper.js
-
-
- A library used to position poppers in web applications.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-## Wut? Poppers?
-
-A popper is an element on the screen which "pops out" from the natural flow of your application.
-Common examples of poppers are tooltips, popovers and drop-downs.
-
-
-## So, yet another tooltip library?
-
-Well, basically, **no**.
-Popper.js is a **positioning engine**, its purpose is to calculate the position of an element
-to make it possible to position it near a given reference element.
-
-The engine is completely modular and most of its features are implemented as **modifiers**
-(similar to middlewares or plugins).
-The whole code base is written in ES2015 and its features are automatically tested on real browsers thanks to [SauceLabs](https://saucelabs.com/) and [TravisCI](https://travis-ci.org/).
-
-Popper.js has zero dependencies. No jQuery, no LoDash, nothing.
-It's used by big companies like [Twitter in Bootstrap v4](https://getbootstrap.com/), [Microsoft in WebClipper](https://github.com/OneNoteDev/WebClipper) and [Atlassian in AtlasKit](https://aui-cdn.atlassian.com/atlaskit/registry/).
-
-### Popper.js
-
-This is the engine, the library that computes and, optionally, applies the styles to
-the poppers.
-
-Some of the key points are:
-
-- Position elements keeping them in their original DOM context (doesn't mess with your DOM!);
-- Allows to export the computed informations to integrate with React and other view libraries;
-- Supports Shadow DOM elements;
-- Completely customizable thanks to the modifiers based structure;
-
-Visit our [project page](https://fezvrasta.github.io/popper.js) to see a lot of examples of what you can do with Popper.js!
-
-Find [the documentation here](/docs/_includes/popper-documentation.md).
-
-
-### Tooltip.js
-
-Since lots of users just need a simple way to integrate powerful tooltips in their projects,
-we created **Tooltip.js**.
-It's a small library that makes it easy to automatically create tooltips using as engine Popper.js.
-Its API is almost identical to the famous tooltip system of Bootstrap, in this way it will be
-easy to integrate it in your projects.
-The tooltips generated by Tooltip.js are accessible thanks to the `aria` tags.
-
-Find [the documentation here](/docs/_includes/tooltip-documentation.md).
-
-
-## Installation
-Popper.js is available on the following package managers and CDNs:
-
-| Source | |
-|:-------|:---------------------------------------------------------------------------------|
-| npm | `npm install popper.js --save` |
-| yarn | `yarn add popper.js` |
-| NuGet | `PM> Install-Package popper.js` |
-| Bower | `bower install popper.js --save` |
-| unpkg | [`https://unpkg.com/popper.js`](https://unpkg.com/popper.js) |
-| cdnjs | [`https://cdnjs.com/libraries/popper.js`](https://cdnjs.com/libraries/popper.js) |
-
-Tooltip.js as well:
-
-| Source | |
-|:-------|:---------------------------------------------------------------------------------|
-| npm | `npm install tooltip.js --save` |
-| yarn | `yarn add tooltip.js` |
-| Bower* | `bower install tooltip.js=https://unpkg.com/tooltip.js --save` |
-| unpkg | [`https://unpkg.com/tooltip.js`](https://unpkg.com/tooltip.js) |
-| cdnjs | [`https://cdnjs.com/libraries/popper.js`](https://cdnjs.com/libraries/popper.js) |
-
-\*: Bower isn't officially supported, it can be used to install Tooltip.js only trough the unpkg.com CDN. This method has the limitation of not being able to define a specific version of the library. Bower and Popper.js suggests to use npm or Yarn for your projects.
-For more info, [read the related issue](https://github.com/FezVrasta/popper.js/issues/390).
-
-### Dist targets
-
-Popper.js is currently shipped with 3 targets in mind: UMD, ESM and ESNext.
-
-- UMD - Universal Module Definition: AMD, RequireJS and globals;
-- ESM - ES Modules: For webpack/Rollup or browser supporting the spec;
-- ESNext: Available in `dist/`, can be used with webpack and `babel-preset-env`;
-
-Make sure to use the right one for your needs. If you want to import it with a `
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_barcode.ascx.cs b/MP-Admin/WebUserControls/mod_barcode.ascx.cs
deleted file mode 100644
index a0a1f31d..00000000
--- a/MP-Admin/WebUserControls/mod_barcode.ascx.cs
+++ /dev/null
@@ -1,680 +0,0 @@
-using MapoDb;
-using Newtonsoft.Json;
-using SteamWare;
-using System;
-using System.Collections.Generic;
-using System.Web.UI;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_barcode : System.Web.UI.UserControl
- {
- #region setup VARS
-
- ///
- /// RegExp x RESET / CANCEL
- ///
- protected string regExp_KO = memLayer.ML.cdv("regExp_KO");
- ///
- /// RegExp x CONFERMA
- ///
- protected string regExp_OK = memLayer.ML.cdv("regExp_OK");
- ///
- /// RegExp x START KIT
- ///
- protected string regExp_KitStart = memLayer.ML.cdv("regExp_KitStart");
- ///
- /// RegExp x SAVE KIT
- ///
- protected string regExp_KitSave = memLayer.ML.cdv("regExp_KitSave");
- ///
- /// RegExp x Find --> replace (se vettore è | delimited)
- ///
- protected string regExp_Find = memLayer.ML.cdv("regExp_Find");
- ///
- /// RegExp x Replace da Find (se vettore è | delimited)
- ///
- protected string regExp_Replace = memLayer.ML.cdv("regExp_Replace");
-
- #endregion
-
- #region variabili in sessione
-
- ///
- /// UID formattato con "_"
- ///
- public string uid
- {
- get
- {
- return this.UniqueID.Replace("$", "_").Replace("-", "_");
- }
- }
-
- ///
- /// Valore validazione codici ORDINE come STARTING (es: OPR,KIT)
- ///
- public string codOrdPre
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("codOrdPre_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("codOrdPre_{0}", uid), value);
- }
- }
- public string codArt
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("codArt_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("codArt_{0}", uid), value);
- }
- }
- public string descArt
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("descArt_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("descArt_{0}", uid), value);
- }
- }
- public string kitCode
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("kitCode_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("kitCode_{0}", uid), value);
- }
- }
- public string codOrd
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("codOrd_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("codOrd_{0}", uid), value);
- }
- }
- public int qta
- {
- get
- {
- return memLayer.ML.IntSessionObj(string.Format("qta_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("qta_{0}", uid), value);
- }
- }
- public string idxMacc
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("idxMacc_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("idxMacc_{0}", uid), value);
- }
- }
- public string nomeMacc
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("nomeMacc_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("nomeMacc_{0}", uid), value);
- }
- }
- public string codGruppo
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("codGruppo_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("codGruppo_{0}", uid), value);
- }
- }
- ///
- /// Verifica se il cod ordine è OK:
- /// coerenza tra ordine e iniziale ordine (OPR/KIT)
- ///
- public bool checkOrdOk
- {
- get
- {
- return codOrd.StartsWith(codOrdPre);
- }
- }
- ///
- /// titolo pagina
- ///
- public string titolo
- {
- get
- {
- return devicesAuthProxy.getPage(Request.Url).Replace(".aspx", "");
- }
- }
- #endregion
-
- #region area protected
-
- ///
- /// dictionary comandi ammessi
- ///
- protected Dictionary _comandi = new Dictionary();
- ///
- /// dictionary dei valori ammessi
- ///
- protected Dictionary _tabValori = new Dictionary();
- ///
- /// oggetto comando locale alla classe
- ///
- protected SteamWare.inputComando comando
- {
- get
- {
- SteamWare.inputComando answ;
- if (memLayer.ML.isInSessionObject("barcodeCmd"))
- {
- answ = (SteamWare.inputComando)memLayer.ML.objSessionObj("barcodeCmd");
- }
- else
- {
- answ = new SteamWare.inputComando();
- }
- return answ;
- }
- set
- {
- memLayer.ML.setSessionVal("barcodeCmd", value, false);
- }
- }
- ///
- /// oggetto comando locale alla classe
- ///
- public string rawInput
- {
- get
- {
- string answ;
- if (memLayer.ML.isInSessionObject("barcodeRaw"))
- {
- answ = memLayer.ML.StringSessionObj("barcodeRaw");
- }
- else
- {
- answ = "";
- }
- return answ;
- }
- set
- {
- memLayer.ML.setSessionVal("barcodeRaw", value, false);
- }
- }
- ///
- /// al caricamento della pagina...
- ///
- ///
- ///
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- resetData();
- }
-
- DetectAgent();
- myInitialize();
- }
- ///
- /// inizializzazione specifica barcode
- ///
- private void myInitialize()
- {
- if (!Page.IsPostBack)
- {
- lblInput.Text = traduci("PregoInserireBarcode");
- comando = new SteamWare.inputComando();
- }
- }
-
- public string BCodeVal
- {
- get
- {
- return txtInput.Text.Trim().ToUpper();
- }
- set
- {
- txtInput.Text = value;
- }
- }
-
- ///
- /// barcode completato con invio...
- ///
- ///
- ///
- protected void txtInput_TextChanged(object sender, EventArgs e)
- {
- processInput();
- }
-
- public void processInput()
- {
- comando.isValid = false;
- bool gotIt = false;
- gotIt = checkComandi();
- if (!gotIt)
- {
- gotIt = checkMacc();
- }
- if (!gotIt)
- {
- gotIt = checkIntServ();
- }
- // ora check globale...
- checkParam();
- // verifico se c'è stato input evento
- if (comando.isValid)
- {
- if (comando.currCmdIn != "" || comando.descrComando != "")
- {
- txtInput2show = comando.descrComando;
- }
- else
- {
- txtInput2show = "---";
- }
- if (comando.valore != "")
- {
- txtVal2show = comando.valoreTrad;
- }
- else
- {
- txtVal2show = "---";
- }
- if (eh_comandoRegistrato != null)
- {
- eh_comandoRegistrato(this, new EventArgs());
- }
- }
- else
- {
- lblInput.Text = traduci("ComandoSconosciuto");
- lblValore.Text = BCodeVal;
- comando = new SteamWare.inputComando();
- rawInput = BCodeVal;
- if (eh_dataRead != null)
- {
- eh_dataRead(this, new EventArgs());
- }
- }
- BCodeVal = "";
- }
-
- private bool checkComandi()
- {
- bool answ = false;
- // controllo eventuali comandi CUSTOM
- if (BCodeVal == regExp_KO)
- {
- comando.isValid = true;
- answ = true;
- resetData();
- }
- else if (BCodeVal == regExp_KitStart)
- {
- comando.isValid = true;
- answ = true;
- resetData();
- }
- else if (BCodeVal == regExp_KitSave)
- {
- comando.isValid = true;
- answ = true;
- resetData();
- }
- else if (BCodeVal == regExp_OK)
- {
- // comando valido SE ho ordine coerente...
- if (checkOrdOk)
- {
- comando.isValid = true;
- // recupero il codGruppo da macchina... (primo)
- if (codGruppo == "")
- {
- var tabAG = DataLayer.obj.taAG.getFaseByIdxMacc(idxMacc);
- if (tabAG.Rows.Count > 0)
- {
- codGruppo = tabAG[0].CodGruppo;
- }
- }
- // controllo se ho tutti i dati necessari...
- if (codOrd != "" && codArt != "" && codGruppo != "" && idxMacc != "" && qta > 0)
- {
- // creo nuova PROMESSA ODL...
- DataLayer.obj.taPODL.insertQuery(codOrd, codOrd, true, codArt, codGruppo, idxMacc, qta, 1, DateTime.Now, 1, 1);
- }
- }
- // resetto ricaricando
- Response.Redirect(titolo);
- }
- return answ;
- }
-
- private void resetData()
- {
- // resetto
- idxMacc = "";
- nomeMacc = "";
- codArt = "";
- descArt = "";
- codGruppo = "";
- codOrd = "";
- qta = 0;
- }
-
- private bool checkMacc()
- {
- bool answ = false;
- // verifico se il barcode è di una macchina...
- var risultato = DataLayer.obj.taMacchine.GetByIdx(BCodeVal);
- if (risultato.Rows.Count > 0)
- {
- idxMacc = BCodeVal;
- comando.valore = BCodeVal;
- comando.isValid = true;
- answ = true;
- // recupero altri dati
- var rRes = risultato[0];
- nomeMacc = rRes.Descrizione;
- // imposto il gruppo cercandolo...
- var gruppi = DataLayer.obj.taAG.getByIdxMacc(BCodeVal);
- if (gruppi.Rows.Count > 0)
- {
- // salvo primo...
- codGruppo = gruppi[0].CodGruppo;
- }
- }
- return answ;
- }
-
- ///
- /// verifica parametri in sessione x i valori eventualmente da mettere al comando...
- ///
- private void checkParam()
- {
- // ho macchina ed articolo?
- bool hasAllData = (idxMacc != "" && codArt != "");
- string valOut = "";
- if (codArt != "")
- {
- valOut += string.Format("{0} Art: {1} | qta: {2:N0} | kit: {3} {4}", codOrd, codArt, qta, kitCode, descArt);
- }
- if (idxMacc != "")
- {
- valOut += string.Format(" {0} | {1}", idxMacc, nomeMacc);
- }
- // imposto...
- comando.valoreTrad = valOut;
- // controllo se ho tutto...
- comando.descrComando = "";
- if (idxMacc == "")
- {
- comando.descrComando += " - Manca Impianto - ";
- }
- if (codArt == "" || codOrd == "")
- {
- comando.descrComando += " - Manca Ordine Produzione - ";
- }
- if (!checkOrdOk)
- {
- comando.descrComando += " - Tipo Ordine errato - ";
- }
- if (hasAllData && checkOrdOk)
- {
- comando.descrComando = "Confermare caricamento";
- }
- }
-
- private bool checkIntServ()
- {
- bool answ = false;
- // IN PRIMIS se c'è in config preprocesso BCode x Find-Replace
- string BCodeFilt = BCodeVal;
- if (regExp_Find != "")
- {
- // splitto i vettori
- var vettFind = regExp_Find.Split('|');
- var vettRepl = regExp_Replace.Split('|');
- // se ho tanti find quanti replace procedo...
- if (vettFind.Length == vettRepl.Length)
- {
- for (int i = 0; i < vettFind.Length; i++)
- {
- BCodeFilt = BCodeFilt.Replace(vettFind[i], vettRepl[i]);
- }
- }
- else
- {
- logger.lg.scriviLog(string.Format("Attenzione: problema in decodifica barcode find/replace, i aprametri non corrispondono una votla esplosi i vettori:{0}find: {1}{0}replace:{2}", Environment.NewLine, regExp_Find, regExp_Replace));
- }
- }
- // cerco esplicitamente sul DB IntegrationServices...
- var risultato = DataLayer.obj.taIS_TrDati.getOrdini(BCodeFilt);
- if (risultato.Rows.Count > 0)
- {
- var rRes = risultato[0];
- // verifico da config COME decodificare IS...
- string BCodeIS_DType = memLayer.ML.cdv("BCodeIS_DType");
- // verifico corrispondano i formati...
- if (rRes.DataType == BCodeIS_DType)
- {
- // cerco i dati e decodifico... togliendo eventuale VETTORE "[..]"
- var jsonData = risultato[0].ValueOUT.Replace("[", "").Replace("]", "");
- try
- {
- if (BCodeIS_DType == "Colcom_Order")
- {
- // a seconda del tipo decodifico...
- ISTD_OrderColcom currVal = JsonConvert.DeserializeObject(jsonData);
- comando.isValid = true;
- answ = true;
- // salvo ordine / articolo / qta
- codOrd = currVal.CodOrdine;
- codArt = currVal.CodArticolo;
- descArt = currVal.DescrArticolo;
- kitCode = currVal.KitCode;
- qta = (int)currVal.Qta;
- comando.valore = jsonData;// string.Format("{0}#{1}#{2:N0}", codOrd, codArt, qta);
- comando.currCmdIn = "OrdArtQta";
- }
- }
- catch (Exception exc)
- {
- logger.lg.scriviLog(string.Format("Errore in decodifica obj JSON:{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
- }
- }
- }
- return answ;
- }
-
- ///
- /// verifico se sia un valore compreso nell'elenco fornito
- ///
- private void isValore()
- {
- if (_tabValori.ContainsKey(BCodeVal)) // verifico se il comando digitato esista...
- {
- comando.isValid = true;
- comando.valore = BCodeVal;
- _tabValori.TryGetValue(BCodeVal, out comando.valoreTrad);
- }
- }
- ///
- /// verifica se il comando inserito sia valido
- ///
- private void isInputEvent()
- {
- if (_comandi.ContainsKey(BCodeVal)) // verifico se il comando digitato esista...
- {
- comando.isValid = true;
- // salvo comando precedente (se c'è...)
- comando.prevCmdIn = comando.currCmdIn;
- comando.descrComandoPrev = comando.descrComando;
- comando.currCmdIn = BCodeVal;
- _comandi.TryGetValue(BCodeVal, out comando.descrComando);
- }
- }
- ///
- /// verifica quale browser usato e applica css corretto al div attorno al box
- ///
- private void DetectAgent()
- {
- System.Web.HttpBrowserCapabilities browser = Request.Browser;
- if (browser.Browser == "IE")
- {
- pnlBarcodeBox.CssClass = "barcodeBoxIE";
- }
- else
- {
- pnlBarcodeBox.CssClass = "barcodeBoxOther";
- }
- }
-
-
- #endregion
-
- #region area public
-
- ///
- /// effettua al ettura da sessione del comando cliccato e lo inserisce come fosse barcode
- ///
- public void loadBtnClickComando()
- {
- BCodeVal = memLayer.ML.StringSessionObj("btnCmdPress");
- memLayer.ML.emptySessionVal("btnCmdPress");
- processInput();
- }
-
- ///
- /// elenco dei comandi riconosciuti
- ///
- public Dictionary comandiAmmessi
- {
- get
- {
- return _comandi;
- }
- set
- {
- _comandi = value;
- }
- }
- ///
- /// tabella di valori ammissibili
- ///
- public Dictionary tabValori
- {
- get
- {
- return _tabValori;
- }
- set
- {
- _tabValori = value;
- }
- }
- ///
- /// evento comando registrato
- ///
- public event EventHandler eh_comandoRegistrato;
- ///
- /// evento lettura dati (grezza) effettuata
- ///
- public event EventHandler eh_dataRead;
- ///
- /// comando registrato dal barcode
- ///
- public SteamWare.inputComando comandoRegistrato
- {
- get
- {
- return comando;
- }
- }
- ///
- /// scrive nella label input
- ///
- public string txtInput2show
- {
- set
- {
- lblInput.Text = value;
- }
- }
- ///
- /// scrive nella label valore
- ///
- public string txtVal2show
- {
- set
- {
- lblValore.Text = value;
- }
- }
- ///
- /// scrive nella label richiesta
- ///
- public string txtRich2show
- {
- set
- {
- lblRichiesta.Text = value;
- }
- }
- ///
- /// reset del controllo
- ///
- public void resetMe()
- {
- comando = new SteamWare.inputComando();
- txtInput2show = "Prego inserire barcode";
- txtVal2show = "";
- txtRich2show = "";
- }
- ///
- /// wrapper traduzione termini
- ///
- ///
- ///
- public string traduci(string lemma)
- {
- return user_std.UtSn.Traduci(lemma);
- }
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_barcode.ascx.designer.cs b/MP-Admin/WebUserControls/mod_barcode.ascx.designer.cs
deleted file mode 100644
index fd07f6bf..00000000
--- a/MP-Admin/WebUserControls/mod_barcode.ascx.designer.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_barcode {
-
- ///
- /// Controllo txtInput.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtInput;
-
- ///
- /// Controllo lbtCerca.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtCerca;
-
- ///
- /// Controllo pnlBarcodeBox.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlBarcodeBox;
-
- ///
- /// Controllo lblInput.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblInput;
-
- ///
- /// Controllo lblValore.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblValore;
-
- ///
- /// Controllo lblRichiesta.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblRichiesta;
-
- ///
- /// Controllo lblBrowser.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblBrowser;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_calChiusura.ascx b/MP-Admin/WebUserControls/mod_calChiusura.ascx
deleted file mode 100644
index 2a1b4b4a..00000000
--- a/MP-Admin/WebUserControls/mod_calChiusura.ascx
+++ /dev/null
@@ -1,117 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true"
- Inherits="mod_calChiusura" CodeBehind="mod_calChiusura.ascx.cs" %>
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_calChiusura.ascx.cs b/MP-Admin/WebUserControls/mod_calChiusura.ascx.cs
deleted file mode 100644
index 7515273b..00000000
--- a/MP-Admin/WebUserControls/mod_calChiusura.ascx.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-using SteamWare;
-using System;
-using System.Web.UI;
-using System.Web.UI.WebControls;
-
-public partial class mod_calChiusura : ApplicationUserControl
-{
- public event EventHandler eh_resetSelezione;
-
- protected override void Page_Load(object sender, EventArgs e)
- {
- base.Page_Load(sender, e);
- if (!Page.IsPostBack)
- {
- grView.PageSize = _righeDataGridMed;
- btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
- btnInsPeriodo.Text = traduci("btnInsPeriodo");
- }
- }
-
- ///
- /// gestione evento inserimento nuovo record standard (se ZERO presenti)
- ///
- ///
- ///
- protected void btnNewFromEmpty_Click(object sender, EventArgs e)
- {
- // reset selezione...
- resetSelezione();
- // i primi valori ("0") di default sono "ND"... li inserisco come standard...
- MapoDb.DataLayer.obj.taCalFF.Insert(DateTime.Now.Date, "-- [NUOVO] non definito --");
- grView.DataBind();
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- grView.SelectedIndex = -1;
- grView.DataBind();
- if (eh_resetSelezione != null)
- {
- eh_resetSelezione(this, new EventArgs());
- }
- }
- ///
- /// evento dati associati a controllo
- ///
- ///
- ///
- protected void grView_DataBound(object sender, EventArgs e)
- {
- if (grView.Rows.Count > 0)
- {
- LinkButton lb;
- // aggiorno gli headers
- foreach (TableCell cella in grView.HeaderRow.Cells)
- {
- try
- {
- lb = (LinkButton)cella.Controls[0];
- lb.Text = traduci(lb.Text);
- }
- catch
- { }
- }
- int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
- lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
- }
- else
- {
- lblNumRec.Text = "";
- }
- }
- protected void btnShowInsPeriodo_Click(object sender, EventArgs e)
- {
- pnlInsPeriodo.Visible = !pnlInsPeriodo.Visible;
- if (pnlInsPeriodo.Visible)
- {
- btnShowInsPeriodo.Text = traduci("btnHideInsPeriodo");
- }
- else
- {
- btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
- }
- }
- protected void btnInsPeriodo_Click(object sender, EventArgs e)
- {
- // verifico date congrue...
- DateTime inizio = Convert.ToDateTime(txtDataFrom.Text);
- DateTime fine = Convert.ToDateTime(txtDataTo.Text);
- if (fine.CompareTo(inizio) >= 0)
- {
- // inserisco le voci x tutte le date nell'intervallo...
- while (fine.CompareTo(inizio) >= 0)
- {
-
- MapoDb.DataLayer.obj.taCalFF.Insert(inizio, txtDescrizione.Text);
- inizio = inizio.AddDays(1);
- }
- // update e nascondo pannello
- grView.DataBind();
- pnlInsPeriodo.Visible = false;
- btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
- lblWarning.Visible = false;
- }
- else
- {
- lblWarning.Visible = true;
- lblWarning.Text = traduci("OrdineDateErrato");
- }
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_calChiusura.ascx.designer.cs b/MP-Admin/WebUserControls/mod_calChiusura.ascx.designer.cs
deleted file mode 100644
index 8c115f5d..00000000
--- a/MP-Admin/WebUserControls/mod_calChiusura.ascx.designer.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_calChiusura {
-
- ///
- /// grView control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView grView;
-
- ///
- /// lblNumRec control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblNumRec;
-
- ///
- /// ods control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource ods;
-
- ///
- /// btnShowInsPeriodo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnShowInsPeriodo;
-
- ///
- /// pnlInsPeriodo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlInsPeriodo;
-
- ///
- /// txtDataFrom control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
-
- ///
- /// CalendarExtender2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2;
-
- ///
- /// txtDataTo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtDataTo;
-
- ///
- /// CalendarExtender3 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::AjaxControlToolkit.CalendarExtender CalendarExtender3;
-
- ///
- /// txtDescrizione control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtDescrizione;
-
- ///
- /// btnInsPeriodo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnInsPeriodo;
-
- ///
- /// lblWarning control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblWarning;
-}
diff --git a/MP-Admin/WebUserControls/mod_fixCal.ascx b/MP-Admin/WebUserControls/mod_fixCal.ascx
deleted file mode 100644
index b7d3dd46..00000000
--- a/MP-Admin/WebUserControls/mod_fixCal.ascx
+++ /dev/null
@@ -1,6 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_fixCal" Codebehind="mod_fixCal.ascx.cs" %>
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_fixCal.ascx.cs b/MP-Admin/WebUserControls/mod_fixCal.ascx.cs
deleted file mode 100644
index d50ca791..00000000
--- a/MP-Admin/WebUserControls/mod_fixCal.ascx.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-
-public partial class mod_fixCal : System.Web.UI.UserControl
-{
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_fixCal.ascx.designer.cs b/MP-Admin/WebUserControls/mod_fixCal.ascx.designer.cs
deleted file mode 100644
index cecce86d..00000000
--- a/MP-Admin/WebUserControls/mod_fixCal.ascx.designer.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_fixCal {
-
- ///
- /// TextBox1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox TextBox1;
-
- ///
- /// CalendarExtender1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1;
-}
diff --git a/MP-Admin/WebUserControls/mod_footer.ascx b/MP-Admin/WebUserControls/mod_footer.ascx
deleted file mode 100644
index a6604075..00000000
--- a/MP-Admin/WebUserControls/mod_footer.ascx
+++ /dev/null
@@ -1,14 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_footer.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_footer" %>
-
-
-
-
- <%: SteamWare.devicesAuthProxy.stObj.utente %>
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_footer.ascx.cs b/MP-Admin/WebUserControls/mod_footer.ascx.cs
deleted file mode 100644
index 251b2a7e..00000000
--- a/MP-Admin/WebUserControls/mod_footer.ascx.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_footer : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- lblLastUpdt.Text = DateTime.Now.ToString("yyyy.MM.dd HH:mm:ss");
- lblVers.Text = string.Format("v.{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_footer.ascx.designer.cs b/MP-Admin/WebUserControls/mod_footer.ascx.designer.cs
deleted file mode 100644
index fc26789d..00000000
--- a/MP-Admin/WebUserControls/mod_footer.ascx.designer.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_footer {
-
- ///
- /// Controllo lblLastUpdt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblLastUpdt;
-
- ///
- /// Controllo lblVers.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblVers;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_gestKIT.ascx b/MP-Admin/WebUserControls/mod_gestKIT.ascx
deleted file mode 100644
index 64c784bc..00000000
--- a/MP-Admin/WebUserControls/mod_gestKIT.ascx
+++ /dev/null
@@ -1,231 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestKIT.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestKIT" %>
-
-
-
-
-
-
-
-
-
Ordini selezionati:
-
-
- Nessun Ordine caricato
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Elenco KIT compatibili
-
-
- Nessun KIT trovato
-
-
-
-
-
-
-
- Prom.ODL
-
-
-
-
-
-
-
-
-
-
-
-
-
Elenco promesse per KIT (100%)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Nessun Record (P.ODL da eseguire)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Elenco KIT associati ad ordini
-
-
- Nessun Record (Ordini associati a KIT)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%--
-
- esempio KIT: 8060A00
- OPR18-20381
- OPR18-21855
- OPR18-21856
- OPR18-21857
- OPR18-22974 (NON VA BENE A313)
-
-
--%>
- <%--
-
- esempio KIT: 8010A00
- OPR18-22022
- OPR18-22032
-
-
-
- esempio KIT: 8665A00
- OPR18-21255
- OPR18-21259
- OPR18-21268
- OPR18-21262
-
-
--%>
-
-
-
-
-<%--TESTDB: MoonPro
-select * from Config where chiave like 'regexp%'
-
-
-TESTDB: IS_Colcom
-
-
-
-exec stp_IstanzeKit_Search 'K1800000001', '', '', ''
-exec stp_IstanzeKit_Search '', 'OPR-123456', '', ''
-exec stp_IstanzeKit_Search '', '', 'A101000', ''
-exec stp_IstanzeKit_Search '', '', '', 'A101001'
-
-
-exec stp_TemplateKit_Search '8060A00',''
-exec stp_TemplateKit_Search '','8060A313'
-
-
-select * from TransitoDati
-
-select * from IstanzeKIT
-
-
-select top 1 * from TransitoDati where ValueOUT LIKE '%8060A0%'
-select top 1 * from TransitoDati where ValueOUT LIKE '%8060A1%'
-select top 1 * from TransitoDati where ValueOUT LIKE '%8060A2%'
-select top 1 * from TransitoDati where ValueOUT LIKE '%8060A313%'
-
--- esempio KIT: 8060A00
--- OPR18-20381
--- OPR18-21855
--- OPR18-21856
--- OPR18-22974
-
-select * from TemplateKIT order by CodArtChild DESC
-exec stp_TKS_Search '1010A1,1010A2,'
-exec stp_TKS_Search '8060A0,'
-exec stp_TKS_Search '8060A1,'
-exec stp_TKS_Search '8060A2,'
-exec stp_TKS_Search '8060A313,'
-exec stp_TKS_Search '8060A0,8060A1,8060A2,8060A313,'
-
-exec stp_TKS_Search 'V10616D,'
-exec stp_TKS_Search 'M06606,'
-
-exec stp_TemplateKit_Search '1050A00',''
-exec stp_TemplateKit_Search '1040A00',''
-exec stp_TemplateKit_Search '6606A00',''
-exec stp_TemplateKit_Search '6610A00',''
-
---truncate table IstanzeKIT
---truncate table Counters
-
-select * from IstanzeKIT
-
-
-exec stp_IstKit_byKeyExtOrd 'OPR-123321,OPR-123456,'
-
-exec stp_IstKit_getKey
-
---%>
diff --git a/MP-Admin/WebUserControls/mod_gestKIT.ascx.cs b/MP-Admin/WebUserControls/mod_gestKIT.ascx.cs
deleted file mode 100644
index 512e5523..00000000
--- a/MP-Admin/WebUserControls/mod_gestKIT.ascx.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using MapoDb;
-using SteamWare;
-using System;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_gestKIT : System.Web.UI.UserControl
- {
-
- public event EventHandler eh_selKit;
-
- #region setup VARS
-
- ///
- /// RegExp x RESET / CANCEL
- ///
- protected string regExp_KO = memLayer.ML.cdv("regExp_KO");
- ///
- /// RegExp x CONFERMA
- ///
- protected string regExp_OK = memLayer.ML.cdv("regExp_OK");
- ///
- /// RegExp x START KIT
- ///
- protected string regExp_KitStart = memLayer.ML.cdv("regExp_KitStart");
- ///
- /// RegExp x SAVE KIT
- ///
- protected string regExp_KitSave = memLayer.ML.cdv("regExp_KitSave");
-
- #endregion
-
- #region variabili in sessione
-
- ///
- /// UID formattato con "_"
- ///
- public string uid
- {
- get
- {
- return this.UniqueID.Replace("$", "_").Replace("-", "_");
- }
- }
- ///
- /// titolo pagina
- ///
- public string titolo
- {
- get
- {
- return devicesAuthProxy.getPage(Request.Url).Replace(".aspx", "");
- }
- }
-
- public string codKitTemp
- {
- get
- {
- return memLayer.ML.StringSessionObj(string.Format("codKitTemp_{0}", uid));
- }
- set
- {
- memLayer.ML.setSessionVal(string.Format("codKitTemp_{0}", uid), value);
- hlCodKitTemp.Value = value;
- grViewWSK.DataBind();
- }
- }
- ///
- /// Ultimo Codice KIT creato
- ///
- public string lastKitMade
- {
- get
- {
- return memLayer.ML.StringSessionObj("lastKitMade");
- }
- set
- {
- memLayer.ML.setSessionVal("lastKitMade", value);
- }
- }
- ///
- /// Aggiunge (in obj OrdineKit) l'ordine coi parametri indicati
- ///
- ///
- ///
- ///
- ///
- ///
- public bool addOrdArt(string codOrd, string codArt, string descArt, int qta)
- {
- bool answ = false;
- // verifico di avere un codiceKIT
- checkCodKit();
- // salvo info x il cod temporaneo...
- DataLayer.obj.taWKS.insertQuery(codKitTemp, codOrd, codArt, descArt, qta);
- // verifico SE HO un KIT riconosciuto e quindi un CodArt di KIT valido...
- string currCodArtKit = "###";
- var TksTab = DataLayer.obj.taTKS.GetData(codKitTemp, 1);
- bool showPODL = false;
- if (TksTab.Rows.Count > 0)
- {
- // verifico se ho aderenza 100%...
- if (TksTab[0].TotalScore == 1)
- {
- currCodArtKit = TksTab[0].CodArtParent;
- showPODL = true;
- }
- }
- hfCodArtKit.Value = currCodArtKit;
- divPODL.Visible = showPODL;
- answ = true;
- grViewWSK.DataBind();
- grViewKitSel.DataBind();
- grViewPODL.DataBind();
- grViewIstanzeKIT.DataBind();
- return answ;
- }
-
- #endregion
-
- ///
- /// Caricamento pagina
- ///
- ///
- ///
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- doReset();
- }
- }
- ///
- /// Ultimo input registrato
- ///
- public string lastInput
- {
- get
- {
- return hlLastInput.Value;
- }
- set
- {
- hlLastInput.Value = value;
- }
- }
- ///
- /// Aggiorno controllo secondo ULTIMO input
- ///
- public void doUpdate()
- {
- // aggiorno label...
- messOut = "";
- // controllo input (reset/inizio o salva...)
- if (lastInput == regExp_KO)
- {
- // resetto dati
- doReset();
- messOut = "Effettuato reset!";
- }
- else if (lastInput == regExp_KitStart)
- {
- // resetto dati
- doReset();
- messOut = "Inizio configurazione KIT";
- }
- else if (lastInput == regExp_KitSave)
- {
- // controllo SE HO un kit selezionato...
- string currCodArtKit = "###";
- var TksTab = DataLayer.obj.taTKS.GetData(codKitTemp, 1);
- bool showPODL = false;
- if (TksTab.Rows.Count > 0)
- {
- // verifico se ho aderenza 100%...
- if (TksTab[0].TotalScore == 1)
- {
- currCodArtKit = TksTab[0].CodArtParent;
- showPODL = true;
- }
- }
- if (showPODL)
- {
- // in questo caso creo istanza!
- creazioneIstanzaKit(currCodArtKit);
- }
- }
- else if (lastInput == regExp_OK)
- {
-
- }
- // ennesimo check cod TEMP
- checkCodKit();
- }
-
- private void doReset()
- {
- // elimino eventuali record ODL
- DataLayer.obj.taWKS.deleteQuery(codKitTemp);
- codKitTemp = "";
- divPODL.Visible = false;
- checkCodKit();
- }
- ///
- /// Verifico SE HO un codKit Temporaneo sennò lo creo...
- ///
- private void checkCodKit()
- {
- if (codKitTemp == "")
- {
- // genero un NUOVO cod temp kit...
- codKitTemp = string.Format("KIT_{0:yyMMdd_HHmmss}", DateTime.Now);
- }
- }
-
- public string messOut
- {
- set
- {
- lblOut.Text = value;
- }
- get
- {
- return lblOut.Text;
- }
- }
-
- protected void grViewKitSel_SelectedIndexChanged(object sender, EventArgs e)
- {
- // se ho selezionato recupero CHIAVE = CodArticolo del KIT
- string CodArtParent = grViewKitSel.SelectedValue.ToString();
- // crea KIT x quel CodArtParent...
- creazioneIstanzaKit(CodArtParent);
- }
- ///
- /// Crea una NUOVA istanza KIT
- ///
- /// CodArt dell'Assieme/KIT
- private void creazioneIstanzaKit(string CodArtParent)
- {
- // calcolo NUOVO codice kit...
- var tabKey = DataLayer.obj.taIstK.getNewKey();
- if (tabKey.Rows.Count == 1)
- {
- // stacco un NUOVO codice KIT
- lastKitMade = tabKey[0].KeyKit;
- // inserisco ISTANZA KIT!
- DataLayer.obj.taIstK.insertByWKS(lastKitMade, CodArtParent, codKitTemp);
- // faccio reset valori WKS...
- doReset();
- // ora resetto ordine caricato...
- messOut = string.Format("Creato NUOVA P.ODL cod {0} per il KIT {1}", lastKitMade, CodArtParent);
- // sollevo evento x impostare lettura KIT a BARCODE (x conferma successiva...)
- // sollevo evento nuovo valore...
- if (eh_selKit != null)
- {
- eh_selKit(this, new EventArgs());
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_gestKIT.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestKIT.ascx.designer.cs
deleted file mode 100644
index 775ec8d1..00000000
--- a/MP-Admin/WebUserControls/mod_gestKIT.ascx.designer.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_gestKIT {
-
- ///
- /// Controllo hlCodKitTemp.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HiddenField hlCodKitTemp;
-
- ///
- /// Controllo grViewWSK.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewWSK;
-
- ///
- /// Controllo odsWSK.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsWSK;
-
- ///
- /// Controllo grViewKitSel.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewKitSel;
-
- ///
- /// Controllo odsKitSel.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsKitSel;
-
- ///
- /// Controllo divPODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divPODL;
-
- ///
- /// Controllo grViewPODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewPODL;
-
- ///
- /// Controllo odsPODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsPODL;
-
- ///
- /// Controllo hfCodArtKit.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HiddenField hfCodArtKit;
-
- ///
- /// Controllo grViewIstanzeKIT.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewIstanzeKIT;
-
- ///
- /// Controllo odsIstanzeKIT.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsIstanzeKIT;
-
- ///
- /// Controllo hlLastInput.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HiddenField hlLastInput;
-
- ///
- /// Controllo lblOut.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblOut;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx b/MP-Admin/WebUserControls/mod_gestPromODL.ascx
deleted file mode 100644
index a7d3c839..00000000
--- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx
+++ /dev/null
@@ -1,208 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestPromODL" %>
-
-<%@ Register Src="~/WebUserControls/mod_newPromessaODL.ascx" TagPrefix="uc1" TagName="mod_newPromessaODL" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%# Eval("CodArticolo") %>
-
-
-
-
-
-
-
-
-
-
- <%# Eval("Nome") %>
- <%# Eval("CodMacchina") %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs
deleted file mode 100644
index 07770b76..00000000
--- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs
+++ /dev/null
@@ -1,586 +0,0 @@
-using MapoDb;
-using SteamWare;
-using System;
-using System.Data;
-using System.Web.UI;
-using System.Web.UI.WebControls;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_gestPromODL : System.Web.UI.UserControl
- {
- ///
- /// Evento selezione filtro
- ///
- public event EventHandler eh_selFilt;
- ///
- /// Determina se sia solo readonly il controllo...
- ///
- public bool readOnly;
-
- ///
- /// dimensione pagina
- ///
- public int pageSize
- {
- get
- {
- int answ = 10;
- try
- {
- answ = Convert.ToInt32(txtPageSize.Text);
- }
- catch
- { }
- return answ;
- }
- set
- {
- txtPageSize.Text = value.ToString();
- }
- }
-
- #region area da NON modificare
-
- #region area protected
-
- protected string _idxGridView;
-
- ///
- /// reset della selezione
- ///
- ///
- ///
- protected void btnReset_Click(object sender, EventArgs e)
- {
- resetSelezione();
- }
-
- ///
- /// salvo comando
- ///
- ///
- ///
- protected void lbt_Command(object sender, CommandEventArgs e)
- {
- SteamWare.memLayer.ML.setSessionVal("nextObjCommand", ((LinkButton)sender).CommandArgument);
- }
- ///
- /// gestione cambio selezione valore
- ///
- ///
- ///
- protected void grView_SelectedIndexChanged(object sender, EventArgs e)
- {
- // salvo in session il valore selezionato...
- memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false);
- bool doClone = false;
- bool doEdit = false;
- // gestione buttons richieste
- string _comando = "";
- if (memLayer.ML.isInSessionObject("nextObjCommand"))
- {
- _comando = memLayer.ML.StringSessionObj("nextObjCommand");
- memLayer.ML.emptySessionVal("nextObjCommand");
- }
- switch (_comando)
- {
- case "Clona":
- doClone = true;
- break;
- case "Edit":
- doEdit = true;
- break;
- default:
- break;
- }
- if (doClone)
- {
- memLayer.ML.setSessionVal("idxProm2Clone", grView.SelectedValue, false);
- showAddNewPODL();
- mod_newPromessaODL.doSelPODL();
- }
- else if (doEdit)
- {
- memLayer.ML.setSessionVal("idxProm2Edit", grView.SelectedValue, false);
- showAddNewPODL();
- mod_newPromessaODL.doSelPODL();
- }
- else
- {
- // mostro edit quantità ...
- divEditQta.Visible = true;
- lbtNewPODL.Visible = true;
- mod_newPromessaODL.Visible = false;
- var riga = DataLayer.obj.taPODL.getByKey(idxPOdlSel)[0];
- numPz = riga.NumPezzi;
- pzPallet = riga.PzPallet;
- }
- }
- ///
- /// traduce gli header delle colonne
- ///
- ///
- ///
- protected void grView_DataBound(object sender, EventArgs e)
- {
- if (grView.Rows.Count > 0)
- {
- LinkButton lb;
- // aggiorno gli headers
- foreach (TableCell cella in grView.HeaderRow.Cells)
- {
- try
- {
- lb = (LinkButton)cella.Controls[0];
- lb.Text = traduci(lb.Text);
- }
- catch
- { }
- }
- int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
- lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
- }
- else
- {
- lblNumRec.Text = "";
- }
- }
- ///
- /// recupera i dati di un nuovo record contenuti nel footer di un gridView;
- /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
- ///
- ///
- ///
- protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
- {
- //recupero la riga footer...
- DataColumnCollection colonne = colonneObj();
- string nomeCol;
- string tipoColonna = "";
- foreach (DataColumn colonna in colonne)
- {
- nomeCol = colonna.ColumnName;
- // cerco un textbox o quello che sia...
- if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
- {
- tipoColonna = "textBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
- {
- tipoColonna = "dropDownList";
- }
- else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
- {
- tipoColonna = "checkBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null)
- {
- tipoColonna = "selAjax";
- }
- // in base al tipo salvo negli inputparameters dell'ODS
- switch (tipoColonna)
- {
- case "textBox":
- e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
- break;
- case "dropDownList":
- e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
- break;
- case "checkBox":
- e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
- break;
- //case "selAjax":
- // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore;
- // break;
- default:
- break;
- }
- tipoColonna = "";
- }
- }
- ///
- /// svuoto da cache post update
- ///
- ///
- ///
- protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
- {
- // evento come nuovo...
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
-
- #endregion
-
- #region are public
-
- ///
- /// effettua traduzione del lemma
- ///
- ///
- ///
- public string traduci(string lemma)
- {
- return user_std.UtSn.Traduci(lemma);
- }
- ///
- /// effettua traduzione in inglese del lemma
- ///
- ///
- ///
- public string traduciEn(string lemma)
- {
- return user_std.UtSn.TraduciEn(lemma);
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
- grView.SelectedIndex = -1;
- grView.DataBind();
- divEditQta.Visible = false;
- mod_newPromessaODL.Visible = false;
- lbtNewPODL.Visible = true;
- lblWarning.Visible = false;
- if (eh_resetSelezione != null)
- {
- eh_resetSelezione(this, new EventArgs());
- }
-
- }
- #endregion
-
- #endregion
-
- #region gestione eventi
-
- public event EventHandler eh_resetSelezione;
- public event EventHandler eh_nuovoValore;
-
- #endregion
-
- #region area da modificare
-
- protected override void OnLoad(EventArgs e)
- {
- base.OnLoad(e);
- if (!Page.IsPostBack)
- {
- mod_newPromessaODL.Visible = false;
- grView.PageSize = pageSize;
- }
- mod_newPromessaODL.eh_nuovoValore += new EventHandler(mod_newOdl1_eh_nuovoValore);
- }
-
- /// inizializzazione valori di default
- ///
- ///
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- _idxGridView = "IdxODL";
- }
- ///
- /// nuovo valore creato...
- ///
- ///
- ///
- void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e)
- {
- // nascondo controllo e mostro button
- mod_newPromessaODL.Visible = false;
- lbtNewPODL.Visible = true;
- // aggiorno!
- resetSelezione();
- }
-
- ///
- /// elenco colonne del datagrid
- ///
- ///
- protected DataColumnCollection colonneObj()
- {
- MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable();
- DataColumnCollection colonne = tabella.Columns;
- return colonne;
- }
- public bool delEnabled(object _idxOdl)
- {
- bool answ = false;
- int idxOdl = 0;
- // controllo non sia già stata iniziata la produzione sennò non posso cancellare...
- try
- {
- idxOdl = Convert.ToInt32(_idxOdl);
- answ = (MapoDb.DataLayer.obj.taODL.getByIdx(idxOdl, true).Count > 0);
- }
- catch
- { }
- return answ;
- }
- ///
- /// mostra creazione nuovo ODL
- ///
- ///
- ///
- protected void lbtNewPODL_Click(object sender, EventArgs e)
- {
- showAddNewPODL();
- }
-
- private void showAddNewPODL()
- {
- // mostro controllo creazione ODL
- mod_newPromessaODL.Visible = true;
- divEditQta.Visible = false;
- lbtNewPODL.Visible = false;
- grView.SelectedIndex = -1;
- grView.DataBind();
- }
-
- ///
- /// formatot url x stampa ODL
- ///
- ///
- ///
- public string formattaUrlOdl(object idx)
- {
- string answ = String.Format(memLayer.ML.CRS("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx);
- return answ;
- }
-
- ///
- /// cambio dim pagina
- ///
- ///
- ///
- protected void txtPageSize_TextChanged(object sender, EventArgs e)
- {
- grView.PageSize = pageSize;
- }
-
-
- ///
- /// elimina commento
- ///
- ///
- ///
- protected void lbtDel_Click(object sender, EventArgs e)
- {
- LinkButton imgBtn = (LinkButton)sender;
- int IdxProm = 0;
- int.TryParse(imgBtn.CommandArgument, out IdxProm);
- DataLayer.obj.taPODL.deleteQuery(IdxProm);
- doUpdate();
- }
-
- private void doUpdate()
- {
- grView.DataBind();
- }
-
- #endregion
-
- protected void btnOk_Click(object sender, EventArgs e)
- {
- if (idxPOdlSel > 0)
- {
- DataLayer.obj.taPODL.updateQta(numPz, pzPallet, idxPOdlSel);
- }
- updateCtrl();
- }
-
- private void updateCtrl()
- {
- divEditQta.Visible = false;
- grView.SelectedIndex = -1;
- grView.DataBind();
- }
- ///
- /// idxOdl selezionato
- ///
- protected int idxPOdlSel
- {
- get
- {
- int answ = 0;
- try
- {
- answ = Convert.ToInt32(grView.SelectedValue);
- }
- catch
- { }
- return answ;
- }
- }
- ///
- /// Nuovo num pz
- ///
- protected int numPz
- {
- get
- {
- int answ = 0;
- try
- {
- answ = Convert.ToInt32(txtNewQta.Text.Trim());
- }
- catch
- { }
- return answ;
- }
- set
- {
- txtNewQta.Text = value.ToString();
- }
- }
- ///
- /// Nuovo num pz per pallet
- ///
- protected int pzPallet
- {
- get
- {
- int answ = 1;
- try
- {
- answ = Convert.ToInt32(txtNewPzPallet.Text.Trim());
- }
- catch
- { }
- // controllo sia > 0...
- if (answ < 1)
- {
- answ = 1;
- }
-
- return answ;
- }
- set
- {
- txtNewPzPallet.Text = value.ToString();
- }
- }
- protected void btnCancel_Click(object sender, EventArgs e)
- {
- updateCtrl();
- }
-
- protected void chkUnassigned_CheckedChanged(object sender, EventArgs e)
- {
- updateGrView();
- }
- ///
- /// Aggiorno Gridview
- ///
- private void updateGrView()
- {
- grView.DataBind();
- }
-
- ///
- /// IdxMacchina filtrata
- ///
- protected string idxMacc
- {
- get
- {
- return lblIdxMacc.Text;
- }
- set
- {
- lblIdxMacc.Text = value;
- }
- }
- ///
- /// Nome filtrata
- ///
- protected string NomeMacc
- {
- get
- {
- return lblNomeMacc.Text;
- }
- set
- {
- lblNomeMacc.Text = value;
- }
- }
- ///
- /// CodArt filtrato
- ///
- protected string CodArt
- {
- get
- {
- return lblCodArt.Text;
- }
- set
- {
- lblCodArt.Text = value;
- }
- }
- ///
- /// CodArt filtrato
- ///
- protected string DescArt
- {
- get
- {
- return lblDescArt.Text;
- }
- set
- {
- lblDescArt.Text = value;
- }
- }
-
- ///
- /// Selezionato un condominio --> riporto selezione
- ///
- ///
- ///
- protected void lbtSelArt_Click(object sender, EventArgs e)
- {
- LinkButton lb = (LinkButton)sender;
- // imposto articolo, splittando
- string[] artData = lb.CommandArgument.Split('|');
- CodArt = artData[0];
- DescArt = artData[1];
- updateGrView();
- }
- ///
- /// Selezionato un condominio --> riporto selezione
- ///
- ///
- ///
- protected void lbtSelMacc_Click(object sender, EventArgs e)
- {
- LinkButton lb = (LinkButton)sender;
- // imposto articolo, splittando
- string[] maccData = lb.CommandArgument.Split('|');
- idxMacc = maccData[0];
- NomeMacc = maccData[1];
- updateGrView();
- }
-
- protected void lbtResArt_Click(object sender, EventArgs e)
- {
- CodArt = "";
- DescArt = "";
- updateGrView();
- }
-
- protected void lbtResMacc_Click(object sender, EventArgs e)
- {
- idxMacc = "";
- NomeMacc = "";
- updateGrView();
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs
deleted file mode 100644
index dd161e46..00000000
--- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs
+++ /dev/null
@@ -1,195 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_gestPromODL {
-
- ///
- /// Controllo lbtResArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtResArt;
-
- ///
- /// Controllo lblCodArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblCodArt;
-
- ///
- /// Controllo lblDescArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblDescArt;
-
- ///
- /// Controllo lbtResMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtResMacc;
-
- ///
- /// Controllo lblNomeMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblNomeMacc;
-
- ///
- /// Controllo lblIdxMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblIdxMacc;
-
- ///
- /// Controllo chkUnassigned.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.CheckBox chkUnassigned;
-
- ///
- /// Controllo lblUnass.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblUnass;
-
- ///
- /// Controllo lbtNewPODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtNewPODL;
-
- ///
- /// Controllo mod_newPromessaODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::MoonProAdmin.WebUserControls.mod_newPromessaODL mod_newPromessaODL;
-
- ///
- /// Controllo divEditQta.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta;
-
- ///
- /// Controllo lbtOk.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtOk;
-
- ///
- /// Controllo txtNewQta.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtNewQta;
-
- ///
- /// Controllo txtNewPzPallet.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtNewPzPallet;
-
- ///
- /// Controllo lbtCancel.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtCancel;
-
- ///
- /// Controllo grView.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grView;
-
- ///
- /// Controllo ods.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource ods;
-
- ///
- /// Controllo lblNumRec.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblNumRec;
-
- ///
- /// Controllo lblWarning.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblWarning;
-
- ///
- /// Controllo txtPageSize.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPageSize;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx b/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx
deleted file mode 100644
index c931a8c8..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx
+++ /dev/null
@@ -1,127 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestioneDatiMacchine.ascx.cs"
- Inherits="MoonPro_site.WebUserControls.mod_gestioneDatiMacchine" %>
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.cs b/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.cs
deleted file mode 100644
index aca27143..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.cs
+++ /dev/null
@@ -1,239 +0,0 @@
-using SteamWare;
-using System;
-using System.Data;
-using System.Web.UI.WebControls;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_gestioneDatiMacchine : System.Web.UI.UserControl
- {
-
- #region area da NON modificare
-
- #region area protected
-
- protected string _idxGridView;
-
- ///
- /// reset della selezione
- ///
- ///
- ///
- protected void btnReset_Click(object sender, EventArgs e)
- {
- resetSelezione();
- }
- ///
- /// gestione cambio selezione valore
- ///
- ///
- ///
- protected void grView_SelectedIndexChanged(object sender, EventArgs e)
- {
- // salvo in session il valore selezionato...
- SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false);
- // sollevo evento nuovo valore...
- if (eh_selValore != null)
- {
- eh_selValore(this, new EventArgs());
- }
- }
- ///
- /// traduce gli header delle colonne
- ///
- ///
- ///
- protected void grView_DataBound(object sender, EventArgs e)
- {
- if (grView.Rows.Count > 0)
- {
- LinkButton lb;
- // aggiorno gli headers
- foreach (TableCell cella in grView.HeaderRow.Cells)
- {
- try
- {
- lb = (LinkButton)cella.Controls[0];
- lb.Text = traduci(lb.Text);
- }
- catch
- { }
- }
- int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
- lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
- }
- else
- {
- lblNumRec.Text = "";
- }
- }
- ///
- /// recupera i dati di un nuovo record contenuti nel footer di un gridView;
- /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
- ///
- ///
- ///
- protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
- {
- //recupero la riga footer...
- DataColumnCollection colonne = colonneObj();
- string nomeCol;
- string tipoColonna = "";
- foreach (DataColumn colonna in colonne)
- {
- nomeCol = colonna.ColumnName;
- // cerco un textbox o quello che sia...
- if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
- {
- tipoColonna = "textBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
- {
- tipoColonna = "dropDownList";
- }
- else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
- {
- tipoColonna = "checkBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null)
- {
- tipoColonna = "selAjax";
- }
- // in base al tipo salvo negli inputparameters dell'ODS
- switch (tipoColonna)
- {
- case "textBox":
- e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
- break;
- case "dropDownList":
- e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
- break;
- case "checkBox":
- e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
- break;
- //case "selAjax":
- // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore;
- // break;
- default:
- break;
- }
- tipoColonna = "";
- }
- }
- ///
- /// svuoto da cache post update
- ///
- ///
- ///
- protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
- {
- // evento come nuovo...
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
-
- #endregion
-
- #region are public
-
- ///
- /// effettua traduzione del lemma
- ///
- ///
- ///
- public string traduci(string lemma)
- {
- return user_std.UtSn.Traduci(lemma);
- }
- ///
- /// effettua traduzione in inglese del lemma
- ///
- ///
- ///
- public string traduciEn(string lemma)
- {
- return user_std.UtSn.TraduciEn(lemma);
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
- grView.SelectedIndex = -1;
- grView.DataBind();
- lblWarning.Visible = false;
- if (eh_resetSelezione != null)
- {
- eh_resetSelezione(this, new EventArgs());
- }
-
- }
- #endregion
-
- #endregion
-
- #region gestione eventi
-
- public event EventHandler eh_resetSelezione;
- public event EventHandler eh_nuovoValore;
- public event EventHandler eh_selValore;
-
- #endregion
-
- #region area da modificare
-
- protected override void OnLoad(EventArgs e)
- {
- base.OnLoad(e);
- }
-
- /// inizializzazione valori di default
- ///
- ///
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- _idxGridView = "IdxMacchina";
- }
- ///
- /// nuovo valore creato...
- ///
- ///
- ///
- void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e)
- {
- // aggiorno!
- resetSelezione();
- }
-
- ///
- /// elenco colonne del datagrid
- ///
- ///
- protected DataColumnCollection colonneObj()
- {
- MapoDb.DS_ProdTempi.DatiMacchineDataTable tabella = new MapoDb.DS_ProdTempi.DatiMacchineDataTable();
- DataColumnCollection colonne = tabella.Columns;
- return colonne;
- }
- public bool delEnabled(object _idx)
- {
- bool answ = false;
- return answ;
- }
- ///
- /// definisce scrivibilità /editabilità del controllo
- ///
- ///
- public bool isWritable()
- {
- return true;
- }
-
- #endregion
-
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.designer.cs
deleted file mode 100644
index a0aacdc2..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneDatiMacchine.ascx.designer.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls
-{
-
-
- public partial class mod_gestioneDatiMacchine {
-
- ///
- /// grView control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView grView;
-
- ///
- /// lblNumRec control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblNumRec;
-
- ///
- /// lblWarning control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblWarning;
-
- ///
- /// ods control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource ods;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_gestioneODL.ascx b/MP-Admin/WebUserControls/mod_gestioneODL.ascx
deleted file mode 100644
index 581ded3c..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneODL.ascx
+++ /dev/null
@@ -1,189 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestioneODL.ascx.cs"
- Inherits="MoonPro_site.WebUserControls.mod_gestioneODL" %>
-<%@ Register Src="mod_newOdl.ascx" TagName="mod_newOdl" TagPrefix="uc1" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%# Eval("CodArticolo") %>
-
-
-
-
-
-
-
-
-
-
- <%# Eval("Nome") %>
- <%# Eval("CodMacchina") %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.cs b/MP-Admin/WebUserControls/mod_gestioneODL.ascx.cs
deleted file mode 100644
index e086960f..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.cs
+++ /dev/null
@@ -1,543 +0,0 @@
-using MapoDb;
-using SteamWare;
-using System;
-using System.Data;
-using System.Web.UI;
-using System.Web.UI.WebControls;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_gestioneODL : System.Web.UI.UserControl
- {
-
- ///
- /// dimensione pagina
- ///
- public int pageSize
- {
- get
- {
- int answ = 10;
- try
- {
- answ = Convert.ToInt32(txtPageSize.Text);
- }
- catch
- { }
- return answ;
- }
- set
- {
- txtPageSize.Text = value.ToString();
- }
- }
- #region area da NON modificare
-
- #region area protected
-
- protected string _idxGridView;
-
- ///
- /// reset della selezione
- ///
- ///
- ///
- protected void btnReset_Click(object sender, EventArgs e)
- {
- resetSelezione();
- }
- ///
- /// gestione cambio selezione valore
- ///
- ///
- ///
- protected void grView_SelectedIndexChanged(object sender, EventArgs e)
- {
- // salvo in session il valore selezionato...
- SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false);
- // mostro edit quantità ...
- divEditQta.Visible = true;
- lbtNewODL.Visible = enableCreateNew;
- mod_newOdl1.Visible = false;
- var riga = DataLayer.obj.taODL.getByIdx(idxOdlSel, false)[0];
- numPz = riga.NumPezzi;
- pzPallet = riga.PzPallet;
- }
- ///
- /// traduce gli header delle colonne
- ///
- ///
- ///
- protected void grView_DataBound(object sender, EventArgs e)
- {
- if (grView.Rows.Count > 0)
- {
- LinkButton lb;
- // aggiorno gli headers
- foreach (TableCell cella in grView.HeaderRow.Cells)
- {
- try
- {
- lb = (LinkButton)cella.Controls[0];
- lb.Text = traduci(lb.Text);
- }
- catch
- { }
- }
- int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
- lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
- }
- else
- {
- lblNumRec.Text = "";
- }
- }
- ///
- /// recupera i dati di un nuovo record contenuti nel footer di un gridView;
- /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
- ///
- ///
- ///
- protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
- {
- //recupero la riga footer...
- DataColumnCollection colonne = colonneObj();
- string nomeCol;
- string tipoColonna = "";
- foreach (DataColumn colonna in colonne)
- {
- nomeCol = colonna.ColumnName;
- // cerco un textbox o quello che sia...
- if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
- {
- tipoColonna = "textBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
- {
- tipoColonna = "dropDownList";
- }
- else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
- {
- tipoColonna = "checkBox";
- }
- else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null)
- {
- tipoColonna = "selAjax";
- }
- // in base al tipo salvo negli inputparameters dell'ODS
- switch (tipoColonna)
- {
- case "textBox":
- e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
- break;
- case "dropDownList":
- e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
- break;
- case "checkBox":
- e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
- break;
- //case "selAjax":
- // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore;
- // break;
- default:
- break;
- }
- tipoColonna = "";
- }
- }
- ///
- /// svuoto da cache post update
- ///
- ///
- ///
- protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
- {
- // evento come nuovo...
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
-
- #endregion
-
- #region are public
-
- ///
- /// effettua traduzione del lemma
- ///
- ///
- ///
- public string traduci(string lemma)
- {
- return user_std.UtSn.Traduci(lemma);
- }
- ///
- /// effettua traduzione in inglese del lemma
- ///
- ///
- ///
- public string traduciEn(string lemma)
- {
- return user_std.UtSn.TraduciEn(lemma);
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
- grView.SelectedIndex = -1;
- grView.DataBind();
- divEditQta.Visible = false;
- mod_newOdl1.Visible = false;
- lbtNewODL.Visible = enableCreateNew;
- lblWarning.Visible = false;
- if (eh_resetSelezione != null)
- {
- eh_resetSelezione(this, new EventArgs());
- }
-
- }
- #endregion
-
- #endregion
-
- #region gestione eventi
-
- public event EventHandler eh_resetSelezione;
- public event EventHandler eh_nuovoValore;
-
- #endregion
-
- #region area da modificare
-
- protected override void OnLoad(EventArgs e)
- {
- base.OnLoad(e);
- if (!Page.IsPostBack)
- {
- mod_newOdl1.Visible = false;
- grView.PageSize = pageSize;
- lbtNewODL.Visible = enableCreateNew;
- }
- mod_newOdl1.eh_nuovoValore += new EventHandler(mod_newOdl1_eh_nuovoValore);
- }
-
- public bool enableCreateNew
- {
- get
- {
- return !memLayer.ML.CRB("enableRPO");
- }
- }
-
- /// inizializzazione valori di default
- ///
- ///
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- _idxGridView = "IdxODL";
- }
- ///
- /// nuovo valore creato...
- ///
- ///
- ///
- void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e)
- {
- // nascondo controllo e mostro button
- mod_newOdl1.Visible = false;
- lbtNewODL.Visible = enableCreateNew;
- // aggiorno!
- resetSelezione();
- }
-
- ///
- /// elenco colonne del datagrid
- ///
- ///
- protected DataColumnCollection colonneObj()
- {
- MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable();
- DataColumnCollection colonne = tabella.Columns;
- return colonne;
- }
- public bool delEnabled(object _idxOdl)
- {
- bool answ = false;
- int idxOdl = 0;
- // controllo non sia già stata iniziata la produzione sennò non posso cancellare...
- try
- {
- idxOdl = Convert.ToInt32(_idxOdl);
- answ = (MapoDb.DataLayer.obj.taODL.getByIdx(idxOdl, true).Count > 0);
- }
- catch
- { }
- return answ;
- }
- ///
- /// mostra creazione nuovo ODL
- ///
- ///
- ///
- protected void lbtNewODL_Click(object sender, EventArgs e)
- {
- // mostro controllo creazione ODL
- mod_newOdl1.Visible = true;
- divEditQta.Visible = false;
- lbtNewODL.Visible = false;
- grView.SelectedIndex = -1;
- grView.DataBind();
- }
- ///
- /// formatot url x stampa ODL
- ///
- ///
- ///
- public string formattaUrlOdl(object idx)
- {
- string answ = String.Format(memLayer.ML.CRS("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx);
- return answ;
- }
-
- ///
- /// cambio dim pagina
- ///
- ///
- ///
- protected void txtPageSize_TextChanged(object sender, EventArgs e)
- {
- grView.PageSize = pageSize;
- }
- ///
- /// verifica se ODL sia current = aperto (iniziato, NON concluso)
- ///
- ///
- ///
- ///
- public bool OdlIsCurrent(object DataInizio, object DataFine)
- {
- bool answ = false;
- try
- {
- if ((DataInizio.ToString() == "") && (DataFine.ToString() == ""))
- {
- answ = true;
- }
- }
- catch
- { }
- if (!answ)
- {
- try
- {
- if ((Convert.ToDateTime(DataInizio) <= DateTime.Now) && (DataFine.ToString() == ""))
- {
- answ = true;
- }
- }
- catch
- { }
- }
- return answ;
- }
-
- #endregion
-
- protected void btnOk_Click(object sender, EventArgs e)
- {
- if (idxOdlSel > 0)
- {
- DataLayer.obj.taODL.updateQta(numPz, pzPallet, idxOdlSel);
- }
- updateCtrl();
- }
-
- private void updateCtrl()
- {
- divEditQta.Visible = false;
- grView.SelectedIndex = -1;
- grView.DataBind();
- }
- ///
- /// idxOdl selezionato
- ///
- protected int idxOdlSel
- {
- get
- {
- int answ = 0;
- try
- {
- answ = Convert.ToInt32(grView.SelectedValue);
- }
- catch
- { }
- return answ;
- }
- }
- ///
- /// Nuovo num pz
- ///
- protected int numPz
- {
- get
- {
- int answ = 0;
- try
- {
- answ = Convert.ToInt32(txtNewQta.Text.Trim());
- }
- catch
- { }
- return answ;
- }
- set
- {
- txtNewQta.Text = value.ToString();
- }
- }
- ///
- /// Nuovo num pz per pallet
- ///
- protected int pzPallet
- {
- get
- {
- int answ = 1;
- try
- {
- answ = Convert.ToInt32(txtNewPzPallet.Text.Trim());
- }
- catch
- { }
- // controllo sia > 0...
- if (answ < 1)
- {
- answ = 1;
- }
-
- return answ;
- }
- set
- {
- txtNewPzPallet.Text = value.ToString();
- }
- }
- protected void btnCancel_Click(object sender, EventArgs e)
- {
- updateCtrl();
- }
-
- ///
- /// Aggiorno Gridview
- ///
- private void updateGrView()
- {
- grView.DataBind();
- }
-
- ///
- /// IdxMacchina filtrata
- ///
- protected string idxMacc
- {
- get
- {
- return lblIdxMacc.Text;
- }
- set
- {
- lblIdxMacc.Text = value;
- }
- }
- ///
- /// Nome filtrata
- ///
- protected string NomeMacc
- {
- get
- {
- return lblNomeMacc.Text;
- }
- set
- {
- lblNomeMacc.Text = value;
- }
- }
- ///
- /// CodArt filtrato
- ///
- protected string CodArt
- {
- get
- {
- return lblCodArt.Text;
- }
- set
- {
- lblCodArt.Text = value;
- }
- }
- ///
- /// CodArt filtrato
- ///
- protected string DescArt
- {
- get
- {
- return lblDescArt.Text;
- }
- set
- {
- lblDescArt.Text = value;
- }
- }
-
- ///
- /// Selezionato un condominio --> riporto selezione
- ///
- ///
- ///
- protected void lbtSelArt_Click(object sender, EventArgs e)
- {
- LinkButton lb = (LinkButton)sender;
- // imposto articolo, splittando
- string[] artData = lb.CommandArgument.Split('|');
- CodArt = artData[0];
- DescArt = artData[1];
- updateGrView();
- }
- ///
- /// Selezionato un condominio --> riporto selezione
- ///
- ///
- ///
- protected void lbtSelMacc_Click(object sender, EventArgs e)
- {
- LinkButton lb = (LinkButton)sender;
- // imposto articolo, splittando
- string[] maccData = lb.CommandArgument.Split('|');
- idxMacc = maccData[0];
- NomeMacc = maccData[1];
- updateGrView();
- }
-
- protected void lbtResArt_Click(object sender, EventArgs e)
- {
- CodArt = "";
- DescArt = "";
- updateGrView();
- }
-
- protected void lbtResMacc_Click(object sender, EventArgs e)
- {
- idxMacc = "";
- NomeMacc = "";
- updateGrView();
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs
deleted file mode 100644
index 519c3db7..00000000
--- a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs
+++ /dev/null
@@ -1,177 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls {
-
-
- public partial class mod_gestioneODL {
-
- ///
- /// Controllo lbtResArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtResArt;
-
- ///
- /// Controllo lblCodArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblCodArt;
-
- ///
- /// Controllo lblDescArt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblDescArt;
-
- ///
- /// Controllo lbtResMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtResMacc;
-
- ///
- /// Controllo lblNomeMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblNomeMacc;
-
- ///
- /// Controllo lblIdxMacc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblIdxMacc;
-
- ///
- /// Controllo lbtNewODL.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtNewODL;
-
- ///
- /// Controllo mod_newOdl1.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::MoonPro_site.WebUserControls.mod_newOdl mod_newOdl1;
-
- ///
- /// Controllo divEditQta.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta;
-
- ///
- /// Controllo btnOk.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Button btnOk;
-
- ///
- /// Controllo txtNewQta.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtNewQta;
-
- ///
- /// Controllo txtNewPzPallet.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtNewPzPallet;
-
- ///
- /// Controllo btnCancel.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Button btnCancel;
-
- ///
- /// Controllo grView.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grView;
-
- ///
- /// Controllo ods.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource ods;
-
- ///
- /// Controllo lblNumRec.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblNumRec;
-
- ///
- /// Controllo lblWarning.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblWarning;
-
- ///
- /// Controllo txtPageSize.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPageSize;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_login.ascx b/MP-Admin/WebUserControls/mod_login.ascx
deleted file mode 100644
index 52e6a68f..00000000
--- a/MP-Admin/WebUserControls/mod_login.ascx
+++ /dev/null
@@ -1,74 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_login" Codebehind="mod_login.ascx.cs" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DOMITBREMBO\WebGTD_R
- DOMITBREMBO\WebGTD_W
- DOMITBREMBO\WebGTD_X
- DOMITBREMBO\WebGTD_A
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_login.ascx.cs b/MP-Admin/WebUserControls/mod_login.ascx.cs
deleted file mode 100644
index 7c5831e6..00000000
--- a/MP-Admin/WebUserControls/mod_login.ascx.cs
+++ /dev/null
@@ -1,309 +0,0 @@
-using SteamWare;
-using System;
-using System.Web.UI;
-
-///
-/// classe gestione login e forzatura login
-///
-public partial class mod_login : SteamWare.ApplicationUserControl
-{
- #region area protected/private
-
- #region area proprietà
-
- private SteamWare.loginMode _isForceUser = SteamWare.loginMode.normale;
-
- #endregion
-
- #region area metodi
-
- ///
- /// imposta la modalità di login tra normale / forceUser
- ///
- private void setLoginMode()
- {
- switch (_isForceUser)
- {
- case SteamWare.loginMode.normale:
- pnlForceUser.Visible = false;
- pnlSelectUser.Visible = false;
- break;
- case SteamWare.loginMode.forceUser:
- pnlForceUser.Visible = true;
- pnlSelectUser.Visible = false;
- break;
- case SteamWare.loginMode.standardUser:
- pnlForceUser.Visible = false;
- pnlSelectUser.Visible = true;
- break;
- default:
- break;
- }
- }
-
- protected override void traduciObj()
- {
- lblPwd.Text = user_std.UtSn.Traduci("lblPwd");
- lblUser.Text = user_std.UtSn.Traduci("lblUser");
- lblDominio.Text = user_std.UtSn.Traduci("lblDominio");
- lblTitolo.Text = user_std.UtSn.Traduci("ForzaUtente");
- btnOk.Text = user_std.UtSn.Traduci("btnCommit");
- btnOkUserStd.Text = user_std.UtSn.Traduci("btnCommit");
- }
-
- ///
- /// prova a verificare se l'utente sia ok x AD credentials
- ///
- private void AdLogin()
- {
- lblMessage.Text = "User not authenticated...";
- if (Page.User.Identity.IsAuthenticated)
- {
- //recupera user windows se c'è...
- string ad_name = Page.User.Identity.Name;
- string delimStr = "\\";
- char[] delimiter = delimStr.ToCharArray();
- string[] dom_user = ad_name.Split(delimiter, 2);
- // passo al controllo di verifica ADuserOk...
- user_std _utente = new user_std();
- if (_utente.ADuserOk(dom_user[0], dom_user[1]))
- {
- bool fatto = _utente.startUpUtente(dom_user[0], dom_user[1]);
- if (fatto)
- {
- SteamWare.logger.lg.scriviLog(string.Format("L'utente {0} ({1}) ha effettuato il login correttamente", _utente.CognomeNome, _utente.userNameAD), SteamWare.tipoLog.INFO);
- if (Login_ok != null)
- {
- Login_ok(this, new EventArgs());
- }
- }
- else
- {
- lblMessage.Text = String.Format("{0} There are some problems instatiating user: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]);
- SteamWare.logger.lg.scriviLog(String.Format("Accesso fallito, problemi ad istanziare l'utente {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.ERROR);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
- else
- {
- lblMessage.Text = String.Format("{0} user not allowed: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]);
- SteamWare.logger.lg.scriviLog(String.Format("Utente non autorizzato: {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.WARNING);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
- else
- {
- lblMessage.Text = user_std.UtSn.Traduci("AccessFail") + user_std.UtSn.Traduci("UsrNotAuth");
- SteamWare.logger.lg.scriviLog(String.Format("Accesso fallito, utente non autenticato"), SteamWare.tipoLog.WARNING);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
-
- ///
- /// effettua verifiche e se concesso permette di forzare l'accesso utente
- ///
- private void ForceUserIdentity()
- {
- if (Page.User.Identity.IsAuthenticated)
- {
- bool _allowForceUser = false;
- try
- {
- _allowForceUser = SteamWare.memLayer.ML.CRB("_allowForceUser");
- }
- catch
- {
- _allowForceUser = false;
- }
- if (_allowForceUser)
- {
- if (authKey.Text == "forzaInter") // verifica passphrase...
- {
- user_std _utente = new user_std();
- user_std.UtSn.isForcedUser = true;
- bool fatto = _utente.startUpUtente(dominio.Text, user.Text);
- if (fatto)
- {
- string _rigaLog = String.Format("User {0} has forced user identity ok: logged as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.INFO);
- if (Login_ok != null)
- {
- Login_ok(this, new EventArgs());
- }
- }
- }
- else
- {
- lblMessage.Text = String.Format("{0} key not allowed for operation!! operation logged!!", user_std.UtSn.Traduci("AccessFail"));
- mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato! L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.CRS("defaultApp"))));
- string _rigaLog = String.Format("User {0}\t tried to force user - wrong password - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
- else
- {
- mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato! L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.CRS("defaultApp"))));
- string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
- else
- {
- lblMessage.Text = string.Format("{0} user not authenticated! ", user_std.UtSn.Traduci("AccessFail"));
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- string _rigaLog = String.Format("\t Someone tried to force user - real user: \t - not autenticated - \t tried to log as \t {0}\\{1}", dominio.Text, user.Text);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
- }
- }
- ///
- /// se concesso il generico ForceUser permette di forzare l'accesso utente ad uno degli standard
- ///
- private void StdUserIdentity()
- {
- if (Page.User.Identity.IsAuthenticated)
- {
- bool _allowForceUser = false;
- try
- {
- _allowForceUser = SteamWare.memLayer.ML.CRB("_allowForceUser");
- }
- catch
- {
- _allowForceUser = false;
- }
- if (_allowForceUser)
- {
- //leggo e codifico utente indicato
- string delimStr = "\\";
- char[] delimiter = delimStr.ToCharArray();
- string[] dom_user = ddlStdUser.SelectedValue.Split(delimiter, 2);
- //forzo login!
- user_std _utente = new user_std();
- user_std.UtSn.isForcedUser = true;
- bool fatto = _utente.startUpUtente(dom_user[0], dom_user[1]);
- if (fatto)
- {
- string _rigaLog = String.Format("User {0} has forced user identity ok: logged as \t {1}\\{2}", Page.User.Identity.Name, dom_user[0], dom_user[1]);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.INFO);
- if (Login_ok != null)
- {
- Login_ok(this, new EventArgs());
- }
- }
-
- }
- else
- {
- mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato! L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.CRS("defaultApp"))));
- string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}", Page.User.Identity.Name, ddlStdUser.SelectedValue);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- }
- }
- else
- {
- lblMessage.Text = string.Format("{0} user not authenticated! ", user_std.UtSn.Traduci("AccessFail"));
- if (Login_Error != null)
- {
- Login_Error(this, new EventArgs());
- }
- string _rigaLog = String.Format("\t Someone tried to force user - real user: \t - not autenticated - \t tried to log as \t {0}\\{1}", dominio.Text, user.Text);
- SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
- }
- }
-
- ///
- /// fa login con force user e controllo pwd
- ///
- ///
- ///
- protected void btnOk_Click(object sender, EventArgs e)
- {
- ForceUserIdentity();
- }
- ///
- /// fa login utente tipo standard
- ///
- ///
- ///
- protected void btnOkUserStd_Click(object sender, EventArgs e)
- {
- StdUserIdentity();
- }
-
- #endregion
-
- #endregion
-
- #region area public
-
- #region eventi pubblici esposti
-
- public event EventHandler Login_ok;
- public event EventHandler Login_Error;
-
- #endregion
-
- #region area proprietà
-
- ///
- /// modalità funzionamento controllo tra normale (ActiveDirectory e user auth di default) e forceUser
- ///
- public SteamWare.loginMode modoLogin
- {
- get
- {
- return _isForceUser;
- }
- set
- {
- _isForceUser = value;
- }
- }
-
- #endregion
-
-
- ///
- /// avvio pagina
- ///
- protected override void Page_Load(object sender, EventArgs e)
- {
- base.Page_Load(sender, e);
- //carico da web.config i default values
- loadDefaultsWebConfig();
- // procedo...
- setLoginMode();
- Session.RemoveAll();
- if (_isForceUser == SteamWare.loginMode.normale)
- {
- AdLogin();
- }
- }
-
- #endregion
-
-}
diff --git a/MP-Admin/WebUserControls/mod_login.ascx.designer.cs b/MP-Admin/WebUserControls/mod_login.ascx.designer.cs
deleted file mode 100644
index 1285a2c5..00000000
--- a/MP-Admin/WebUserControls/mod_login.ascx.designer.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_login {
-
- ///
- /// pnlForceUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlForceUser;
-
- ///
- /// lblTitolo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitolo;
-
- ///
- /// lblPwd control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblPwd;
-
- ///
- /// authKey control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox authKey;
-
- ///
- /// lblDominio control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblDominio;
-
- ///
- /// dominio control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox dominio;
-
- ///
- /// lblUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// user control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox user;
-
- ///
- /// btnOk control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnOk;
-
- ///
- /// pnlSelectUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlSelectUser;
-
- ///
- /// ddlStdUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlStdUser;
-
- ///
- /// btnOkUserStd control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnOkUserStd;
-
- ///
- /// lblMessage control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblMessage;
-
- ///
- /// HypLinkSSO control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.HyperLink HypLinkSSO;
-}
diff --git a/MP-Admin/WebUserControls/mod_main_help.ascx b/MP-Admin/WebUserControls/mod_main_help.ascx
deleted file mode 100644
index 2da85db9..00000000
--- a/MP-Admin/WebUserControls/mod_main_help.ascx
+++ /dev/null
@@ -1,67 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_main_help" CodeBehind="mod_main_help.ascx.cs" %>
-
-
-
-
-
-
- <%: traduci("btnAnagArticoli") %>
-
-
-
-
-
-
-
- <%: traduci("btnGestPromesseOdl") %>
-
-
-
-
-
-
-
- <%: traduci("btnGestOdl") %>
-
-
-
-
-
-
-
- <%: traduci("btnGestDatiMacchina") %>
-
-
-
-
-
-
- <%: traduci("btnApprovaTC") %>
-
-
-
-
-
-
-
- <%: traduci("btnApprovaProd") %>
-
-
-
-
-
-
-
- <%: traduci("btnBCode") %>
-
-
-
-
-
-
-
- <%: traduci("btnGestKIT") %>
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_main_help.ascx.cs b/MP-Admin/WebUserControls/mod_main_help.ascx.cs
deleted file mode 100644
index caee42a4..00000000
--- a/MP-Admin/WebUserControls/mod_main_help.ascx.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using SteamWare;
-using System;
-
-public partial class mod_main_help : ApplicationUserControl
-{
-
- protected override void Page_Load(object sender, EventArgs e)
- {
- }
-
- protected void btnGestPromesseOdl_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/gestPromesseODL");
- }
- protected void btnGestOdl_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/gestioneODL");
- }
-
- protected void btnAnagArticoli_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/anagArticoli");
- }
-
- protected void btnGestDatiMacchina_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/gestioneDatiMacchine");
- }
-
- protected void btnApprovaTC_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/approvazioneODL");
- }
- protected void btnApprovaProd_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/approvazioneProd");
- }
-
- protected void btnBCode_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/BCode");
- }
-
- protected void lbtGestKIT_Click(object sender, EventArgs e)
- {
- Response.Redirect("~/GestKIT");
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_main_help.ascx.designer.cs b/MP-Admin/WebUserControls/mod_main_help.ascx.designer.cs
deleted file mode 100644
index 4ea55d8a..00000000
--- a/MP-Admin/WebUserControls/mod_main_help.ascx.designer.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_main_help {
-
- ///
- /// Controllo lbtAnagArticoli.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtAnagArticoli;
-
- ///
- /// Controllo lbtGestPromesseOdl.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtGestPromesseOdl;
-
- ///
- /// Controllo lbtGestOdl.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtGestOdl;
-
- ///
- /// Controllo lbtGestDatiMacchina.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtGestDatiMacchina;
-
- ///
- /// Controllo lbtApprovaTC.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtApprovaTC;
-
- ///
- /// Controllo lbtApprovaProd.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtApprovaProd;
-
- ///
- /// Controllo lbtBCode.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtBCode;
-
- ///
- /// Controllo lbtGestKIT.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtGestKIT;
-}
diff --git a/MP-Admin/WebUserControls/mod_menuBottom.ascx b/MP-Admin/WebUserControls/mod_menuBottom.ascx
deleted file mode 100644
index 5a5d0c25..00000000
--- a/MP-Admin/WebUserControls/mod_menuBottom.ascx
+++ /dev/null
@@ -1,33 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true"
- Inherits="mod_menuBottom" CodeBehind="mod_menuBottom.ascx.cs" %>
-
-
-
-
-
- <%--margin da togliere in prod!--%>
-
-
-
-
-
-
-
Powered by
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_menuBottom.ascx.cs b/MP-Admin/WebUserControls/mod_menuBottom.ascx.cs
deleted file mode 100644
index ce6f9f0b..00000000
--- a/MP-Admin/WebUserControls/mod_menuBottom.ascx.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System;
-using System.Configuration;
-using System.Diagnostics;
-using System.Web.UI;
-
-public partial class mod_menuBottom : System.Web.UI.UserControl
-{
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- // sistemo le stringhe...
- //lblApp.Text = string.Format("{0} v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev"));
- var versionInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location);
- lblCopyRight.Text = string.Format("{0} ", versionInfo.LegalCopyright);
- lblApp.Text = string.Format("{0} v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
-
-
- }
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_menuBottom.ascx.designer.cs b/MP-Admin/WebUserControls/mod_menuBottom.ascx.designer.cs
deleted file mode 100644
index d3b8a8b0..00000000
--- a/MP-Admin/WebUserControls/mod_menuBottom.ascx.designer.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_menuBottom {
-
- ///
- /// Controllo lblrev.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblrev;
-
- ///
- /// Controllo lblApp.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblApp;
-
- ///
- /// Controllo lblCopyRight.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblCopyRight;
-
- ///
- /// Controllo updtRicerca.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.UpdateProgress updtRicerca;
-}
diff --git a/MP-Admin/WebUserControls/mod_menuSx.ascx b/MP-Admin/WebUserControls/mod_menuSx.ascx
deleted file mode 100644
index b54c2155..00000000
--- a/MP-Admin/WebUserControls/mod_menuSx.ascx
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuSx" Codebehind="mod_menuSx.ascx.cs" %>
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_menuSx.ascx.cs b/MP-Admin/WebUserControls/mod_menuSx.ascx.cs
deleted file mode 100644
index e38c6e04..00000000
--- a/MP-Admin/WebUserControls/mod_menuSx.ascx.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using SteamWare;
-using System.Web.UI;
-
-
-public partial class mod_menuSx : ApplicationUserControl
-{
-
- protected override void aggiornaControlliDataGL()
- {
- // se l'utente c'è...
- if (user_std.UtSn.isAuth && !Page.IsPostBack)
- {
- updateTreeMenu();
- }
- }
- ///
- /// aggiornamento del menù
- ///
- private void updateTreeMenu()
- {
- XmlDataSource1.Data = user_std.UtSn.mappaSito;
- //user_std.UtSn.ricaricaMappaSito();
- //XmlDataSource1.Data = user_std.UtSn.mappaSitoLive;
- XmlDataSource1.XPath = "mainMenu/menu";
- XmlDataSource1.DataBind();
- }
- ///
- /// forza l'update del menù sx
- ///
- public void forzaUpdateMenu()
- {
- user_std.UtSn.ricaricaMappaSito();
- updateTreeMenu();
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_menuSx.ascx.designer.cs b/MP-Admin/WebUserControls/mod_menuSx.ascx.designer.cs
deleted file mode 100644
index 7bd0ba70..00000000
--- a/MP-Admin/WebUserControls/mod_menuSx.ascx.designer.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_menuSx {
-
- ///
- /// pnlTree control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlTree;
-
- ///
- /// tvMenuSx control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TreeView tvMenuSx;
-
- ///
- /// XmlDataSource1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
-}
diff --git a/MP-Admin/WebUserControls/mod_menuTop.ascx b/MP-Admin/WebUserControls/mod_menuTop.ascx
deleted file mode 100644
index b65eea23..00000000
--- a/MP-Admin/WebUserControls/mod_menuTop.ascx
+++ /dev/null
@@ -1,51 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="MoonPro_site.WebUserControls.mod_menuTop"
- CodeBehind="mod_menuTop.ascx.cs" %>
-
-<%-- Gestione resize --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%: DateTime.Now.ToString("yyyy.MM.dd") %>
- <%: DateTime.Now.ToString("HH.mm.ss") %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MAPO ADMIN - Menu generale
-
-
-
-
-
-
-
-
- Steamware - sito
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_menuTop.ascx.cs b/MP-Admin/WebUserControls/mod_menuTop.ascx.cs
deleted file mode 100644
index b83f8773..00000000
--- a/MP-Admin/WebUserControls/mod_menuTop.ascx.cs
+++ /dev/null
@@ -1,181 +0,0 @@
-using SteamWare;
-using System;
-using System.Collections.Generic;
-using System.Web.UI;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_menuTop : System.Web.UI.UserControl
- {
- private string _titleString;
-
- #region gestione eventi
-
- public event EventHandler eh_toggleMenuSx;
- public event EventHandler eh_reqUpdateMenu;
-
- #endregion
-
- protected void Page_Load(object sender, EventArgs e)
- {
- btnLogOut.Visible = user_std.UtSn.isForcedUser;
- if (memLayer.ML.isInSessionObject("doUpdateNow"))
- {
- doFullDataUpdate();
- memLayer.ML.emptySessionVal("doUpdateNow");
- }
- }
- protected void btnLogOut_Click(object sender, EventArgs e)
- {
- Session.Abandon();
- Response.Redirect("forceUser.aspx");
- }
- protected void btnUpdate_Click(object sender, EventArgs e)
- {
- doFullDataUpdate();
- updateWindowSize();
- }
-
- private void doFullDataUpdate()
- {
- // salvo i dati attuali...
- string cod_cdc = SteamWare.memLayer.ML.StringSessionObj("valRicercaCdC");
- string lingua = user_std.UtSn.lingua;
- string USER_NAME = SteamWare.memLayer.ML.StringSessionObj("USER_NAME");
- string DOMINIO = SteamWare.memLayer.ML.StringSessionObj("DOMINIO");
- bool isForceUser = user_std.UtSn.isForcedUser;
- // salvo i valori delle tab in session...
- Dictionary sessionParam = SteamWare.memLayer.ML.valSess2SurvUpd;
-
- // svuoto session e cache per rileggere i dati da Db
- Session.RemoveAll();
-
- SteamWare.memLayer.ML.flushRegisteredCache();
-
- // rimemorizzo
- SteamWare.memLayer.ML.setSessionVal("valRicercaCdC", cod_cdc);
- user_std.UtSn.startUpUtente(DOMINIO, USER_NAME);
- user_std.UtSn.lingua = lingua;
- user_std.UtSn.isForcedUser = isForceUser;
- DataWrap.DW.resetVocabolario();
-
- // risalvo in session i valori...
- foreach (KeyValuePair kvp in sessionParam)
- {
- SteamWare.memLayer.ML.setSessionVal(kvp.Key, kvp.Value, true);
- }
-
- // cambio visibilità del menù laterale...
- if (eh_reqUpdateMenu != null)
- {
- eh_reqUpdateMenu(this, new EventArgs());
- }
-
- Response.Redirect(Page.Request.Url.ToString());
- }
-
- protected void bindControlli()
- {
- if (!Page.IsPostBack)
- {
- //lnkHelp.ToolTip = traduci("ApriManualeHelp");
- // solo se user è auth...
- if (user_std.UtSn.isAuth)
- {
- //lnkShowHide.Text = user_std.UtSn.Traduci("lnkShowHide");
- //lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.CRS("titleApp"));
- if (_titleString != "")
- {
- //// traduzione di tutti i termini
- //lblMessUtente.Text = user_std.UtSn.Traduci(_titleString);
- ////doppio in english!
- //lblMessUtenteEn.Text = "(" + user_std.UtSn.TraduciEn(_titleString) + ")";
- _titleString = "";
- Session["_titleString"] = _titleString;
- Session["SessionUpdateMenu"] = true;
- }
- else
- {
- //string titolo = user_std.UtSn.Traduci(SteamWare.memLayer.ML.CRS("welcomeApp"));
- //lblMessUtente.Text = string.Format("{0} - {1}", titolo, memLayer.ML.CRS("SiteName"));
- //lblMessUtenteEn.Text = "";
- Session["SessionUpdateMenu"] = false;
- }
- btnLogOut.Text = user_std.UtSn.Traduci("LogOut");
- btnUpdate.Text = user_std.UtSn.Traduci("Update");
- //lblUser.Text = String.Format("{0}: {1}", user_std.UtSn.Traduci("User"), user_std.UtSn.CognomeNome);
- setTimer();
- setClock();
- }
- }
- }
- ///
- /// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
- ///
- private void setTimer()
- {
- }
- protected void lnkShowHide_Click(object sender, EventArgs e)
- {
- // cambio visibilità del menù laterale...
- if (eh_toggleMenuSx != null)
- {
- eh_toggleMenuSx(this, new EventArgs());
- }
-
- }
- protected void Timer1_Tick(object sender, EventArgs e)
- {
- setClock();
- }
-
- private void setClock()
- {
- //lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss");
- }
- protected void lblUser_Click(object sender, EventArgs e)
- {
- Response.Redirect("./chLang.aspx");
- }
-
-
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- btnUpdate.Text = "Update";
- updateWindowSize();
- }
-
- protected override void OnLoad(EventArgs e)
- {
- base.OnLoad(e);
- }
- protected override void OnPreRender(EventArgs e)
- {
- base.OnPreRender(e);
- }
-
- private void updateWindowSize()
- {
- if (HiddenHeight.Value != "")
- {
- memLayer.ML.setSessionVal("WindowHeight", HiddenHeight.Value, true);
- }
- if (HiddenWidth.Value != "")
- {
- memLayer.ML.setSessionVal("WindowWidth", HiddenWidth.Value);
- }
- }
-
- protected void HiddenHeight_ValueChanged(object sender, EventArgs e)
- {
- updateWindowSize();
- }
-
- protected void HiddenWidth_ValueChanged(object sender, EventArgs e)
- {
- updateWindowSize();
- }
-
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_menuTop.ascx.designer.cs b/MP-Admin/WebUserControls/mod_menuTop.ascx.designer.cs
deleted file mode 100644
index 7422a59a..00000000
--- a/MP-Admin/WebUserControls/mod_menuTop.ascx.designer.cs
+++ /dev/null
@@ -1,114 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls {
-
-
- public partial class mod_menuTop {
-
- ///
- /// Controllo HiddenHeight.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HiddenField HiddenHeight;
-
- ///
- /// Controllo HiddenWidth.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HiddenField HiddenWidth;
-
- ///
- /// Controllo btnUpdate.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton btnUpdate;
-
- ///
- /// Controllo btnLogOut.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton btnLogOut;
-
- ///
- /// Controllo lastUpdate.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lastUpdate;
-
- ///
- /// Controllo updtPage.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.UpdateProgress updtPage;
-
- ///
- /// Controllo Image1.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Image Image1;
-
- ///
- /// Controllo Image2.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Image Image2;
-
- ///
- /// Controllo hlGuida.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HyperLink hlGuida;
-
- ///
- /// Controllo imgHelp.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Image imgHelp;
-
- ///
- /// Controllo hlSteamware.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HyperLink hlSteamware;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx b/MP-Admin/WebUserControls/mod_menuTopCompact.ascx
deleted file mode 100644
index 7f159bd1..00000000
--- a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx
+++ /dev/null
@@ -1,24 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTopCompact.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_menuTopCompact" %>
-
-
-
- <%: NomeOpr %>
-
-
- <%: CurrNumTask %>
-
-
- <%: DescPost %>
-
-
diff --git a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.cs b/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.cs
deleted file mode 100644
index 9293fd98..00000000
--- a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-using SteamWare;
-using System;
-using System.Linq;
-using System.Web.UI;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_menuTopCompact : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- string lastPage = Request.Url.LocalPath.Split('/').Last();
- if (!Page.IsPostBack)
- {
- // fix visibilità TASK
- hlTask.Visible = devicesAuthProxy.stObj.userHasRight("CT_userStart");
- // se l'utente NON c'è torno a login...
- if (!devicesAuthProxy.stObj.isAuth)
- {
- if (lastPage != "" && lastPage != "login")
- {
- Session["nextPage"] = lastPage;
- }
- // SE non sono in "safe page"
- if (memLayer.ML.CRS("_loginPages").IndexOf(lastPage) < 0)
- {
- Response.Redirect("login");
- }
- }
- else
- {
- PagCorrente();
- }
- }
- // controllo pagina...
- bool pageAuth = devicesAuthProxy.stObj.isPageEnabled(lastPage);
- // controllo pag auth...
- if (!pageAuth)
- {
- Response.Redirect("~/login");
- }
- lblTitolo.Text = memLayer.ML.CRS("appName");
- }
- ///
- /// salva in variabile pagina il nome della pagina corrente
- ///
- protected void PagCorrente()
- {
- string[] uri = Request.Url.LocalPath.Split('/');
- // salvo pagina corrente
- devicesAuthProxy.pagCorrente = uri.Last();
- if (devicesAuthProxy.pagPrecedente == "")
- {
- devicesAuthProxy.pagPrecedente = devicesAuthProxy.pagCorrente;
- }
- }
- ///
- /// Codice postazione di lavoro
- ///
- public string CodPost
- {
- get
- {
- return memLayer.ML.StringSessionObj("CodPost");
- }
- }
- ///
- /// Codice Operatore
- ///
- public string CodOpr
- {
- get
- {
- return memLayer.ML.StringSessionObj("CodOpr");
- }
- }
- ///
- /// Codice TASK corrente
- ///
- public string CurrNumTask
- {
- get
- {
- return memLayer.ML.StringSessionObj("CurrNumTask");
- }
- }
- ///
- /// Codice postazione di lavoro
- ///
- public string DescPost
- {
- get
- {
- string answ = "";
-#if false
- if (memLayer.ML.isInSessionObject("DescPost"))
- {
- answ = memLayer.ML.StringSessionObj("DescPost");
- }
- if (answ == "")
- {
- var tabPost = dataLayer.man.taAP.getByKey(CodPost);
- if (tabPost.Rows.Count > 0)
- {
- answ = tabPost[0].Descrizione;
- }
- memLayer.ML.setSessionVal("DescPost", answ);
- }
-#endif
- return answ;
- }
- }
- ///
- /// Codice Operatore
- ///
- public string NomeOpr
- {
- get
- {
- string answ = "";
-#if false
- if (memLayer.ML.isInSessionObject("NomeOpr"))
- {
- answ = memLayer.ML.StringSessionObj("NomeOpr");
- }
- if (answ == "")
- {
- var tabOpr = dataLayer.man.taAO.getByKey(CodOpr);
- if (tabOpr.Rows.Count > 0)
- {
- answ = string.Format("{0} {1}", tabOpr[0].Cognome, tabOpr[0].Nome);
- }
- memLayer.ML.setSessionVal("NomeOpr", answ);
- }
-#endif
- return answ;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.designer.cs b/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.designer.cs
deleted file mode 100644
index 9f192adb..00000000
--- a/MP-Admin/WebUserControls/mod_menuTopCompact.ascx.designer.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_menuTopCompact {
-
- ///
- /// Controllo hlTask.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HyperLink hlTask;
-
- ///
- /// Controllo hlBarcode.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HyperLink hlBarcode;
-
- ///
- /// Controllo lblTitolo.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitolo;
-
- ///
- /// Controllo hlPostazioni.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.HyperLink hlPostazioni;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_newOdl.ascx b/MP-Admin/WebUserControls/mod_newOdl.ascx
deleted file mode 100644
index bbb21287..00000000
--- a/MP-Admin/WebUserControls/mod_newOdl.ascx
+++ /dev/null
@@ -1,131 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_newOdl.ascx.cs"
- Inherits="MoonPro_site.WebUserControls.mod_newOdl" %>
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
-
-
-
-
-
-
-
- Tempo Ciclo min.cent
-
- ( =
-
- min:sec)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Nessun record storico trovato
-
-
-
-
-
-
-
-
-
-
- <%--
-
-
-
- --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_newOdl.ascx.cs b/MP-Admin/WebUserControls/mod_newOdl.ascx.cs
deleted file mode 100644
index 329ce6e4..00000000
--- a/MP-Admin/WebUserControls/mod_newOdl.ascx.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-using SteamWare;
-using System;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_newOdl : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
-
- #region gestione eventi
-
- public event EventHandler eh_nuovoValore;
-
- #endregion
-
- ///
- /// conferma inserimento TC
- ///
- ///
- ///
- protected void btnOk_Click(object sender, EventArgs e)
- {
- // controllo se ho tutti i valori ok...
- string CodArticolo = "";
- string IdxMacchina = "";
- int numPezzi = 0;
- int pzPallet = 1;
- decimal TCiclo = 0;
-
- try
- {
- CodArticolo = ddlArticolo.SelectedValue;
- IdxMacchina = ddlMacchine.SelectedValue;
- //IdxMacchina = txtMacchina.Text.Trim();
- // se IdxMacchina è vuoto metto null...
- if (IdxMacchina == "")
- {
- IdxMacchina = "0";
- }
- numPezzi = Convert.ToInt32(txtPezzi.Text.Trim());
- TCiclo = Convert.ToDecimal(txtTempoCiclo.Text.Trim().Replace(".", ","));
- pzPallet = Convert.ToInt32(txtPzPallet.Text.Trim());
- MapoDb.DataLayer.obj.taODL.InsertQuery(CodArticolo, MapoDb.DataLayer.MatrOpr, IdxMacchina, numPezzi, TCiclo, pzPallet, chkToAs400.Checked, txtCommessa.Text.Trim());
- }
- catch
- {
- logger.lg.scriviLog(string.Format("Non sono riuscito ad inserire l'ODL con i seguenti parametri: {0} | {1} | {2} | {3} | {4}", CodArticolo, IdxMacchina, numPezzi, TCiclo, pzPallet), tipoLog.ERROR);
- }
- // segnalo update
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
- ///
- /// annullamento inserimento
- ///
- ///
- ///
- protected void btnCancel_Click(object sender, EventArgs e)
- {
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
- ///
- /// aggiorno label min e centesimi
- ///
- ///
- ///
- protected void txtTempoCiclo_TextChanged(object sender, EventArgs e)
- {
- string text = "";
- string txtMinCent = txtTempoCiclo.Text.Trim().Replace(".", ",");
- int min = 0;
- int sec = 0;
- try
- {
- // cerco di convertire in min/sec
- min = Convert.ToInt32(Math.Floor(Convert.ToDouble(txtMinCent)));
- sec = Convert.ToInt32((Convert.ToDouble(txtMinCent) - min) * 60);
- text = string.Format("{0}:{1:00}", min, sec);
- }
- catch
- { }
- lblMinSec.Text = text;
- }
- ///
- /// selezione articolo
- ///
- ///
- ///
- protected void ddlArticolo_SelectedIndexChanged(object sender, EventArgs e)
- {
- showLastTimeAndNote();
- }
- ///
- /// mostro elenco ultimi 5 tempi e note...
- ///
- private void showLastTimeAndNote()
- {
- // update tempi ciclo!
- grViewTempi.DataBind();
- }
- ///
- /// selezione impianto
- ///
- ///
- ///
- protected void ddlMacchine_SelectedIndexChanged(object sender, EventArgs e)
- {
- showLastTimeAndNote();
- }
-
- ///
- /// reset della selezione
- ///
- ///
- ///
- protected void btnReset_Click(object sender, EventArgs e)
- {
- resetSelezione();
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- grViewTempi.SelectedIndex = -1;
- grViewTempi.DataBind();
- }
- ///
- /// evento selezione riga: salvo tempo e qta nei campi input...
- ///
- ///
- ///
- protected void grViewTempi_SelectedIndexChanged(object sender, EventArgs e)
- {
- // ricavo i dati selezionati
- int idxOdl = 0;
- try
- {
- idxOdl = Convert.ToInt32(grViewTempi.SelectedValue);
- }
- catch
- { }
- MapoDb.DS_ProdTempi.ODLRow rigaOdl = MapoDb.DataLayer.obj.taODL.getByIdx(idxOdl, false)[0];
- // precompilo dati pezzi/tempi
- txtPezzi.Text = rigaOdl.NumPezzi.ToString();
- txtTempoCiclo.Text = rigaOdl.TCAssegnato.ToString("0.00");
- txtPzPallet.Text = rigaOdl.PzPallet.ToString();
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_newOdl.ascx.designer.cs b/MP-Admin/WebUserControls/mod_newOdl.ascx.designer.cs
deleted file mode 100644
index 4481a233..00000000
--- a/MP-Admin/WebUserControls/mod_newOdl.ascx.designer.cs
+++ /dev/null
@@ -1,178 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls
-{
-
-
- public partial class mod_newOdl {
-
- ///
- /// ddlArticolo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
-
- ///
- /// odsArticoli control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
-
- ///
- /// ddlMacchine control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlMacchine;
-
- ///
- /// odsMacchine control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
-
- ///
- /// txtPezzi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPezzi;
-
- ///
- /// rfvPezzi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvPezzi;
-
- ///
- /// chkToAs400 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.CheckBox chkToAs400;
-
- ///
- /// txtTempoCiclo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtTempoCiclo;
-
- ///
- /// lblMinSec control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblMinSec;
-
- ///
- /// rfvTempoCiclo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvTempoCiclo;
-
- ///
- /// txtPzPallet control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPzPallet;
-
- ///
- /// rfvPzPallet control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvPzPallet;
-
- ///
- /// txtCommessa control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtCommessa;
-
- ///
- /// btnOk control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnOk;
-
- ///
- /// btnCancel control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnCancel;
-
- ///
- /// divTempi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTempi;
-
- ///
- /// grViewTempi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewTempi;
-
- ///
- /// odsTempi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsTempi;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx b/MP-Admin/WebUserControls/mod_newPromessaODL.ascx
deleted file mode 100644
index a33b86e6..00000000
--- a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx
+++ /dev/null
@@ -1,193 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_newPromessaODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_newPromessaODL" %>
-
-
-
-
-
- Articolo (ricerca + selezione)
-
-
-
-
-
-
-
-
- T.Ciclo min:sec
-
-
-
-
-
- T.Ciclo min.cent
-
-
-
-
-
-
-
- Commessa / Ordine Ext
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Nessun record storico trovato
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.cs b/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.cs
deleted file mode 100644
index 7af75908..00000000
--- a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.cs
+++ /dev/null
@@ -1,303 +0,0 @@
-using MapoDb;
-using SteamWare;
-using System;
-using System.Web.UI;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_newPromessaODL : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- setDefaults();
- }
- }
- ///
- /// Testo conferma salvataggio (create/Edit)
- ///
- public string testoConf
- {
- get
- {
- string answ = "Crea Promessa ODL";
- if (memLayer.ML.isInSessionObject("idxProm2Edit"))
- {
- answ = "Edit Promessa ODL";
- }
- return answ;
- }
- }
- public void doSelPODL()
- {
- // se ho una promessa da clonare copio dati da quella...
- int idxProm = 0;
-
- if (memLayer.ML.isInSessionObject("idxProm2Clone"))
- {
- idxProm = memLayer.ML.IntSessionObj("idxProm2Clone");
- }
- else if (memLayer.ML.isInSessionObject("idxProm2Edit"))
- {
- idxProm = memLayer.ML.IntSessionObj("idxProm2Edit");
- }
- // provo a selezionare
- var tPODL = DataLayer.obj.taPODL.getByKey(idxProm);
- if (tPODL.Rows.Count > 0)
- {
- var rPODL = tPODL[0];
- txtSearch.Text = rPODL.CodArticolo;
- ddlArticolo.DataBind();
- ddlGruppi.DataBind();
- ddlGruppi.SelectedValue = rPODL.CodGruppo;
- txtNumPz.Text = rPODL.NumPezzi.ToString();
- txtPzPallet.Text = rPODL.PzPallet.ToString();
- txtPrio.Text = rPODL.Priorita.ToString();
- if (memLayer.ML.cdvb("ADM_TC_MinSec"))
- {
- txtTCms.Text = TempiCiclo.minSec(rPODL.TCAssegnato);
- }
- else
- {
- txtTCmc.Text = rPODL.TCAssegnato.ToString("N3");
- }
- ddlMacchine.SelectedValue = rPODL.IdxMacchina;
- txtKeyExt.Text = rPODL.KeyRichiesta;
- // svuoto se ci fosse cloning......
- memLayer.ML.emptySessionVal("idxProm2Clone");
- }
- }
-
- private void setDefaults()
- {
- // se abilitato in config inserisce i valori defaults x insert...
- if (memLayer.ML.cdvb("resetDefaultPromessaOdl"))
- {
- txtNumPz.Text = "1";
- txtPzPallet.Text = "1";
- txtPrio.Text = "1";
- // in base ad impostazione mostro TC come min:sec o min.cent
- divTCms.Visible = false;
- divTCmc.Visible = false;
- if (memLayer.ML.cdvb("ADM_TC_MinSec"))
- {
- divTCms.Visible = true;
- txtTCms.Text = "1:00";
- }
- else
- {
- divTCmc.Visible = true;
- txtTCmc.Text = "1.00";
- }
- memLayer.ML.emptySessionVal("idxProm2Clone");
- memLayer.ML.emptySessionVal("idxProm2Edit");
- }
- }
-
- protected void txtSearch_TextChanged(object sender, EventArgs e)
- {
- ddlArticolo.DataBind();
- }
-
- #region gestione eventi
-
- public event EventHandler eh_nuovoValore;
-
- #endregion
-
- ///
- /// conferma inserimento TC
- ///
- ///
- ///
- protected void btnOk_Click(object sender, EventArgs e)
- {
- // controllo se ho tutti i valori ok...
- string CodArticolo = "";
- string Gruppo = "";
- string IdxMacchina = "";
- string KeyReq = "";
- int numPezzi = 0;
- int pzPallet = 1;
- decimal TCiclo = 0;
- bool attiv = false;
- int prio = 0;
-
- try
- {
- CodArticolo = ddlArticolo.SelectedValue;
- Gruppo = ddlGruppi.SelectedValue;
- IdxMacchina = ddlMacchine.SelectedValue;
- KeyReq = txtKeyExt.Text.Trim();
- //IdxMacchina = txtMacchina.Text.Trim();
- // se IdxMacchina è vuoto metto null...
- if (IdxMacchina == "")
- {
- IdxMacchina = "0";
- }
- numPezzi = Convert.ToInt32(txtNumPz.Text.Trim());
-
- if (memLayer.ML.cdvb("ADM_TC_MinSec"))
- {
- string[] sTC = txtTCms.Text.Trim().Split(':');
- int numMin = 0;
- int numSec = 0;
- int.TryParse(sTC[0], out numMin);
- int.TryParse(sTC[1], out numSec);
- TCiclo = numMin + ((decimal)numSec) / 60;
- }
- else
- {
- decimal.TryParse(txtTCmc.Text.Replace(".", ","), out TCiclo);
- }
- pzPallet = Convert.ToInt32(txtPzPallet.Text.Trim());
- attiv = chkAttiv.Checked;
- int.TryParse(txtPrio.Text, out prio);
-
- // controllo se sono in modalità EDIT faccio un update, altrimenti faccio un INSERT...
- if (memLayer.ML.isInSessionObject("idxProm2Edit"))
- {
- int idxProm = memLayer.ML.IntSessionObj("idxProm2Edit");
- DataLayer.obj.taPODL.updateQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, DateTime.Now, prio, pzPallet, idxProm);
- memLayer.ML.emptySessionVal("idxProm2Edit");
- }
- else
- {
- // 2018.09.25 --> inserisco PROMESSA ODL
- //MapoDb.DataLayer.obj.taODL.InsertQuery(CodArticolo, MapoDb.DataLayer.MatrOpr, IdxMacchina, numPezzi, TCiclo, pzPallet, chkToAs400.Checked, txtCommessa.Text.Trim());
- DataLayer.obj.taPODL.insertQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, DateTime.Now, prio, pzPallet);
- }
- }
- catch (Exception exc)
- {
- logger.lg.scriviLog(string.Format("Non sono riuscito ad inserire la PromessaODL con i seguenti parametri: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8}{9}{10}", KeyReq, attiv, CodArticolo, IdxMacchina, numPezzi, TCiclo, prio, pzPallet, memLayer.ML.IntSessionObj("idxProm2Edit"), Environment.NewLine, exc), tipoLog.EXCEPTION);
- memLayer.ML.emptySessionVal("idxProm2Edit");
- }
- // segnalo update
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
- ///
- /// annullamento inserimento
- ///
- ///
- ///
- protected void btnCancel_Click(object sender, EventArgs e)
- {
- memLayer.ML.emptySessionVal("idxProm2Clone");
- memLayer.ML.emptySessionVal("idxProm2Edit");
- if (eh_nuovoValore != null)
- {
- eh_nuovoValore(this, new EventArgs());
- }
- }
- ///
- /// aggiorno label min e centesimi
- ///
- ///
- ///
- protected void txtTempoCiclo_TextChanged(object sender, EventArgs e)
- {
-#if false
- string text = "";
- string txtMinCent = txtTempoCiclo.Text.Trim().Replace(".", ",");
- int min = 0;
- int sec = 0;
- try
- {
- // cerco di convertire in min/sec
- min = Convert.ToInt32(Math.Floor(Convert.ToDouble(txtMinCent)));
- sec = Convert.ToInt32((Convert.ToDouble(txtMinCent) - min) * 60);
- text = string.Format("{0}:{1:00}", min, sec);
- }
- catch
- { }
- lblMinSec.Text = text;
-#endif
- }
- ///
- /// selezione articolo
- ///
- ///
- ///
- protected void ddlArticolo_SelectedIndexChanged(object sender, EventArgs e)
- {
- showLastTimeAndNote();
- }
- ///
- /// mostro elenco ultimi 5 tempi e note...
- ///
- private void showLastTimeAndNote()
- {
- // update tempi ciclo!
- grViewTempi.DataBind();
- }
- ///
- /// selezione impianto
- ///
- ///
- ///
- protected void ddlMacchine_SelectedIndexChanged(object sender, EventArgs e)
- {
- showLastTimeAndNote();
- }
- ///
- /// selezione impianto
- ///
- ///
- ///
- protected void ddlGruppi_SelectedIndexChanged(object sender, EventArgs e)
- {
- ddlMacchine.DataBind();
- }
-
- ///
- /// reset della selezione
- ///
- ///
- ///
- protected void btnReset_Click(object sender, EventArgs e)
- {
- resetSelezione();
- }
- ///
- /// resetta la selezione dei valori in caso di modifiche su altri controlli
- ///
- public void resetSelezione()
- {
- grViewTempi.SelectedIndex = -1;
- grViewTempi.DataBind();
- }
- ///
- /// evento selezione riga: salvo tempo e qta nei campi input...
- ///
- ///
- ///
- protected void grViewTempi_SelectedIndexChanged(object sender, EventArgs e)
- {
- // ricavo i dati selezionati
- int idxOdl = 0;
- try
- {
- idxOdl = Convert.ToInt32(grViewTempi.SelectedValue);
- }
- catch
- { }
- MapoDb.DS_ProdTempi.ODLRow rigaOdl = MapoDb.DataLayer.obj.taODL.getByIdx(idxOdl, false)[0];
- // precompilo dati pezzi/tempi
- txtNumPz.Text = rigaOdl.NumPezzi.ToString();
- if (memLayer.ML.cdvb("ADM_TC_MinSec"))
- {
- txtTCms.Text = TempiCiclo.minSec(rigaOdl.TCAssegnato);
- }
- else
- {
- txtTCmc.Text = rigaOdl.TCAssegnato.ToString("N3");
- }
- txtPzPallet.Text = rigaOdl.PzPallet.ToString();
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.designer.cs b/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.designer.cs
deleted file mode 100644
index 759c3f0d..00000000
--- a/MP-Admin/WebUserControls/mod_newPromessaODL.ascx.designer.cs
+++ /dev/null
@@ -1,204 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls {
-
-
- public partial class mod_newPromessaODL {
-
- ///
- /// Controllo txtSearch.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtSearch;
-
- ///
- /// Controllo ddlArticolo.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
-
- ///
- /// Controllo odsArticoli.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
-
- ///
- /// Controllo ddlGruppi.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlGruppi;
-
- ///
- /// Controllo odsGruppi.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsGruppi;
-
- ///
- /// Controllo ddlMacchine.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlMacchine;
-
- ///
- /// Controllo odsMacchine.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
-
- ///
- /// Controllo txtNumPz.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtNumPz;
-
- ///
- /// Controllo divTCms.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTCms;
-
- ///
- /// Controllo txtTCms.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtTCms;
-
- ///
- /// Controllo divTCmc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTCmc;
-
- ///
- /// Controllo txtTCmc.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtTCmc;
-
- ///
- /// Controllo txtKeyExt.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtKeyExt;
-
- ///
- /// Controllo txtPrio.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPrio;
-
- ///
- /// Controllo chkAttiv.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.CheckBox chkAttiv;
-
- ///
- /// Controllo txtPzPallet.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPzPallet;
-
- ///
- /// Controllo lbtOk.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtOk;
-
- ///
- /// Controllo lbtCancel.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtCancel;
-
- ///
- /// Controllo divTempi.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTempi;
-
- ///
- /// Controllo grViewTempi.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewTempi;
-
- ///
- /// Controllo odsTempi.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsTempi;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx b/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx
deleted file mode 100644
index c935afd7..00000000
--- a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx
+++ /dev/null
@@ -1,7 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true"
- Inherits="mod_pageTitleAndSearch" CodeBehind="mod_pageTitleAndSearch.ascx.cs" %>
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.cs b/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.cs
deleted file mode 100644
index 8e910b7d..00000000
--- a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using SteamWare;
-using System;
-
-public partial class mod_pageTitleAndSearch : ApplicationUserControl
-{
- #region area protected
-
- protected string _titolo;
- protected override void traduciObj()
- {
- try
- {
- DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}.aspx' OR URL = '{0}'", _paginaCorrente))[0];
- _titolo = riga.NOME;
- }
- catch (Exception exc)
- {
- logger.lg.scriviLog(string.Format("Errore in decodifica titolo:{0}{1}", Environment.NewLine, exc));
- _titolo = _paginaCorrente;
- }
- lblTitolo.Text = traduci(_titolo);
- }
-
-
- #endregion
-
-}
diff --git a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs b/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs
deleted file mode 100644
index a2c3080e..00000000
--- a/MP-Admin/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_pageTitleAndSearch {
-
- ///
- /// Controllo lblTitolo.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitolo;
-}
diff --git a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx b/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx
deleted file mode 100644
index 11d8e0f6..00000000
--- a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx
+++ /dev/null
@@ -1,5 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_ricercaGenerica" CodeBehind="mod_ricercaGenerica.ascx.cs" %>
-
diff --git a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.cs b/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.cs
deleted file mode 100644
index c1e2a038..00000000
--- a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.cs
+++ /dev/null
@@ -1,174 +0,0 @@
-using SteamWare;
-using System;
-using System.Web.UI;
-
-public partial class mod_ricercaGenerica : ApplicationUserControl
-{
-
- #region gestione eventi
-
- public event EventHandler eh_nuovaRicerca;
-
- #endregion
-
- # region area protected
-
- #region area ricerche dettaglio specifiche
-
- protected bool _cercaMatricole = false;
- protected bool _cercaUsername = false;
- //protected bool _cercaManufacturer = false;
- //protected bool _cercaCategorie = false;
- protected bool _cercaModelli = false;
- protected bool _cercaMag = false;
-
- #endregion
-
- protected override void Page_Load(object sender, EventArgs e)
- {
- base.Page_Load(sender, e);
- updateText();
- btnCerca.Text = traduci("lblCerca");
- }
- ///
- /// cambiato valore in ricerca
- ///
- ///
- ///
- protected void txtCerca_TextChanged(object sender, EventArgs e)
- {
- salvaCerca();
- }
- ///
- /// pressione del button di ricerca
- ///
- ///
- ///
- protected void btnCerca_Click(object sender, EventArgs e)
- {
- salvaCerca();
- }
- ///
- /// testo ricerca trimmato da spazi
- ///
- protected string testoRicerca
- {
- get
- {
- return txtCerca.Text.Trim();
- }
- set
- {
- txtCerca.Text = value;
- }
- }
-
- protected void salvaCerca()
- {
- if (testoRicerca == "")
- {
- SteamWare.memLayer.ML.emptySessionVal("valoreCercato");
- SteamWare.memLayer.ML.emptySessionVal("listaMatricoleSearch");
- }
- else
- {
- SteamWare.memLayer.ML.setSessionVal("valoreCercato", testoRicerca);
- // verifico ricerche accessorie
- if (_cercaMatricole)
- {
- salvaCercaMatricole();
- }
- if (_cercaUsername)
- {
- salvaCercaUsername();
- }
- // raise dell'evento
- if (eh_nuovaRicerca != null)
- {
- eh_nuovaRicerca(this, new EventArgs());
- }
- }
- }
- ///
- /// ricerca utenti e salva lista matricole x SQL IN
- ///
- protected void salvaCercaMatricole()
- {
- // salvo anche l'elenco delle matricole compatibili...
- DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca);
- string listaMatricoleSearch = "";
- foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti)
- {
- listaMatricoleSearch += string.Format("'{0}', ", riga.MATRICOLA);
- }
- if (listaMatricoleSearch.Length > 0)
- {
- listaMatricoleSearch = listaMatricoleSearch.Remove(listaMatricoleSearch.Length - 2);
- }
- SteamWare.memLayer.ML.setSessionVal("listaMatricoleSearch", listaMatricoleSearch);
- }
- ///
- /// ricerca utenti e salva lista username x SQL IN
- ///
- protected void salvaCercaUsername()
- {
- // salvo anche l'elenco delle matricole compatibili...
- DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca);
- string listaUsernameSearch = "";
- foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti)
- {
- listaUsernameSearch += string.Format("'{0}', ", riga.USER_NAME);
- }
- if (listaUsernameSearch.Length > 0)
- {
- listaUsernameSearch = listaUsernameSearch.Remove(listaUsernameSearch.Length - 2);
- }
- SteamWare.memLayer.ML.setSessionVal("listaUsernameSearch", listaUsernameSearch);
- }
-
- #endregion
-
- #region area public
-
- ///
- /// aggiorna il testo cercato
- ///
- public void updateText()
- {
- if (SteamWare.memLayer.ML.StringSessionObj("valoreCercato") != "" && !Page.IsPostBack)
- {
- testoRicerca = SteamWare.memLayer.ML.StringSessionObj("valoreCercato");
- }
- }
-
- ///
- /// indica se generare da stringa search un elenco delle matricole corrispondenti
- ///
- public bool cercaMatricole
- {
- get
- {
- return _cercaMatricole;
- }
- set
- {
- _cercaMatricole = value;
- }
- }
- ///
- /// indica se generare da stringa search un elenco di username corrispondenti
- ///
- public bool cercaUsername
- {
- get
- {
- return _cercaUsername;
- }
- set
- {
- _cercaUsername = value;
- }
- }
- #endregion
-
-}
diff --git a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.designer.cs b/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.designer.cs
deleted file mode 100644
index 7d5e9ff3..00000000
--- a/MP-Admin/WebUserControls/mod_ricercaGenerica.ascx.designer.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class mod_ricercaGenerica {
-
- ///
- /// txtCerca control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtCerca;
-
- ///
- /// btnCerca control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btnCerca;
-}
diff --git a/MP-Admin/WebUserControls/mod_storicoTC.ascx b/MP-Admin/WebUserControls/mod_storicoTC.ascx
deleted file mode 100644
index 2a964cd0..00000000
--- a/MP-Admin/WebUserControls/mod_storicoTC.ascx
+++ /dev/null
@@ -1,101 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_storicoTC.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_storicoTC" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Nessun record storico trovato
-
-
-
-
-
-
-
-
- <%-- --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_storicoTC.ascx.cs b/MP-Admin/WebUserControls/mod_storicoTC.ascx.cs
deleted file mode 100644
index 054e3e93..00000000
--- a/MP-Admin/WebUserControls/mod_storicoTC.ascx.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using System;
-using System.Web.UI;
-
-namespace MoonProAdmin.WebUserControls
-{
- public partial class mod_storicoTC : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!Page.IsPostBack)
- {
- // seleziono valori "0"
- ddlArticolo.SelectedIndex = 0;
- ddlMacchine.SelectedIndex = 0;
- grViewTempi.PageSize = pageSize;
- }
- }
- ///
- /// dimensione pagina
- ///
- public int pageSize
- {
- get
- {
- int answ = 10;
- try
- {
- answ = Convert.ToInt32(txtPageSize.Text);
- }
- catch
- { }
- return answ;
- }
- set
- {
- txtPageSize.Text = value.ToString();
- }
- }
- protected void ddlArticolo_SelectedIndexChanged(object sender, EventArgs e)
- {
- updateElenco();
- }
-
- protected void ddlMacchine_SelectedIndexChanged(object sender, EventArgs e)
- {
- updateElenco();
- }
- ///
- /// effettua update elenco tempi per articolo/impianto
- ///
- private void updateElenco()
- {
- // carico update!
- }
- ///
- /// cambio dim pagina
- ///
- ///
- ///
- protected void txtPageSize_TextChanged(object sender, EventArgs e)
- {
- grViewTempi.PageSize = pageSize;
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_storicoTC.ascx.designer.cs b/MP-Admin/WebUserControls/mod_storicoTC.ascx.designer.cs
deleted file mode 100644
index 51fd86d7..00000000
--- a/MP-Admin/WebUserControls/mod_storicoTC.ascx.designer.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin.WebUserControls
-{
-
-
- public partial class mod_storicoTC {
-
- ///
- /// ddlArticolo control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
-
- ///
- /// odsArticoli control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
-
- ///
- /// ddlMacchine control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlMacchine;
-
- ///
- /// odsMacchine control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
-
- ///
- /// grViewTempi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView grViewTempi;
-
- ///
- /// odsTempi control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.ObjectDataSource odsTempi;
-
- ///
- /// txtPageSize control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPageSize;
- }
-}
diff --git a/MP-Admin/WebUserControls/mod_unauthorized.ascx b/MP-Admin/WebUserControls/mod_unauthorized.ascx
deleted file mode 100644
index a28b35cd..00000000
--- a/MP-Admin/WebUserControls/mod_unauthorized.ascx
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true" Inherits="MoonPro_site.WebUserControls.mod_unauthorized" Codebehind="mod_unauthorized.ascx.cs" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/WebUserControls/mod_unauthorized.ascx.cs b/MP-Admin/WebUserControls/mod_unauthorized.ascx.cs
deleted file mode 100644
index 511b8989..00000000
--- a/MP-Admin/WebUserControls/mod_unauthorized.ascx.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using SteamWare;
-using System;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_unauthorized : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- lblTitle.Text = user_std.UtSn.Traduci("NonDisponibile");
- lblMess.Text = user_std.UtSn.Traduci("NonAuth");
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_unauthorized.ascx.designer.cs b/MP-Admin/WebUserControls/mod_unauthorized.ascx.designer.cs
deleted file mode 100644
index 91966c1b..00000000
--- a/MP-Admin/WebUserControls/mod_unauthorized.ascx.designer.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls
-{
-
-
- public partial class mod_unauthorized {
-
- ///
- /// lblTitleMain control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitleMain;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblMess control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblMess;
- }
-}
diff --git a/MP-Admin/images/Help.png b/MP-Admin/images/Help.png
deleted file mode 100644
index 29e1d7b8..00000000
Binary files a/MP-Admin/images/Help.png and /dev/null differ
diff --git a/MP-Admin/images/LogoMapoNoText.png b/MP-Admin/images/LogoMapoNoText.png
deleted file mode 100644
index 7552c223..00000000
Binary files a/MP-Admin/images/LogoMapoNoText.png and /dev/null differ
diff --git a/MP-Admin/images/ProgressBar.gif b/MP-Admin/images/ProgressBar.gif
deleted file mode 100644
index 12d35025..00000000
Binary files a/MP-Admin/images/ProgressBar.gif and /dev/null differ
diff --git a/MP-Admin/images/Thumbs.db b/MP-Admin/images/Thumbs.db
deleted file mode 100644
index ef6bea01..00000000
Binary files a/MP-Admin/images/Thumbs.db and /dev/null differ
diff --git a/MP-Admin/images/elimina_s.png b/MP-Admin/images/elimina_s.png
deleted file mode 100644
index 0e0953c7..00000000
Binary files a/MP-Admin/images/elimina_s.png and /dev/null differ
diff --git a/MP-Admin/images/empty.jpg b/MP-Admin/images/empty.jpg
deleted file mode 100644
index 506497d5..00000000
Binary files a/MP-Admin/images/empty.jpg and /dev/null differ
diff --git a/MP-Admin/images/favicon.ico b/MP-Admin/images/favicon.ico
deleted file mode 100644
index 70ccadaf..00000000
Binary files a/MP-Admin/images/favicon.ico and /dev/null differ
diff --git a/MP-Admin/images/giallo.png b/MP-Admin/images/giallo.png
deleted file mode 100644
index 6d3778c8..00000000
Binary files a/MP-Admin/images/giallo.png and /dev/null differ
diff --git a/MP-Admin/images/grigio.png b/MP-Admin/images/grigio.png
deleted file mode 100644
index 778fbec5..00000000
Binary files a/MP-Admin/images/grigio.png and /dev/null differ
diff --git a/MP-Admin/images/help_white.png b/MP-Admin/images/help_white.png
deleted file mode 100644
index 09a73577..00000000
Binary files a/MP-Admin/images/help_white.png and /dev/null differ
diff --git a/MP-Admin/images/logo colmecc.png b/MP-Admin/images/logo colmecc.png
deleted file mode 100644
index d6def08c..00000000
Binary files a/MP-Admin/images/logo colmecc.png and /dev/null differ
diff --git a/MP-Admin/images/logo.gif b/MP-Admin/images/logo.gif
deleted file mode 100644
index a1f171bc..00000000
Binary files a/MP-Admin/images/logo.gif and /dev/null differ
diff --git a/MP-Admin/images/logo.png b/MP-Admin/images/logo.png
deleted file mode 100644
index 5bd4797a..00000000
Binary files a/MP-Admin/images/logo.png and /dev/null differ
diff --git a/MP-Admin/images/logoMoOnPro.png b/MP-Admin/images/logoMoOnPro.png
deleted file mode 100644
index de7ceca6..00000000
Binary files a/MP-Admin/images/logoMoOnPro.png and /dev/null differ
diff --git a/MP-Admin/images/logoSteamware.png b/MP-Admin/images/logoSteamware.png
deleted file mode 100644
index 0378e66f..00000000
Binary files a/MP-Admin/images/logoSteamware.png and /dev/null differ
diff --git a/MP-Admin/images/logo_sw.png b/MP-Admin/images/logo_sw.png
deleted file mode 100644
index e9c563e3..00000000
Binary files a/MP-Admin/images/logo_sw.png and /dev/null differ
diff --git a/MP-Admin/images/page_pdf.png b/MP-Admin/images/page_pdf.png
deleted file mode 100644
index 8f8095e4..00000000
Binary files a/MP-Admin/images/page_pdf.png and /dev/null differ
diff --git a/MP-Admin/images/pdfExport.png b/MP-Admin/images/pdfExport.png
deleted file mode 100644
index eed02a5f..00000000
Binary files a/MP-Admin/images/pdfExport.png and /dev/null differ
diff --git a/MP-Admin/images/pdfExportSmall.png b/MP-Admin/images/pdfExportSmall.png
deleted file mode 100644
index 01f08bb3..00000000
Binary files a/MP-Admin/images/pdfExportSmall.png and /dev/null differ
diff --git a/MP-Admin/images/rosso.png b/MP-Admin/images/rosso.png
deleted file mode 100644
index e5de3c85..00000000
Binary files a/MP-Admin/images/rosso.png and /dev/null differ
diff --git a/MP-Admin/images/semafori.xcf b/MP-Admin/images/semafori.xcf
deleted file mode 100644
index cc8c994b..00000000
Binary files a/MP-Admin/images/semafori.xcf and /dev/null differ
diff --git a/MP-Admin/images/sfondo.png b/MP-Admin/images/sfondo.png
deleted file mode 100644
index 863563f1..00000000
Binary files a/MP-Admin/images/sfondo.png and /dev/null differ
diff --git a/MP-Admin/images/titoloCruscotto.png b/MP-Admin/images/titoloCruscotto.png
deleted file mode 100644
index e51e0a9b..00000000
Binary files a/MP-Admin/images/titoloCruscotto.png and /dev/null differ
diff --git a/MP-Admin/images/verde.png b/MP-Admin/images/verde.png
deleted file mode 100644
index d2b9f38c..00000000
Binary files a/MP-Admin/images/verde.png and /dev/null differ
diff --git a/MP-Admin/images/view.gif b/MP-Admin/images/view.gif
deleted file mode 100644
index 8f5d1e64..00000000
Binary files a/MP-Admin/images/view.gif and /dev/null differ
diff --git a/MP-Admin/images/view.png b/MP-Admin/images/view.png
deleted file mode 100644
index 2833b7a0..00000000
Binary files a/MP-Admin/images/view.png and /dev/null differ
diff --git a/MP-Admin/images/view_disabled.gif b/MP-Admin/images/view_disabled.gif
deleted file mode 100644
index fb38c44c..00000000
Binary files a/MP-Admin/images/view_disabled.gif and /dev/null differ
diff --git a/MP-Admin/images/view_l.png b/MP-Admin/images/view_l.png
deleted file mode 100644
index de5ef3a1..00000000
Binary files a/MP-Admin/images/view_l.png and /dev/null differ
diff --git a/MP-Admin/images/view_m.png b/MP-Admin/images/view_m.png
deleted file mode 100644
index e845f6d5..00000000
Binary files a/MP-Admin/images/view_m.png and /dev/null differ
diff --git a/MP-Admin/images/view_s.gif b/MP-Admin/images/view_s.gif
deleted file mode 100644
index df6ffbaf..00000000
Binary files a/MP-Admin/images/view_s.gif and /dev/null differ
diff --git a/MP-Admin/images/view_s.png b/MP-Admin/images/view_s.png
deleted file mode 100644
index 2833b7a0..00000000
Binary files a/MP-Admin/images/view_s.png and /dev/null differ
diff --git a/MP-Admin/login.aspx b/MP-Admin/login.aspx
deleted file mode 100644
index e7bf1113..00000000
--- a/MP-Admin/login.aspx
+++ /dev/null
@@ -1,8 +0,0 @@
-<%@ Page Title="MPADM | Login" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro_noAjax.master" AutoEventWireup="true" Inherits="MoonPro_site.login" Codebehind="login.aspx.cs" %>
-
-<%@ Register Src="~/WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %>
-
-
-
-
-
diff --git a/MP-Admin/login.aspx.cs b/MP-Admin/login.aspx.cs
deleted file mode 100644
index 7b09792f..00000000
--- a/MP-Admin/login.aspx.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-
-namespace MoonPro_site
-{
- public partial class login : System.Web.UI.Page
- {
- protected string _nextPage
- {
- get
- {
- string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage");
- if (pagina == "")
- {
- pagina = "menu.aspx";
- }
- return pagina;
- }
- }
-
- protected void Page_Load(object sender, EventArgs e)
- {
- Mod_login1.modoLogin = SteamWare.loginMode.normale;
- }
-
- protected override void OnInit(EventArgs e)
- {
- base.OnInit(e);
- Mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok);
- Mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error);
- }
-
- void Mod_login1_Login_Error(object sender, EventArgs e)
- {
- Response.Redirect("./unauthorized.aspx");
- }
-
- void Mod_login1_Login_ok(object sender, EventArgs e)
- {
- Response.Redirect(_nextPage);
- }
- protected override void OnUnload(EventArgs e)
- {
- base.OnUnload(e);
- Mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok);
- Mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error);
- }
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/login.aspx.designer.cs b/MP-Admin/login.aspx.designer.cs
deleted file mode 100644
index 3568f4a5..00000000
--- a/MP-Admin/login.aspx.designer.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site {
-
-
- public partial class login {
-
- ///
- /// Controllo Mod_login1.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::mod_login Mod_login1;
- }
-}
diff --git a/MP-Admin/logs/PlaceHolder.file b/MP-Admin/logs/PlaceHolder.file
deleted file mode 100644
index 5f282702..00000000
--- a/MP-Admin/logs/PlaceHolder.file
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/MP-Admin/menu.aspx b/MP-Admin/menu.aspx
deleted file mode 100644
index 99078a93..00000000
--- a/MP-Admin/menu.aspx
+++ /dev/null
@@ -1,8 +0,0 @@
-<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" Inherits="MoonPro_site.menu" Title="MPADM" Codebehind="menu.aspx.cs" %>
-
-<%@ Register Src="~/WebUserControls/mod_main_help.ascx" TagName="mod_main_help" TagPrefix="uc2" %>
-
-
-
-
-
diff --git a/MP-Admin/menu.aspx.cs b/MP-Admin/menu.aspx.cs
deleted file mode 100644
index 4ab870ca..00000000
--- a/MP-Admin/menu.aspx.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace MoonPro_site
-{
- public partial class menu : System.Web.UI.Page
- {
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/menu.aspx.designer.cs b/MP-Admin/menu.aspx.designer.cs
deleted file mode 100644
index d61736b5..00000000
--- a/MP-Admin/menu.aspx.designer.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site {
-
-
- public partial class menu {
-
- ///
- /// Controllo Mod_main_help1.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::mod_main_help Mod_main_help1;
- }
-}
diff --git a/MP-Admin/packages.config b/MP-Admin/packages.config
deleted file mode 100644
index 81405537..00000000
--- a/MP-Admin/packages.config
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MP-Admin/test.aspx b/MP-Admin/test.aspx
deleted file mode 100644
index 0949ad31..00000000
--- a/MP-Admin/test.aspx
+++ /dev/null
@@ -1,46 +0,0 @@
-<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true"
- Inherits="test" Title="Untitled Page" CodeBehind="test.aspx.cs" %>
-
-<%@ Register Assembly="SteamWare" Namespace="SteamWare" TagPrefix="cc1" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%--
-
-
-
- --%>
-
-
diff --git a/MP-Admin/test.aspx.cs b/MP-Admin/test.aspx.cs
deleted file mode 100644
index 3ee0225f..00000000
--- a/MP-Admin/test.aspx.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-
-public partial class test : System.Web.UI.Page
-{
- protected void Page_Load(object sender, EventArgs e)
- {
- lblOut.Text = string.Format("H: {0} - W: {1}", Session["WindowHeight"], Session["WindowWidth"]);
- }
-}
diff --git a/MP-Admin/test.aspx.designer.cs b/MP-Admin/test.aspx.designer.cs
deleted file mode 100644
index 7daffb1c..00000000
--- a/MP-Admin/test.aspx.designer.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class test {
-
- ///
- /// Image1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Image Image1;
-
- ///
- /// Image4 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Image Image4;
-
- ///
- /// Image2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Image Image2;
-
- ///
- /// Image3 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Image Image3;
-
- ///
- /// lblOut control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblOut;
-}
diff --git a/MP-Admin/testUtente.aspx b/MP-Admin/testUtente.aspx
deleted file mode 100644
index b106586e..00000000
--- a/MP-Admin/testUtente.aspx
+++ /dev/null
@@ -1,19 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testUtente.aspx.cs" Inherits="MoonProAdmin.testUtente" %>
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MP-Admin/testUtente.aspx.cs b/MP-Admin/testUtente.aspx.cs
deleted file mode 100644
index f52af49d..00000000
--- a/MP-Admin/testUtente.aspx.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Web.UI;
-
-namespace MoonProAdmin
-{
- public partial class testUtente : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- lblTitle.Text = "Il DOMINIO\\nome_utente dell'utente collegato è:";
- string ad_name = Page.User.Identity.Name;
- lblUtente.Text = ad_name;
- }
- }
-}
diff --git a/MP-Admin/testUtente.aspx.designer.cs b/MP-Admin/testUtente.aspx.designer.cs
deleted file mode 100644
index 5ccf4a85..00000000
--- a/MP-Admin/testUtente.aspx.designer.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonProAdmin
-{
-
-
- public partial class testUtente {
-
- ///
- /// form1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblUtente control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUtente;
- }
-}
diff --git a/MP-Admin/unauthorized.aspx b/MP-Admin/unauthorized.aspx
deleted file mode 100644
index 61cb0833..00000000
--- a/MP-Admin/unauthorized.aspx
+++ /dev/null
@@ -1,17 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="false" %>
-
-
-
-
-
-
-
-
-
-
-