Update gestione macchina a stati: usa tab nuove x prima parte...
git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@61 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
<xs:schema id="DS_applicazione" targetNamespace="http://tempuri.org/DS_applicazione.xsd" xmlns:mstns="http://tempuri.org/DS_applicazione.xsd" xmlns="http://tempuri.org/DS_applicazione.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="SP" GeneratorFunctionsComponentClassName="SP" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="SP" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="SP" GeneratorFunctionsComponentClassName="SP" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="SP" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="SteamWare_XPSConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SteamWare_XPSConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.SteamWare_XPSConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
|
||||
<Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="SteamWare_XPSConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SteamWare_XPSConnectionString1 (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.SteamWare_XPSConnectionString1.ConnectionString" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagClientiTableAdapter" GeneratorDataComponentClassName="AnagClientiTableAdapter" Name="AnagClienti" UserDataComponentName="AnagClientiTableAdapter">
|
||||
@@ -718,6 +719,138 @@ FROM AnagraficaEventi</CommandText>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventiTableAdapter" GeneratorDataComponentClassName="EventiTableAdapter" Name="Eventi" UserDataComponentName="EventiTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="SteamWare_XPSConnectionString1 (Web.config)" DbObjectName="SteamWare_XPS.dbo.Eventi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[Eventi] WHERE (([CodEvento] = @Original_CodEvento))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[Eventi] ([CodEvento], [CodTipoEvento], [DescrEvento], [Action]) VALUES (@CodEvento, @CodTipoEvento, @DescrEvento, @Action)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipoEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Action" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Action" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodEvento, CodTipoEvento, DescrEvento, Action FROM dbo.Eventi</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[Eventi] SET [CodEvento] = @CodEvento, [CodTipoEvento] = @CodTipoEvento, [DescrEvento] = @DescrEvento, [Action] = @Action WHERE (([CodEvento] = @Original_CodEvento))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipoEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipoEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Action" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Action" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodEvento" DataSetColumn="CodEvento" />
|
||||
<Mapping SourceColumn="CodTipoEvento" DataSetColumn="CodTipoEvento" />
|
||||
<Mapping SourceColumn="DescrEvento" DataSetColumn="DescrEvento" />
|
||||
<Mapping SourceColumn="Action" DataSetColumn="Action" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="SteamWare_XPSConnectionString1 (Web.config)" DbObjectName="SteamWare_XPS.dbo.Eventi" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodEvento" GetMethodModifier="Public" GetMethodName="getByCodEvento" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodEvento" UserSourceName="getByCodEvento">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DISTINCT Eventi.CodEvento, Eventi.CodTipoEvento, Eventi.DescrEvento, Eventi.Action
|
||||
FROM Eventi INNER JOIN
|
||||
TraEv2Stati ON Eventi.CodEvento = TraEv2Stati.CodEvento
|
||||
WHERE (TraEv2Stati.CodEvento = @CodEvento)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="CodEvento" ColumnName="CodEvento" DataSourceName="SteamWare_XPS.dbo.TraEv2Stati" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TraEv2StatiTableAdapter" GeneratorDataComponentClassName="TraEv2StatiTableAdapter" Name="TraEv2Stati" UserDataComponentName="TraEv2StatiTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="SteamWare_XPSConnectionString1 (Web.config)" DbObjectName="SteamWare_XPS.dbo.TraEv2Stati" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[TraEv2Stati] WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodObj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodObj" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[TraEv2Stati] ([CodMappa], [CodObj], [CodStato], [CodEvento], [NextCodStato], [CmdPlugin], [text2show], [descrComando]) VALUES (@CodMappa, @CodObj, @CodStato, @CodEvento, @NextCodStato, @CmdPlugin, @text2show, @descrComando)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodObj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodObj" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NextCodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NextCodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CmdPlugin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CmdPlugin" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@text2show" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="text2show" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrComando" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrComando" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodMappa, CodObj, CodStato, CodEvento, NextCodStato, CmdPlugin, text2show, descrComando FROM dbo.TraEv2Stati</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[TraEv2Stati] SET [CodMappa] = @CodMappa, [CodObj] = @CodObj, [CodStato] = @CodStato, [CodEvento] = @CodEvento, [NextCodStato] = @NextCodStato, [CmdPlugin] = @CmdPlugin, [text2show] = @text2show, [descrComando] = @descrComando WHERE (([CodMappa] = @Original_CodMappa) AND ([CodObj] = @Original_CodObj) AND ([CodStato] = @Original_CodStato) AND ([CodEvento] = @Original_CodEvento))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMappa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodObj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodObj" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NextCodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NextCodStato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CmdPlugin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CmdPlugin" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@text2show" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="text2show" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrComando" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrComando" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMappa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMappa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodObj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodObj" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodStato" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStato" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodMappa" DataSetColumn="CodMappa" />
|
||||
<Mapping SourceColumn="CodObj" DataSetColumn="CodObj" />
|
||||
<Mapping SourceColumn="CodStato" DataSetColumn="CodStato" />
|
||||
<Mapping SourceColumn="CodEvento" DataSetColumn="CodEvento" />
|
||||
<Mapping SourceColumn="NextCodStato" DataSetColumn="NextCodStato" />
|
||||
<Mapping SourceColumn="CmdPlugin" DataSetColumn="CmdPlugin" />
|
||||
<Mapping SourceColumn="text2show" DataSetColumn="text2show" />
|
||||
<Mapping SourceColumn="descrComando" DataSetColumn="descrComando" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -1198,6 +1331,102 @@ FROM AnagraficaEventi</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Eventi" msprop:Generator_UserTableName="Eventi" msprop:Generator_RowDeletedName="EventiRowDeleted" msprop:Generator_TableClassName="EventiDataTable" msprop:Generator_RowChangedName="EventiRowChanged" msprop:Generator_RowClassName="EventiRow" msprop:Generator_RowChangingName="EventiRowChanging" msprop:Generator_RowEvArgName="EventiRowChangeEvent" msprop:Generator_RowEvHandlerName="EventiRowChangeEventHandler" msprop:Generator_TablePropName="Eventi" msprop:Generator_TableVarName="tableEventi" msprop:Generator_RowDeletingName="EventiRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodTipoEvento" msprop:Generator_UserColumnName="CodTipoEvento" msprop:Generator_ColumnPropNameInRow="CodTipoEvento" msprop:Generator_ColumnVarNameInTable="columnCodTipoEvento" msprop:Generator_ColumnPropNameInTable="CodTipoEventoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescrEvento" msprop:Generator_UserColumnName="DescrEvento" msprop:Generator_ColumnPropNameInRow="DescrEvento" msprop:Generator_ColumnVarNameInTable="columnDescrEvento" msprop:Generator_ColumnPropNameInTable="DescrEventoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Action" msprop:Generator_UserColumnName="Action" msprop:Generator_ColumnPropNameInRow="Action" msprop:Generator_ColumnVarNameInTable="columnAction" msprop:Generator_ColumnPropNameInTable="ActionColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TraEv2Stati" msprop:Generator_UserTableName="TraEv2Stati" msprop:Generator_RowDeletedName="TraEv2StatiRowDeleted" msprop:Generator_TableClassName="TraEv2StatiDataTable" msprop:Generator_RowChangedName="TraEv2StatiRowChanged" msprop:Generator_RowClassName="TraEv2StatiRow" msprop:Generator_RowChangingName="TraEv2StatiRowChanging" msprop:Generator_RowEvArgName="TraEv2StatiRowChangeEvent" msprop:Generator_RowEvHandlerName="TraEv2StatiRowChangeEventHandler" msprop:Generator_TablePropName="TraEv2Stati" msprop:Generator_TableVarName="tableTraEv2Stati" msprop:Generator_RowDeletingName="TraEv2StatiRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodMappa" msprop:Generator_UserColumnName="CodMappa" msprop:Generator_ColumnPropNameInRow="CodMappa" msprop:Generator_ColumnVarNameInTable="columnCodMappa" msprop:Generator_ColumnPropNameInTable="CodMappaColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodObj" msprop:Generator_UserColumnName="CodObj" msprop:Generator_ColumnPropNameInRow="CodObj" msprop:Generator_ColumnVarNameInTable="columnCodObj" msprop:Generator_ColumnPropNameInTable="CodObjColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="NextCodStato" msprop:Generator_UserColumnName="NextCodStato" msprop:Generator_ColumnPropNameInRow="NextCodStato" msprop:Generator_ColumnVarNameInTable="columnNextCodStato" msprop:Generator_ColumnPropNameInTable="NextCodStatoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CmdPlugin" msprop:Generator_UserColumnName="CmdPlugin" msprop:Generator_ColumnPropNameInRow="CmdPlugin" msprop:Generator_ColumnVarNameInTable="columnCmdPlugin" msprop:Generator_ColumnPropNameInTable="CmdPluginColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="text2show" msprop:Generator_UserColumnName="text2show" msprop:Generator_ColumnPropNameInRow="text2show" msprop:Generator_ColumnVarNameInTable="columntext2show" msprop:Generator_ColumnPropNameInTable="text2showColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="descrComando" msprop:Generator_UserColumnName="descrComando" msprop:Generator_ColumnPropNameInRow="descrComando" msprop:Generator_ColumnVarNameInTable="columndescrComando" msprop:Generator_ColumnPropNameInTable="descrComandoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -1237,6 +1466,17 @@ FROM AnagraficaEventi</CommandText>
|
||||
<xs:selector xpath=".//mstns:AnagraficaEventi" />
|
||||
<xs:field xpath="mstns:IdxTipoEvento" />
|
||||
</xs:unique>
|
||||
<xs:unique name="Eventi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:Eventi" />
|
||||
<xs:field xpath="mstns:CodEvento" />
|
||||
</xs:unique>
|
||||
<xs:unique name="TraEv2Stati_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:TraEv2Stati" />
|
||||
<xs:field xpath="mstns:CodMappa" />
|
||||
<xs:field xpath="mstns:CodObj" />
|
||||
<xs:field xpath="mstns:CodStato" />
|
||||
<xs:field xpath="mstns:CodEvento" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
@@ -1244,6 +1484,7 @@ FROM AnagraficaEventi</CommandText>
|
||||
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_UserParentTable="IstObj" msprop:Generator_ParentPropName="IstObjRow" msprop:Generator_ChildPropName="GetTratt2ObjRows" />
|
||||
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserChildTable="IstObj" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_ChildPropName="GetIstObjRows" />
|
||||
<msdata:Relationship name="FK_TransizioneEventi_AnagraficaEventi" msdata:parent="AnagraficaEventi" msdata:child="TransizioneEventi" msdata:parentkey="IdxTipoEvento" msdata:childkey="IdxTipoEvento" msprop:Generator_UserRelationName="FK_TransizioneEventi_AnagraficaEventi" msprop:Generator_RelationVarName="relationFK_TransizioneEventi_AnagraficaEventi" msprop:Generator_UserChildTable="TransizioneEventi" msprop:Generator_UserParentTable="AnagraficaEventi" msprop:Generator_ParentPropName="AnagraficaEventiRow" msprop:Generator_ChildPropName="GetTransizioneEventiRows" />
|
||||
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_UserParentTable="Eventi" msprop:Generator_ParentPropName="EventiRow" msprop:Generator_ChildPropName="GetTraEv2StatiRows" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,21 +4,23 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="32" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-6" ViewPortY="38" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="14" X="482" Y="129" Height="105" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagTrattamenti" ZOrder="13" X="689" Y="479" Height="105" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:Tratt2Obj" ZOrder="11" X="1039" Y="484" Height="122" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_commesse" ZOrder="5" X="105" Y="174" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:IstObj" ZOrder="7" X="1038" Y="75" Height="326" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_righe" ZOrder="6" X="506" Y="618" Height="343" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:sp_rec4Day" ZOrder="8" X="806" Y="652" Height="106" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="42" />
|
||||
<Shape ID="DesignTable:v_ULP" ZOrder="1" X="118" Y="597" Height="377" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:TransizioneEventi" ZOrder="4" X="1091" Y="667" Height="156" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" />
|
||||
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="3" X="1083" Y="899" Height="139" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="17" X="482" Y="129" Height="105" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagTrattamenti" ZOrder="16" X="689" Y="479" Height="105" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:Tratt2Obj" ZOrder="14" X="1039" Y="484" Height="122" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_commesse" ZOrder="8" X="24" Y="48" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:IstObj" ZOrder="10" X="1038" Y="75" Height="326" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_righe" ZOrder="9" X="380" Y="287" Height="343" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:sp_rec4Day" ZOrder="11" X="402" Y="650" Height="106" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="42" />
|
||||
<Shape ID="DesignTable:v_ULP" ZOrder="4" X="24" Y="410" Height="377" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:TransizioneEventi" ZOrder="7" X="1091" Y="667" Height="156" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" />
|
||||
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="6" X="1083" Y="899" Height="139" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:Eventi" ZOrder="1" X="461" Y="806" Height="156" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
|
||||
<Shape ID="DesignTable:TraEv2Stati" ZOrder="3" X="744" Y="769" Height="207" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Tratt2Obj_AnagTrattamenti" ZOrder="12" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tratt2Obj_AnagTrattamenti" ZOrder="15" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>927</X>
|
||||
@@ -30,7 +32,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tratt2Obj_IstObj" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tratt2Obj_IstObj" ZOrder="13" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1116</X>
|
||||
@@ -42,7 +44,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_IstObj_AnagClienti" ZOrder="9" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_IstObj_AnagClienti" ZOrder="12" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>689</X>
|
||||
@@ -54,7 +56,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TransizioneEventi_AnagraficaEventi" ZOrder="2" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_TransizioneEventi_AnagraficaEventi" ZOrder="5" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1162</X>
|
||||
@@ -66,5 +68,17 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TransizioneEventiStati_Eventi" ZOrder="2" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>660</X>
|
||||
<Y>854</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>744</X>
|
||||
<Y>854</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
||||
@@ -8,10 +8,10 @@ using SteamWare;
|
||||
/// </summary>
|
||||
public class stateMachine
|
||||
{
|
||||
protected DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter taAE;
|
||||
protected DS_applicazioneTableAdapters.EventiTableAdapter taEv;
|
||||
protected stateMachine()
|
||||
{
|
||||
taAE = new DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter();
|
||||
taEv = new DS_applicazioneTableAdapters.EventiTableAdapter();
|
||||
}
|
||||
public static stateMachine st = new stateMachine();
|
||||
/// <summary>
|
||||
@@ -25,7 +25,7 @@ public class stateMachine
|
||||
string toDo = "";
|
||||
try
|
||||
{
|
||||
toDo = taAE.getByCodInviato(comando.currCmdIn)[0].Action;
|
||||
toDo = taEv.getByCodEvento(comando.currCmdIn)[0].Action;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -34,7 +34,7 @@ public class stateMachine
|
||||
case "ok":
|
||||
_azione = tipoAzione.conferma;
|
||||
break;
|
||||
case "canc":
|
||||
case "ko":
|
||||
_azione = tipoAzione.annulla;
|
||||
break;
|
||||
case "act":
|
||||
|
||||
+3
-1
@@ -115,7 +115,9 @@
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="SteamWare_XPSConnectionString" connectionString="Data Source=10.74.82.238;Initial Catalog=SteamWare_XPS;Persist Security Info=True;User id=sa;Password=keyhammer"
|
||||
providerName="System.Data.SqlClient" />
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="SteamWare_XPSConnectionString1" connectionString="Data Source=localhost;Initial Catalog=SteamWare_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
|
||||
Reference in New Issue
Block a user