diff --git a/project/XPST/Content/images/ajax-loader.gif b/XPST/Content/images/ajax-loader.gif similarity index 100% rename from project/XPST/Content/images/ajax-loader.gif rename to XPST/Content/images/ajax-loader.gif diff --git a/project/XPST/Content/images/icons-18-black.png b/XPST/Content/images/icons-18-black.png similarity index 100% rename from project/XPST/Content/images/icons-18-black.png rename to XPST/Content/images/icons-18-black.png diff --git a/project/XPST/Content/images/icons-18-white.png b/XPST/Content/images/icons-18-white.png similarity index 100% rename from project/XPST/Content/images/icons-18-white.png rename to XPST/Content/images/icons-18-white.png diff --git a/project/XPST/Content/images/icons-36-black.png b/XPST/Content/images/icons-36-black.png similarity index 100% rename from project/XPST/Content/images/icons-36-black.png rename to XPST/Content/images/icons-36-black.png diff --git a/project/XPST/Content/images/icons-36-white.png b/XPST/Content/images/icons-36-white.png similarity index 100% rename from project/XPST/Content/images/icons-36-white.png rename to XPST/Content/images/icons-36-white.png diff --git a/project/XPST/Content/jquery.mobile-1.2.0.css b/XPST/Content/jquery.mobile-1.2.0.css similarity index 100% rename from project/XPST/Content/jquery.mobile-1.2.0.css rename to XPST/Content/jquery.mobile-1.2.0.css diff --git a/project/XPST/Content/jquery.mobile-1.2.0.min.css b/XPST/Content/jquery.mobile-1.2.0.min.css similarity index 100% rename from project/XPST/Content/jquery.mobile-1.2.0.min.css rename to XPST/Content/jquery.mobile-1.2.0.min.css diff --git a/project/XPST/Content/jquery.mobile.structure-1.2.0.css b/XPST/Content/jquery.mobile.structure-1.2.0.css similarity index 100% rename from project/XPST/Content/jquery.mobile.structure-1.2.0.css rename to XPST/Content/jquery.mobile.structure-1.2.0.css diff --git a/project/XPST/Content/jquery.mobile.structure-1.2.0.min.css b/XPST/Content/jquery.mobile.structure-1.2.0.min.css similarity index 100% rename from project/XPST/Content/jquery.mobile.structure-1.2.0.min.css rename to XPST/Content/jquery.mobile.structure-1.2.0.min.css diff --git a/project/XPST/Content/jquery.mobile.theme-1.2.0.css b/XPST/Content/jquery.mobile.theme-1.2.0.css similarity index 100% rename from project/XPST/Content/jquery.mobile.theme-1.2.0.css rename to XPST/Content/jquery.mobile.theme-1.2.0.css diff --git a/project/XPST/Content/jquery.mobile.theme-1.2.0.min.css b/XPST/Content/jquery.mobile.theme-1.2.0.min.css similarity index 100% rename from project/XPST/Content/jquery.mobile.theme-1.2.0.min.css rename to XPST/Content/jquery.mobile.theme-1.2.0.min.css diff --git a/project/XPST/Default.aspx b/XPST/Default.aspx similarity index 96% rename from project/XPST/Default.aspx rename to XPST/Default.aspx index d994c6a..e99a08e 100644 --- a/project/XPST/Default.aspx +++ b/XPST/Default.aspx @@ -1,16 +1,16 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="XPST._Default" %> - - - - - - - - -
-
- -
-
- - +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="XPST._Default" %> + + + + + + + + +
+
+ +
+
+ + diff --git a/project/XPST/Default.aspx.cs b/XPST/Default.aspx.cs similarity index 95% rename from project/XPST/Default.aspx.cs rename to XPST/Default.aspx.cs index fa52e84..0156405 100644 --- a/project/XPST/Default.aspx.cs +++ b/XPST/Default.aspx.cs @@ -1,18 +1,18 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using SteamWare; - -namespace XPST -{ - public partial class _Default : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - Response.Redirect("./login.aspx"); - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace XPST +{ + public partial class _Default : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + Response.Redirect("./login.aspx"); + } + } +} diff --git a/project/XPST/Default.aspx.designer.cs b/XPST/Default.aspx.designer.cs similarity index 96% rename from project/XPST/Default.aspx.designer.cs rename to XPST/Default.aspx.designer.cs index 39686c1..7b6e71d 100644 --- a/project/XPST/Default.aspx.designer.cs +++ b/XPST/Default.aspx.designer.cs @@ -1,27 +1,27 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace XPST -{ - - - public partial class _Default - { - - /// - /// 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; - } -} +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XPST +{ + + + public partial class _Default + { + + /// + /// 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; + } +} diff --git a/project/XPST/Properties/AssemblyInfo.cs b/XPST/Properties/AssemblyInfo.cs similarity index 97% rename from project/XPST/Properties/AssemblyInfo.cs rename to XPST/Properties/AssemblyInfo.cs index aa45891..51023f8 100644 --- a/project/XPST/Properties/AssemblyInfo.cs +++ b/XPST/Properties/AssemblyInfo.cs @@ -1,35 +1,35 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("XPST")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("XPST")] -[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")] +using System.Reflection; +using System.Runtime.CompilerServices; +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("XPST")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("XPST")] +[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/project/XPST/Properties/PublishProfiles/EQUA.pubxml b/XPST/Properties/PublishProfiles/EQUA.pubxml similarity index 100% rename from project/XPST/Properties/PublishProfiles/EQUA.pubxml rename to XPST/Properties/PublishProfiles/EQUA.pubxml diff --git a/project/XPST/Properties/PublishProfiles/EQUA.pubxml.user b/XPST/Properties/PublishProfiles/EQUA.pubxml.user similarity index 100% rename from project/XPST/Properties/PublishProfiles/EQUA.pubxml.user rename to XPST/Properties/PublishProfiles/EQUA.pubxml.user diff --git a/project/XPST/Properties/PublishProfiles/218.pubxml b/XPST/Properties/PublishProfiles/IIS02.pubxml similarity index 95% rename from project/XPST/Properties/PublishProfiles/218.pubxml rename to XPST/Properties/PublishProfiles/IIS02.pubxml index 0c6321b..4bd0952 100644 --- a/project/XPST/Properties/PublishProfiles/218.pubxml +++ b/XPST/Properties/PublishProfiles/IIS02.pubxml @@ -10,13 +10,13 @@ by editing this MSBuild file. In order to learn more about this please visit htt Any CPU True - https://10.74.82.218:8172/MsDeploy.axd + https://IIS02:8172/MsDeploy.axd Default Web Site/XPST False WMSVC True - administrator + steamwarewin\administrator <_SavePWD>True @@ -52,6 +52,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt + True True True False diff --git a/project/XPST/Properties/PublishProfiles/218.pubxml.user b/XPST/Properties/PublishProfiles/IIS02.pubxml.user similarity index 68% rename from project/XPST/Properties/PublishProfiles/218.pubxml.user rename to XPST/Properties/PublishProfiles/IIS02.pubxml.user index 7d668d2..dd0bbf0 100644 --- a/project/XPST/Properties/PublishProfiles/218.pubxml.user +++ b/XPST/Properties/PublishProfiles/IIS02.pubxml.user @@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt 2012-12-21T10:14:32.4948710+01:00 - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAABv9uHbu3F0CBNoJDBeyEhgAAAAACAAAAAAADZgAAwAAAABAAAADW921RFud0h/JU+0RtBNN5AAAAAASAAACgAAAAEAAAAOeQRHe1hLiNcmrs06OyHP0QAAAAOCrFVHwoJLGZkCk1l8mQrxQAAADTdkfz2x8xyqwLdbtRytZVl2Rzbw== + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA/bYFd3Gxq0iucbk2ZdN5XwAAAAACAAAAAAADZgAAwAAAABAAAAC/t9Ar6cUWKrivkr9iSVWcAAAAAASAAACgAAAAEAAAADJL/FO/2u+COpTP41fYxTsYAAAA3K+gj2M8Xq2g/ifwl9FPkzTnUTCfyvS8FAAAADGl+pr+jflOweZxTAAej3xlMbA4 \ No newline at end of file diff --git a/project/XPST/Scripts/PlaceHolder.file b/XPST/Scripts/PlaceHolder.file similarity index 100% rename from project/XPST/Scripts/PlaceHolder.file rename to XPST/Scripts/PlaceHolder.file diff --git a/project/XPST/Scripts/jquery-1.8.3-vsdoc.js b/XPST/Scripts/jquery-1.8.3-vsdoc.js similarity index 100% rename from project/XPST/Scripts/jquery-1.8.3-vsdoc.js rename to XPST/Scripts/jquery-1.8.3-vsdoc.js diff --git a/project/XPST/Scripts/jquery-1.8.3.js b/XPST/Scripts/jquery-1.8.3.js similarity index 100% rename from project/XPST/Scripts/jquery-1.8.3.js rename to XPST/Scripts/jquery-1.8.3.js diff --git a/project/XPST/Scripts/jquery-1.8.3.min.js b/XPST/Scripts/jquery-1.8.3.min.js similarity index 100% rename from project/XPST/Scripts/jquery-1.8.3.min.js rename to XPST/Scripts/jquery-1.8.3.min.js diff --git a/project/XPST/Scripts/jquery.mobile-1.2.0.js b/XPST/Scripts/jquery.mobile-1.2.0.js similarity index 100% rename from project/XPST/Scripts/jquery.mobile-1.2.0.js rename to XPST/Scripts/jquery.mobile-1.2.0.js diff --git a/project/XPST/Scripts/jquery.mobile-1.2.0.min.js b/XPST/Scripts/jquery.mobile-1.2.0.min.js similarity index 100% rename from project/XPST/Scripts/jquery.mobile-1.2.0.min.js rename to XPST/Scripts/jquery.mobile-1.2.0.min.js diff --git a/project/XPST/Style.css b/XPST/Style.css similarity index 94% rename from project/XPST/Style.css rename to XPST/Style.css index 835f4e1..c1fc16c 100644 --- a/project/XPST/Style.css +++ b/XPST/Style.css @@ -1,559 +1,559 @@ -body -{ - margin-top: 0px; - margin-left: 0px; - margin-bottom: 0px; - margin-right: 0px; - font-family: Verdana, Arial; - font-size: small; -} -.fullscreen -{ - display: block; /*set the div in the top-left corner of the screen*/ - position: absolute; - top: 0; - left: 0; /*set the width and height to 100% of the screen*/ - width: 100%; - height: 100%; -} -#content -{ - width: 210px; - height: 240px; - padding: 0px; - border: 1px black solid; - background-position: center bottom; - background-image: url('images/logo_sw.jpg'); - background-repeat: no-repeat; -} - -#activeContent -{ - height: 200px; -} -#topBanner -{ - height: 20px; -} -#smallTable -{ - width: 98%; - padding: 1px; - white-space: nowrap; - font-size: 10pt; -} -#smallGrid -{ - width: 100%; - font-size: 8pt; -} -#smallGridDetail -{ - width: 100%; - font-size: 9pt; -} - -.quadro1, .quadro3, .quadro5 -{ - float: left; - width: 48%; - text-align: center; - vertical-align: middle; - margin-top: 2px; - margin-bottom: 2px; -} -.quadro2, .quadro4, .quadro6 -{ - float: right; - width: 48%; - text-align: center; - vertical-align: middle; - margin-top: 2px; - margin-bottom: 2px; -} - -.userBanner -{ - padding-top: 2px; - padding-bottom: 2px; - background-color: #6969AC; - text-align: center; - font-weight: bold; - color: White; -} -.taskBanner -{ - height: 16px; - padding-top: 0px; - padding-bottom: 0px; - background-color: #ABABFF; - text-align: center; - color: Black; -} -.ctrHeaderPager -{ - background-color: #b8b8b8; - font-weight: bold; - color: White; - text-align: center; -} - -.ctrHeaderPagerMini -{ - background-color: #b8b8b8; - color: White; - text-align: center; - font-size: x-small; - height: 10px; -} - -.ctrHeaderPagerWide -{ - background-color: #b8b8b8; - font-weight: bold; - color: White; - font-size: 10pt; -} -.ctrRowStyle -{ - vertical-align: top; - background-color: #EFF3FB; - text-align: left; -} -.ctrAltRowStyle -{ - vertical-align: top; - background-color: White; - text-align: left; -} -.ctrRowStyleRight -{ - background-color: #EFF3FB; - text-align: right; -} -.ctrAltRowStyleRight -{ - background-color: White; - text-align: right; -} -.ctrInsRowStyle -{ - background-color: #b8b8b8; -} -.ctrEditRowStyle -{ - background-color: #D1DDF1; -} -.ctrSelRowStyle -{ - font-weight: bold; - color: #333333; - background-color: #D1DDF1; -} - -.ctrFooterMini -{ - font-size: x-small; - height: 15px; -} -.btnDeposita -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFCCAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnSposta -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnRettifica -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px blue; - background-color: #5454FF; - font-size: x-small; - font-weight: bold; - white-space: pre; - color: White; -} -.btnPreleva -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFCCAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnRiattiva -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFCCFF; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnConferma -{ - display: block; - width: 56px; - height: 40px; - border: solid 2px #DDDD99; - background-color: #FFFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnCellaPiena -{ - display: block; - width: 56px; - height: 40px; - border: solid 2px blue; - background-color: #AAFFFF; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnBarcode -{ - display: block; - width: 80px; - height: 40px; - text-align: center; - border: solid 2px blue; - background-color: #AAFFFF; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnChiudi -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px #DDDD99; - background-color: #FFFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnChiudiInput -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFCCAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnDeliberaFusi -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnDeliberaWipPre -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnDeliberaWipPost -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - font-size: x-small; - font-weight: bold; - white-space: pre; -} -.btnUpdate -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - font-size: x-small; - font-weight: bold; -} -.btnCancel -{ - display: block; - width: 80px; - height: 40px; - border: solid 2px blue; - background-color: #AAAAFF; - font-size: x-small; - font-weight: bold; -} - -/* classe generale per div dei bottoni */ - -.divButtons -{ - float: left; -} - - -/* bottoni homepage */ - -.btnBarcodeBigWide1 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #88FFFF; - font-weight: bold; - font-size: 20pt; - text-align: center; -} -.btnBarcodeBigWide2 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #FF88FF; - font-weight: bold; - font-size: 20pt; - text-align: center; -} -.btnBarcodeBigWide3 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #FFFF88; - font-weight: bold; - font-size: 20pt; - text-align: center; -} -.btnBarcodeBigWide4 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #F8F8F8; - font-weight: bold; - font-size: 20pt; - text-align: center; -} -.btnBarcodeBigWide5 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #44FF44; - font-weight: bold; - font-size: 20pt; - text-align: center; -} -.btnBarcodeBigWide6 -{ - width: 320px; - height: 140px; - border: solid 2px blue; - background-color: #FF4444; - font-weight: bold; - font-size: 20pt; - text-align: center; -} - -.btnBarcodeBig -{ - width: 95px; - height: 90px; - border: solid 2px blue; - background-color: #AAFFFF; - font-weight: bold; - text-align: center; - white-space: pre; -} -.btnBarcodeBigWide -{ - width: 155px; - height: 80px; - border: solid 2px blue; - background-color: #AAFFFF; - font-weight: bold; - text-align: center; - white-space: nowrap; -} - -.btnSearchBig -{ - width: 95px; - height: 90px; - border: solid 2px #DDDD99; - background-color: #FFFFAA; - font-weight: bold; - white-space: pre; -} - -.btnCaricaBig -{ - width: 95px; - height: 90px; - border: solid 2px #99DD99; - background-color: #AAFFAA; - font-weight: bold; - white-space: pre; -} - -.btnScaricaBig -{ - width: 95px; - height: 90px; - border: solid 2px #FF6666; - background-color: #FFAA88; - font-weight: bold; - white-space: pre; -} - -.btnListBig -{ - width: 95px; - height: 90px; - border: solid 2px #BBBB33; - background-color: #FFFF00; - font-weight: bold; - white-space: pre; -} -.btnListBigWide -{ - width: 190px; - height: 90px; - border: solid 2px red; - background-color: #FFAA88; - font-weight: bold; - white-space: nowrap; -} - - -.btnTaskBig -{ - width: 95px; - height: 90px; - border: solid 2px green; - background-color: #AAFFAA; - font-weight: bold; - white-space: pre; -} - -.btnHome -{ - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.btnLogout -{ - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFAAAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.btnShowPeriodo -{ - height: 40px; - border: solid 2px Orange; - background-color: #FFCCAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.btnBarcodeSmall -{ - width: 80px; - height: 40px; - border: solid 2px blue; - background-color: #AAFFFF; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} - -.btnPrendiInCarico -{ - width: 140px; - height: 40px; - border: solid 2px red; - background-color: #FFCCAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.btnCarica -{ - width: 80px; - height: 40px; - border: solid 2px green; - background-color: #AAFFAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.btnScarica -{ - width: 80px; - height: 40px; - border: solid 2px red; - background-color: #FFAAAA; - white-space: pre; - font-size: 9pt; - font-weight: bold; -} -.errore -{ - color: Red; - font-weight: bold; -} -.divSx -{ - float: left; -} -.divDx -{ - float: right; -} +body +{ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font-family: Verdana, Arial; + font-size: small; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +#content +{ + width: 210px; + height: 240px; + padding: 0px; + border: 1px black solid; + background-position: center bottom; + background-image: url('images/logo_sw.jpg'); + background-repeat: no-repeat; +} + +#activeContent +{ + height: 200px; +} +#topBanner +{ + height: 20px; +} +#smallTable +{ + width: 98%; + padding: 1px; + white-space: nowrap; + font-size: 10pt; +} +#smallGrid +{ + width: 100%; + font-size: 8pt; +} +#smallGridDetail +{ + width: 100%; + font-size: 9pt; +} + +.quadro1, .quadro3, .quadro5 +{ + float: left; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} +.quadro2, .quadro4, .quadro6 +{ + float: right; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.userBanner +{ + padding-top: 2px; + padding-bottom: 2px; + background-color: #6969AC; + text-align: center; + font-weight: bold; + color: White; +} +.taskBanner +{ + height: 16px; + padding-top: 0px; + padding-bottom: 0px; + background-color: #ABABFF; + text-align: center; + color: Black; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: center; +} + +.ctrHeaderPagerMini +{ + background-color: #b8b8b8; + color: White; + text-align: center; + font-size: x-small; + height: 10px; +} + +.ctrHeaderPagerWide +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + font-size: 10pt; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; + text-align: left; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; + text-align: left; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.ctrFooterMini +{ + font-size: x-small; + height: 15px; +} +.btnDeposita +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnSposta +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRettifica +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #5454FF; + font-size: x-small; + font-weight: bold; + white-space: pre; + color: White; +} +.btnPreleva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRiattiva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnConferma +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnCellaPiena +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnBarcode +{ + display: block; + width: 80px; + height: 40px; + text-align: center; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudiInput +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaFusi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPre +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPost +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnUpdate +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; +} +.btnCancel +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAAAFF; + font-size: x-small; + font-weight: bold; +} + +/* classe generale per div dei bottoni */ + +.divButtons +{ + float: left; +} + + +/* bottoni homepage */ + +.btnBarcodeBigWide1 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #88FFFF; + font-weight: bold; + font-size: 20pt; + text-align: center; +} +.btnBarcodeBigWide2 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #FF88FF; + font-weight: bold; + font-size: 20pt; + text-align: center; +} +.btnBarcodeBigWide3 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #FFFF88; + font-weight: bold; + font-size: 20pt; + text-align: center; +} +.btnBarcodeBigWide4 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #F8F8F8; + font-weight: bold; + font-size: 20pt; + text-align: center; +} +.btnBarcodeBigWide5 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #44FF44; + font-weight: bold; + font-size: 20pt; + text-align: center; +} +.btnBarcodeBigWide6 +{ + width: 320px; + height: 140px; + border: solid 2px blue; + background-color: #FF4444; + font-weight: bold; + font-size: 20pt; + text-align: center; +} + +.btnBarcodeBig +{ + width: 95px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBarcodeBigWide +{ + width: 155px; + height: 80px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: nowrap; +} + +.btnSearchBig +{ + width: 95px; + height: 90px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-weight: bold; + white-space: pre; +} + +.btnCaricaBig +{ + width: 95px; + height: 90px; + border: solid 2px #99DD99; + background-color: #AAFFAA; + font-weight: bold; + white-space: pre; +} + +.btnScaricaBig +{ + width: 95px; + height: 90px; + border: solid 2px #FF6666; + background-color: #FFAA88; + font-weight: bold; + white-space: pre; +} + +.btnListBig +{ + width: 95px; + height: 90px; + border: solid 2px #BBBB33; + background-color: #FFFF00; + font-weight: bold; + white-space: pre; +} +.btnListBigWide +{ + width: 190px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: nowrap; +} + + +.btnTaskBig +{ + width: 95px; + height: 90px; + border: solid 2px green; + background-color: #AAFFAA; + font-weight: bold; + white-space: pre; +} + +.btnHome +{ + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnLogout +{ + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFAAAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnShowPeriodo +{ + height: 40px; + border: solid 2px Orange; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnBarcodeSmall +{ + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} + +.btnPrendiInCarico +{ + width: 140px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnCarica +{ + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnScarica +{ + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFAAAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.errore +{ + color: Red; + font-weight: bold; +} +.divSx +{ + float: left; +} +.divDx +{ + float: right; +} diff --git a/project/XPST/Web.Debug.config b/XPST/Web.Debug.config similarity index 100% rename from project/XPST/Web.Debug.config rename to XPST/Web.Debug.config diff --git a/project/XPST/Web.EQUA.config b/XPST/Web.EQUA.config similarity index 100% rename from project/XPST/Web.EQUA.config rename to XPST/Web.EQUA.config diff --git a/project/XPST/Web.Release.config b/XPST/Web.Release.config similarity index 100% rename from project/XPST/Web.Release.config rename to XPST/Web.Release.config diff --git a/project/XPST/Web.config b/XPST/Web.config similarity index 97% rename from project/XPST/Web.config rename to XPST/Web.config index c6bba65..95f497a 100644 --- a/project/XPST/Web.config +++ b/XPST/Web.config @@ -1,182 +1,182 @@ - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/XPST/WebMasterPages/CompactBCode.Master b/XPST/WebMasterPages/CompactBCode.Master similarity index 97% rename from project/XPST/WebMasterPages/CompactBCode.Master rename to XPST/WebMasterPages/CompactBCode.Master index a2db04e..3d439d8 100644 --- a/project/XPST/WebMasterPages/CompactBCode.Master +++ b/XPST/WebMasterPages/CompactBCode.Master @@ -1,50 +1,50 @@ -<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="CompactBCode.master.cs" Inherits="XPST.WebMasterPages.CompactBCode" %> - -<%@ Register Src="../WebUserControls/mod_menuTopCompact.ascx" TagName="mod_menuTopCompact" TagPrefix="uc1" %> -<%@ Register Src="../WebUserControls/mod_footer.ascx" TagName="mod_footer" TagPrefix="uc2" %> - - - - XPST BarCode - - - - - - <%----%> - - - - -
-
-
- -
- -
-
- - -
-
- -
-
- - - +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="CompactBCode.master.cs" Inherits="XPST.WebMasterPages.CompactBCode" %> + +<%@ Register Src="../WebUserControls/mod_menuTopCompact.ascx" TagName="mod_menuTopCompact" TagPrefix="uc1" %> +<%@ Register Src="../WebUserControls/mod_footer.ascx" TagName="mod_footer" TagPrefix="uc2" %> + + + + XPST BarCode + + + + + + <%----%> + + + + +
+
+
+ +
+ +
+
+ + +
+
+ +
+
+ + + diff --git a/project/XPST/WebMasterPages/CompactBCode.Master.cs b/XPST/WebMasterPages/CompactBCode.Master.cs similarity index 95% rename from project/XPST/WebMasterPages/CompactBCode.Master.cs rename to XPST/WebMasterPages/CompactBCode.Master.cs index 2837137..aa5a10d 100644 --- a/project/XPST/WebMasterPages/CompactBCode.Master.cs +++ b/XPST/WebMasterPages/CompactBCode.Master.cs @@ -1,17 +1,17 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace XPST.WebMasterPages -{ - public partial class CompactBCode : System.Web.UI.MasterPage - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace XPST.WebMasterPages +{ + public partial class CompactBCode : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/project/XPST/WebMasterPages/CompactBCode.Master.designer.cs b/XPST/WebMasterPages/CompactBCode.Master.designer.cs similarity index 97% rename from project/XPST/WebMasterPages/CompactBCode.Master.designer.cs rename to XPST/WebMasterPages/CompactBCode.Master.designer.cs index 787a01f..b870cb5 100644 --- a/project/XPST/WebMasterPages/CompactBCode.Master.designer.cs +++ b/XPST/WebMasterPages/CompactBCode.Master.designer.cs @@ -1,69 +1,69 @@ -//------------------------------------------------------------------------------ -// -// 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 XPST.WebMasterPages { - - - public partial class CompactBCode { - - /// - /// Head1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlHead Head1; - - /// - /// head control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder head; - - /// - /// 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; - - /// - /// mod_menuTopCompact1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::XPST.WebUserControls.mod_menuTopCompact mod_menuTopCompact1; - - /// - /// body control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder body; - - /// - /// mod_footer1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::GPW.WebUserControls.mod_footer mod_footer1; - } -} +//------------------------------------------------------------------------------ +// +// 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 XPST.WebMasterPages { + + + public partial class CompactBCode { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// head control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder head; + + /// + /// 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; + + /// + /// mod_menuTopCompact1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::XPST.WebUserControls.mod_menuTopCompact mod_menuTopCompact1; + + /// + /// body control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder body; + + /// + /// mod_footer1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GPW.WebUserControls.mod_footer mod_footer1; + } +} diff --git a/project/XPST/WebUserControls/mod_barcode.ascx b/XPST/WebUserControls/mod_barcode.ascx similarity index 98% rename from project/XPST/WebUserControls/mod_barcode.ascx rename to XPST/WebUserControls/mod_barcode.ascx index 8130d67..a5a6f89 100644 --- a/project/XPST/WebUserControls/mod_barcode.ascx +++ b/XPST/WebUserControls/mod_barcode.ascx @@ -1,27 +1,27 @@ -<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPST.WebUserControls.mod_barcode" CodeBehind="mod_barcode.ascx.cs" %> -
-
-
- -
-
- -
-
-
-
-
- -
- -
-
- -
-
- -
- -
-
-
+<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPST.WebUserControls.mod_barcode" CodeBehind="mod_barcode.ascx.cs" %> +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/project/XPST/WebUserControls/mod_barcode.ascx.cs b/XPST/WebUserControls/mod_barcode.ascx.cs similarity index 96% rename from project/XPST/WebUserControls/mod_barcode.ascx.cs rename to XPST/WebUserControls/mod_barcode.ascx.cs index b6e8389..6c7397e 100644 --- a/project/XPST/WebUserControls/mod_barcode.ascx.cs +++ b/XPST/WebUserControls/mod_barcode.ascx.cs @@ -1,262 +1,262 @@ -using System; -using System.Collections.Generic; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using SteamWare; - -namespace XPST.WebUserControls -{ - public partial class mod_barcode : System.Web.UI.UserControl - { - #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 inputComando comando - { - get - { - inputComando answ; - if (memLayer.ML.isInSessionObject("barcodeCmd")) - { - answ = (inputComando)memLayer.ML.objSessionObj("barcodeCmd"); - } - else - { - answ = new inputComando(); - } - return answ; - } - set - { - memLayer.ML.setSessionVal("barcodeCmd", value, false); - } - } - /// - /// al caricamento della pagina... - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) - { - DetectAgent(); - myInitialize(); - } - /// - /// inizializzazione specifica barcode - /// - private void myInitialize() - { - lblInput.Text = traduci("PregoInserireBarcode"); - if (!Page.IsPostBack) comando = new inputComando(); - txtInput.Focus(); - } - /// - /// barcode completato con invio... - /// - /// - /// - protected void txtInput_TextChanged(object sender, EventArgs e) - { - processInput(); - } - - private void processInput() - { - // verifico se sia un comando o un valore valido... - isInputEvent(); - isValore(); - // verifico se c'è stato input evento - if (comando.isValid) - { - if (comando.currCmdIn != "") - { - 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 = txtInput.Text; - comando = new inputComando(); - } - txtInput.Text = ""; - } - /// - /// verifico se sia un valore compreso nell'elenco fornito - /// - private void isValore() - { - if (_tabValori.ContainsKey(txtInput.Text)) // verifico se il comando digitato esista... - { - comando.isValid = true; - comando.valore = txtInput.Text; - _tabValori.TryGetValue(txtInput.Text, out comando.valoreTrad); - } - } - /// - /// verifica se il comando inserito sia valido - /// - private void isInputEvent() - { - if (_comandi.ContainsKey(txtInput.Text)) // verifico se il comando digitato esista... - { - comando.isValid = true; - // salvo comando precedente (se c'è...) - comando.prevCmdIn = comando.currCmdIn; - comando.descrComandoPrev = comando.descrComando; - comando.currCmdIn = txtInput.Text; - _comandi.TryGetValue(txtInput.Text, 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() - { - txtInput.Text = 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; - /// - /// comando registrato dal barcode - /// - public 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 inputComando(); - txtInput2show = "Prego inserire barcode"; - txtVal2show = ""; - txtRich2show = ""; - } - /// - /// wrapper traduzione termini - /// - /// - /// - public string traduci(string lemma) - { - return user_std.UtSn.Traduci(lemma); - } - - #endregion - } +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace XPST.WebUserControls +{ + public partial class mod_barcode : System.Web.UI.UserControl + { + #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 inputComando comando + { + get + { + inputComando answ; + if (memLayer.ML.isInSessionObject("barcodeCmd")) + { + answ = (inputComando)memLayer.ML.objSessionObj("barcodeCmd"); + } + else + { + answ = new inputComando(); + } + return answ; + } + set + { + memLayer.ML.setSessionVal("barcodeCmd", value, false); + } + } + /// + /// al caricamento della pagina... + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + DetectAgent(); + myInitialize(); + } + /// + /// inizializzazione specifica barcode + /// + private void myInitialize() + { + lblInput.Text = traduci("PregoInserireBarcode"); + if (!Page.IsPostBack) comando = new inputComando(); + txtInput.Focus(); + } + /// + /// barcode completato con invio... + /// + /// + /// + protected void txtInput_TextChanged(object sender, EventArgs e) + { + processInput(); + } + + private void processInput() + { + // verifico se sia un comando o un valore valido... + isInputEvent(); + isValore(); + // verifico se c'è stato input evento + if (comando.isValid) + { + if (comando.currCmdIn != "") + { + 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 = txtInput.Text; + comando = new inputComando(); + } + txtInput.Text = ""; + } + /// + /// verifico se sia un valore compreso nell'elenco fornito + /// + private void isValore() + { + if (_tabValori.ContainsKey(txtInput.Text)) // verifico se il comando digitato esista... + { + comando.isValid = true; + comando.valore = txtInput.Text; + _tabValori.TryGetValue(txtInput.Text, out comando.valoreTrad); + } + } + /// + /// verifica se il comando inserito sia valido + /// + private void isInputEvent() + { + if (_comandi.ContainsKey(txtInput.Text)) // verifico se il comando digitato esista... + { + comando.isValid = true; + // salvo comando precedente (se c'è...) + comando.prevCmdIn = comando.currCmdIn; + comando.descrComandoPrev = comando.descrComando; + comando.currCmdIn = txtInput.Text; + _comandi.TryGetValue(txtInput.Text, 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() + { + txtInput.Text = 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; + /// + /// comando registrato dal barcode + /// + public 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 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/project/XPST/WebUserControls/mod_barcode.ascx.designer.cs b/XPST/WebUserControls/mod_barcode.ascx.designer.cs similarity index 97% rename from project/XPST/WebUserControls/mod_barcode.ascx.designer.cs rename to XPST/WebUserControls/mod_barcode.ascx.designer.cs index b301ee5..ad661b4 100644 --- a/project/XPST/WebUserControls/mod_barcode.ascx.designer.cs +++ b/XPST/WebUserControls/mod_barcode.ascx.designer.cs @@ -1,78 +1,78 @@ -//------------------------------------------------------------------------------ -// -// 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 XPST.WebUserControls { - - - public partial class mod_barcode { - - /// - /// txtInput control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtInput; - - /// - /// 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; - - /// - /// pnlBarcodeBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel pnlBarcodeBox; - - /// - /// lblInput control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblInput; - - /// - /// lblValore control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblValore; - - /// - /// lblRichiesta control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblRichiesta; - - /// - /// lblBrowser control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblBrowser; - } -} +//------------------------------------------------------------------------------ +// +// 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 XPST.WebUserControls { + + + public partial class mod_barcode { + + /// + /// txtInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInput; + + /// + /// 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; + + /// + /// pnlBarcodeBox control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlBarcodeBox; + + /// + /// lblInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInput; + + /// + /// lblValore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblValore; + + /// + /// lblRichiesta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblRichiesta; + + /// + /// lblBrowser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBrowser; + } +} diff --git a/project/XPST/WebUserControls/mod_btnComandi.ascx b/XPST/WebUserControls/mod_btnComandi.ascx similarity index 98% rename from project/XPST/WebUserControls/mod_btnComandi.ascx rename to XPST/WebUserControls/mod_btnComandi.ascx index 9a52a94..fc4cdb5 100644 --- a/project/XPST/WebUserControls/mod_btnComandi.ascx +++ b/XPST/WebUserControls/mod_btnComandi.ascx @@ -1,25 +1,25 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_btnComandi.ascx.cs" Inherits="XPST.WebUserControls.mod_btnComandi" %> -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_btnComandi.ascx.cs" Inherits="XPST.WebUserControls.mod_btnComandi" %> +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
diff --git a/project/XPST/WebUserControls/mod_btnComandi.ascx.cs b/XPST/WebUserControls/mod_btnComandi.ascx.cs similarity index 97% rename from project/XPST/WebUserControls/mod_btnComandi.ascx.cs rename to XPST/WebUserControls/mod_btnComandi.ascx.cs index 3a4dabe..aa5da41 100644 --- a/project/XPST/WebUserControls/mod_btnComandi.ascx.cs +++ b/XPST/WebUserControls/mod_btnComandi.ascx.cs @@ -1,298 +1,298 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using SteamWare; -using XPS_data; - -namespace XPST.WebUserControls -{ - public partial class mod_btnComandi : System.Web.UI.UserControl - { - /// - /// evento comando clicked - /// - public event EventHandler eh_clickComando; - - protected void Page_Load(object sender, EventArgs e) - { - setupComandiBarcode(); - disegnaBtn(); - } - /// - /// effettua disegno dei buttons - /// - private void disegnaBtn() - { - // carico i comandi nei buttons - btn1.Text = comandiAmmessi["04"]; - btn2.Text = comandiAmmessi["05"]; - btn3.Text = comandiAmmessi["06"]; - btn4.Text = comandiAmmessi["07"]; - btn5.Text = comandiAmmessi["ok"]; - btn6.Text = comandiAmmessi["ko"]; - updateBtn(); - } - /// - /// Aggiorna stato buttons - /// - public void updateBtn() - { - // determino visibilità btn4: SOLO se ho un UDC valido ed è in stato 05... - int currState = 0; - bool emailReq = false; - string emailSent = ""; - string emailDest = ""; - string CodCliente = ""; - DS_applicazione.IstObjRow rigaIstObj; - // calcolo lo stato dell'oggetto... - try - { - rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; - currState = Convert.ToInt32(rigaIstObj.CodStato); - emailReq = rigaIstObj.emailReq; - CodCliente = rigaIstObj.CodCliente; - emailDest = XPS_data.XPS.obj.taAnCli.getByKey(CodCliente)[0].email; - } - catch - { } - try - { - rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; - emailSent = rigaIstObj.emailSent.ToString("dd/MM/yy HH:mm"); - } - catch - { } - - switch (currState) - { - case 1: - case 2: - case 3: - btn1.Enabled = true; - btn2.Enabled = false; - btn3.Enabled = false; - btn4.Enabled = false; - break; - case 4: - btn1.Enabled = false; - btn2.Enabled = true; - btn3.Enabled = false; - btn4.Enabled = false; - break; - case 5: - btn1.Enabled = false; - btn2.Enabled = false; - btn3.Enabled = true; - btn4.Enabled = true; - break; - case 6: - btn1.Enabled = false; - btn2.Enabled = false; - btn3.Enabled = false; - btn4.Enabled = true; - break; - case 7: - btn1.Enabled = false; - btn2.Enabled = false; - btn3.Enabled = false; - btn4.Enabled = true; - break; - default: - btn1.Enabled = false; - btn2.Enabled = false; - btn3.Enabled = false; - btn4.Enabled = false; - break; - } - - if (currState >= 5) - { - // controllo se c'è email del cliente... - if (emailDest != "") - { - btn4.Enabled = true; - } - else - { - btn4.Enabled = false; - } - // controllo se era indicato email richiesta! - if (emailReq) - { - btn4.Text = string.Format("{0}{1}{2}", comandiAmmessi["07"], Environment.NewLine, user_std.UtSn.Traduci("emailReq")); - } - // controllo se mai spedita email... - if (emailSent != "") - { - btn4.Text += string.Format("{0}{1}: {2}", Environment.NewLine, user_std.UtSn.Traduci("emailSent"), emailSent); - } - } - // se autoconferma nascondo button conferma... - if (memLayer.ML.confReadBool("autoConfCmd")) - { - btn5.Visible = false; - } - else - { - btn5.Visible = true; - } - } - /// - /// carico da tab i comandi ammessi per il barcode... - /// - private void setupComandiBarcode() - { - XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); - DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC"); - Dictionary comandi = new Dictionary(); - foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran) - { - comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show)); - } - // impongo i comandi al barcode... - comandiAmmessi = comandi; - } - /// - /// dictionary comandi ammessi - /// - protected Dictionary _comandi = new Dictionary(); - /// - /// elenco dei comandi riconosciuti - /// - public Dictionary comandiAmmessi - { - get - { - return _comandi; - } - set - { - _comandi = value; - } - } - /// - /// segnala click su button comando - /// - public void segnalaClick() - { - if (eh_clickComando != null) - { - eh_clickComando(this, new EventArgs()); - } - - } - - protected void btn1_Click(object sender, EventArgs e) - { - memLayer.ML.setSessionVal("btnCmdPress", "04", false); - segnalaClick(); - } - protected void btn2_Click(object sender, EventArgs e) - { - memLayer.ML.setSessionVal("btnCmdPress", "05", false); - segnalaClick(); - } - protected void btn3_Click(object sender, EventArgs e) - { - memLayer.ML.setSessionVal("btnCmdPress", "06", false); - segnalaClick(); - } - protected void btn4_Click(object sender, EventArgs e) - { - // mi limito a mandare email e non segnalo altro... carico dati! - // determino visibilità btn4: SOLO se ho un UDC valido ed è in stato 05... - int currState = 0; - bool emailReq = false; - string emailSent = ""; - string emailDest = ""; - string CodCliente = ""; - string ddt = ""; - string dataRif = ""; - string descr = ""; - string peso = ""; - DS_applicazione.IstObjRow rigaIstObj = null; - // calcolo lo stato dell'oggetto... - try - { - rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; - currState = Convert.ToInt32(rigaIstObj.CodStato); - emailReq = rigaIstObj.emailReq; - CodCliente = rigaIstObj.CodCliente; - emailDest = XPS_data.XPS.obj.taAnCli.getByKey(CodCliente)[0].email; - } - catch - { } - try - { - rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; - emailSent = rigaIstObj.emailSent.ToString("dd/MM/yy HH:mm"); - } - catch - { } - try - { - ddt = rigaIstObj.Nome; - dataRif = rigaIstObj.DataRif.ToString("dd/MM/yy HH:mm"); - descr = rigaIstObj.Note; - peso = rigaIstObj.Peso.ToString(); - } - catch - { - ddt = "n.d."; - dataRif = "n.d."; - descr = "n.d."; - peso = "n.d."; - } - if (currState >= 5 && emailDest != "") - { - // invio email - string subject = user_std.UtSn.Traduci("emailSubject"); - string corpo = string.Format(user_std.UtSn.Traduci("emailBody"), ddt, dataRif, descr, peso); //'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo' - bool fatto = gestEmail.geAuth.mandaEmail(memLayer.ML.confReadString("_emailUser"), emailDest, subject, corpo); - if (fatto) - { - // aggiorno stato obj - XPS.obj.taObj.updateEmailSent(comando.valore); - } - } - updateBtn(); -#if false - memLayer.ML.setSessionVal("btnCmdPress", "07", false); - segnalaClick(); -#endif - } - protected void btn5_Click(object sender, EventArgs e) - { - memLayer.ML.setSessionVal("btnCmdPress", "ok", false); - segnalaClick(); - } - protected void btn6_Click(object sender, EventArgs e) - { - memLayer.ML.setSessionVal("btnCmdPress", "ko", false); - segnalaClick(); - } - - /// - /// oggetto comando locale alla classe - /// - protected inputComando comando - { - get - { - inputComando answ; - if (memLayer.ML.isInSessionObject("barcodeCmd")) - { - answ = (inputComando)memLayer.ML.objSessionObj("barcodeCmd"); - } - else - { - answ = new inputComando(); - } - return answ; - } - } - } +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using XPS_data; + +namespace XPST.WebUserControls +{ + public partial class mod_btnComandi : System.Web.UI.UserControl + { + /// + /// evento comando clicked + /// + public event EventHandler eh_clickComando; + + protected void Page_Load(object sender, EventArgs e) + { + setupComandiBarcode(); + disegnaBtn(); + } + /// + /// effettua disegno dei buttons + /// + private void disegnaBtn() + { + // carico i comandi nei buttons + btn1.Text = comandiAmmessi["04"]; + btn2.Text = comandiAmmessi["05"]; + btn3.Text = comandiAmmessi["06"]; + btn4.Text = comandiAmmessi["07"]; + btn5.Text = comandiAmmessi["ok"]; + btn6.Text = comandiAmmessi["ko"]; + updateBtn(); + } + /// + /// Aggiorna stato buttons + /// + public void updateBtn() + { + // determino visibilità btn4: SOLO se ho un UDC valido ed è in stato 05... + int currState = 0; + bool emailReq = false; + string emailSent = ""; + string emailDest = ""; + string CodCliente = ""; + DS_applicazione.IstObjRow rigaIstObj; + // calcolo lo stato dell'oggetto... + try + { + rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; + currState = Convert.ToInt32(rigaIstObj.CodStato); + emailReq = rigaIstObj.emailReq; + CodCliente = rigaIstObj.CodCliente; + emailDest = XPS_data.XPS.obj.taAnCli.getByKey(CodCliente)[0].email; + } + catch + { } + try + { + rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; + emailSent = rigaIstObj.emailSent.ToString("dd/MM/yy HH:mm"); + } + catch + { } + + switch (currState) + { + case 1: + case 2: + case 3: + btn1.Enabled = true; + btn2.Enabled = false; + btn3.Enabled = false; + btn4.Enabled = false; + break; + case 4: + btn1.Enabled = false; + btn2.Enabled = true; + btn3.Enabled = false; + btn4.Enabled = false; + break; + case 5: + btn1.Enabled = false; + btn2.Enabled = false; + btn3.Enabled = true; + btn4.Enabled = true; + break; + case 6: + btn1.Enabled = false; + btn2.Enabled = false; + btn3.Enabled = false; + btn4.Enabled = true; + break; + case 7: + btn1.Enabled = false; + btn2.Enabled = false; + btn3.Enabled = false; + btn4.Enabled = true; + break; + default: + btn1.Enabled = false; + btn2.Enabled = false; + btn3.Enabled = false; + btn4.Enabled = false; + break; + } + + if (currState >= 5) + { + // controllo se c'è email del cliente... + if (emailDest != "") + { + btn4.Enabled = true; + } + else + { + btn4.Enabled = false; + } + // controllo se era indicato email richiesta! + if (emailReq) + { + btn4.Text = string.Format("{0}{1}{2}", comandiAmmessi["07"], Environment.NewLine, user_std.UtSn.Traduci("emailReq")); + } + // controllo se mai spedita email... + if (emailSent != "") + { + btn4.Text += string.Format("{0}{1}: {2}", Environment.NewLine, user_std.UtSn.Traduci("emailSent"), emailSent); + } + } + // se autoconferma nascondo button conferma... + if (memLayer.ML.confReadBool("autoConfCmd")) + { + btn5.Visible = false; + } + else + { + btn5.Visible = true; + } + } + /// + /// carico da tab i comandi ammessi per il barcode... + /// + private void setupComandiBarcode() + { + XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); + DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC"); + Dictionary comandi = new Dictionary(); + foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran) + { + comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show)); + } + // impongo i comandi al barcode... + comandiAmmessi = comandi; + } + /// + /// dictionary comandi ammessi + /// + protected Dictionary _comandi = new Dictionary(); + /// + /// elenco dei comandi riconosciuti + /// + public Dictionary comandiAmmessi + { + get + { + return _comandi; + } + set + { + _comandi = value; + } + } + /// + /// segnala click su button comando + /// + public void segnalaClick() + { + if (eh_clickComando != null) + { + eh_clickComando(this, new EventArgs()); + } + + } + + protected void btn1_Click(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("btnCmdPress", "04", false); + segnalaClick(); + } + protected void btn2_Click(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("btnCmdPress", "05", false); + segnalaClick(); + } + protected void btn3_Click(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("btnCmdPress", "06", false); + segnalaClick(); + } + protected void btn4_Click(object sender, EventArgs e) + { + // mi limito a mandare email e non segnalo altro... carico dati! + // determino visibilità btn4: SOLO se ho un UDC valido ed è in stato 05... + int currState = 0; + bool emailReq = false; + string emailSent = ""; + string emailDest = ""; + string CodCliente = ""; + string ddt = ""; + string dataRif = ""; + string descr = ""; + string peso = ""; + DS_applicazione.IstObjRow rigaIstObj = null; + // calcolo lo stato dell'oggetto... + try + { + rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; + currState = Convert.ToInt32(rigaIstObj.CodStato); + emailReq = rigaIstObj.emailReq; + CodCliente = rigaIstObj.CodCliente; + emailDest = XPS_data.XPS.obj.taAnCli.getByKey(CodCliente)[0].email; + } + catch + { } + try + { + rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(comando.valore)[0]; + emailSent = rigaIstObj.emailSent.ToString("dd/MM/yy HH:mm"); + } + catch + { } + try + { + ddt = rigaIstObj.Nome; + dataRif = rigaIstObj.DataRif.ToString("dd/MM/yy HH:mm"); + descr = rigaIstObj.Note; + peso = rigaIstObj.Peso.ToString(); + } + catch + { + ddt = "n.d."; + dataRif = "n.d."; + descr = "n.d."; + peso = "n.d."; + } + if (currState >= 5 && emailDest != "") + { + // invio email + string subject = user_std.UtSn.Traduci("emailSubject"); + string corpo = string.Format(user_std.UtSn.Traduci("emailBody"), ddt, dataRif, descr, peso); //'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo' + bool fatto = gestEmail.geAuth.mandaEmail(memLayer.ML.confReadString("_emailUser"), emailDest, subject, corpo); + if (fatto) + { + // aggiorno stato obj + XPS.obj.taObj.updateEmailSent(comando.valore); + } + } + updateBtn(); +#if false + memLayer.ML.setSessionVal("btnCmdPress", "07", false); + segnalaClick(); +#endif + } + protected void btn5_Click(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("btnCmdPress", "ok", false); + segnalaClick(); + } + protected void btn6_Click(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("btnCmdPress", "ko", false); + segnalaClick(); + } + + /// + /// oggetto comando locale alla classe + /// + protected inputComando comando + { + get + { + inputComando answ; + if (memLayer.ML.isInSessionObject("barcodeCmd")) + { + answ = (inputComando)memLayer.ML.objSessionObj("barcodeCmd"); + } + else + { + answ = new inputComando(); + } + return answ; + } + } + } } \ No newline at end of file diff --git a/project/XPST/WebUserControls/mod_btnComandi.ascx.designer.cs b/XPST/WebUserControls/mod_btnComandi.ascx.designer.cs similarity index 97% rename from project/XPST/WebUserControls/mod_btnComandi.ascx.designer.cs rename to XPST/WebUserControls/mod_btnComandi.ascx.designer.cs index c724a3d..b1872b3 100644 --- a/project/XPST/WebUserControls/mod_btnComandi.ascx.designer.cs +++ b/XPST/WebUserControls/mod_btnComandi.ascx.designer.cs @@ -1,69 +1,69 @@ -//------------------------------------------------------------------------------ -// -// 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 XPST.WebUserControls { - - - public partial class mod_btnComandi { - - /// - /// btn1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn1; - - /// - /// btn2 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn2; - - /// - /// btn3 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn3; - - /// - /// btn4 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn4; - - /// - /// btn5 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn5; - - /// - /// btn6 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btn6; - } -} +//------------------------------------------------------------------------------ +// +// 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 XPST.WebUserControls { + + + public partial class mod_btnComandi { + + /// + /// btn1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn1; + + /// + /// btn2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn2; + + /// + /// btn3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn3; + + /// + /// btn4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn4; + + /// + /// btn5 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn5; + + /// + /// btn6 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn6; + } +} diff --git a/project/XPST/WebUserControls/mod_footer.ascx b/XPST/WebUserControls/mod_footer.ascx similarity index 100% rename from project/XPST/WebUserControls/mod_footer.ascx rename to XPST/WebUserControls/mod_footer.ascx diff --git a/project/XPST/WebUserControls/mod_footer.ascx.cs b/XPST/WebUserControls/mod_footer.ascx.cs similarity index 100% rename from project/XPST/WebUserControls/mod_footer.ascx.cs rename to XPST/WebUserControls/mod_footer.ascx.cs diff --git a/project/XPST/WebUserControls/mod_footer.ascx.designer.cs b/XPST/WebUserControls/mod_footer.ascx.designer.cs similarity index 100% rename from project/XPST/WebUserControls/mod_footer.ascx.designer.cs rename to XPST/WebUserControls/mod_footer.ascx.designer.cs diff --git a/project/XPST/WebUserControls/mod_login.ascx b/XPST/WebUserControls/mod_login.ascx similarity index 100% rename from project/XPST/WebUserControls/mod_login.ascx rename to XPST/WebUserControls/mod_login.ascx diff --git a/project/XPST/WebUserControls/mod_login.ascx.cs b/XPST/WebUserControls/mod_login.ascx.cs similarity index 100% rename from project/XPST/WebUserControls/mod_login.ascx.cs rename to XPST/WebUserControls/mod_login.ascx.cs diff --git a/project/XPST/WebUserControls/mod_login.ascx.designer.cs b/XPST/WebUserControls/mod_login.ascx.designer.cs similarity index 100% rename from project/XPST/WebUserControls/mod_login.ascx.designer.cs rename to XPST/WebUserControls/mod_login.ascx.designer.cs diff --git a/project/XPST/WebUserControls/mod_menuTopCompact.ascx b/XPST/WebUserControls/mod_menuTopCompact.ascx similarity index 98% rename from project/XPST/WebUserControls/mod_menuTopCompact.ascx rename to XPST/WebUserControls/mod_menuTopCompact.ascx index d511a60..120132c 100644 --- a/project/XPST/WebUserControls/mod_menuTopCompact.ascx +++ b/XPST/WebUserControls/mod_menuTopCompact.ascx @@ -1,4 +1,4 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTopCompact.ascx.cs" Inherits="XPST.WebUserControls.mod_menuTopCompact" %> -
- -
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTopCompact.ascx.cs" Inherits="XPST.WebUserControls.mod_menuTopCompact" %> +
+ +
diff --git a/project/XPST/WebUserControls/mod_menuTopCompact.ascx.cs b/XPST/WebUserControls/mod_menuTopCompact.ascx.cs similarity index 96% rename from project/XPST/WebUserControls/mod_menuTopCompact.ascx.cs rename to XPST/WebUserControls/mod_menuTopCompact.ascx.cs index 07c3afa..3d07727 100644 --- a/project/XPST/WebUserControls/mod_menuTopCompact.ascx.cs +++ b/XPST/WebUserControls/mod_menuTopCompact.ascx.cs @@ -1,18 +1,18 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using SteamWare; - -namespace XPST.WebUserControls -{ - public partial class mod_menuTopCompact : System.Web.UI.UserControl - { - protected void Page_Load(object sender, EventArgs e) - { - lblTitolo.Text = memLayer.ML.confReadString("appName"); - } - } +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace XPST.WebUserControls +{ + public partial class mod_menuTopCompact : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + lblTitolo.Text = memLayer.ML.confReadString("appName"); + } + } } \ No newline at end of file diff --git a/project/XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs b/XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs similarity index 97% rename from project/XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs rename to XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs index 044dd54..2941421 100644 --- a/project/XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs +++ b/XPST/WebUserControls/mod_menuTopCompact.ascx.designer.cs @@ -1,24 +1,24 @@ -//------------------------------------------------------------------------------ -// -// 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 XPST.WebUserControls { - - - public partial class mod_menuTopCompact { - - /// - /// 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; - } -} +//------------------------------------------------------------------------------ +// +// 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 XPST.WebUserControls { + + + public partial class mod_menuTopCompact { + + /// + /// 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; + } +} diff --git a/project/XPST/XPST.Publish.xml b/XPST/XPST.Publish.xml similarity index 99% rename from project/XPST/XPST.Publish.xml rename to XPST/XPST.Publish.xml index e3eaf8e..3215d60 100644 --- a/project/XPST/XPST.Publish.xml +++ b/XPST/XPST.Publish.xml @@ -1,4 +1,4 @@ - - - + + + \ No newline at end of file diff --git a/project/XPST/XPST.csproj b/XPST/XPST.csproj similarity index 96% rename from project/XPST/XPST.csproj rename to XPST/XPST.csproj index 6aa7574..4247a55 100644 --- a/project/XPST/XPST.csproj +++ b/XPST/XPST.csproj @@ -1,289 +1,290 @@ - - - - bin\ - - - true - pdbonly - AnyCPU - bin\XPST.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 - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - true - true - Sito Web Predefinito/XPST - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - XPST - XPST - v4.0 - - - 3.5 - - false - - - - - - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - Default Web Site/XPST - - - pdbonly - true - bin\ - - - prompt - 4 - AllRules.ruleset - true - true - - - - ..\packages\AjaxMin.4.78.4724.23869\lib\net35\AjaxMin.dll - - - False - ..\..\..\..\..\..\..\Library\FleskAccelerator\bin\Release\Flesk.Accelerator.dll - - - False - ..\..\..\..\..\..\..\Library\FleskViewStateOptimizer\bin\Release\Flesk.ViewState.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - - - - barcode.aspx - ASPXCodeBehind - - - barcode.aspx - - - Default.aspx - ASPXCodeBehind - - - Default.aspx - - - forceUser.aspx - ASPXCodeBehind - - - forceUser.aspx - - - login.aspx - ASPXCodeBehind - - - login.aspx - - - - unauthorized.aspx - ASPXCodeBehind - - - unauthorized.aspx - - - CompactBCode.Master - ASPXCodeBehind - - - CompactBCode.Master - - - mod_barcode.ascx - ASPXCodeBehind - - - mod_barcode.ascx - - - mod_btnComandi.ascx - ASPXCodeBehind - - - mod_btnComandi.ascx - - - mod_footer.ascx - ASPXCodeBehind - - - mod_footer.ascx - - - mod_login.ascx - ASPXCodeBehind - - - mod_login.ascx - - - mod_menuTopCompact.ascx - ASPXCodeBehind - - - mod_menuTopCompact.ascx - - - - - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} - SteamWare - - - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF} - XPS_data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Web.config - - - - - Web.config - - - - - Web.config - - - - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - - - - - - False - True - 10915 - / - - - False - False - - - False - - - - + + + + bin\ + + + true + pdbonly + AnyCPU + bin\XPST.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 + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + true + true + Sito Web Predefinito/XPST + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + XPST + XPST + v4.0 + + + 3.5 + + false + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + Default Web Site/XPST + + + pdbonly + true + bin\ + + + prompt + 4 + AllRules.ruleset + true + true + + + + ..\packages\AjaxMin.4.78.4724.23869\lib\net35\AjaxMin.dll + + + False + ..\..\..\..\..\..\..\Library\FleskAccelerator\bin\Release\Flesk.Accelerator.dll + + + False + ..\..\..\..\..\..\..\Library\FleskViewStateOptimizer\bin\Release\Flesk.ViewState.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + + + + + + barcode.aspx + ASPXCodeBehind + + + barcode.aspx + + + Default.aspx + ASPXCodeBehind + + + Default.aspx + + + forceUser.aspx + ASPXCodeBehind + + + forceUser.aspx + + + login.aspx + ASPXCodeBehind + + + login.aspx + + + + unauthorized.aspx + ASPXCodeBehind + + + unauthorized.aspx + + + CompactBCode.Master + ASPXCodeBehind + + + CompactBCode.Master + + + mod_barcode.ascx + ASPXCodeBehind + + + mod_barcode.ascx + + + mod_btnComandi.ascx + ASPXCodeBehind + + + mod_btnComandi.ascx + + + mod_footer.ascx + ASPXCodeBehind + + + mod_footer.ascx + + + mod_login.ascx + ASPXCodeBehind + + + mod_login.ascx + + + mod_menuTopCompact.ascx + ASPXCodeBehind + + + mod_menuTopCompact.ascx + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF} + XPS_data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + + + Web.config + + + + + Web.config + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + + False + True + 10915 + / + + + False + False + + + False + + + + \ No newline at end of file diff --git a/project/XPST/XPST.csproj.user b/XPST/XPST.csproj.user similarity index 91% rename from project/XPST/XPST.csproj.user rename to XPST/XPST.csproj.user index 76dd43b..62b189d 100644 --- a/project/XPST/XPST.csproj.user +++ b/XPST/XPST.csproj.user @@ -1,31 +1,32 @@ - - - - ProjectFiles - 218 - - - - - - Default.aspx - SpecificPage - True - False - False - False - - - - - - - - - False - True - - - - + + + + ProjectFiles + IIS02 + false + + + + + + Default.aspx + SpecificPage + True + False + False + False + + + + + + + + + False + True + + + + \ No newline at end of file diff --git a/project/XPST/barcode.aspx b/XPST/barcode.aspx similarity index 98% rename from project/XPST/barcode.aspx rename to XPST/barcode.aspx index defd36e..0aa971c 100644 --- a/project/XPST/barcode.aspx +++ b/XPST/barcode.aspx @@ -1,9 +1,9 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" - AutoEventWireup="true" Inherits="barcode" CodeBehind="barcode.aspx.cs" %> - -<%@ Register Src="WebUserControls/mod_barcode.ascx" TagName="mod_barcode" TagPrefix="uc1" %> -<%@ Register src="WebUserControls/mod_btnComandi.ascx" tagname="mod_btnComandi" tagprefix="uc2" %> - - - - +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" + AutoEventWireup="true" Inherits="barcode" CodeBehind="barcode.aspx.cs" %> + +<%@ Register Src="WebUserControls/mod_barcode.ascx" TagName="mod_barcode" TagPrefix="uc1" %> +<%@ Register src="WebUserControls/mod_btnComandi.ascx" tagname="mod_btnComandi" tagprefix="uc2" %> + + + + diff --git a/project/XPST/barcode.aspx.cs b/XPST/barcode.aspx.cs similarity index 97% rename from project/XPST/barcode.aspx.cs rename to XPST/barcode.aspx.cs index bd9833b..af45de0 100644 --- a/project/XPST/barcode.aspx.cs +++ b/XPST/barcode.aspx.cs @@ -1,162 +1,162 @@ -using System; -using System.Collections.Generic; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using SteamWare; -using XPS_data; - -public partial class barcode : System.Web.UI.Page -{ - protected void Page_Load(object sender, EventArgs e) - { - traduciObj(); - setupComandiBarcode(); - setupValoriBarcode(); - mod_barcode1.eh_comandoRegistrato += new EventHandler(mod_barcode1_eh_comandoRegistrato); - mod_btnComandi1.eh_clickComando += new EventHandler(mod_btnComandi1_eh_clickComando); - } - /// - /// inviato un comando dai link buttons - /// - /// - /// - void mod_btnComandi1_eh_clickComando(object sender, EventArgs e) - { - // chiamo metodo caricamento comandi in modulo barcode... - mod_barcode1.loadBtnClickComando(); - } - - private void traduciObj() - { - } - /// - /// effettuo il setup dei valori ammessi x il barcode... - /// - private void setupValoriBarcode() - { - XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter taCommesse = new XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter(); - DS_applicazione.v_commesseDataTable _tabComm = taCommesse.GetData(); - Dictionary valori = new Dictionary(); - // aggiungo i DDT... - foreach (DS_applicazione.v_commesseRow riga in _tabComm) - { - // QUI formattazione campi mostrati a barcode - valori.Add(riga.Cod.ToString(), string.Format("{0} - {7}
{1} DDT {2} del {3:dd MMM yyyy}
{4} colli ({5} kg)
{6}", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Colli, riga.Peso, riga.Stato, riga.Ciclo)); - } - // ora aggiungo i singoli ULP... - XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter taULP = new XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter(); - DS_applicazione.v_ULPDataTable _tabUlp = taULP.GetData(); - // aggiungo colli (ULP)... - foreach (DS_applicazione.v_ULPRow riga in _tabUlp) - { - // QUI formattazione campi mostrati a barcode - valori.Add(riga.Cod.ToString(), string.Format("{0} - {7}
{1} DDT {2} del {3:dd MMM yyyy}
nr {4} items ({5} kg)
{6}", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Qta, riga.Peso, riga.Stato, riga.CodCli)); - } - // assegno valori al barcode... - mod_barcode1.tabValori = valori; - } - /// - /// carico da tab i comandi ammessi per il barcode... - /// - private void setupComandiBarcode() - { - XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); - DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC"); - Dictionary comandi = new Dictionary(); - foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran) - { - comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show)); - } - // impongo i comandi al barcode... - mod_barcode1.comandiAmmessi = comandi; - } - /// - /// il barcode ha registrato un evento... - /// - /// - /// - void mod_barcode1_eh_comandoRegistrato(object sender, EventArgs e) - { - switch (stateMachine.st.azioneComando(mod_barcode1.comandoRegistrato)) - { - case tipoAzione.annulla: - mod_barcode1.resetMe(); - break; - case tipoAzione.conferma: - // se input completo eseguo... - if (mod_barcode1.comandoRegistrato.currCmdIn != "" && mod_barcode1.comandoRegistrato.valore != "") - { - eseguiComando(); - } - else // altrimenti warning... e rimetto valori precedenti - { - mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown"); - mod_barcode1.comandoRegistrato.currCmdIn = mod_barcode1.comandoRegistrato.prevCmdIn; - mod_barcode1.comandoRegistrato.descrComando = mod_barcode1.comandoRegistrato.descrComandoPrev; - mod_barcode1.txtInput2show = mod_barcode1.comandoRegistrato.descrComandoPrev; - } - break; - case tipoAzione.esegui: - // se ho auto conferma eseguo! - if (memLayer.ML.confReadBool("autoConfCmd")) - { - mod_barcode1.comandoRegistrato.prevCmdIn = mod_barcode1.comandoRegistrato.currCmdIn; - mod_barcode1.comandoRegistrato.currCmdIn = "ok"; - eseguiComando(); - } - else - { - if (mod_barcode1.comandoRegistrato.valore != "") - { - mod_barcode1.txtRich2show = user_std.UtSn.Traduci("pleaseConfirm"); - } - else - { - mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown"); - } - } - break; - case tipoAzione.noAct: - break; - default: - break; - } - mod_btnComandi1.updateBtn(); - } - /// - /// eseguo il comando - /// - private void eseguiComando() - { - // in primis: sono in esecuzione, x cui il comando è valido... - string msg2show = ""; - string currState = ""; - DS_applicazione.IstObjRow rigaIstObj; - // calcolo lo stato dell'oggetto... - try - { - rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(mod_barcode1.comandoRegistrato.valore)[0]; - currState = rigaIstObj.CodStato; - } - catch - { } - tipoEsito esito = stateMachine.st.doAction("E_Stati", mod_barcode1.comandoRegistrato.valore, currState, mod_barcode1.comandoRegistrato.prevCmdIn); - if (esito == tipoEsito.ok) - { - msg2show = string.Format("{0}: {1}", mod_barcode1.comandoRegistrato.valore, user_std.UtSn.Traduci("chgStateDone")); - } - else if (esito == tipoEsito.error) - { - msg2show = user_std.UtSn.Traduci("cannotStateChange"); - } - else - { - msg2show = user_std.UtSn.Traduci("unknownCmd"); - } - // reset e mostro output... - mod_barcode1.resetMe(); - if (msg2show != "") mod_barcode1.txtInput2show = msg2show; - } - -} +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using XPS_data; + +public partial class barcode : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + setupComandiBarcode(); + setupValoriBarcode(); + mod_barcode1.eh_comandoRegistrato += new EventHandler(mod_barcode1_eh_comandoRegistrato); + mod_btnComandi1.eh_clickComando += new EventHandler(mod_btnComandi1_eh_clickComando); + } + /// + /// inviato un comando dai link buttons + /// + /// + /// + void mod_btnComandi1_eh_clickComando(object sender, EventArgs e) + { + // chiamo metodo caricamento comandi in modulo barcode... + mod_barcode1.loadBtnClickComando(); + } + + private void traduciObj() + { + } + /// + /// effettuo il setup dei valori ammessi x il barcode... + /// + private void setupValoriBarcode() + { + XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter taCommesse = new XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter(); + DS_applicazione.v_commesseDataTable _tabComm = taCommesse.GetData(); + Dictionary valori = new Dictionary(); + // aggiungo i DDT... + foreach (DS_applicazione.v_commesseRow riga in _tabComm) + { + // QUI formattazione campi mostrati a barcode + valori.Add(riga.Cod.ToString(), string.Format("{0} - {7}
{1} DDT {2} del {3:dd MMM yyyy}
{4} colli ({5} kg)
{6}", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Colli, riga.Peso, riga.Stato, riga.Ciclo)); + } + // ora aggiungo i singoli ULP... + XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter taULP = new XPS_data.DS_applicazioneTableAdapters.v_ULPTableAdapter(); + DS_applicazione.v_ULPDataTable _tabUlp = taULP.GetData(); + // aggiungo colli (ULP)... + foreach (DS_applicazione.v_ULPRow riga in _tabUlp) + { + // QUI formattazione campi mostrati a barcode + valori.Add(riga.Cod.ToString(), string.Format("{0} - {7}
{1} DDT {2} del {3:dd MMM yyyy}
nr {4} items ({5} kg)
{6}", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Qta, riga.Peso, riga.Stato, riga.CodCli)); + } + // assegno valori al barcode... + mod_barcode1.tabValori = valori; + } + /// + /// carico da tab i comandi ammessi per il barcode... + /// + private void setupComandiBarcode() + { + XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter(); + DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC"); + Dictionary comandi = new Dictionary(); + foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran) + { + comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show)); + } + // impongo i comandi al barcode... + mod_barcode1.comandiAmmessi = comandi; + } + /// + /// il barcode ha registrato un evento... + /// + /// + /// + void mod_barcode1_eh_comandoRegistrato(object sender, EventArgs e) + { + switch (stateMachine.st.azioneComando(mod_barcode1.comandoRegistrato)) + { + case tipoAzione.annulla: + mod_barcode1.resetMe(); + break; + case tipoAzione.conferma: + // se input completo eseguo... + if (mod_barcode1.comandoRegistrato.currCmdIn != "" && mod_barcode1.comandoRegistrato.valore != "") + { + eseguiComando(); + } + else // altrimenti warning... e rimetto valori precedenti + { + mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown"); + mod_barcode1.comandoRegistrato.currCmdIn = mod_barcode1.comandoRegistrato.prevCmdIn; + mod_barcode1.comandoRegistrato.descrComando = mod_barcode1.comandoRegistrato.descrComandoPrev; + mod_barcode1.txtInput2show = mod_barcode1.comandoRegistrato.descrComandoPrev; + } + break; + case tipoAzione.esegui: + // se ho auto conferma eseguo! + if (memLayer.ML.confReadBool("autoConfCmd")) + { + mod_barcode1.comandoRegistrato.prevCmdIn = mod_barcode1.comandoRegistrato.currCmdIn; + mod_barcode1.comandoRegistrato.currCmdIn = "ok"; + eseguiComando(); + } + else + { + if (mod_barcode1.comandoRegistrato.valore != "") + { + mod_barcode1.txtRich2show = user_std.UtSn.Traduci("pleaseConfirm"); + } + else + { + mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown"); + } + } + break; + case tipoAzione.noAct: + break; + default: + break; + } + mod_btnComandi1.updateBtn(); + } + /// + /// eseguo il comando + /// + private void eseguiComando() + { + // in primis: sono in esecuzione, x cui il comando è valido... + string msg2show = ""; + string currState = ""; + DS_applicazione.IstObjRow rigaIstObj; + // calcolo lo stato dell'oggetto... + try + { + rigaIstObj = XPS_data.XPS.obj.taObj.getByIdxObj(mod_barcode1.comandoRegistrato.valore)[0]; + currState = rigaIstObj.CodStato; + } + catch + { } + tipoEsito esito = stateMachine.st.doAction("E_Stati", mod_barcode1.comandoRegistrato.valore, currState, mod_barcode1.comandoRegistrato.prevCmdIn); + if (esito == tipoEsito.ok) + { + msg2show = string.Format("{0}: {1}", mod_barcode1.comandoRegistrato.valore, user_std.UtSn.Traduci("chgStateDone")); + } + else if (esito == tipoEsito.error) + { + msg2show = user_std.UtSn.Traduci("cannotStateChange"); + } + else + { + msg2show = user_std.UtSn.Traduci("unknownCmd"); + } + // reset e mostro output... + mod_barcode1.resetMe(); + if (msg2show != "") mod_barcode1.txtInput2show = msg2show; + } + +} diff --git a/project/XPST/barcode.aspx.designer.cs b/XPST/barcode.aspx.designer.cs similarity index 96% rename from project/XPST/barcode.aspx.designer.cs rename to XPST/barcode.aspx.designer.cs index 3110733..3316511 100644 --- a/project/XPST/barcode.aspx.designer.cs +++ b/XPST/barcode.aspx.designer.cs @@ -1,32 +1,32 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.4963 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - - - -public partial class barcode { - - /// - /// mod_barcode1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::XPST.WebUserControls.mod_barcode mod_barcode1; - - /// - /// mod_btnComandi1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::XPST.WebUserControls.mod_btnComandi mod_btnComandi1; -} +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4963 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class barcode { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::XPST.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_btnComandi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::XPST.WebUserControls.mod_btnComandi mod_btnComandi1; +} diff --git a/project/XPST/forceUser.aspx b/XPST/forceUser.aspx similarity index 100% rename from project/XPST/forceUser.aspx rename to XPST/forceUser.aspx diff --git a/project/XPST/forceUser.aspx.cs b/XPST/forceUser.aspx.cs similarity index 100% rename from project/XPST/forceUser.aspx.cs rename to XPST/forceUser.aspx.cs diff --git a/project/XPST/forceUser.aspx.designer.cs b/XPST/forceUser.aspx.designer.cs similarity index 100% rename from project/XPST/forceUser.aspx.designer.cs rename to XPST/forceUser.aspx.designer.cs diff --git a/project/XPST/login.aspx b/XPST/login.aspx similarity index 100% rename from project/XPST/login.aspx rename to XPST/login.aspx diff --git a/project/XPST/login.aspx.cs b/XPST/login.aspx.cs similarity index 100% rename from project/XPST/login.aspx.cs rename to XPST/login.aspx.cs diff --git a/project/XPST/login.aspx.designer.cs b/XPST/login.aspx.designer.cs similarity index 100% rename from project/XPST/login.aspx.designer.cs rename to XPST/login.aspx.designer.cs diff --git a/project/XPST/logs/PlaceHolder.file b/XPST/logs/PlaceHolder.file similarity index 100% rename from project/XPST/logs/PlaceHolder.file rename to XPST/logs/PlaceHolder.file diff --git a/project/XPST/logs/ViewStates/PlaceHolder.file b/XPST/logs/ViewStates/PlaceHolder.file similarity index 100% rename from project/XPST/logs/ViewStates/PlaceHolder.file rename to XPST/logs/ViewStates/PlaceHolder.file diff --git a/project/XPST/packages.config b/XPST/packages.config similarity index 100% rename from project/XPST/packages.config rename to XPST/packages.config diff --git a/project/XPST/unauthorized.aspx b/XPST/unauthorized.aspx similarity index 100% rename from project/XPST/unauthorized.aspx rename to XPST/unauthorized.aspx diff --git a/project/XPST/unauthorized.aspx.cs b/XPST/unauthorized.aspx.cs similarity index 100% rename from project/XPST/unauthorized.aspx.cs rename to XPST/unauthorized.aspx.cs diff --git a/project/XPST/unauthorized.aspx.designer.cs b/XPST/unauthorized.aspx.designer.cs similarity index 100% rename from project/XPST/unauthorized.aspx.designer.cs rename to XPST/unauthorized.aspx.designer.cs diff --git a/project/XPS_app.sln b/XPS_app.sln similarity index 94% rename from project/XPS_app.sln rename to XPS_app.sln index 803101f..4e62305 100644 --- a/project/XPS_app.sln +++ b/XPS_app.sln @@ -1,121 +1,123 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPS", "XPS\XPS.csproj", "{FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPS_data", "XPS_data\XPS_data.csproj", "{1E34AB89-96DE-49A3-B337-8ECAD8A695BF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPST", "XPST\XPST.csproj", "{7E601ABB-1A55-4F6B-85EB-E98F284B21F1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\..\SteamWareLibrary\SteamWare\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Equa_Auth", "Equa_Auth\Equa_Auth.csproj", "{BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|.NET = Debug|.NET - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - EQUA|.NET = EQUA|.NET - EQUA|Any CPU = EQUA|Any CPU - EQUA|Mixed Platforms = EQUA|Mixed Platforms - Release|.NET = Release|.NET - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|.NET.ActiveCfg = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|.NET.Build.0 = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|.NET.ActiveCfg = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|.NET.Build.0 = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Any CPU.Build.0 = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|.NET.ActiveCfg = Release|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|.NET.Build.0 = Release|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Any CPU.Build.0 = Release|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|.NET.ActiveCfg = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|.NET.Build.0 = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|.NET.ActiveCfg = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|.NET.Build.0 = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Any CPU.Build.0 = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|.NET.ActiveCfg = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|.NET.Build.0 = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Any CPU.Build.0 = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|.NET.ActiveCfg = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|.NET.Build.0 = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|.NET.ActiveCfg = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|.NET.Build.0 = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Any CPU.Build.0 = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|.NET.ActiveCfg = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|.NET.Build.0 = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Any CPU.Build.0 = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|.NET.ActiveCfg = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|.NET.Build.0 = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|.NET.ActiveCfg = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|.NET.Build.0 = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Any CPU.Build.0 = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|.NET.ActiveCfg = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|.NET.Build.0 = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.Build.0 = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|.NET.ActiveCfg = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|.NET.Build.0 = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|.NET.ActiveCfg = EQUA|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|.NET.Build.0 = EQUA|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Any CPU.ActiveCfg = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Any CPU.Build.0 = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Mixed Platforms.ActiveCfg = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Mixed Platforms.Build.0 = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|.NET.ActiveCfg = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|.NET.Build.0 = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Any CPU.Build.0 = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Mixed Platforms.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPS", "XPS\XPS.csproj", "{FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPS_data", "XPS_data\XPS_data.csproj", "{1E34AB89-96DE-49A3-B337-8ECAD8A695BF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XPST", "XPST\XPST.csproj", "{7E601ABB-1A55-4F6B-85EB-E98F284B21F1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\..\Steamware\SteamWareLib\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Equa_Auth", "Equa_Auth\Equa_Auth.csproj", "{BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|.NET = Debug|.NET + Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms + EQUA|.NET = EQUA|.NET + EQUA|Any CPU = EQUA|Any CPU + EQUA|Mixed Platforms = EQUA|Mixed Platforms + Release|.NET = Release|.NET + Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|.NET.ActiveCfg = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|.NET.Build.0 = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|.NET.ActiveCfg = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|.NET.Build.0 = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Any CPU.Build.0 = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|.NET.ActiveCfg = Release|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|.NET.Build.0 = Release|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Any CPU.Build.0 = Release|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {FE7FD295-D33E-4435-A0E7-5601CD6D6EA0}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|.NET.ActiveCfg = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|.NET.Build.0 = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|.NET.ActiveCfg = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|.NET.Build.0 = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Any CPU.Build.0 = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|.NET.ActiveCfg = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|.NET.Build.0 = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Any CPU.Build.0 = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1E34AB89-96DE-49A3-B337-8ECAD8A695BF}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|.NET.ActiveCfg = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|.NET.Build.0 = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|.NET.ActiveCfg = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|.NET.Build.0 = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Any CPU.ActiveCfg = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Any CPU.Build.0 = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Mixed Platforms.ActiveCfg = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.EQUA|Mixed Platforms.Build.0 = EQUA|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|.NET.ActiveCfg = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|.NET.Build.0 = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Any CPU.Build.0 = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {7E601ABB-1A55-4F6B-85EB-E98F284B21F1}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|.NET.ActiveCfg = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|.NET.Build.0 = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|.NET.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|.NET.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Any CPU.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Any CPU.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Mixed Platforms.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.EQUA|Mixed Platforms.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|.NET.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|.NET.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|.NET.ActiveCfg = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|.NET.Build.0 = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|.NET.ActiveCfg = EQUA|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|.NET.Build.0 = EQUA|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Any CPU.ActiveCfg = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Any CPU.Build.0 = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Mixed Platforms.ActiveCfg = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.EQUA|Mixed Platforms.Build.0 = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|.NET.ActiveCfg = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|.NET.Build.0 = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Any CPU.Build.0 = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {BDD58632-ED9F-46DE-ABE9-8B7E228EFA72}.Release|Mixed Platforms.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/project/XPST/bin/AjaxMin.dll b/project/XPST/bin/AjaxMin.dll deleted file mode 100644 index 9adbb7a..0000000 Binary files a/project/XPST/bin/AjaxMin.dll and /dev/null differ diff --git a/project/XPST/bin/Flesk.Accelerator.dll b/project/XPST/bin/Flesk.Accelerator.dll deleted file mode 100644 index e19b771..0000000 Binary files a/project/XPST/bin/Flesk.Accelerator.dll and /dev/null differ diff --git a/project/XPST/bin/Flesk.ViewState.dll b/project/XPST/bin/Flesk.ViewState.dll deleted file mode 100644 index 862a6ac..0000000 Binary files a/project/XPST/bin/Flesk.ViewState.dll and /dev/null differ diff --git a/project/XPST/bin/ICSharpCode.SharpZipLib.dll b/project/XPST/bin/ICSharpCode.SharpZipLib.dll deleted file mode 100644 index a2a6f25..0000000 Binary files a/project/XPST/bin/ICSharpCode.SharpZipLib.dll and /dev/null differ diff --git a/project/XPST/bin/MDB_Data/si_dt30.mdb b/project/XPST/bin/MDB_Data/si_dt30.mdb deleted file mode 100644 index 64e2ef0..0000000 Binary files a/project/XPST/bin/MDB_Data/si_dt30.mdb and /dev/null differ diff --git a/project/XPST/bin/SteamWare.XML b/project/XPST/bin/SteamWare.XML deleted file mode 100644 index 34fef45..0000000 --- a/project/XPST/bin/SteamWare.XML +++ /dev/null @@ -1,3781 +0,0 @@ - - - - SteamWare - - - - - Pagina base applicazioni SteamWare da cui derivare le altre - - - - - Iniziazlizzazione void (non fa nulla) - - - - - Metodo MAIN: viene eseguita al caricamento ed effettua delle routines per il controllo utente e istanzia l'oggetto memLayer - - - - - - - rimanda alla pagina di Work In Progress salvando in session un titolo ed una descrizione che al pagina wip poi mostrerà all'utente - - titolo da mostrare nella pagina WIP - descrizione da mostrare nella pagina WIP - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - Base class for every user control in the application, containing some common - behaviour and utility methods. - It is not meant to be be used directly. - - - - - tipo id controllo con classi di base comune da cui derivare gli *.asmx - - - - - nome della pagina correntemente caricata - - - - - memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session... - - - - - stringa con CDC in (...) dei cdc abilitati (da permesso gerarchicamente a discendere...) - - - - - stringa con elenco CDC abilitati (da permesso gerarchicamente a discendere...) - - - - - tabella diritti - - - - - tabella di tutti i cdc - - - - - tipo di anagrafica usata - - - - - importo il tipo di vista del modulo - - - - - elenco testuale csv dei cdc accessibili all'utente (x filtri tipo IN(...)) - - - - - numero di righe standard x i datagrid - - - - - numero di righe standard x i datagrid di anagrafica - - - - - numero di righe standard x i datagrid lunghi - - - - - numero di righe standard x i datagrid medi - - - - - numero di righe standard x i datagrid su mezza pagina - - - - - numero di righe standard x i selettori popup - - - - - indirizzo email dell'admin applicativo cui vanno le email in caso di anomalie... - - - - - indirizzo email dell'applicativo da cui partono le email in caso di anomalie... - - - - - indirizzo server SMTP - - - - - elenco delle pagine "safe" ovvero da non autorizzare - da web.config - - - - - elenco delle pagine "common" ovvero da autorizzare ma senza bisogno diritti in anagrafica - da web.config - - - - - valore che determina se è possibile forzare impersonificazioen utente... - - - - - livello di log (1-->5) - - - - - dir di logging - - - - - MAIN: esecuzione al caricamento del modulo delle routines di controllo utente e creazione pagina - - - - - - - predisposizione dati x pagina da cache/database a seconda della disponibilità in cache o refresh (B.1.4) - - - - - popola gli oggetti e le labels... (B.1.6) - - - - - disegna la pagina: prima i controlli poi il datagrid - - - - - aggiunge i link x i selettori - - - - - sistema i vari controlli della pagina - - - - - aggiorna eventuali datalist e datagrid - - - - - sistema tutte le labels traducendo i lemmi nella lingua utente ed in inglese - - - - - calcola come percentuale la radio dividendo/divisore - - - - - - - - limita una stringa al numero max di caratteri imposto - - - - - - - - Reads data from a stream until the end is reached. The - data is returned as a byte array. An IOException is - thrown if any of the underlying IO calls fail. - - The stream to read data from - The initial buffer length - - - - converte una data in formato aaaammgg in stringa gg/mm/aaaa - - - - - - - converte una data in formato aaaammgg in stringa aaaa-mm-gg - - - - - - - converte una stringa in formato gg/mm/aaaa in stringa(intero data) in formato aaaammgg - - - - - - - converte una datetime in un intero tipo yyyymmddhhmmss - - - - - - - formatta la data in formato dateTime in una data formato italiano come stringa gg/mm/aaaa - - - - - - - invia un alert jscript con messaggio indicato... - - messaggio dell'alert da mandare - - - - scrive immediatamente sulla pagina web il messaggio di avanzamento... - - - - - - restituisce una scringa formattata in testa e coda x essere un corretto comando javascript - - - - - - - invio email senza log - - - - - - - - - - invio email con log - - - - - - - - - - caricamento dati applicazione da sessione (B.1.3) - - - - - setup datamanagers... - - - - - reset update del modulo corrente - - - - - (ri)carica i dataset del modulo - - - - - verifica se tutti i dataset richiesti sono disponibili i cache - - - - - - salva nella cache i dataset caricati - - - - - carica dalla cache i dataset necessari - - - - - legge i valori standard x dataset e parametri - - - - - leggi i parametri di configurazione standard dell'applicativo - - - - - genera la stringa dei cdc autorizzati dell'utente - - - - - legge il dataset dei CdC - - - - - caricamento dati user da sessione (B.1.1) - - - - - verifica che l'utente abbia almeno un permesso per la pagina corrente altrimenti redirect ad unauthorized - - - - - salva in variabile pagina il nome della pagina corrente - - - - - selezione delle posizioni cdc autorizzate come stringa di filtraggio su POSIZIONE LIKE, se non ce ne fossero redirige su unauthorized.aspx - - - - - - risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione - - - - - - verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio da accodare al filtro x CdC autorizzati - - condizione - tipo di eguaglianza - nome parametro - valore parametro - - - - - crea la stringa di filtraggio x data secondo modalità tipo inizio/fine/durante... - - - - - - crea la stringa di filtraggio x data secondo modalità tipo minoreUguale / uguale / maggioreUguale... - - - - - - verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio tipo LIKE x i campi inseriti separati da # SE valParam !="" - - - - - - - - esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi - - filtro con cui cercare i cdc (del tipo " (POSIZIONE LIKE 'T.1.2.3%') OR ... " - stringa di filtraggio ricostruita per l'elenco dei cdc fino a quel momento trovati - ultimo cdc trovato - cdc corrente - - - - - restituisce il cdc dell'utente data la sua matricola - - - - - - - restituisce l'utente AS dall'utente win - - - - - - - restituisce la descr del CdC - - - - - - - invia la stringa jscript di conferma pre-cancellazione - - - - - - restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" - - verrà usato x posizione {0}, tipo "view" - verrà usato x posizione {1}, tipo "_s.png" - - - - - restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" - - verrà usato x posizione {0}, tipo "view" - verrà usato x posizione {1}, tipo "_s.png" - tipo del file richiesto..." - - - - - effettua traduzione del lemma - - - - - - - effettua traduzione in inglese del lemma - - - - - - - definisce visibilità - - - - - - - effettua la registrazione degli eventi - - - - - effettua l'inserimento vero e proprio dell'evento letto dai valori in session x l'utente corrente... - - evento da loggare - valori originali - nuovi valori - filtro associato - - - - salva in sessione i valori indicati - - dictionary dei valori vecchi - dictionary dei valori nuovi - bool su abilitazione al log dell'oggetto - descrizione evento da loggare - filtro associato all'evento - restituisce il numero di elementi contenuti, -1 significa nessuna differenza... - - - - salva in sessione i valori per un oggetto che sta x essere eliminato - - dictionary dei valori vecchi - bool su abilitazione al log dell'oggetto - descrizione evento da loggare - filtro associato all'evento - restituisce il numero di elementi contenuti, -1 significa nessuna differenza... - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - wrapper per log con salvataggio dell'IP del chiamante - - - - - - - imposto il tipo di anagrafica del controlloS - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - legge e scrive in viewState la stringa di filtraggio... - - - - - variabile salvata in viewstate x la direzione del sorting - - - - - genera la stringa filtro x i cdc autorizzati x l'user - - - - - - tipo di vista del modulo - - - - - classe gestione auth - - - - - init dei table adapters - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - Singleton accesso a authProxy - - - - - Tenta autologin con autoriconoscimento Dominio/username by cookie - - - - - - - formatta il secret code - - - - - - - - - - - crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti - - - - - - - - - - - - - - rimuove device da DB e toglie il cookie - - secret associata al device - - - - - rimuove device da DB e toglie il cookie - - Nome Device - - - - - imuove device da DB e toglie il cookie - - - - - - - - classe con funzioni specifiche di calcolo - - - - - inizializzazione classe - - - - - elenco dei caratteri base 36: 0..9A..Z - - - - - - converte da base di dimensione nBase a valore intero - - valore in formato nBase - base, max 36 (0..9A..Z) - - - - - metodo di accesso singleton - - - - - classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali - - - - - valore originale - - - - - nuovo valore - - - - - dictionary dei parametri vecchi - - - - - dictionary dei parametri nuovi - - - - - inizializzazione classe - - - - - valorizza i diff dei valori old e new - - - - - calcola solo il vettore dei valori old (x delete) - - - - - oggetto statico per il confronto valori - - - - - stringa diff dei valori originali modificati - - - - - stringa diff dei valori nuovi modificati - - - - - dictionary dei parametri old - - - - - dictionary dei parametri new - - - - - classe di gestione lettura - - - - - esegue parsing fornendo dati ed headers - - - - - - - - esegue parsing fornendo dati - - - - - - - esegue parsing fornendo dati come stream - - - - - - - esegue parsing fornendo dati come stream ed headers - - - - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - classe di wrap verso i TableAdapter impiegati - - - - - metodo protected di avvio della classe - - - - - procedura di avvio dei tableAdapter - - - - - procedura di avvio dei tableAdapter - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - setup delle tabelle vocabolario - - - - - prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary - - - - - - tableAdapter diritti - - - - - tableAdapter permessi - - - - - tableAdapter funzione - - - - - tableAdapter permessi2funzione - - - - - tableAdapter CdC - - - - - tableAdapter utenti - - - - - tableAdapter userData (user/pwd) - - - - - tableAdapter userDataExt (user/pwd) - - - - - table adapter lingue - - - - - table adapter vocabolario - - - - - table adapter versione vocabolario - - - - - table adapter versione anagrafica - - - - - table adapter Devices utente - - - - - oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione - - - - - resetta il vocabolario rileggendo i dati... - - - - - crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--" - - - - - - - classe singleton x la gestione dei tableadapters - - - - - elenco lingue ammesse da vocabolario... - - - - - classe di gestione dei db x creazione/update alla versione richiesta - - - - - oggetto connessione - - - - - stringa di connessione - - - - - dir che contiene gli script da eseguire... - - - - - formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql) - - - - - avvio protected della classe - - - - - esegue gli script di sql di update dal file richiesto - - - - - - - - Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo - - NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default - - nome DB di cui cercare script - revisione di partenza - revisione di arrivo - timeout max per ogni operazione - - - - - verifica se il db indicato esiste o meno... - - - - - - - - crea il db indicato con i parametri di connessione specificati - - - - - - - - classe gestione parametri deviceper stampa - - - - - creazione oggetto parametri per stampa - - - - - - - - - - - - formato output - - - - - altezza - - - - - larghezza - - - - - margine Sx - - - - - margine Dx - - - - - margine Top - - - - - margine Bottom - - - - - helper x raccolta dati di diagnostica - - - - - calcolo uptime in formato timespan - - - - - - elenco devices USB - - - - - - registra esito ping ad un dato IP/hostname - - IPaddress / host name. - - - - restituisce contenuto di una pagina web (per testing) - - - - - - - uptime macchina (formattato) - - - - - restituisce elenco dischi con utilizzo (formattato) - - - - - - mostra elenco interfacce di rete e loro conf - - - - - fornisce elenco dispositivi USB collegati - - - - - - - elenco porte seriali - - - - - classe definizione info oggetti USB - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios - - - - - Update rows in top-down order. - - - - - Insert rows in top-down order. - - - - - Delete rows in bottom-up order. - - - - - Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first - - - - - Update all changes to the dataset. - - - - - Update Order Option - - - - - Used to sort self-referenced table's rows - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Row event argument class - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - Represents the connection and commands used to retrieve and save data. - - - - - enumeratore modalità login - - - - - login AD normale - - - - - forza utente fornendo password - - - - - forza ad un utente standard scelto dall'elenco - - - - - enumeratore modalità scrittura tag siteMap - - - - - nodo di tipo iniziale - apertura - - - - - nodo di tipo foglia - - - - - nodo di tipo finale - chiusura - - - - - enumeratore tipi di anagrafica - - - - - tipo di anagrafica Brembo - - - - - tipo di anagrafica generica - - - - - tipo di vista del modulo - - - - - modalità selezione - - - - - modalità editing - - - - - modalità inserting nuovo valore - - - - - tipologia di file immagine - - - - - formato gif (no alpha channel) - - - - - formato jpeg - - - - - formato png - - - - - tipo di immagini usate per le icone di comando in web applications - - - - - icona annulla (croce rossa) - - - - - icona approva (simbolo coccarda) - - - - - icona barcode in campo bianco - - - - - icona barcode in campo arancio - - - - - icona clona (magic wand) - - - - - icona converma (spunta verde) - - - - - icona elimina (cestino) - - - - - icona modifica (matita) - - - - - icona notepad (blocco note) - - - - - icona notepad + pdf (blocco note) - - - - - icona nuovo (segno +) - - - - - icona seleziona (lente) - - - - - icona semaforo giallo - - - - - icona semaforo rosso - - - - - icona semaforo verde - - - - - icona stampa (printer) - - - - - dimensione immagini usate per le icone di comando in web applications - - - - - formato piccolo - - - - - formato medio - - - - - formato grande - - - - - modalità di esecuzione applicativi - - - - - modalità normale - - - - - modalità debug - - - - - salvataggio di tutti i lemmi tradotti - - - - - Accesso in lettura e scrittura al filesystem per gestione files upload e download - - - - - path di lavoro dei metodi leggi/scrivi - - - - - verifica esistenza directory ed eventualmente crea restituendo nome completo di "/" finale - - - - - - - restituisce una tab di files dato l'elenco dei files - - - - - - - setta le directory - - - - - - oggetto WebClient - - - - - inizializza il metodo alla cartella indicata - - - non serve +... x retrocompatibilità... - - - - metodo di avvio empty - - - - - cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile - - - - - - - cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile - - - - - - - - cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath - - - - - - - Legge i dati da uno stream fino a quando arriva alla fine. - I dati sono restituiti come un byte[] array. un eccezione IOException è - sollevata se una delle chiamate IO sottostanti fallisce. - - Lo stream da cui leggere - Lunghezza buffer iniziale (-1 = default 32k) - - - - verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo - - - - - - ottiene il dataset dei files presenti nella directory indicata esplicitamente - - dir da indicizzare... già mappata! ( es SteamwareStrings.getFilePath(...) ) - - - - - ottiene il dataset dei files presenti nella directory indicata all'istanziazione dell'oggetto - - - - - - ottiene il dataset dei files DEL TIPO "like {param}" presenti nella directory indicata all'istanziazione dell'oggetto - - - - - - elenco dei files come array di oggetti FileInfo - - - - - - elenco dei files come array di oggetti FileInfo filtrati per parametro - - - - - - - elimina la directory di lavoro se è dir virtuale mappata - - - - - - elimina tutti i files con la regexp indicata da una directory, true se cancellato almeno uno - - regexp selezione files in dir (* = tutti!!!) - - - - - verifica se il file indicato esista in workDir - - - - - - - elimina il file indicato dalla directory di lavoro - - - - - - - restituisce lo stream del file richiesto - - - - - - - restituisce la stringa letta dal file richiesto - - - - - - - scrive il file dallo stream byte[] inviato - - - - - - - - scrive il file dalla stringa inviata - - - - - - - - converte una string in un byte[] - - - - - - - converte un byte[] in una string - - - - - - - sposta il file da From a To... - - - - - - - - - copia il file da From a To... - - - - - - - - - copia il file da From a To... - - - - - - - - - - imposta la dir di lavoro - - - - - - imposta la dir di lavoro - - - non serve +... x retrocompatibilità... - - - - imposta la dir di lavoro impostandola dal mapPath corretto della web app... - - - - - - esegue un comando in shell - - - - - - - - - esegue un comando in shell - - - - - - - - - Scarica un file dall'url fornito nella directory indicata x il filemover col nome richiesto - - url del file - nome con cui salvare il file - - - - - comprime zip il file indicato - - - - - - - comprime zip i files corrispondenti alla RegExp indicata nella dir corrente - - Espressione ricerca, come *.txt - Nome del file zip da creare - - - - - scompatta tutto il contenuto di un file zip - - - - - - - scompatta uno specifico file contenuto in un file zip - - - - - - - elimina il file indicato - - - - - - - calcola la dim della directory corrente... - - - - - - - elimina il file + vecchio - - - - - - - versione statica (singleton) del'oggetto fileMover - - - - - struttura di comando da input utente (es: via barcode) - - - - - definisce se il comando sia valido o no - - - - - testo da mostrare dato il comando - - - - - comando registrato - - - - - comando precedentemente inserito - - - - - descrizione del comando - - - - - descrizione del comando precedente - - - - - valore del comando - - - - - valore tradotto del comando - - - - - costruttore del metodo... - - - - - gestione licenze applicativi - - - - - numero di licenze attive per cliente/applicativo - - - - - - - - Fornisce chiave MD5 x un cliente/applicativo/expiryDate - - - - - - - - - - restituisce data decodificata da authKey + applicazione + cliente... - - - - - - - - - - classe gestione logging esteso di eventi e note utente (correlabili) - - - - - TableAdapter di accesso alla tabella anagrafica filtraggi - - - - - TableAdapter di accesso alla tabella anagrafica record - - - - - TableAdapter di accesso alla tabella logging record di eventi - - - - - TableAdapter di accesso alla tabella logging utente - - - - - TableAdapter di accesso alla vista logging eventi - - - - - TableAdapter di accesso alla vista logging utente - - - - - effettua setup dei connection strings da web.config delal singola applicazione - - - - - avvio i tari tableAdapters - - - - - avvio della classe istanziando db e - - - - - oggetto statico di accesso ai metodi della classe... - - - - - tabella eventi - - - - - - tabella note - - - - - - tabella eventi secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - tabella note secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" - - - - - tabella note secondo filtro e condizione ulteriore WHERE esplicitata - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}" - - - - - tabella note secondo filtro - - filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento - - - - - inserisce l'evento indicato dai parametri - - user che ha generato l'evento - pagina/form applicaizone in cui l'evento si è generato - valore originale(se c'è) - valore nuovo/modificato - descrizione evento (poi gestita con anagrafica interna) - filtro logico evento (poi gestita con anagrafica interna) - - - - inserisce la nota utente indicata dai parametri, restituisce idx della nota creata... - - user che ha inserito la nota - testo della nota - valore ulteriore da associare alla nota (es: label, codice, versione, ...) - filtro logico evento (poi gestita con anagrafica interna) - intero dell'idx della nota creata - - - - associa l'evento e la nota indicati - - idx del record da associare - idx chiave della nota da associare - - - - associa l'ultimo evento del filtro indicato alla nota - - filtro associato all'ultimo evento... - idx chiave della nota da associare - - - - segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati - - utente generatore dell'evento - - - - segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati - - utente generatore dell'evento - - - - Elimina gli eventi cestinati generati dall'utente indicato - - utente generatore dell'evento - - - - Elimina gli eventi cestinati anteriori alla data selezionata - - dataOra dell'evento - - - - effettua la registrazione dell'evento in session - - - - - metodo di comportamento del controllo di logging - - - - - nasconde pannello log - - - - - memorizza log inserito - - - - - mostra pannello log - - - - - metodo di comportamento del controllo di logging - - - - - indica il primo step del doppio livello di approvazione (completamento) - - - - - SOLO con incremento indice di revisione dell'oggetto approvato - - - - - SOLO mantenendo indice di revisione corrente - - - - - permette SIA con revisione che senza (e anche rev -1) - - - - - classe gesione log files applicazioni - - - - - directory base x logs - - - - - nome del file corrente - - - - - max mb di log da accumulare - - - - - controlla se si debba mantenere sotto controllo la dimensioen della cartella logs - - - - - singleton del logger - - - - - avvio del logger nella dir desiderata - - - - - avvio del logger nella dir desiderata - - - - - avvio del logger nella dir desiderata con il max di dati indicato - - - - - resetta il logfile odierno - - - - - scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?) - - testo iniziale del log - - - - - scrive un messaggio di log con etichetta pre - - testo messaggio - tipo di log da registrare (etichetta [...]) - - - - - scrive su log un dump di diagnostica - - Causale diagnostica - target per test PING - target x download www page - - - - formatta un blococ di diagnostica (titolo, contenuto / eccezione) - - - - - - - - fornisce il nome del file in cui loggare (ed eventualmente crea...) - - - - - provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb - - - - - fornisce il file + vecchio - - - - - - - livello di log applicazione (da web.config, chiave '_logLevel') - - - - - tipo di log ammesso - - - - - informazioni di debug - - - - - dump diagnostica - - - - - errori - - - - - eccezioni nell'esecuzione try/catch - - - - - errori fatali - - - - - informazioni opzionali - - - - - log dei lemmi invocati per traduzione da vocabolario - - - - - fase di avvio componente - - - - - avvisi - - - - - layer gestione vari tipi di memoria: cache, session... - - - - - lettore file configurazione - - - - - oggetto singleton x accesso al layer di memoria - - - - - classe gestione accessi a Session, cache, viewstate, configuration... - - - - - legge dalla config un valore bool - - - - - - - legge dalla config un valore string - - - - - - - legge dalla config un valore int - - - - - - - carica dalla sessione un dato di tipo object generico - - - - - - - carica dalla sessione un dato di tipo boolean (se vuoto false) - - - - - - - carica dalla sessione un dato di tipo string - - - - - - - carica dalla sessione un dato di tipo long - - - - - - - carica dalla sessione un dato di tipo int - - - - - - - inserisce in session un valore - - - - - - - inserisce in session un valore - - nome della variabile - valore associato - indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd) - - - - - svuota una variabile dalla session - - - - - - restituisce true se è presente in session l'oggetto richiesto - - - - - - - restituisco un valore da cookie - - - - - - - salvo un valore come cookie - - - - - - - - salvo un valore come cookie con expiry date esplicita - - - - - - - - - elimina un cookie - - - - - - carica dalla Cache un dato di tipo object generico - - - - - - - carica dalla Cachee un dato di tipo boolean (se vuoto false) - - - - - - - carica dalla Cachee un dato di tipo string - - - - - - - inserisce in Cache un valore - - nome della variabile - valore - - - - inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update.. - - nome della variabile - valore - da registrare come tabella da svuotare on update? - - - - - svuota una variabile dalla Cache - - - - - - restituisce true se è presente in cache l'oggetto richiesto - - - - - - - aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update - - - - - - aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) - - - - - - - forza lo svuotamento delel tabelle indicate come in cache... - - - - - elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... - - - - - elenco dictionary dei valori in session da NON aggiornare con update... - - - - - tipo di chart (2D/3D) - - - - - 2D - - - - - 3D - - - - - web control che disegna un grafico a torta - - - - - altezza di default - - - - - larghezza di default - - - - - padding di default - - - - - legenda visibile di default - - - - - soglia minima 5% per mostrare il dato - - - - - renderizza il contenuto - - - - - - disegna la leggenda html laterale... - - - - - - disegna piechart 2-dim - - - - - - disegna piechart 3d ellittica - - - - - - traduce la stringa colore in oggetto colore - - - - - - - converte intero a stringa esadecimale - - - - - - - converte stringa esadecimale a intero - - - - - - - tipo di grafico (2D/3D) - - - - - ampiezza del grafico - - - - - altezza del grafico - - - - - padding grafico/container - - - - - boolean se si debba mostrale la legenda - - - - - percentuale minima da mostrare - - - - - serie di dati (tipizzata) ma mostrare - - - - - testo associato al controllo - - - - - Summary description for selettori - - - - - - - - - - - - - - - carica i dati CdC se in cache o da TableAdapter - - - - - restituisce l'elenco di tutti i cdc - - - - - - restituisce l'elenco di tutti i cdc della gerarchia dell'utente - - - - - - classe gestione utente: auth e permission/ruoli - versione GENERICA - - - - - cancella da session l'utente - - - - - carica la riga dati utente - - - - - carica la riga dati utente da SOLO USERNAME - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato - - - - - - Effettua setup dei permessi una volta salvati i diritti - - - - - imposta la lingua utente dal valore della riga DB - - - - - costruisce la mappa del sito per l'utente - - - - - formatta un nodo in modo corretto dai dati indicati - - - - - - - - - inizializza la gestione utente... - - - - - restituisce riga utente data la matricola... - - matricola - - - - - traduce il lemma nella lingua dell'user corrente - - - - - - - traduce il lemma in inglese - - - - - - - traduce il lemma nella lingua richiesta - - - - - - - traduce il lemma nella lingua dell'user e in inglese tra parentesi - - - - - - - LogOff utente con reset dati - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati - - - - - - - - controllo utente/pwd da tab - - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato - - - - - - - - - salva dati accessori quali il cdc dell'utente... - - - - - verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta - - - - - - - verifica le credenziali AD dell'utente... - - - - - - - - conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 - - - - - - - verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') - - - - - - - ricarica e ri-traduce la mappa sito per l'utente... - - - - - retituisce il nome apgina dai permessi utente - - - - - - restituisce cognome e nome di un utente dato username... - - username - - - - - restituisce cognome e nome di un utente data la matricola... - - matricola - - - - - restituisce cognome e nome di un utente dato username e dominio... - - username - dominio - - - - - restituisce cognome e nome di un utente dato username... - - username - - - - - restituisce cognome e nome di un utente dato username e dominio... - - username - dominio - - - - - restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio... - - {dominio\}userName - - - - - restituisce l'elenco delle funzioni abilitate dato modulo ed username partendo dalla radice dell'albero dei diritti - - - - - - - - restituisce l'elenco degli utenti dato i diritti che devono avere come modulo/funzione - - nome del modulo - nome della funzione - tabella utenti - - - - restituisce l'elenco delle email degli utenti dato i diritti che devono avere come modulo/funzione - - nome del modulo - nome della funzione - stringa di email separate da "," - - - - crea un nuovo utente con le credenziali indicate - - - - - - - - - - - - assegna il diritto all'utente indicato - - - - - - - - - - - toglier il diritto all'utente indicato - - - - - - - - - - - restituisce la tabella (per utente corrente) dei CDC abilitati per l'applicazione attuale da sessione (se non c'è salva...) - - modulo di cui si testano i diritti - - - - - versione statica della classe utente come singleton UtenTeSignletoN - - - - - restituisce la tabella diritti da session - - - - - tabella dei permessi utente - - - - - tabella dei permessi utente di tipo "WRITE" enabled - - - - - retituisce username AD - - - - - oggetto utente con metodi get/set - - - - - oggetto password con metodi get/set - - - - - oggetto dominio con metodi get/set - - - - - oggetto modulo (applicazione) con metodi get/set - - - - - oggetto lingua utente con metodi get/set - - - - - oggetto runMode corrente - - - - - restituisce true se utente forzato da forceUser.aspx - - - - - restituisce i valori della riga utente da db - - - - - restituisce una stringa formattata con cognome, nome e matricola - - - - - restituisce una stringa della sigla dell'utente - - - - - restituisce una stringa formattata con cognome e nome - - - - - restituisce una stringa formattata con cognome - - - - - restituisce una stringa formattata con nome - - - - - fornisce un file XML della mappa del sito abilitato per l'utente... - - - - - è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... - - - - - struttura che definisce i parametri di un turno di lavoro - - - - - definisce un intervalo di 2 date - - - - - data inizio - - - - - data fine - - - - - indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO - - - - - struttura orario ordinarie/strordinarie - - - - - ore ordinarie - - - - - ore straordinarie - - - - - classe di funzioni inerenti le date - - - - - inizializzazione empty - - - - - calcola il turno di riferimento data una data di riferimento - - - - - - - costruisce un oggetto intervallo date - - - - - - - - effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine - - - - - - - - oggetto mese precedente alla dataLilmite - - - - - - oggetto mese corrente fino alla dataLilmite - - - - - - confronta le date e restituisce true se le date sono nello stesso mese - - - - - - - - restituisce l'intervallo del giorno completo che comprende la data indicata - - - - - - - restituisce l'intervallo di N giorni fino alla data indicata - - - - - - - - restituisce l'intervallo della settimana corrente per la data indicata - - - - - - - restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata) - - - - - - - restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno) - - - - - - - restituisce l'intervallo dell'anno corrente per la data indicata - - - - - - - oggetto singleton - - - - - classe di gestione delle email - - - - - stringa del nome DNS o dell'ip del server SMTP - - - - - stringa username x server SMTP - - - - - stringa pwd x server SMTP - - - - - metodo static per la gestione delle email - - - - - - metodo static per la gestione delle email - - - - - - - - metodo static per la gestione delle email - - - - - - - procedura invio email - - email mittente - email destinatario - oggetto dell'email - corpo del messaggio - - - - procedura invio email + scrittura in log! - - email mittente - email destinatario - oggetto dell'email - corpo del messaggio - - - - metodo singleton gestione email... - - - - - metodo singleton gestione email CON AUTH utente... - - - - - Tipo di comparazione, Binary == CaseSensitive, Text = insensitive - - - - - tipo controllo : binario - - - - - tipo controllo : text - - - - - Funzione di splitting compatibile con multi-character e multi-line - - - - - stringa da splittare - - - - - Delimiter con cui splittare - - - - - Costruttore dello Splitter - - - - - comparatore case sensitive - - - - - - - - comparatore case insensitive - - - - - - - - parte principale dello splitter - - stringa da splittare - delimitatore ricercato - true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base) - - 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive - - - - - elimina dal nome file il tipo (desinenza) - - - - - - - Classe di metodi che estendono quelli base applicati alle string - - - - - Trasforma in MAIUSCOLo il primo carattere della stringa - - stringa da processare - stringa processata - - - - restituisce la stringa completa e corretta del filepath del server (anche con vDir) - - path relativo alla cartella iis dell'applicativo - path fisico tradotto - - - - effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi - - - - - - - restituisce una stringa uguale all'originale + terminazione newline - - - - - - - formatta un titolo - - Titolo da scrivere - carattere x padding titolo - larghezza caratteri (x pad) - - - - - formatta una riga di caratteri - - carattere da utilizzare - larghezza caratteri (x pad) - - - - - fornisce dati di base per l'utente - - - - - fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE - - - - - - - restituisce la riga completa dall'username richiesto - - - - - - - - calcola il nome del computer dato l'IP - - - - - - - scarica una pagina da URL e fornisce testo string - - Indirizzo pagina (completo) - username (se necessario) - password (se necessaria) - - - - - manda pacchetto ARP - - - - - - - - - - fornisce mac address dato nome/IP - - - - - - - utils x cifrature e Crypto - - - - - cifra un messaggio con una password - - - - - - - - decifra un messaggio con una password - - - - - - - diff --git a/project/XPST/bin/SteamWare.dll b/project/XPST/bin/SteamWare.dll deleted file mode 100644 index 058e291..0000000 Binary files a/project/XPST/bin/SteamWare.dll and /dev/null differ diff --git a/project/XPST/bin/XPST.dll b/project/XPST/bin/XPST.dll deleted file mode 100644 index 8160fff..0000000 Binary files a/project/XPST/bin/XPST.dll and /dev/null differ diff --git a/project/XPST/bin/XPS_data.dll b/project/XPST/bin/XPS_data.dll deleted file mode 100644 index 7de72de..0000000 Binary files a/project/XPST/bin/XPS_data.dll and /dev/null differ diff --git a/project/XPST/obj/Debug/XPST.csproj.FileListAbsolute.txt b/project/XPST/obj/Debug/XPST.csproj.FileListAbsolute.txt deleted file mode 100644 index 4608d78..0000000 --- a/project/XPST/obj/Debug/XPST.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,13 +0,0 @@ -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\MDB_Data\si_dt30.mdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\XPST.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\XPST.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\AjaxMin.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\SteamWare.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\XPS_data.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\ICSharpCode.SharpZipLib.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\SteamWare.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\SteamWare.xml -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\bin\XPS_data.pdb -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\obj\Debug\XPST.csprojResolveAssemblyReference.cache -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\obj\Debug\XPST.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\XPS\project\XPST\obj\Debug\XPST.pdb diff --git a/project/XPST/obj/Debug/XPST.dll b/project/XPST/obj/Debug/XPST.dll deleted file mode 100644 index 8160fff..0000000 Binary files a/project/XPST/obj/Debug/XPST.dll and /dev/null differ diff --git a/project/XPST/obj/EQUA/DesignTimeResolveAssemblyReferencesInput.cache b/project/XPST/obj/EQUA/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 12ff6cc..0000000 Binary files a/project/XPST/obj/EQUA/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/project/XPST/obj/EQUA/build.force b/project/XPST/obj/EQUA/build.force deleted file mode 100644 index e69de29..0000000 diff --git a/project/XPS_app.suo b/project/XPS_app.suo deleted file mode 100644 index dbdb321..0000000 Binary files a/project/XPS_app.suo and /dev/null differ diff --git a/project/XPS_app.v11.suo b/project/XPS_app.v11.suo deleted file mode 100644 index e90e877..0000000 Binary files a/project/XPS_app.v11.suo and /dev/null differ