update XPST

This commit is contained in:
Samuele Locatelli
2017-01-31 14:33:04 +01:00
parent 9a80a2131a
commit f5ae99144a
82 changed files with 2427 additions and 6216 deletions

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

+16 -16
View File
@@ -1,16 +1,16 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="XPST._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="XPST._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
@@ -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");
}
}
}
@@ -1,27 +1,27 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST
{
public partial class _Default
{
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST
{
public partial class _Default
{
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
}
@@ -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")]
@@ -10,13 +10,13 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>https://10.74.82.218:8172/MsDeploy.axd</MSDeployServiceURL>
<MSDeployServiceURL>https://IIS02:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>Default Web Site/XPST</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>administrator</UserName>
<UserName>steamwarewin\administrator</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<Objects xmlns="">
@@ -52,6 +52,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
@@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile>2012-12-21T10:14:32.4948710+01:00</TimeStampOfAssociatedLegacyPublishXmlFile>
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAABv9uHbu3F0CBNoJDBeyEhgAAAAACAAAAAAADZgAAwAAAABAAAADW921RFud0h/JU+0RtBNN5AAAAAASAAACgAAAAEAAAAOeQRHe1hLiNcmrs06OyHP0QAAAAOCrFVHwoJLGZkCk1l8mQrxQAAADTdkfz2x8xyqwLdbtRytZVl2Rzbw==</EncryptedPassword>
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA/bYFd3Gxq0iucbk2ZdN5XwAAAAACAAAAAAADZgAAwAAAABAAAAC/t9Ar6cUWKrivkr9iSVWcAAAAAASAAACgAAAAEAAAADJL/FO/2u+COpTP41fYxTsYAAAA3K+gj2M8Xq2g/ifwl9FPkzTnUTCfyvS8FAAAADGl+pr+jflOweZxTAAej3xlMbA4</EncryptedPassword>
</PropertyGroup>
</Project>
File diff suppressed because it is too large Load Diff
+181 -181
View File
@@ -1,182 +1,182 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!--Area ottimizzazioni FLESK-->
<sectionGroup name="Flesk.NET">
<section name="HttpCompression" type="Flesk.Accelerator.HttpCompression.ConfigHandler, Flesk.Accelerator"/>
<section name="ViewStateOptimizer" type="Flesk.Accelerator.Viewstate.ConfigHandler, Flesk.ViewState"/>
</sectionGroup>
</configSections>
<Flesk.NET>
<!--Area Compressione-->
<HttpCompression Algorithm="Deflate" CompressionLevel="high" ExcludeContentType="application/x-zip-compressed;image/jpeg;image/png">
<UserAgent Required="false">
<Exclude Match="Google"/>
</UserAgent>
<RequestPath>
<Exclude Match="\.axd"/>
<Exclude Match="WebResource\.axd"/>
<Exclude Match="WebUserControls\WebResource\.axd"/>
<Exclude Match="WebResource\.axd"/>
<Exclude Match="WebUserControls\WebResource\.axd"/>
<Exclude Match="\.asbx"/>
<!-- Exclude Microsoft Ajax -->
<Exclude Match="ajax/.+\.ashx"/>
</RequestPath>
<ContentType>
<IsText Match="text/.*"/>
<IsText Match="application/xml"/>
<IsText Match="image/(vnd\.\w+\.)?svg[\-|\+]xml"/>
</ContentType>
</HttpCompression>
<!--Area ViewState-->
<!--
The StorageMethod parameter sets the ViewState's storage type.
Possible values are :
- File (saves ViewState into a file, server side)
- StoragePath must specify a write enabled server path ( ~ means site root path)
If StoragePath is a web path (i.e.: \\MachineName\Dir), when used in webfarms,
please add the following line under <system.web>
<identity impersonate="true" userName="domain\username" password="userpass"/>
- Default (default ViewState saving method, sending hidden fields to client side)
- Session (saves ViewState into a Session variable, server side)
- SqlServer (saves the ViewState into a database table)
- ConnectionString specifies the database connection.
- TableName specifies the table in the database where the records will be stored.
New Option :
Compressed="true" or Compressed="false"
this will compress the ViewState if StorageMethod is Default or File.
so the ViewState's value will be significantly smaller than the original value.
Compression method is not suported by StorageMethod="Session"
-->
<ViewStateOptimizer PersistenceHandler="MyNamespace.MyViewstatePersister, MyAssembly" StorageMethod="File" StoragePath="~/Logs/ViewStates" ConnectionString="Data Source=localhost;Initial Catalog=EQUA_XPS;Persist Security Info=True;User ID=sa;Password=sa" TableName="app_ViewState" Compressed="true" RequestBehavior="EachLoad" ViewStateCleanupInterval="00:30:00" ViewStateFilesMaxAge="00:30:00"/>
</Flesk.NET>
<system.web>
<globalization uiCulture="auto" enableClientBasedCulture="true"/>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
<buildProviders/>
</compilation>
<httpHandlers>
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<!--Area FLESK-->
<add name="CompressionModule" type="Flesk.Accelerator.Module, Flesk.Accelerator"/>
<!--
This HttpModule provides automatic cleanup of viewstate files
on the start of each session, thus requiring
the SessionStateModule to be installed as well.
-->
<add name="ViewstateCleanupModule" type="Flesk.Accelerator.Viewstate.CleanupModule, Flesk.ViewState"/>
</httpModules>
<customErrors mode="Off"/>
<!--<customErrors mode="RemoteOnly" defaultRedirect="unauthorized.aspx"/>-->
<httpRuntime maxRequestLength="102400"/>
<!-- qui sopra configurato x gestire allegati fino a 100 mb...
<httpRuntime
maxRequestLength="102400"
executionTimeout="1200"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
-->
</system.web>
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>
<appSettings>
<add key="CodModulo" value="XPS"/>
<add key="_navMaxChar" value="20"/>
<!--gestione cookie-->
<add key="AuthCookie" value="XPST"/>
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="365" />
<add key ="authSite" value="http://10.74.82.218/Equa_Auth/"/>
<add key ="currSite" value="http://10.74.82.218/XPST/"/>
<!--gestione button-->
<add key="autoConfCmd" value="true" />
<!--gestione pagina-->
<add key="intUpdatePagina_ms" value="120000"/>
<add key="_righeDataGrid" value="30"/>
<add key="_righeDataGridAnagr" value="20"/>
<add key="_righeDataGridLong" value="20"/>
<add key="_righeDataGridMed" value="15"/>
<add key="_righeDataGridShort" value="10"/>
<add key="_fromEmail" value="xps@steamware.net"/>
<add key="_logDir" value="./logs/"/>
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30"/>
<add key="_allowForceUser" value="true"/>
<add key="_safePages" value="chLang.aspx#jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx"/>
<add key="_commonPages" value="menu.aspx"/>
<add key="_titoloPagina" value="XPS"/>
<add key="appName" value="XPST"/>
<add key="mainRev" value="1.3"/>
<add key="minRev" value="175"/>
<add key="copyRight" value="SteamWare © 2008-2012"/>
<add key="defaultApp" value="XPS_Appl"/>
<add key="defaultTitle" value="XPS_ShortWelcome"/>
<add key="defaultBody" value="XPS_LongWelcome"/>
<add key="_treeMaxChar" value="45"/>
<add key="_showAllTree" value="false"/>
<add key="_jumpStart" value="10"/>
<add key="defDayLeadTime" value="3"/>
<add key="_adminEmail" value="equa@steamware.net"/>
<add key="_emailUser" value="magazzino@fosfatazione.it"/>
<add key="_emailPwd" value="07fosfatazione"/>
<add key="_smtpCli" value="posta.fosfatazione.it"/>
<add key="XPSConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<!--Area barcode-->
<add key="bCodeRetMain" value="bcex"/>
<!-- Setup link a reporting -->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=false&amp;rc:Toolbar=true&amp;IdxObj={3}{4}"/>
<!-- NB: "/" == "%2f" -->
<add key="reportingServerAddress" value="10.74.82.217\SQL2008R2"/>
<add key="reportDir" value="ReportEqua"/>
<add key="reportName_mod" value="ReportSchedaIdentificazione"/>
<add key="reportName_lbl" value="LabelEqua"/>
<add key="reportOpzPdf" value="&amp;rs:Format=PDF"/>
<add key="printerSchedaIdent" value="PDFCreator"/>
<add key="printerBarcode" value="PDFCreator"/>
</appSettings>
<connectionStrings>
<add name="XPS_data.Properties.Settings.si_dt30ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\MDB_Data\si_dt30.mdb;Persist Security Info=True" providerName="System.Data.OleDb" />
<add name="XPS_data.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="XPS_data.Properties.Settings.Equa_XPSConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!--Area ottimizzazioni FLESK-->
<sectionGroup name="Flesk.NET">
<section name="HttpCompression" type="Flesk.Accelerator.HttpCompression.ConfigHandler, Flesk.Accelerator"/>
<section name="ViewStateOptimizer" type="Flesk.Accelerator.Viewstate.ConfigHandler, Flesk.ViewState"/>
</sectionGroup>
</configSections>
<Flesk.NET>
<!--Area Compressione-->
<HttpCompression Algorithm="Deflate" CompressionLevel="high" ExcludeContentType="application/x-zip-compressed;image/jpeg;image/png">
<UserAgent Required="false">
<Exclude Match="Google"/>
</UserAgent>
<RequestPath>
<Exclude Match="\.axd"/>
<Exclude Match="WebResource\.axd"/>
<Exclude Match="WebUserControls\WebResource\.axd"/>
<Exclude Match="WebResource\.axd"/>
<Exclude Match="WebUserControls\WebResource\.axd"/>
<Exclude Match="\.asbx"/>
<!-- Exclude Microsoft Ajax -->
<Exclude Match="ajax/.+\.ashx"/>
</RequestPath>
<ContentType>
<IsText Match="text/.*"/>
<IsText Match="application/xml"/>
<IsText Match="image/(vnd\.\w+\.)?svg[\-|\+]xml"/>
</ContentType>
</HttpCompression>
<!--Area ViewState-->
<!--
The StorageMethod parameter sets the ViewState's storage type.
Possible values are :
- File (saves ViewState into a file, server side)
- StoragePath must specify a write enabled server path ( ~ means site root path)
If StoragePath is a web path (i.e.: \\MachineName\Dir), when used in webfarms,
please add the following line under <system.web>
<identity impersonate="true" userName="domain\username" password="userpass"/>
- Default (default ViewState saving method, sending hidden fields to client side)
- Session (saves ViewState into a Session variable, server side)
- SqlServer (saves the ViewState into a database table)
- ConnectionString specifies the database connection.
- TableName specifies the table in the database where the records will be stored.
New Option :
Compressed="true" or Compressed="false"
this will compress the ViewState if StorageMethod is Default or File.
so the ViewState's value will be significantly smaller than the original value.
Compression method is not suported by StorageMethod="Session"
-->
<ViewStateOptimizer PersistenceHandler="MyNamespace.MyViewstatePersister, MyAssembly" StorageMethod="File" StoragePath="~/Logs/ViewStates" ConnectionString="Data Source=localhost;Initial Catalog=EQUA_XPS;Persist Security Info=True;User ID=sa;Password=sa" TableName="app_ViewState" Compressed="true" RequestBehavior="EachLoad" ViewStateCleanupInterval="00:30:00" ViewStateFilesMaxAge="00:30:00"/>
</Flesk.NET>
<system.web>
<globalization uiCulture="auto" enableClientBasedCulture="true"/>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
<buildProviders/>
</compilation>
<httpHandlers>
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<!--Area FLESK-->
<add name="CompressionModule" type="Flesk.Accelerator.Module, Flesk.Accelerator"/>
<!--
This HttpModule provides automatic cleanup of viewstate files
on the start of each session, thus requiring
the SessionStateModule to be installed as well.
-->
<add name="ViewstateCleanupModule" type="Flesk.Accelerator.Viewstate.CleanupModule, Flesk.ViewState"/>
</httpModules>
<customErrors mode="Off"/>
<!--<customErrors mode="RemoteOnly" defaultRedirect="unauthorized.aspx"/>-->
<httpRuntime maxRequestLength="102400"/>
<!-- qui sopra configurato x gestire allegati fino a 100 mb...
<httpRuntime
maxRequestLength="102400"
executionTimeout="1200"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
-->
</system.web>
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>
<appSettings>
<add key="CodModulo" value="XPS"/>
<add key="_navMaxChar" value="20"/>
<!--gestione cookie-->
<add key="AuthCookie" value="XPST"/>
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="365" />
<add key ="authSite" value="http://IIS02/Equa_Auth/"/>
<add key ="currSite" value="http://IIS02/XPST/"/>
<!--gestione button-->
<add key="autoConfCmd" value="true" />
<!--gestione pagina-->
<add key="intUpdatePagina_ms" value="120000"/>
<add key="_righeDataGrid" value="30"/>
<add key="_righeDataGridAnagr" value="20"/>
<add key="_righeDataGridLong" value="20"/>
<add key="_righeDataGridMed" value="15"/>
<add key="_righeDataGridShort" value="10"/>
<add key="_fromEmail" value="xps@steamware.net"/>
<add key="_logDir" value="./logs/"/>
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30"/>
<add key="_allowForceUser" value="true"/>
<add key="_safePages" value="chLang.aspx#jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx"/>
<add key="_commonPages" value="menu.aspx"/>
<add key="_titoloPagina" value="XPS"/>
<add key="appName" value="XPST"/>
<add key="mainRev" value="1.3"/>
<add key="minRev" value="175"/>
<add key="copyRight" value="SteamWare © 2008-2012"/>
<add key="defaultApp" value="XPS_Appl"/>
<add key="defaultTitle" value="XPS_ShortWelcome"/>
<add key="defaultBody" value="XPS_LongWelcome"/>
<add key="_treeMaxChar" value="45"/>
<add key="_showAllTree" value="false"/>
<add key="_jumpStart" value="10"/>
<add key="defDayLeadTime" value="3"/>
<add key="_adminEmail" value="equa@steamware.net"/>
<add key="_emailUser" value="magazzino@fosfatazione.it"/>
<add key="_emailPwd" value="07fosfatazione"/>
<add key="_smtpCli" value="posta.fosfatazione.it"/>
<add key="XPSConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<!--Area barcode-->
<add key="bCodeRetMain" value="bcex"/>
<!-- Setup link a reporting -->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=false&amp;rc:Toolbar=true&amp;IdxObj={3}{4}"/>
<!-- NB: "/" == "%2f" -->
<add key="reportingServerAddress" value="10.74.82.217\SQL2008R2"/>
<add key="reportDir" value="ReportEqua"/>
<add key="reportName_mod" value="ReportSchedaIdentificazione"/>
<add key="reportName_lbl" value="LabelEqua"/>
<add key="reportOpzPdf" value="&amp;rs:Format=PDF"/>
<add key="printerSchedaIdent" value="PDFCreator"/>
<add key="printerBarcode" value="PDFCreator"/>
</appSettings>
<connectionStrings>
<add name="XPS_data.Properties.Settings.si_dt30ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\MDB_Data\si_dt30.mdb;Persist Security Info=True" providerName="System.Data.OleDb" />
<add name="XPS_data.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="XPS_data.Properties.Settings.Equa_XPSConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
@@ -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" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>XPST BarCode</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<link href="../Style.css" rel="stylesheet" type="text/css" />
<link href="../Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" type="text/css" />
<script src="./Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
<%--<script type="text/javascript">
function focusBC() {
$('#ctl00_body_mod_barcode1_txtInput').focus();
}
$(document).live('pageshow', focusBC);
</script>--%>
<script type="text/javascript">
$(document).bind("mobileinit", function () {
$.mobile.ajaxEnabled = false;
});
</script>
<script src="./Scripts/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div class="fullscreen">
<div id="indexPage" data-role="page">
<script type="text/javascript">
function focusBC() {
$('#ctl00_body_mod_barcode1_txtInput').focus();
}
$("#indexPage").live('pageshow', focusBC);
</script>
<div data-role="header" data-position="fixed">
<uc1:mod_menuTopCompact ID="mod_menuTopCompact1" runat="server" />
</div>
<div data-role="content" style="margin: -10px;">
<asp:ContentPlaceHolder ID="body" runat="server">
</asp:ContentPlaceHolder>
</div>
<div data-role="footer" data-position="fixed">
<uc2:mod_footer ID="mod_footer1" runat="server" />
</div>
</div>
</form>
</body>
</html>
<%@ 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" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>XPST BarCode</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<link href="../Style.css" rel="stylesheet" type="text/css" />
<link href="../Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" type="text/css" />
<script src="./Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
<%--<script type="text/javascript">
function focusBC() {
$('#ctl00_body_mod_barcode1_txtInput').focus();
}
$(document).live('pageshow', focusBC);
</script>--%>
<script type="text/javascript">
$(document).bind("mobileinit", function () {
$.mobile.ajaxEnabled = false;
});
</script>
<script src="./Scripts/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div class="fullscreen">
<div id="indexPage" data-role="page">
<script type="text/javascript">
function focusBC() {
$('#ctl00_body_mod_barcode1_txtInput').focus();
}
$("#indexPage").live('pageshow', focusBC);
</script>
<div data-role="header" data-position="fixed">
<uc1:mod_menuTopCompact ID="mod_menuTopCompact1" runat="server" />
</div>
<div data-role="content" style="margin: -10px;">
<asp:ContentPlaceHolder ID="body" runat="server">
</asp:ContentPlaceHolder>
</div>
<div data-role="footer" data-position="fixed">
<uc2:mod_footer ID="mod_footer1" runat="server" />
</div>
</div>
</form>
</body>
</html>
@@ -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)
{
}
}
}
@@ -1,69 +1,69 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebMasterPages {
public partial class CompactBCode {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// head control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder head;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// mod_menuTopCompact1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_menuTopCompact mod_menuTopCompact1;
/// <summary>
/// body control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder body;
/// <summary>
/// mod_footer1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW.WebUserControls.mod_footer mod_footer1;
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebMasterPages {
public partial class CompactBCode {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// head control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder head;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// mod_menuTopCompact1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_menuTopCompact mod_menuTopCompact1;
/// <summary>
/// body control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder body;
/// <summary>
/// mod_footer1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW.WebUserControls.mod_footer mod_footer1;
}
}
@@ -1,27 +1,27 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPST.WebUserControls.mod_barcode" CodeBehind="mod_barcode.ascx.cs" %>
<div style="text-align: center; font-size: 20pt;">
<div class="ui-grid-solo">
<div style="width: 90%; float: left;">
<asp:TextBox runat="server" ID="txtInput" Font-Size="24pt" OnTextChanged="txtInput_TextChanged" TabIndex="1" />
</div>
<div style="width: 10%; float: right;">
<asp:Button ID="btnCerca" data-theme="e" data-iconpos="bottom" data-icon="search" runat="server" data-role="button" Text="cerca" />
</div>
</div>
<div style="clear:both;">
</div>
<div class="ui-grid-solo">
<asp:Panel runat="server" ID="pnlBarcodeBox" CssClass="">
<div style="background-color: #FFE800; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblInput" Text="" />
</div>
<div style="background-color: #FFC500; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblValore" Text="" />
</div>
<div style="background-color: #FF7700; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblRichiesta" Text="" Font-Bold="true" />
</div>
<asp:Label ID="lblBrowser" runat="server" />
</asp:Panel>
</div>
</div>
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPST.WebUserControls.mod_barcode" CodeBehind="mod_barcode.ascx.cs" %>
<div style="text-align: center; font-size: 20pt;">
<div class="ui-grid-solo">
<div style="width: 90%; float: left;">
<asp:TextBox runat="server" ID="txtInput" Font-Size="24pt" OnTextChanged="txtInput_TextChanged" TabIndex="1" />
</div>
<div style="width: 10%; float: right;">
<asp:Button ID="btnCerca" data-theme="e" data-iconpos="bottom" data-icon="search" runat="server" data-role="button" Text="cerca" />
</div>
</div>
<div style="clear:both;">
</div>
<div class="ui-grid-solo">
<asp:Panel runat="server" ID="pnlBarcodeBox" CssClass="">
<div style="background-color: #FFE800; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblInput" Text="" />
</div>
<div style="background-color: #FFC500; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblValore" Text="" />
</div>
<div style="background-color: #FF7700; padding: 8px; margin: 1px;">
<asp:Label runat="server" ID="lblRichiesta" Text="" Font-Bold="true" />
</div>
<asp:Label ID="lblBrowser" runat="server" />
</asp:Panel>
</div>
</div>
@@ -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
/// <summary>
/// dictionary comandi ammessi
/// </summary>
protected Dictionary<string, string> _comandi = new Dictionary<string, string>();
/// <summary>
/// dictionary dei valori ammessi
/// </summary>
protected Dictionary<string, string> _tabValori = new Dictionary<string, string>();
/// <summary>
/// oggetto comando locale alla classe
/// </summary>
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);
}
}
/// <summary>
/// al caricamento della pagina...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
DetectAgent();
myInitialize();
}
/// <summary>
/// inizializzazione specifica barcode
/// </summary>
private void myInitialize()
{
lblInput.Text = traduci("PregoInserireBarcode");
if (!Page.IsPostBack) comando = new inputComando();
txtInput.Focus();
}
/// <summary>
/// barcode completato con invio...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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 = "";
}
/// <summary>
/// verifico se sia un valore compreso nell'elenco fornito
/// </summary>
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);
}
}
/// <summary>
/// verifica se il comando inserito sia valido
/// </summary>
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);
}
}
/// <summary>
/// verifica quale browser usato e applica css corretto al div attorno al box
/// </summary>
private void DetectAgent()
{
System.Web.HttpBrowserCapabilities browser = Request.Browser;
if (browser.Browser == "IE")
{
pnlBarcodeBox.CssClass = "barcodeBoxIE";
}
else
{
pnlBarcodeBox.CssClass = "barcodeBoxOther";
}
}
#endregion
#region area public
/// <summary>
/// effettua al ettura da sessione del comando cliccato e lo inserisce come fosse barcode
/// </summary>
public void loadBtnClickComando()
{
txtInput.Text = memLayer.ML.StringSessionObj("btnCmdPress");
memLayer.ML.emptySessionVal("btnCmdPress");
processInput();
}
/// <summary>
/// elenco dei comandi riconosciuti
/// </summary>
public Dictionary<string, string> comandiAmmessi
{
get
{
return _comandi;
}
set
{
_comandi = value;
}
}
/// <summary>
/// tabella di valori ammissibili
/// </summary>
public Dictionary<string, string> tabValori
{
get
{
return _tabValori;
}
set
{
_tabValori = value;
}
}
/// <summary>
/// evento comando registrato
/// </summary>
public event EventHandler eh_comandoRegistrato;
/// <summary>
/// comando registrato dal barcode
/// </summary>
public inputComando comandoRegistrato
{
get
{
return comando;
}
}
/// <summary>
/// scrive nella label input
/// </summary>
public string txtInput2show
{
set
{
lblInput.Text = value;
}
}
/// <summary>
/// scrive nella label valore
/// </summary>
public string txtVal2show
{
set
{
lblValore.Text = value;
}
}
/// <summary>
/// scrive nella label richiesta
/// </summary>
public string txtRich2show
{
set
{
lblRichiesta.Text = value;
}
}
/// <summary>
/// reset del controllo
/// </summary>
public void resetMe()
{
comando = new inputComando();
txtInput2show = "Prego inserire barcode";
txtVal2show = "";
txtRich2show = "";
}
/// <summary>
/// wrapper traduzione termini
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
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
/// <summary>
/// dictionary comandi ammessi
/// </summary>
protected Dictionary<string, string> _comandi = new Dictionary<string, string>();
/// <summary>
/// dictionary dei valori ammessi
/// </summary>
protected Dictionary<string, string> _tabValori = new Dictionary<string, string>();
/// <summary>
/// oggetto comando locale alla classe
/// </summary>
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);
}
}
/// <summary>
/// al caricamento della pagina...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
DetectAgent();
myInitialize();
}
/// <summary>
/// inizializzazione specifica barcode
/// </summary>
private void myInitialize()
{
lblInput.Text = traduci("PregoInserireBarcode");
if (!Page.IsPostBack) comando = new inputComando();
txtInput.Focus();
}
/// <summary>
/// barcode completato con invio...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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 = "";
}
/// <summary>
/// verifico se sia un valore compreso nell'elenco fornito
/// </summary>
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);
}
}
/// <summary>
/// verifica se il comando inserito sia valido
/// </summary>
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);
}
}
/// <summary>
/// verifica quale browser usato e applica css corretto al div attorno al box
/// </summary>
private void DetectAgent()
{
System.Web.HttpBrowserCapabilities browser = Request.Browser;
if (browser.Browser == "IE")
{
pnlBarcodeBox.CssClass = "barcodeBoxIE";
}
else
{
pnlBarcodeBox.CssClass = "barcodeBoxOther";
}
}
#endregion
#region area public
/// <summary>
/// effettua al ettura da sessione del comando cliccato e lo inserisce come fosse barcode
/// </summary>
public void loadBtnClickComando()
{
txtInput.Text = memLayer.ML.StringSessionObj("btnCmdPress");
memLayer.ML.emptySessionVal("btnCmdPress");
processInput();
}
/// <summary>
/// elenco dei comandi riconosciuti
/// </summary>
public Dictionary<string, string> comandiAmmessi
{
get
{
return _comandi;
}
set
{
_comandi = value;
}
}
/// <summary>
/// tabella di valori ammissibili
/// </summary>
public Dictionary<string, string> tabValori
{
get
{
return _tabValori;
}
set
{
_tabValori = value;
}
}
/// <summary>
/// evento comando registrato
/// </summary>
public event EventHandler eh_comandoRegistrato;
/// <summary>
/// comando registrato dal barcode
/// </summary>
public inputComando comandoRegistrato
{
get
{
return comando;
}
}
/// <summary>
/// scrive nella label input
/// </summary>
public string txtInput2show
{
set
{
lblInput.Text = value;
}
}
/// <summary>
/// scrive nella label valore
/// </summary>
public string txtVal2show
{
set
{
lblValore.Text = value;
}
}
/// <summary>
/// scrive nella label richiesta
/// </summary>
public string txtRich2show
{
set
{
lblRichiesta.Text = value;
}
}
/// <summary>
/// reset del controllo
/// </summary>
public void resetMe()
{
comando = new inputComando();
txtInput2show = "Prego inserire barcode";
txtVal2show = "";
txtRich2show = "";
}
/// <summary>
/// wrapper traduzione termini
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(string lemma)
{
return user_std.UtSn.Traduci(lemma);
}
#endregion
}
}
@@ -1,78 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_barcode {
/// <summary>
/// txtInput control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtInput;
/// <summary>
/// btnCerca control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnCerca;
/// <summary>
/// pnlBarcodeBox control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlBarcodeBox;
/// <summary>
/// lblInput control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblInput;
/// <summary>
/// lblValore control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblValore;
/// <summary>
/// lblRichiesta control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblRichiesta;
/// <summary>
/// lblBrowser control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblBrowser;
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_barcode {
/// <summary>
/// txtInput control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtInput;
/// <summary>
/// btnCerca control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnCerca;
/// <summary>
/// pnlBarcodeBox control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlBarcodeBox;
/// <summary>
/// lblInput control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblInput;
/// <summary>
/// lblValore control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblValore;
/// <summary>
/// lblRichiesta control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblRichiesta;
/// <summary>
/// lblBrowser control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblBrowser;
}
}
@@ -1,25 +1,25 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_btnComandi.ascx.cs" Inherits="XPST.WebUserControls.mod_btnComandi" %>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn1" data-theme="a" data-iconpos="bottom" data-icon="up" runat="server" data-role="button" OnClick="btn1_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn2" data-theme="e" data-iconpos="bottom" data-icon="gear" runat="server" data-role="button" OnClick="btn2_Click" />
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn3" data-theme="e" data-iconpos="bottom" data-icon="star" runat="server" data-role="button" OnClick="btn3_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn4" data-theme="a" data-iconpos="bottom" data-icon="info" runat="server" data-role="button" OnClick="btn4_Click" />
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn5" data-theme="b" data-iconpos="bottom" data-icon="check" runat="server" data-role="button" OnClick="btn5_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn6" data-theme="c" data-iconpos="bottom" data-icon="delete" runat="server" data-role="button" OnClick="btn6_Click" />
</div>
</div>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_btnComandi.ascx.cs" Inherits="XPST.WebUserControls.mod_btnComandi" %>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn1" data-theme="a" data-iconpos="bottom" data-icon="up" runat="server" data-role="button" OnClick="btn1_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn2" data-theme="e" data-iconpos="bottom" data-icon="gear" runat="server" data-role="button" OnClick="btn2_Click" />
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn3" data-theme="e" data-iconpos="bottom" data-icon="star" runat="server" data-role="button" OnClick="btn3_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn4" data-theme="a" data-iconpos="bottom" data-icon="info" runat="server" data-role="button" OnClick="btn4_Click" />
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button ID="btn5" data-theme="b" data-iconpos="bottom" data-icon="check" runat="server" data-role="button" OnClick="btn5_Click" />
</div>
<div class="ui-block-b">
<asp:Button ID="btn6" data-theme="c" data-iconpos="bottom" data-icon="delete" runat="server" data-role="button" OnClick="btn6_Click" />
</div>
</div>
@@ -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
{
/// <summary>
/// evento comando clicked
/// </summary>
public event EventHandler eh_clickComando;
protected void Page_Load(object sender, EventArgs e)
{
setupComandiBarcode();
disegnaBtn();
}
/// <summary>
/// effettua disegno dei buttons
/// </summary>
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();
}
/// <summary>
/// Aggiorna stato buttons
/// </summary>
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;
}
}
/// <summary>
/// carico da tab i comandi ammessi per il barcode...
/// </summary>
private void setupComandiBarcode()
{
XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter();
DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC");
Dictionary<string, string> comandi = new Dictionary<string, string>();
foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran)
{
comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show));
}
// impongo i comandi al barcode...
comandiAmmessi = comandi;
}
/// <summary>
/// dictionary comandi ammessi
/// </summary>
protected Dictionary<string, string> _comandi = new Dictionary<string, string>();
/// <summary>
/// elenco dei comandi riconosciuti
/// </summary>
public Dictionary<string, string> comandiAmmessi
{
get
{
return _comandi;
}
set
{
_comandi = value;
}
}
/// <summary>
/// segnala click su button comando
/// </summary>
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();
}
/// <summary>
/// oggetto comando locale alla classe
/// </summary>
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
{
/// <summary>
/// evento comando clicked
/// </summary>
public event EventHandler eh_clickComando;
protected void Page_Load(object sender, EventArgs e)
{
setupComandiBarcode();
disegnaBtn();
}
/// <summary>
/// effettua disegno dei buttons
/// </summary>
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();
}
/// <summary>
/// Aggiorna stato buttons
/// </summary>
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;
}
}
/// <summary>
/// carico da tab i comandi ammessi per il barcode...
/// </summary>
private void setupComandiBarcode()
{
XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter();
DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC");
Dictionary<string, string> comandi = new Dictionary<string, string>();
foreach (DS_applicazione.TraEv2StatiRow riga in _tabTran)
{
comandi.Add(riga.CodEvento, user_std.UtSn.Traduci(riga.text2show));
}
// impongo i comandi al barcode...
comandiAmmessi = comandi;
}
/// <summary>
/// dictionary comandi ammessi
/// </summary>
protected Dictionary<string, string> _comandi = new Dictionary<string, string>();
/// <summary>
/// elenco dei comandi riconosciuti
/// </summary>
public Dictionary<string, string> comandiAmmessi
{
get
{
return _comandi;
}
set
{
_comandi = value;
}
}
/// <summary>
/// segnala click su button comando
/// </summary>
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();
}
/// <summary>
/// oggetto comando locale alla classe
/// </summary>
protected inputComando comando
{
get
{
inputComando answ;
if (memLayer.ML.isInSessionObject("barcodeCmd"))
{
answ = (inputComando)memLayer.ML.objSessionObj("barcodeCmd");
}
else
{
answ = new inputComando();
}
return answ;
}
}
}
}
@@ -1,69 +1,69 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_btnComandi {
/// <summary>
/// btn1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn1;
/// <summary>
/// btn2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn2;
/// <summary>
/// btn3 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn3;
/// <summary>
/// btn4 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn4;
/// <summary>
/// btn5 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn5;
/// <summary>
/// btn6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn6;
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_btnComandi {
/// <summary>
/// btn1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn1;
/// <summary>
/// btn2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn2;
/// <summary>
/// btn3 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn3;
/// <summary>
/// btn4 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn4;
/// <summary>
/// btn5 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn5;
/// <summary>
/// btn6 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn6;
}
}
@@ -1,4 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTopCompact.ascx.cs" Inherits="XPST.WebUserControls.mod_menuTopCompact" %>
<div id="titleGMW" style="text-align: center;">
<asp:Label ID="lblTitolo" runat="server" Text="" Style="color: #FFFFFF; font-size: 30pt" />
</div>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTopCompact.ascx.cs" Inherits="XPST.WebUserControls.mod_menuTopCompact" %>
<div id="titleGMW" style="text-align: center;">
<asp:Label ID="lblTitolo" runat="server" Text="" Style="color: #FFFFFF; font-size: 30pt" />
</div>
@@ -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");
}
}
}
@@ -1,24 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_menuTopCompact {
/// <summary>
/// lblTitolo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTitolo;
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPST.WebUserControls {
public partial class mod_menuTopCompact {
/// <summary>
/// lblTitolo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTitolo;
}
}
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<publishData>
<publishProfile publishUrl="https://10.74.82.218:8172/MsDeploy.axd" deleteExistingFiles="False" ftpAnonymousLogin="False" ftpPassiveMode="True" msdeploySite="Default Web Site/XPST" msdeploySiteID="" msdeployRemoteSitePhysicalPath="" msdeployAllowUntrustedCertificate="True" msdeploySkipExtraFilesOnServer="True" msdeployMarkAsApp="True" profileName="218" publishMethod="MSDeploy" replaceMatchingFiles="True" userName="administrator" savePWD="True" userPWD="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFmNUguGW/kK/L084ZvFUuQAAAAACAAAAAAADZgAAwAAAABAAAADGy4m1VCGLhCyn0HZVlJhaAAAAAASAAACgAAAAEAAAAOhC6sNB5BPslGmWitJVBEMQAAAA6nL9qBVx2ztR2jg0QQUNuhQAAAACEEs11ezlsIj34wbS4t8SB7F1oQ==" SelectedForPublish="True" />
<?xml version="1.0" encoding="utf-8"?>
<publishData>
<publishProfile publishUrl="https://10.74.82.218:8172/MsDeploy.axd" deleteExistingFiles="False" ftpAnonymousLogin="False" ftpPassiveMode="True" msdeploySite="Default Web Site/XPST" msdeploySiteID="" msdeployRemoteSitePhysicalPath="" msdeployAllowUntrustedCertificate="True" msdeploySkipExtraFilesOnServer="True" msdeployMarkAsApp="True" profileName="218" publishMethod="MSDeploy" replaceMatchingFiles="True" userName="administrator" savePWD="True" userPWD="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFmNUguGW/kK/L084ZvFUuQAAAAACAAAAAAADZgAAwAAAABAAAADGy4m1VCGLhCyn0HZVlJhaAAAAAASAAACgAAAAEAAAAOhC6sNB5BPslGmWitJVBEMQAAAA6nL9qBVx2ztR2jg0QQUNuhQAAAACEEs11ezlsIj34wbS4t8SB7F1oQ==" SelectedForPublish="True" />
</publishData>
+289 -288
View File
@@ -1,289 +1,290 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'EQUA|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>
</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\XPST.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
<ExcludeApp_Data>true</ExcludeApp_Data>
<DeployIisAppPath>Sito Web Predefinito/XPST</DeployIisAppPath>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7E601ABB-1A55-4F6B-85EB-E98F284B21F1}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XPST</RootNamespace>
<AssemblyName>XPST</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<UseIISExpress>false</UseIISExpress>
<TargetFrameworkProfile />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DeployIisAppPath>Default Web Site/XPST</DeployIisAppPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
<ExcludeApp_Data>true</ExcludeApp_Data>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxMin">
<HintPath>..\packages\AjaxMin.4.78.4724.23869\lib\net35\AjaxMin.dll</HintPath>
</Reference>
<Reference Include="Flesk.Accelerator, Version=1.3.8000.0, Culture=neutral, PublicKeyToken=001f3d0f785ebf55, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Library\FleskAccelerator\bin\Release\Flesk.Accelerator.dll</HintPath>
</Reference>
<Reference Include="Flesk.ViewState, Version=2.4.8000.0, Culture=neutral, PublicKeyToken=001f3d0f785ebf55, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Library\FleskViewStateOptimizer\bin\Release\Flesk.ViewState.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="barcode.aspx" />
<Content Include="Content\images\ajax-loader.gif" />
<Content Include="Content\images\icons-18-black.png" />
<Content Include="Content\images\icons-18-white.png" />
<Content Include="Content\images\icons-36-black.png" />
<Content Include="Content\images\icons-36-white.png" />
<Content Include="Content\jquery.mobile-1.2.0.css" />
<Content Include="Content\jquery.mobile-1.2.0.min.css" />
<Content Include="Content\jquery.mobile.structure-1.2.0.css" />
<Content Include="Content\jquery.mobile.structure-1.2.0.min.css" />
<Content Include="Content\jquery.mobile.theme-1.2.0.css" />
<Content Include="Content\jquery.mobile.theme-1.2.0.min.css" />
<Content Include="Default.aspx" />
<Content Include="forceUser.aspx" />
<Content Include="login.aspx" />
<Content Include="Scripts\jquery-1.8.3-vsdoc.js" />
<Content Include="Scripts\jquery-1.8.3.js" />
<Content Include="Scripts\jquery-1.8.3.min.js" />
<Content Include="Scripts\jquery.mobile-1.2.0.js" />
<Content Include="Scripts\jquery.mobile-1.2.0.min.js" />
<Content Include="unauthorized.aspx" />
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
<Content Include="WebUserControls\mod_barcode.ascx" />
</ItemGroup>
<ItemGroup>
<Compile Include="barcode.aspx.cs">
<DependentUpon>barcode.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="barcode.aspx.designer.cs">
<DependentUpon>barcode.aspx</DependentUpon>
</Compile>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="forceUser.aspx.cs">
<DependentUpon>forceUser.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="forceUser.aspx.designer.cs">
<DependentUpon>forceUser.aspx</DependentUpon>
</Compile>
<Compile Include="login.aspx.cs">
<DependentUpon>login.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="login.aspx.designer.cs">
<DependentUpon>login.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="unauthorized.aspx.cs">
<DependentUpon>unauthorized.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="unauthorized.aspx.designer.cs">
<DependentUpon>unauthorized.aspx</DependentUpon>
</Compile>
<Compile Include="WebMasterPages\CompactBCode.Master.cs">
<DependentUpon>CompactBCode.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebMasterPages\CompactBCode.Master.designer.cs">
<DependentUpon>CompactBCode.Master</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_barcode.ascx.cs">
<DependentUpon>mod_barcode.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_barcode.ascx.designer.cs">
<DependentUpon>mod_barcode.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_btnComandi.ascx.cs">
<DependentUpon>mod_btnComandi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_btnComandi.ascx.designer.cs">
<DependentUpon>mod_btnComandi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_footer.ascx.cs">
<DependentUpon>mod_footer.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_footer.ascx.designer.cs">
<DependentUpon>mod_footer.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_login.ascx.cs">
<DependentUpon>mod_login.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_login.ascx.designer.cs">
<DependentUpon>mod_login.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_menuTopCompact.ascx.cs">
<DependentUpon>mod_menuTopCompact.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_menuTopCompact.ascx.designer.cs">
<DependentUpon>mod_menuTopCompact.ascx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\SteamWareLibrary\SteamWare\SteamWare.csproj">
<Project>{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}</Project>
<Name>SteamWare</Name>
</ProjectReference>
<ProjectReference Include="..\XPS_data\XPS_data.csproj">
<Project>{1E34AB89-96DE-49A3-B337-8ECAD8A695BF}</Project>
<Name>XPS_data</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Style.css" />
<Content Include="WebMasterPages\CompactBCode.Master" />
<Content Include="WebUserControls\mod_btnComandi.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
<Content Include="WebUserControls\mod_login.ascx" />
<Content Include="WebUserControls\mod_menuTopCompact.ascx" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="images\" />
</ItemGroup>
<ItemGroup>
<Content Include="logs\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="logs\ViewStates\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="Scripts\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.EQUA.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="Properties\PublishProfiles\218.pubxml" />
<None Include="Properties\PublishProfiles\EQUA.pubxml" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>10915</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'EQUA|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>
</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\XPST.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
<ExcludeApp_Data>true</ExcludeApp_Data>
<DeployIisAppPath>Sito Web Predefinito/XPST</DeployIisAppPath>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7E601ABB-1A55-4F6B-85EB-E98F284B21F1}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XPST</RootNamespace>
<AssemblyName>XPST</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<UseIISExpress>false</UseIISExpress>
<TargetFrameworkProfile />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DeployIisAppPath>Default Web Site/XPST</DeployIisAppPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
<ExcludeApp_Data>true</ExcludeApp_Data>
</PropertyGroup>
<ItemGroup>
<Reference Include="AjaxMin">
<HintPath>..\packages\AjaxMin.4.78.4724.23869\lib\net35\AjaxMin.dll</HintPath>
</Reference>
<Reference Include="Flesk.Accelerator, Version=1.3.8000.0, Culture=neutral, PublicKeyToken=001f3d0f785ebf55, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Library\FleskAccelerator\bin\Release\Flesk.Accelerator.dll</HintPath>
</Reference>
<Reference Include="Flesk.ViewState, Version=2.4.8000.0, Culture=neutral, PublicKeyToken=001f3d0f785ebf55, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Library\FleskViewStateOptimizer\bin\Release\Flesk.ViewState.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="barcode.aspx" />
<Content Include="Content\images\ajax-loader.gif" />
<Content Include="Content\images\icons-18-black.png" />
<Content Include="Content\images\icons-18-white.png" />
<Content Include="Content\images\icons-36-black.png" />
<Content Include="Content\images\icons-36-white.png" />
<Content Include="Content\jquery.mobile-1.2.0.css" />
<Content Include="Content\jquery.mobile-1.2.0.min.css" />
<Content Include="Content\jquery.mobile.structure-1.2.0.css" />
<Content Include="Content\jquery.mobile.structure-1.2.0.min.css" />
<Content Include="Content\jquery.mobile.theme-1.2.0.css" />
<Content Include="Content\jquery.mobile.theme-1.2.0.min.css" />
<Content Include="Default.aspx" />
<Content Include="forceUser.aspx" />
<Content Include="login.aspx" />
<Content Include="Scripts\jquery-1.8.3-vsdoc.js" />
<Content Include="Scripts\jquery-1.8.3.js" />
<Content Include="Scripts\jquery-1.8.3.min.js" />
<Content Include="Scripts\jquery.mobile-1.2.0.js" />
<Content Include="Scripts\jquery.mobile-1.2.0.min.js" />
<Content Include="unauthorized.aspx" />
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
<Content Include="WebUserControls\mod_barcode.ascx" />
</ItemGroup>
<ItemGroup>
<Compile Include="barcode.aspx.cs">
<DependentUpon>barcode.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="barcode.aspx.designer.cs">
<DependentUpon>barcode.aspx</DependentUpon>
</Compile>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="forceUser.aspx.cs">
<DependentUpon>forceUser.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="forceUser.aspx.designer.cs">
<DependentUpon>forceUser.aspx</DependentUpon>
</Compile>
<Compile Include="login.aspx.cs">
<DependentUpon>login.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="login.aspx.designer.cs">
<DependentUpon>login.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="unauthorized.aspx.cs">
<DependentUpon>unauthorized.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="unauthorized.aspx.designer.cs">
<DependentUpon>unauthorized.aspx</DependentUpon>
</Compile>
<Compile Include="WebMasterPages\CompactBCode.Master.cs">
<DependentUpon>CompactBCode.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebMasterPages\CompactBCode.Master.designer.cs">
<DependentUpon>CompactBCode.Master</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_barcode.ascx.cs">
<DependentUpon>mod_barcode.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_barcode.ascx.designer.cs">
<DependentUpon>mod_barcode.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_btnComandi.ascx.cs">
<DependentUpon>mod_btnComandi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_btnComandi.ascx.designer.cs">
<DependentUpon>mod_btnComandi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_footer.ascx.cs">
<DependentUpon>mod_footer.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_footer.ascx.designer.cs">
<DependentUpon>mod_footer.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_login.ascx.cs">
<DependentUpon>mod_login.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_login.ascx.designer.cs">
<DependentUpon>mod_login.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_menuTopCompact.ascx.cs">
<DependentUpon>mod_menuTopCompact.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_menuTopCompact.ascx.designer.cs">
<DependentUpon>mod_menuTopCompact.ascx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Steamware\SteamWareLib\SteamWare.csproj">
<Project>{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}</Project>
<Name>SteamWare</Name>
</ProjectReference>
<ProjectReference Include="..\XPS_data\XPS_data.csproj">
<Project>{1E34AB89-96DE-49A3-B337-8ECAD8A695BF}</Project>
<Name>XPS_data</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Style.css" />
<Content Include="WebMasterPages\CompactBCode.Master" />
<Content Include="WebUserControls\mod_btnComandi.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
<Content Include="WebUserControls\mod_login.ascx" />
<Content Include="WebUserControls\mod_menuTopCompact.ascx" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="images\" />
</ItemGroup>
<ItemGroup>
<Content Include="logs\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="logs\ViewStates\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="Scripts\PlaceHolder.file" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.EQUA.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
<None Include="Properties\PublishProfiles\EQUA.pubxml" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>10915</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -1,31 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
<NameOfLastUsedPublishProfile>218</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>Default.aspx</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
<UseIISExpress>false</UseIISExpress>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>Default.aspx</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="Server">
<uc1:mod_barcode ID="mod_barcode1" runat="server" />
<uc2:mod_btnComandi ID="mod_btnComandi1" runat="server" />
</asp:Content>
<%@ 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="Server">
<uc1:mod_barcode ID="mod_barcode1" runat="server" />
<uc2:mod_btnComandi ID="mod_btnComandi1" runat="server" />
</asp:Content>
@@ -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);
}
/// <summary>
/// inviato un comando dai link buttons
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_btnComandi1_eh_clickComando(object sender, EventArgs e)
{
// chiamo metodo caricamento comandi in modulo barcode...
mod_barcode1.loadBtnClickComando();
}
private void traduciObj()
{
}
/// <summary>
/// effettuo il setup dei valori ammessi x il barcode...
/// </summary>
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<string, string> valori = new Dictionary<string, string>();
// 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}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>{4} colli ({5} kg)<br /><b>{6}</b>", 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}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>nr {4} items ({5} kg)<br /><b>{6}</b>", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Qta, riga.Peso, riga.Stato, riga.CodCli));
}
// assegno valori al barcode...
mod_barcode1.tabValori = valori;
}
/// <summary>
/// carico da tab i comandi ammessi per il barcode...
/// </summary>
private void setupComandiBarcode()
{
XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter();
DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC");
Dictionary<string, string> comandi = new Dictionary<string, string>();
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;
}
/// <summary>
/// il barcode ha registrato un evento...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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();
}
/// <summary>
/// eseguo il comando
/// </summary>
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);
}
/// <summary>
/// inviato un comando dai link buttons
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_btnComandi1_eh_clickComando(object sender, EventArgs e)
{
// chiamo metodo caricamento comandi in modulo barcode...
mod_barcode1.loadBtnClickComando();
}
private void traduciObj()
{
}
/// <summary>
/// effettuo il setup dei valori ammessi x il barcode...
/// </summary>
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<string, string> valori = new Dictionary<string, string>();
// 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}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>{4} colli ({5} kg)<br /><b>{6}</b>", 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}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>nr {4} items ({5} kg)<br /><b>{6}</b>", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Qta, riga.Peso, riga.Stato, riga.CodCli));
}
// assegno valori al barcode...
mod_barcode1.tabValori = valori;
}
/// <summary>
/// carico da tab i comandi ammessi per il barcode...
/// </summary>
private void setupComandiBarcode()
{
XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter taTrEv2St = new XPS_data.DS_applicazioneTableAdapters.TraEv2StatiTableAdapter();
DS_applicazione.TraEv2StatiDataTable _tabTran = taTrEv2St.getByCodMappa("E_BC");
Dictionary<string, string> comandi = new Dictionary<string, string>();
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;
}
/// <summary>
/// il barcode ha registrato un evento...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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();
}
/// <summary>
/// eseguo il comando
/// </summary>
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;
}
}
@@ -1,32 +1,32 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
public partial class barcode {
/// <summary>
/// mod_barcode1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_barcode mod_barcode1;
/// <summary>
/// mod_btnComandi1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_btnComandi mod_btnComandi1;
}
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
public partial class barcode {
/// <summary>
/// mod_barcode1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_barcode mod_barcode1;
/// <summary>
/// mod_btnComandi1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPST.WebUserControls.mod_btnComandi mod_btnComandi1;
}
+123 -121
View File
@@ -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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
Binary file not shown.
View File
Binary file not shown.
Binary file not shown.