|
|
|
@@ -4,260 +4,9 @@
|
|
|
|
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
|
|
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
|
|
<Connections>
|
|
|
|
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CMS_OMRConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CMS_OMRConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DemoApp.Properties.Settings.GlobalReference.Default.CMS_OMRConnectionString" Provider="System.Data.SqlClient" />
|
|
|
|
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CMS_OMRConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CMS_OMRConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DB_proxy.Properties.Settings.GlobalReference.Default.CMS_OMRConnectionString" Provider="System.Data.SqlClient" />
|
|
|
|
|
</Connections>
|
|
|
|
|
<Tables>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StoricoAllarmiExpTableAdapter" GeneratorDataComponentClassName="StoricoAllarmiExpTableAdapter" Name="StoricoAllarmiExp" UserDataComponentName="StoricoAllarmiExpTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.vStoricoAllarmiExp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<DeleteCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>DELETE FROM [dbo].[StoricoAllarmi] WHERE (([DtEvento] = @Original_DtEvento) AND ([CodAllarme] = @Original_CodAllarme) AND ([Attivo] = @Original_Attivo))</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[StoricoAllarmi] ([DtEvento], [CodAllarme], [Attivo]) VALUES (@DtEvento, @CodAllarme, @Attivo);
|
|
|
|
|
SELECT DtEvento, CodAllarme, Attivo FROM StoricoAllarmi WHERE (CodAllarme = @CodAllarme) AND (DtEvento = @DtEvento)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</InsertCommand>
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>SELECT DtEvento, CodAllarme, Attivo, Descrizione
|
|
|
|
|
FROM vStoricoAllarmiExp</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[StoricoAllarmi] SET [DtEvento] = @DtEvento, [CodAllarme] = @CodAllarme, [Attivo] = @Attivo WHERE (([DtEvento] = @Original_DtEvento) AND ([CodAllarme] = @Original_CodAllarme) AND ([Attivo] = @Original_Attivo));
|
|
|
|
|
SELECT DtEvento, CodAllarme, Attivo FROM StoricoAllarmi WHERE (CodAllarme = @CodAllarme) AND (DtEvento = @DtEvento)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="DtEvento" DataSetColumn="DtEvento" />
|
|
|
|
|
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
|
|
|
|
|
<Mapping SourceColumn="Attivo" DataSetColumn="Attivo" />
|
|
|
|
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_checkStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkStatus" Modifier="Public" Name="checkStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="checkStatus">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_Allarmi_checkStatus</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@charSep" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@alarmList" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_getLast" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillLastRec" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetLastRec" GeneratorSourceName="FillLastRec" GetMethodModifier="Public" GetMethodName="GetLastRec" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetLastRec" UserSourceName="FillLastRec">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_Allarmi_getLast</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</Sources>
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagOperatoriTableAdapter" GeneratorDataComponentClassName="AnagOperatoriTableAdapter" Name="AnagOperatori" UserDataComponentName="AnagOperatoriTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagOperatori" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<DeleteCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>DELETE FROM [dbo].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome))</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome]) VALUES (@Barcode, @Cognome, @Nome);
|
|
|
|
|
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</InsertCommand>
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>SELECT Barcode, Cognome, Nome FROM dbo.AnagOperatori</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome));
|
|
|
|
|
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
|
|
|
|
|
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
|
|
|
|
|
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_deleteQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_search" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByBCode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByBCode" GeneratorSourceName="FillByBCode" GetMethodModifier="Public" GetMethodName="GetByBCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByBCode" UserSourceName="FillByBCode">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_search</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_insertQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_updateQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</Sources>
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagAllarmiTableAdapter" GeneratorDataComponentClassName="AnagAllarmiTableAdapter" Name="AnagAllarmi" UserDataComponentName="AnagAllarmiTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagAllarmi" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<DeleteCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>DELETE FROM [dbo].[AnagAllarmi] WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus))</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[AnagAllarmi] ([CodAllarme], [Descrizione], [ReportAttivo], [LastStart], [LastEnd], [CurrStatus]) VALUES (@CodAllarme, @Descrizione, @ReportAttivo, @LastStart, @LastEnd, @CurrStatus);
|
|
|
|
|
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</InsertCommand>
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
|
|
|
|
<CommandText>SELECT *
|
|
|
|
|
FROM dbo.AnagAllarmi</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[AnagAllarmi] SET [CodAllarme] = @CodAllarme, [Descrizione] = @Descrizione, [ReportAttivo] = @ReportAttivo, [LastStart] = @LastStart, [LastEnd] = @LastEnd, [CurrStatus] = @CurrStatus WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus));
|
|
|
|
|
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
|
|
|
|
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
|
|
|
|
<Mapping SourceColumn="ReportAttivo" DataSetColumn="ReportAttivo" />
|
|
|
|
|
<Mapping SourceColumn="LastStart" DataSetColumn="LastStart" />
|
|
|
|
|
<Mapping SourceColumn="LastEnd" DataSetColumn="LastEnd" />
|
|
|
|
|
<Mapping SourceColumn="CurrStatus" DataSetColumn="CurrStatus" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources />
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabOperazioniTableAdapter" GeneratorDataComponentClassName="TabOperazioniTableAdapter" Name="TabOperazioni" UserDataComponentName="TabOperazioniTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.TabOperazioni" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
@@ -277,10 +26,9 @@ SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FRO
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[TabOperazioni] ([IdxRec], [DtEvento], [CodStazione], [CodSottostaz], [CodOperaz], [CodStato], [Datamatrix]) VALUES (@IdxRec, @DtEvento, @CodStazione, @CodSottostaz, @CodOperaz, @CodStato, @Datamatrix);
|
|
|
|
|
SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM TabOperazioni WHERE (IdxRec = @IdxRec)</CommandText>
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[TabOperazioni] ([DtEvento], [CodStazione], [CodSottostaz], [CodOperaz], [CodStato], [Datamatrix]) VALUES (@DtEvento, @CodStazione, @CodSottostaz, @CodOperaz, @CodStato, @Datamatrix);
|
|
|
|
|
SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM TabOperazioni WHERE (IdxRec = SCOPE_IDENTITY())</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
@@ -298,10 +46,9 @@ SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamat
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[TabOperazioni] SET [IdxRec] = @IdxRec, [DtEvento] = @DtEvento, [CodStazione] = @CodStazione, [CodSottostaz] = @CodSottostaz, [CodOperaz] = @CodOperaz, [CodStato] = @CodStato, [Datamatrix] = @Datamatrix WHERE (([IdxRec] = @Original_IdxRec) AND ([DtEvento] = @Original_DtEvento) AND ([CodStazione] = @Original_CodStazione) AND ([CodSottostaz] = @Original_CodSottostaz) AND ([CodOperaz] = @Original_CodOperaz) AND ([CodStato] = @Original_CodStato) AND ([Datamatrix] = @Original_Datamatrix));
|
|
|
|
|
<CommandText>UPDATE [dbo].[TabOperazioni] SET [DtEvento] = @DtEvento, [CodStazione] = @CodStazione, [CodSottostaz] = @CodSottostaz, [CodOperaz] = @CodOperaz, [CodStato] = @CodStato, [Datamatrix] = @Datamatrix WHERE (([IdxRec] = @Original_IdxRec) AND ([DtEvento] = @Original_DtEvento) AND ([CodStazione] = @Original_CodStazione) AND ([CodSottostaz] = @Original_CodSottostaz) AND ([CodOperaz] = @Original_CodOperaz) AND ([CodStato] = @Original_CodStato) AND ([Datamatrix] = @Original_Datamatrix));
|
|
|
|
|
SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamatrix FROM TabOperazioni WHERE (IdxRec = @IdxRec)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvento" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodStazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodStazione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSottostaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSottostaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
@@ -315,6 +62,7 @@ SELECT IdxRec, DtEvento, CodStazione, CodSottostaz, CodOperaz, CodStato, Datamat
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodOperaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodOperaz" 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_Datamatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Datamatrix" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="IdxRec" ColumnName="IdxRec" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxRec" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxRec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
@@ -523,15 +271,15 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagArt_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagArt_insertQuery</CommandText>
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_insertQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgMain" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartProgAux" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
@@ -552,6 +300,221 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
</DbSource>
|
|
|
|
|
</Sources>
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagAllarmiTableAdapter" GeneratorDataComponentClassName="AnagAllarmiTableAdapter" Name="AnagAllarmi" UserDataComponentName="AnagAllarmiTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagAllarmi" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<DeleteCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>DELETE FROM [dbo].[AnagAllarmi] WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus))</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[AnagAllarmi] ([CodAllarme], [Descrizione], [ReportAttivo], [LastStart], [LastEnd], [CurrStatus]) VALUES (@CodAllarme, @Descrizione, @ReportAttivo, @LastStart, @LastEnd, @CurrStatus);
|
|
|
|
|
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</InsertCommand>
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM dbo.AnagAllarmi</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[AnagAllarmi] SET [CodAllarme] = @CodAllarme, [Descrizione] = @Descrizione, [ReportAttivo] = @ReportAttivo, [LastStart] = @LastStart, [LastEnd] = @LastEnd, [CurrStatus] = @CurrStatus WHERE (([CodAllarme] = @Original_CodAllarme) AND ([Descrizione] = @Original_Descrizione) AND ([ReportAttivo] = @Original_ReportAttivo) AND ([LastStart] = @Original_LastStart) AND ([LastEnd] = @Original_LastEnd) AND ([CurrStatus] = @Original_CurrStatus));
|
|
|
|
|
SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FROM AnagAllarmi WHERE (CodAllarme = @CodAllarme)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAllarme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAllarme" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ReportAttivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ReportAttivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastStart" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastStart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastEnd" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
|
|
|
|
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
|
|
|
|
<Mapping SourceColumn="ReportAttivo" DataSetColumn="ReportAttivo" />
|
|
|
|
|
<Mapping SourceColumn="LastStart" DataSetColumn="LastStart" />
|
|
|
|
|
<Mapping SourceColumn="LastEnd" DataSetColumn="LastEnd" />
|
|
|
|
|
<Mapping SourceColumn="CurrStatus" DataSetColumn="CurrStatus" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources />
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StoricoAllarmiExpTableAdapter" GeneratorDataComponentClassName="StoricoAllarmiExpTableAdapter" Name="StoricoAllarmiExp" UserDataComponentName="StoricoAllarmiExpTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.vStoricoAllarmiExp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
|
|
|
|
<CommandText>SELECT *
|
|
|
|
|
FROM vStoricoAllarmiExp</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="DtEvento" DataSetColumn="DtEvento" />
|
|
|
|
|
<Mapping SourceColumn="CodAllarme" DataSetColumn="CodAllarme" />
|
|
|
|
|
<Mapping SourceColumn="Attivo" DataSetColumn="Attivo" />
|
|
|
|
|
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_checkStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkStatus" Modifier="Public" Name="checkStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="checkStatus">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_Allarmi_checkStatus</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@charSep" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@alarmList" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_Allarmi_getLast" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillLastRec" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetLastRec" GeneratorSourceName="FillLastRec" GetMethodModifier="Public" GetMethodName="GetLastRec" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetLastRec" UserSourceName="FillLastRec">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_Allarmi_getLast</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</Sources>
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagOperatoriTableAdapter" GeneratorDataComponentClassName="AnagOperatoriTableAdapter" Name="AnagOperatori" UserDataComponentName="AnagOperatoriTableAdapter">
|
|
|
|
|
<MainSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagOperatori" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
|
|
|
<DeleteCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>DELETE FROM [dbo].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome))</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</DeleteCommand>
|
|
|
|
|
<InsertCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome]) VALUES (@Barcode, @Cognome, @Nome);
|
|
|
|
|
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</InsertCommand>
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>SELECT Barcode, Cognome, Nome FROM dbo.AnagOperatori</CommandText>
|
|
|
|
|
<Parameters />
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
<UpdateCommand>
|
|
|
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
|
|
|
<CommandText>UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome));
|
|
|
|
|
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</UpdateCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</MainSource>
|
|
|
|
|
<Mappings>
|
|
|
|
|
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
|
|
|
|
|
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
|
|
|
|
|
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
|
|
|
|
|
</Mappings>
|
|
|
|
|
<Sources>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_deleteQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_search" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByBCode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByBCode" GeneratorSourceName="FillByBCode" GetMethodModifier="Public" GetMethodName="GetByBCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByBCode" UserSourceName="FillByBCode">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_search</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_insertQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
|
|
|
|
<SelectCommand>
|
|
|
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
|
|
|
<CommandText>dbo.stp_AnagOpr_updateQuery</CommandText>
|
|
|
|
|
<Parameters>
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
|
|
|
</Parameters>
|
|
|
|
|
</DbCommand>
|
|
|
|
|
</SelectCommand>
|
|
|
|
|
</DbSource>
|
|
|
|
|
</Sources>
|
|
|
|
|
</TableAdapter>
|
|
|
|
|
</Tables>
|
|
|
|
|
<Sources />
|
|
|
|
|
</DataSource>
|
|
|
|
@@ -560,83 +523,10 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
<xs:element name="DS_App" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_App" msprop:Generator_UserDSName="DS_App">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
|
|
|
<xs:element name="StoricoAllarmiExp" msprop:Generator_TableClassName="StoricoAllarmiExpDataTable" msprop:Generator_TableVarName="tableStoricoAllarmiExp" msprop:Generator_RowChangedName="StoricoAllarmiExpRowChanged" msprop:Generator_TablePropName="StoricoAllarmiExp" msprop:Generator_RowDeletingName="StoricoAllarmiExpRowDeleting" msprop:Generator_RowChangingName="StoricoAllarmiExpRowChanging" msprop:Generator_RowEvHandlerName="StoricoAllarmiExpRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAllarmiExpRowDeleted" msprop:Generator_RowClassName="StoricoAllarmiExpRow" msprop:Generator_UserTableName="StoricoAllarmiExp" msprop:Generator_RowEvArgName="StoricoAllarmiExpRowChangeEvent">
|
|
|
|
|
<xs:element name="TabOperazioni" msprop:Generator_TableClassName="TabOperazioniDataTable" msprop:Generator_TableVarName="tableTabOperazioni" msprop:Generator_TablePropName="TabOperazioni" msprop:Generator_RowDeletingName="TabOperazioniRowDeleting" msprop:Generator_RowChangingName="TabOperazioniRowChanging" msprop:Generator_RowEvHandlerName="TabOperazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="TabOperazioniRowDeleted" msprop:Generator_UserTableName="TabOperazioni" msprop:Generator_RowChangedName="TabOperazioniRowChanged" msprop:Generator_RowEvArgName="TabOperazioniRowChangeEvent" msprop:Generator_RowClassName="TabOperazioniRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" />
|
|
|
|
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="250" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="AnagOperatori" msprop:Generator_TableClassName="AnagOperatoriDataTable" msprop:Generator_TableVarName="tableAnagOperatori" msprop:Generator_RowChangedName="AnagOperatoriRowChanged" msprop:Generator_TablePropName="AnagOperatori" msprop:Generator_RowDeletingName="AnagOperatoriRowDeleting" msprop:Generator_RowChangingName="AnagOperatoriRowChanging" msprop:Generator_RowEvHandlerName="AnagOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOperatoriRowDeleted" msprop:Generator_RowClassName="AnagOperatoriRow" msprop:Generator_UserTableName="AnagOperatori" msprop:Generator_RowEvArgName="AnagOperatoriRowChangeEvent">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome">
|
|
|
|
|
<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="AnagAllarmi" msprop:Generator_TableClassName="AnagAllarmiDataTable" msprop:Generator_TableVarName="tableAnagAllarmi" msprop:Generator_RowChangedName="AnagAllarmiRowChanged" msprop:Generator_TablePropName="AnagAllarmi" msprop:Generator_RowDeletingName="AnagAllarmiRowDeleting" msprop:Generator_RowChangingName="AnagAllarmiRowChanging" msprop:Generator_RowEvHandlerName="AnagAllarmiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagAllarmiRowDeleted" msprop:Generator_RowClassName="AnagAllarmiRow" msprop:Generator_UserTableName="AnagAllarmi" msprop:Generator_RowEvArgName="AnagAllarmiRowChangeEvent">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="250" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="ReportAttivo" msprop:Generator_ColumnVarNameInTable="columnReportAttivo" msprop:Generator_ColumnPropNameInRow="ReportAttivo" msprop:Generator_ColumnPropNameInTable="ReportAttivoColumn" msprop:Generator_UserColumnName="ReportAttivo" type="xs:boolean" />
|
|
|
|
|
<xs:element name="LastStart" msprop:Generator_ColumnVarNameInTable="columnLastStart" msprop:Generator_ColumnPropNameInRow="LastStart" msprop:Generator_ColumnPropNameInTable="LastStartColumn" msprop:Generator_UserColumnName="LastStart" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="LastEnd" msprop:Generator_ColumnVarNameInTable="columnLastEnd" msprop:Generator_ColumnPropNameInRow="LastEnd" msprop:Generator_ColumnPropNameInTable="LastEndColumn" msprop:Generator_UserColumnName="LastEnd" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="CurrStatus" msprop:Generator_ColumnVarNameInTable="columnCurrStatus" msprop:Generator_ColumnPropNameInRow="CurrStatus" msprop:Generator_ColumnPropNameInTable="CurrStatusColumn" msprop:Generator_UserColumnName="CurrStatus" type="xs:boolean" />
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="TabOperazioni" msprop:Generator_TableClassName="TabOperazioniDataTable" msprop:Generator_TableVarName="tableTabOperazioni" msprop:Generator_RowChangedName="TabOperazioniRowChanged" msprop:Generator_TablePropName="TabOperazioni" msprop:Generator_RowDeletingName="TabOperazioniRowDeleting" msprop:Generator_RowChangingName="TabOperazioniRowChanging" msprop:Generator_RowEvHandlerName="TabOperazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="TabOperazioniRowDeleted" msprop:Generator_RowClassName="TabOperazioniRow" msprop:Generator_UserTableName="TabOperazioni" msprop:Generator_RowEvArgName="TabOperazioniRowChangeEvent">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="IdxRec" msprop:Generator_ColumnVarNameInTable="columnIdxRec" msprop:Generator_ColumnPropNameInRow="IdxRec" msprop:Generator_ColumnPropNameInTable="IdxRecColumn" msprop:Generator_UserColumnName="IdxRec" type="xs:int" />
|
|
|
|
|
<xs:element name="IdxRec" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRec" msprop:Generator_ColumnPropNameInRow="IdxRec" msprop:Generator_ColumnPropNameInTable="IdxRecColumn" msprop:Generator_UserColumnName="IdxRec" type="xs:int" />
|
|
|
|
|
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="CodStazione" msprop:Generator_ColumnVarNameInTable="columnCodStazione" msprop:Generator_ColumnPropNameInRow="CodStazione" msprop:Generator_ColumnPropNameInTable="CodStazioneColumn" msprop:Generator_UserColumnName="CodStazione">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
@@ -676,7 +566,7 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="TabPezzi" msprop:Generator_TableClassName="TabPezziDataTable" msprop:Generator_TableVarName="tableTabPezzi" msprop:Generator_RowChangedName="TabPezziRowChanged" msprop:Generator_TablePropName="TabPezzi" msprop:Generator_RowDeletingName="TabPezziRowDeleting" msprop:Generator_RowChangingName="TabPezziRowChanging" msprop:Generator_RowEvHandlerName="TabPezziRowChangeEventHandler" msprop:Generator_RowDeletedName="TabPezziRowDeleted" msprop:Generator_RowClassName="TabPezziRow" msprop:Generator_UserTableName="TabPezzi" msprop:Generator_RowEvArgName="TabPezziRowChangeEvent">
|
|
|
|
|
<xs:element name="TabPezzi" msprop:Generator_TableClassName="TabPezziDataTable" msprop:Generator_TableVarName="tableTabPezzi" msprop:Generator_TablePropName="TabPezzi" msprop:Generator_RowDeletingName="TabPezziRowDeleting" msprop:Generator_RowChangingName="TabPezziRowChanging" msprop:Generator_RowEvHandlerName="TabPezziRowChangeEventHandler" msprop:Generator_RowDeletedName="TabPezziRowDeleted" msprop:Generator_UserTableName="TabPezzi" msprop:Generator_RowChangedName="TabPezziRowChanged" msprop:Generator_RowEvArgName="TabPezziRowChangeEvent" msprop:Generator_RowClassName="TabPezziRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="Datamatrix" msprop:Generator_ColumnVarNameInTable="columnDatamatrix" msprop:Generator_ColumnPropNameInRow="Datamatrix" msprop:Generator_ColumnPropNameInTable="DatamatrixColumn" msprop:Generator_UserColumnName="Datamatrix">
|
|
|
|
@@ -724,7 +614,7 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="AnagArticoli" msprop:Generator_TableClassName="AnagArticoliDataTable" msprop:Generator_TableVarName="tableAnagArticoli" msprop:Generator_RowChangedName="AnagArticoliRowChanged" msprop:Generator_TablePropName="AnagArticoli" msprop:Generator_RowDeletingName="AnagArticoliRowDeleting" msprop:Generator_RowChangingName="AnagArticoliRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoliRowDeleted" msprop:Generator_RowClassName="AnagArticoliRow" msprop:Generator_UserTableName="AnagArticoli" msprop:Generator_RowEvArgName="AnagArticoliRowChangeEvent">
|
|
|
|
|
<xs:element name="AnagArticoli" msprop:Generator_TableClassName="AnagArticoliDataTable" msprop:Generator_TableVarName="tableAnagArticoli" msprop:Generator_TablePropName="AnagArticoli" msprop:Generator_RowDeletingName="AnagArticoliRowDeleting" msprop:Generator_RowChangingName="AnagArticoliRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoliRowDeleted" msprop:Generator_UserTableName="AnagArticoli" msprop:Generator_RowChangedName="AnagArticoliRowChanged" msprop:Generator_RowEvArgName="AnagArticoliRowChangeEvent" msprop:Generator_RowClassName="AnagArticoliRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
|
|
|
|
@@ -751,22 +641,82 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="AnagAllarmi" msprop:Generator_TableClassName="AnagAllarmiDataTable" msprop:Generator_TableVarName="tableAnagAllarmi" msprop:Generator_TablePropName="AnagAllarmi" msprop:Generator_RowDeletingName="AnagAllarmiRowDeleting" msprop:Generator_RowChangingName="AnagAllarmiRowChanging" msprop:Generator_RowEvHandlerName="AnagAllarmiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagAllarmiRowDeleted" msprop:Generator_UserTableName="AnagAllarmi" msprop:Generator_RowChangedName="AnagAllarmiRowChanged" msprop:Generator_RowEvArgName="AnagAllarmiRowChangeEvent" msprop:Generator_RowClassName="AnagAllarmiRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="250" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="ReportAttivo" msprop:Generator_ColumnVarNameInTable="columnReportAttivo" msprop:Generator_ColumnPropNameInRow="ReportAttivo" msprop:Generator_ColumnPropNameInTable="ReportAttivoColumn" msprop:Generator_UserColumnName="ReportAttivo" type="xs:boolean" />
|
|
|
|
|
<xs:element name="LastStart" msprop:Generator_ColumnVarNameInTable="columnLastStart" msprop:Generator_ColumnPropNameInRow="LastStart" msprop:Generator_ColumnPropNameInTable="LastStartColumn" msprop:Generator_UserColumnName="LastStart" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="LastEnd" msprop:Generator_ColumnVarNameInTable="columnLastEnd" msprop:Generator_ColumnPropNameInRow="LastEnd" msprop:Generator_ColumnPropNameInTable="LastEndColumn" msprop:Generator_UserColumnName="LastEnd" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="CurrStatus" msprop:Generator_ColumnVarNameInTable="columnCurrStatus" msprop:Generator_ColumnPropNameInRow="CurrStatus" msprop:Generator_ColumnPropNameInTable="CurrStatusColumn" msprop:Generator_UserColumnName="CurrStatus" type="xs:boolean" />
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="StoricoAllarmiExp" msprop:Generator_TableClassName="StoricoAllarmiExpDataTable" msprop:Generator_TableVarName="tableStoricoAllarmiExp" msprop:Generator_TablePropName="StoricoAllarmiExp" msprop:Generator_RowDeletingName="StoricoAllarmiExpRowDeleting" msprop:Generator_RowChangingName="StoricoAllarmiExpRowChanging" msprop:Generator_RowEvHandlerName="StoricoAllarmiExpRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAllarmiExpRowDeleted" msprop:Generator_UserTableName="StoricoAllarmiExp" msprop:Generator_RowChangedName="StoricoAllarmiExpRowChanged" msprop:Generator_RowEvArgName="StoricoAllarmiExpRowChangeEvent" msprop:Generator_RowClassName="StoricoAllarmiExpRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
|
|
|
|
|
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" />
|
|
|
|
|
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="250" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="AnagOperatori" msprop:Generator_TableClassName="AnagOperatoriDataTable" msprop:Generator_TableVarName="tableAnagOperatori" msprop:Generator_TablePropName="AnagOperatori" msprop:Generator_RowDeletingName="AnagOperatoriRowDeleting" msprop:Generator_RowChangingName="AnagOperatoriRowChanging" msprop:Generator_RowEvHandlerName="AnagOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOperatoriRowDeleted" msprop:Generator_UserTableName="AnagOperatori" msprop:Generator_RowChangedName="AnagOperatoriRowChanged" msprop:Generator_RowEvArgName="AnagOperatoriRowChangeEvent" msprop:Generator_RowClassName="AnagOperatoriRow">
|
|
|
|
|
<xs:complexType>
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:maxLength value="50" />
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
</xs:choice>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:StoricoAllarmiExp" />
|
|
|
|
|
<xs:field xpath="mstns:DtEvento" />
|
|
|
|
|
<xs:field xpath="mstns:CodAllarme" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="AnagOperatori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:AnagOperatori" />
|
|
|
|
|
<xs:field xpath="mstns:Barcode" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="AnagAllarmi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:AnagAllarmi" />
|
|
|
|
|
<xs:field xpath="mstns:CodAllarme" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="TabOperazioni_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:TabOperazioni" />
|
|
|
|
|
<xs:field xpath="mstns:IdxRec" />
|
|
|
|
|
</xs:unique>
|
|
|
|
@@ -778,12 +728,25 @@ SELECT CodArt, PartProgMain, PartProgAux FROM AnagArticoli WHERE (CodArt = @CodA
|
|
|
|
|
<xs:selector xpath=".//mstns:AnagArticoli" />
|
|
|
|
|
<xs:field xpath="mstns:CodArt" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="AnagAllarmi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:AnagAllarmi" />
|
|
|
|
|
<xs:field xpath="mstns:CodAllarme" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="StoricoAllarmiExp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:StoricoAllarmiExp" />
|
|
|
|
|
<xs:field xpath="mstns:DtEvento" />
|
|
|
|
|
<xs:field xpath="mstns:CodAllarme" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
<xs:unique name="AnagOperatori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
|
|
|
<xs:selector xpath=".//mstns:AnagOperatori" />
|
|
|
|
|
<xs:field xpath="mstns:Barcode" />
|
|
|
|
|
</xs:unique>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:annotation>
|
|
|
|
|
<xs:appinfo>
|
|
|
|
|
<msdata:Relationship name="FK_StoricoAllarmi_AnagAllarmi" msdata:parent="AnagAllarmi" msdata:child="StoricoAllarmiExp" msdata:parentkey="CodAllarme" msdata:childkey="CodAllarme" msprop:Generator_UserChildTable="StoricoAllarmiExp" msprop:Generator_ChildPropName="GetStoricoAllarmiRows" msprop:Generator_UserRelationName="FK_StoricoAllarmi_AnagAllarmi" msprop:Generator_ParentPropName="AnagAllarmiRow" msprop:Generator_RelationVarName="relationFK_StoricoAllarmi_AnagAllarmi" msprop:Generator_UserParentTable="AnagAllarmi" />
|
|
|
|
|
<msdata:Relationship name="FK_TabOperazioni_TabPezzi1" msdata:parent="TabPezzi" msdata:child="TabOperazioni" msdata:parentkey="Datamatrix" msdata:childkey="Datamatrix" msprop:Generator_UserChildTable="TabOperazioni" msprop:Generator_ChildPropName="GetTabOperazioniRows" msprop:Generator_UserRelationName="FK_TabOperazioni_TabPezzi1" msprop:Generator_ParentPropName="TabPezziRow" msprop:Generator_RelationVarName="relationFK_TabOperazioni_TabPezzi1" msprop:Generator_UserParentTable="TabPezzi" />
|
|
|
|
|
<msdata:Relationship name="FK_TabPezzi_AnagArticoli" msdata:parent="AnagArticoli" msdata:child="TabPezzi" msdata:parentkey="CodArt" msdata:childkey="CodArt" msprop:Generator_UserChildTable="TabPezzi" msprop:Generator_ChildPropName="GetTabPezziRows" msprop:Generator_UserRelationName="FK_TabPezzi_AnagArticoli" msprop:Generator_ParentPropName="AnagArticoliRow" msprop:Generator_RelationVarName="relationFK_TabPezzi_AnagArticoli" msprop:Generator_UserParentTable="AnagArticoli" />
|
|
|
|
|
<msdata:Relationship name="FK_TabOperazioni_TabPezzi1" msdata:parent="TabPezzi" msdata:child="TabOperazioni" msdata:parentkey="Datamatrix" msdata:childkey="Datamatrix" msprop:Generator_UserChildTable="TabOperazioni" msprop:Generator_ChildPropName="GetTabOperazioniRows" msprop:Generator_UserRelationName="FK_TabOperazioni_TabPezzi1" msprop:Generator_RelationVarName="relationFK_TabOperazioni_TabPezzi1" msprop:Generator_UserParentTable="TabPezzi" msprop:Generator_ParentPropName="TabPezziRow" />
|
|
|
|
|
<msdata:Relationship name="FK_TabPezzi_AnagArticoli" msdata:parent="AnagArticoli" msdata:child="TabPezzi" msdata:parentkey="CodArt" msdata:childkey="CodArt" msprop:Generator_UserChildTable="TabPezzi" msprop:Generator_ChildPropName="GetTabPezziRows" msprop:Generator_UserRelationName="FK_TabPezzi_AnagArticoli" msprop:Generator_RelationVarName="relationFK_TabPezzi_AnagArticoli" msprop:Generator_UserParentTable="AnagArticoli" msprop:Generator_ParentPropName="AnagArticoliRow" />
|
|
|
|
|
<msdata:Relationship name="FK_StoricoAllarmi_AnagAllarmi" msdata:parent="AnagAllarmi" msdata:child="StoricoAllarmiExp" msdata:parentkey="CodAllarme" msdata:childkey="CodAllarme" msprop:Generator_UserChildTable="StoricoAllarmiExp" msprop:Generator_ChildPropName="GetStoricoAllarmiExpRows" msprop:Generator_UserRelationName="FK_StoricoAllarmi_AnagAllarmi" msprop:Generator_ParentPropName="AnagAllarmiRow" msprop:Generator_RelationVarName="relationFK_StoricoAllarmi_AnagAllarmi" msprop:Generator_UserParentTable="AnagAllarmi" />
|
|
|
|
|
</xs:appinfo>
|
|
|
|
|
</xs:annotation>
|
|
|
|
|
</xs:schema>
|