Aggiunta gestione causali e famiglie macchine

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@107 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2009-02-20 10:43:12 +00:00
parent 4e6c629d3d
commit e35514cf10
17 changed files with 1124 additions and 532 deletions
+442 -335
View File
@@ -482,6 +482,17 @@ WHERE (idxFamMacchine = @idxFamMacchine)</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertQuery">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO [dbo].[Macchine2FamMacchine] ([idxMacchina], [idxFamMacchine]) VALUES (@idxMacchina, @idxFamMacchine)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="idxMacchina" ColumnName="idxMacchina" DataSourceName="GIM.dbo.Macchine2FamMacchine" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idxFamMacchine" ColumnName="idxFamMacchine" DataSourceName="GIM.dbo.Macchine2FamMacchine" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxFamMacchine" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxFamMacchine" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagFamMacchineTableAdapter" GeneratorDataComponentClassName="AnagFamMacchineTableAdapter" Name="AnagFamMacchine" UserDataComponentName="AnagFamMacchineTableAdapter">
@@ -589,6 +600,18 @@ WHERE (numIntMtz = @numIntMtz)</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxCausale" GetMethodModifier="Public" GetMethodName="getByIdxCausale" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxCausale" UserSourceName="getByIdxCausale">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_intervExp
WHERE (idxCausale = @idxCausale)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="idxCausale" ColumnName="idxCausale" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxCausale" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxImpianto" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getByIdxImpianto" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxImpianto" UserSourceName="getByIdxImpianto">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
@@ -1418,6 +1441,69 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagCausaliTableAdapter" GeneratorDataComponentClassName="AnagCausaliTableAdapter" Name="AnagCausali" UserDataComponentName="AnagCausaliTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.AnagCausali" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagCausali] WHERE (([idxCausale] = @Original_idxCausale))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxCausale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCausale" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagCausali] ([idxFamMacchine], [descrCausale], [attiva]) VALUES (@idxFamMacchine, @descrCausale, @attiva)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFamMacchine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFamMacchine" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrCausale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrCausale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.AnagCausali</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagCausali] SET [idxFamMacchine] = @idxFamMacchine, [descrCausale] = @descrCausale, [attiva] = @attiva WHERE (([idxCausale] = @Original_idxCausale))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFamMacchine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFamMacchine" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrCausale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrCausale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@attiva" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxCausale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxCausale" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idxCausale" DataSetColumn="idxCausale" />
<Mapping SourceColumn="idxFamMacchine" DataSetColumn="idxFamMacchine" />
<Mapping SourceColumn="descrCausale" DataSetColumn="descrCausale" />
<Mapping SourceColumn="attiva" DataSetColumn="attiva" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateQuery">
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE AnagCausali
SET descrCausale = @descrCausale, attiva = @attiva
WHERE (idxCausale = @Original_idxCausale)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="descrCausale" ColumnName="descrCausale" DataSourceName="GIM.dbo.AnagCausali" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@descrCausale" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="descrCausale" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="attiva" ColumnName="attiva" DataSourceName="GIM.dbo.AnagCausali" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@attiva" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="attiva" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idxCausale" ColumnName="idxCausale" DataSourceName="GIM.dbo.AnagCausali" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idxCausale" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxCausale" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -1429,16 +1515,16 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<xs:element name="LogUpdateDb" msprop:Generator_UserTableName="LogUpdateDb" msprop:Generator_RowDeletedName="LogUpdateDbRowDeleted" msprop:Generator_RowChangedName="LogUpdateDbRowChanged" msprop:Generator_RowClassName="LogUpdateDbRow" msprop:Generator_RowChangingName="LogUpdateDbRowChanging" msprop:Generator_RowEvArgName="LogUpdateDbRowChangeEvent" msprop:Generator_RowEvHandlerName="LogUpdateDbRowChangeEventHandler" msprop:Generator_TableClassName="LogUpdateDbDataTable" msprop:Generator_TableVarName="tableLogUpdateDb" msprop:Generator_RowDeletingName="LogUpdateDbRowDeleting" msprop:Generator_TablePropName="LogUpdateDb">
<xs:complexType>
<xs:sequence>
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagAmbitoGuasto" msprop:Generator_UserTableName="AnagAmbitoGuasto" msprop:Generator_RowDeletedName="AnagAmbitoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagAmbitoGuastoRowChanged" msprop:Generator_RowClassName="AnagAmbitoGuastoRow" msprop:Generator_RowChangingName="AnagAmbitoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagAmbitoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagAmbitoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagAmbitoGuastoDataTable" msprop:Generator_TableVarName="tableAnagAmbitoGuasto" msprop:Generator_RowDeletingName="AnagAmbitoGuastoRowDeleting" msprop:Generator_TablePropName="AnagAmbitoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxAmbito" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:element name="idxAmbito" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1451,186 +1537,7 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<xs:element name="AnagPriorita" msprop:Generator_UserTableName="AnagPriorita" msprop:Generator_RowDeletedName="AnagPrioritaRowDeleted" msprop:Generator_RowChangedName="AnagPrioritaRowChanged" msprop:Generator_RowClassName="AnagPrioritaRow" msprop:Generator_RowChangingName="AnagPrioritaRowChanging" msprop:Generator_RowEvArgName="AnagPrioritaRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagPrioritaRowChangeEventHandler" msprop:Generator_TableClassName="AnagPrioritaDataTable" msprop:Generator_TableVarName="tableAnagPriorita" msprop:Generator_RowDeletingName="AnagPrioritaRowDeleting" msprop:Generator_TablePropName="AnagPriorita">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPriorita" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagImpianti" msprop:Generator_UserTableName="AnagImpianti" msprop:Generator_RowDeletedName="AnagImpiantiRowDeleted" msprop:Generator_RowChangedName="AnagImpiantiRowChanged" msprop:Generator_RowClassName="AnagImpiantiRow" msprop:Generator_RowChangingName="AnagImpiantiRowChanging" msprop:Generator_RowEvArgName="AnagImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImpiantiDataTable" msprop:Generator_TableVarName="tableAnagImpianti" msprop:Generator_RowDeletingName="AnagImpiantiRowDeleting" msprop:Generator_TablePropName="AnagImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="idxImpianto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_macchine" msprop:Generator_UserTableName="v_macchine" msprop:Generator_RowDeletedName="v_macchineRowDeleted" msprop:Generator_RowChangedName="v_macchineRowChanged" msprop:Generator_RowClassName="v_macchineRow" msprop:Generator_RowChangingName="v_macchineRowChanging" msprop:Generator_RowEvArgName="v_macchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_macchineRowChangeEventHandler" msprop:Generator_TableClassName="v_macchineDataTable" msprop:Generator_TableVarName="tablev_macchine" msprop:Generator_RowDeletingName="v_macchineRowDeleting" msprop:Generator_TablePropName="v_macchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" minOccurs="0" />
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrImpianto" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrImpianto" msprop:Generator_ColumnVarNameInTable="columndescrImpianto" msprop:Generator_ColumnPropNameInRow="descrImpianto" msprop:Generator_ColumnPropNameInTable="descrImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="103" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFamMacc" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_RowClassName="v_selFamMaccRow" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_TablePropName="v_selFamMacc">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="famiglia" msprop:Generator_UserColumnName="famiglia" msprop:Generator_ColumnPropNameInRow="famiglia" msprop:Generator_ColumnVarNameInTable="columnfamiglia" msprop:Generator_ColumnPropNameInTable="famigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="macchina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="macchina" msprop:Generator_ColumnPropNameInRow="macchina" msprop:Generator_ColumnVarNameInTable="columnmacchina" msprop:Generator_ColumnPropNameInTable="macchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="212" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFamMacchine" msprop:Generator_UserTableName="AnagFamMacchine" msprop:Generator_RowDeletedName="AnagFamMacchineRowDeleted" msprop:Generator_RowChangedName="AnagFamMacchineRowChanged" msprop:Generator_RowClassName="AnagFamMacchineRow" msprop:Generator_RowChangingName="AnagFamMacchineRowChanging" msprop:Generator_RowEvArgName="AnagFamMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagFamMacchineRowChangeEventHandler" msprop:Generator_TableClassName="AnagFamMacchineDataTable" msprop:Generator_TableVarName="tableAnagFamMacchine" msprop:Generator_RowDeletingName="AnagFamMacchineRowDeleting" msprop:Generator_TablePropName="AnagFamMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFamMacchine" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="nomeFamMacch" msprop:Generator_UserColumnName="nomeFamMacch" msprop:Generator_ColumnPropNameInRow="nomeFamMacch" msprop:Generator_ColumnVarNameInTable="columnnomeFamMacch" msprop:Generator_ColumnPropNameInTable="nomeFamMacchColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_intervExp" msprop:Generator_UserTableName="v_intervExp" msprop:Generator_RowDeletedName="v_intervExpRowDeleted" msprop:Generator_RowChangedName="v_intervExpRowChanged" msprop:Generator_RowClassName="v_intervExpRow" msprop:Generator_RowChangingName="v_intervExpRowChanging" msprop:Generator_RowEvArgName="v_intervExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_intervExpRowChangeEventHandler" msprop:Generator_TableClassName="v_intervExpDataTable" msprop:Generator_TableVarName="tablev_intervExp" msprop:Generator_RowDeletingName="v_intervExpRowDeleting" msprop:Generator_TablePropName="v_intervExp">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" type="xs:dateTime" />
<xs:element name="turnoLav" msprop:Generator_UserColumnName="turnoLav" msprop:Generator_ColumnVarNameInTable="columnturnoLav" msprop:Generator_ColumnPropNameInRow="turnoLav" msprop:Generator_ColumnPropNameInTable="turnoLavColumn" type="xs:int" />
<xs:element name="matr" msprop:Generator_UserColumnName="matr" msprop:Generator_ColumnVarNameInTable="columnmatr" msprop:Generator_ColumnPropNameInRow="matr" msprop:Generator_ColumnPropNameInTable="matrColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxAmbito" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="presaInCarico" msprop:Generator_UserColumnName="presaInCarico" msprop:Generator_ColumnVarNameInTable="columnpresaInCarico" msprop:Generator_ColumnPropNameInRow="presaInCarico" msprop:Generator_ColumnPropNameInTable="presaInCaricoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isPreventivabile" msprop:Generator_UserColumnName="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxCausale" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1638,83 +1545,6 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoGuasto" msprop:Generator_UserTableName="AnagTipoGuasto" msprop:Generator_RowDeletedName="AnagTipoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagTipoGuastoRowChanged" msprop:Generator_RowClassName="AnagTipoGuastoRow" msprop:Generator_RowChangingName="AnagTipoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoGuastoDataTable" msprop:Generator_TableVarName="tableAnagTipoGuasto" msprop:Generator_RowDeletingName="AnagTipoGuastoRowDeleting" msprop:Generator_TablePropName="AnagTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxTipo" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagStati" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowClassName="AnagStatiRow" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_TablePropName="AnagStati">
<xs:complexType>
<xs:sequence>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1725,45 +1555,41 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InterventoOpMtz" msprop:Generator_UserTableName="InterventoOpMtz" msprop:Generator_RowDeletedName="InterventoOpMtzRowDeleted" msprop:Generator_RowChangedName="InterventoOpMtzRowChanged" msprop:Generator_RowClassName="InterventoOpMtzRow" msprop:Generator_RowChangingName="InterventoOpMtzRowChanging" msprop:Generator_RowEvArgName="InterventoOpMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="InterventoOpMtzRowChangeEventHandler" msprop:Generator_TableClassName="InterventoOpMtzDataTable" msprop:Generator_TableVarName="tableInterventoOpMtz" msprop:Generator_RowDeletingName="InterventoOpMtzRowDeleting" msprop:Generator_TablePropName="InterventoOpMtz">
<xs:element name="AnagImpianti" msprop:Generator_UserTableName="AnagImpianti" msprop:Generator_RowDeletedName="AnagImpiantiRowDeleted" msprop:Generator_RowChangedName="AnagImpiantiRowChanged" msprop:Generator_RowClassName="AnagImpiantiRow" msprop:Generator_RowChangingName="AnagImpiantiRowChanging" msprop:Generator_RowEvArgName="AnagImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImpiantiDataTable" msprop:Generator_TableVarName="tableAnagImpianti" msprop:Generator_RowDeletingName="AnagImpiantiRowDeleting" msprop:Generator_TablePropName="AnagImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:element name="idxImpianto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="durataMinuti" msprop:Generator_UserColumnName="durataMinuti" msprop:Generator_ColumnPropNameInRow="durataMinuti" msprop:Generator_ColumnVarNameInTable="columndurataMinuti" msprop:Generator_ColumnPropNameInTable="durataMinutiColumn" type="xs:int" minOccurs="0" />
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgExp">
<xs:element name="v_macchine" msprop:Generator_UserTableName="v_macchine" msprop:Generator_RowDeletedName="v_macchineRowDeleted" msprop:Generator_RowChangedName="v_macchineRowChanged" msprop:Generator_RowClassName="v_macchineRow" msprop:Generator_RowChangingName="v_macchineRowChanging" msprop:Generator_RowEvArgName="v_macchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_macchineRowChangeEventHandler" msprop:Generator_TableClassName="v_macchineDataTable" msprop:Generator_TableVarName="tablev_macchine" msprop:Generator_RowDeletingName="v_macchineRowDeleting" msprop:Generator_TablePropName="v_macchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="inizio" msprop:Generator_UserColumnName="inizio" msprop:Generator_ColumnVarNameInTable="columninizio" msprop:Generator_ColumnPropNameInRow="inizio" msprop:Generator_ColumnPropNameInTable="inizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="codFrequenza" msprop:Generator_UserColumnName="codFrequenza" msprop:Generator_ColumnVarNameInTable="columncodFrequenza" msprop:Generator_ColumnPropNameInRow="codFrequenza" msprop:Generator_ColumnPropNameInTable="codFrequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cadenza" msprop:Generator_UserColumnName="cadenza" msprop:Generator_ColumnVarNameInTable="columncadenza" msprop:Generator_ColumnPropNameInRow="cadenza" msprop:Generator_ColumnPropNameInTable="cadenzaColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
<xs:element name="idxMacchina" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1778,20 +1604,182 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="frequenza" msprop:Generator_UserColumnName="frequenza" msprop:Generator_ColumnVarNameInTable="columnfrequenza" msprop:Generator_ColumnPropNameInRow="frequenza" msprop:Generator_ColumnPropNameInTable="frequenzaColumn" minOccurs="0">
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:element name="matricola" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" minOccurs="0" />
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrImpianto" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrImpianto" msprop:Generator_ColumnPropNameInRow="descrImpianto" msprop:Generator_ColumnVarNameInTable="columndescrImpianto" msprop:Generator_ColumnPropNameInTable="descrImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="103" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFamMacc" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_RowClassName="v_selFamMaccRow" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_TablePropName="v_selFamMacc">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="famiglia" msprop:Generator_UserColumnName="famiglia" msprop:Generator_ColumnVarNameInTable="columnfamiglia" msprop:Generator_ColumnPropNameInRow="famiglia" msprop:Generator_ColumnPropNameInTable="famigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="macchina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="macchina" msprop:Generator_ColumnVarNameInTable="columnmacchina" msprop:Generator_ColumnPropNameInRow="macchina" msprop:Generator_ColumnPropNameInTable="macchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="212" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFamMacchine" msprop:Generator_UserTableName="AnagFamMacchine" msprop:Generator_RowDeletedName="AnagFamMacchineRowDeleted" msprop:Generator_RowChangedName="AnagFamMacchineRowChanged" msprop:Generator_RowClassName="AnagFamMacchineRow" msprop:Generator_RowChangingName="AnagFamMacchineRowChanging" msprop:Generator_RowEvArgName="AnagFamMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagFamMacchineRowChangeEventHandler" msprop:Generator_TableClassName="AnagFamMacchineDataTable" msprop:Generator_TableVarName="tableAnagFamMacchine" msprop:Generator_RowDeletingName="AnagFamMacchineRowDeleting" msprop:Generator_TablePropName="AnagFamMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFamMacchine" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="nomeFamMacch" msprop:Generator_UserColumnName="nomeFamMacch" msprop:Generator_ColumnVarNameInTable="columnnomeFamMacch" msprop:Generator_ColumnPropNameInRow="nomeFamMacch" msprop:Generator_ColumnPropNameInTable="nomeFamMacchColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_intervExp" msprop:Generator_UserTableName="v_intervExp" msprop:Generator_RowDeletedName="v_intervExpRowDeleted" msprop:Generator_RowChangedName="v_intervExpRowChanged" msprop:Generator_RowClassName="v_intervExpRow" msprop:Generator_RowChangingName="v_intervExpRowChanging" msprop:Generator_RowEvArgName="v_intervExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_intervExpRowChangeEventHandler" msprop:Generator_TableClassName="v_intervExpDataTable" msprop:Generator_TableVarName="tablev_intervExp" msprop:Generator_RowDeletingName="v_intervExpRowDeleting" msprop:Generator_TablePropName="v_intervExp">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" type="xs:dateTime" />
<xs:element name="turnoLav" msprop:Generator_UserColumnName="turnoLav" msprop:Generator_ColumnPropNameInRow="turnoLav" msprop:Generator_ColumnVarNameInTable="columnturnoLav" msprop:Generator_ColumnPropNameInTable="turnoLavColumn" type="xs:int" />
<xs:element name="matr" msprop:Generator_UserColumnName="matr" msprop:Generator_ColumnPropNameInRow="matr" msprop:Generator_ColumnVarNameInTable="columnmatr" msprop:Generator_ColumnPropNameInTable="matrColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxAmbito" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="presaInCarico" msprop:Generator_UserColumnName="presaInCarico" msprop:Generator_ColumnPropNameInRow="presaInCarico" msprop:Generator_ColumnVarNameInTable="columnpresaInCarico" msprop:Generator_ColumnPropNameInTable="presaInCaricoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isPreventivabile" msprop:Generator_UserColumnName="isPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxCausale" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoGuasto" msprop:Generator_UserTableName="AnagTipoGuasto" msprop:Generator_RowDeletedName="AnagTipoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagTipoGuastoRowChanged" msprop:Generator_RowClassName="AnagTipoGuastoRow" msprop:Generator_RowChangingName="AnagTipoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoGuastoDataTable" msprop:Generator_TableVarName="tableAnagTipoGuasto" msprop:Generator_RowDeletingName="AnagTipoGuastoRowDeleting" msprop:Generator_TablePropName="AnagTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxTipo" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1802,27 +1790,43 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgPending" msprop:Generator_UserTableName="MtzProgPending" msprop:Generator_RowDeletedName="MtzProgPendingRowDeleted" msprop:Generator_RowChangedName="MtzProgPendingRowChanged" msprop:Generator_RowClassName="MtzProgPendingRow" msprop:Generator_RowChangingName="MtzProgPendingRowChanging" msprop:Generator_RowEvArgName="MtzProgPendingRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgPendingRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgPendingDataTable" msprop:Generator_TableVarName="tableMtzProgPending" msprop:Generator_RowDeletingName="MtzProgPendingRowDeleting" msprop:Generator_TablePropName="MtzProgPending">
<xs:element name="AnagStati" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowClassName="AnagStatiRow" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_TablePropName="AnagStati">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="idxIntPro" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgrammata" msprop:Generator_UserTableName="MtzProgrammata" msprop:Generator_RowDeletedName="MtzProgrammataRowDeleted" msprop:Generator_RowChangedName="MtzProgrammataRowChanged" msprop:Generator_RowClassName="MtzProgrammataRow" msprop:Generator_RowChangingName="MtzProgrammataRowChanging" msprop:Generator_RowEvArgName="MtzProgrammataRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgrammataRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgrammataDataTable" msprop:Generator_TableVarName="tableMtzProgrammata" msprop:Generator_RowDeletingName="MtzProgrammataRowDeleting" msprop:Generator_TablePropName="MtzProgrammata">
<xs:element name="InterventoOpMtz" msprop:Generator_UserTableName="InterventoOpMtz" msprop:Generator_RowDeletedName="InterventoOpMtzRowDeleted" msprop:Generator_RowChangedName="InterventoOpMtzRowChanged" msprop:Generator_RowClassName="InterventoOpMtzRow" msprop:Generator_RowChangingName="InterventoOpMtzRowChanging" msprop:Generator_RowEvArgName="InterventoOpMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="InterventoOpMtzRowChangeEventHandler" msprop:Generator_TableClassName="InterventoOpMtzDataTable" msprop:Generator_TableVarName="tableInterventoOpMtz" msprop:Generator_RowDeletingName="InterventoOpMtzRowDeleting" msprop:Generator_TablePropName="InterventoOpMtz">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="durataMinuti" msprop:Generator_UserColumnName="durataMinuti" msprop:Generator_ColumnVarNameInTable="columndurataMinuti" msprop:Generator_ColumnPropNameInRow="durataMinuti" msprop:Generator_ColumnPropNameInTable="durataMinutiColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgExp">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
@@ -1846,14 +1850,96 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="frequenza" msprop:Generator_UserColumnName="frequenza" msprop:Generator_ColumnPropNameInRow="frequenza" msprop:Generator_ColumnVarNameInTable="columnfrequenza" msprop:Generator_ColumnPropNameInTable="frequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgPending" msprop:Generator_UserTableName="MtzProgPending" msprop:Generator_RowDeletedName="MtzProgPendingRowDeleted" msprop:Generator_RowChangedName="MtzProgPendingRowChanged" msprop:Generator_RowClassName="MtzProgPendingRow" msprop:Generator_RowChangingName="MtzProgPendingRowChanging" msprop:Generator_RowEvArgName="MtzProgPendingRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgPendingRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgPendingDataTable" msprop:Generator_TableVarName="tableMtzProgPending" msprop:Generator_RowDeletingName="MtzProgPendingRowDeleting" msprop:Generator_TablePropName="MtzProgPending">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="idxIntPro" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgrammata" msprop:Generator_UserTableName="MtzProgrammata" msprop:Generator_RowDeletedName="MtzProgrammataRowDeleted" msprop:Generator_RowChangedName="MtzProgrammataRowChanged" msprop:Generator_RowClassName="MtzProgrammataRow" msprop:Generator_RowChangingName="MtzProgrammataRowChanging" msprop:Generator_RowEvArgName="MtzProgrammataRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgrammataRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgrammataDataTable" msprop:Generator_TableVarName="tableMtzProgrammata" msprop:Generator_RowDeletingName="MtzProgrammataRowDeleting" msprop:Generator_TablePropName="MtzProgrammata">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="inizio" msprop:Generator_UserColumnName="inizio" msprop:Generator_ColumnVarNameInTable="columninizio" msprop:Generator_ColumnPropNameInRow="inizio" msprop:Generator_ColumnPropNameInTable="inizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="codFrequenza" msprop:Generator_UserColumnName="codFrequenza" msprop:Generator_ColumnVarNameInTable="columncodFrequenza" msprop:Generator_ColumnPropNameInRow="codFrequenza" msprop:Generator_ColumnPropNameInTable="codFrequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cadenza" msprop:Generator_UserColumnName="cadenza" msprop:Generator_ColumnVarNameInTable="columncadenza" msprop:Generator_ColumnPropNameInRow="cadenza" msprop:Generator_ColumnPropNameInTable="cadenzaColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalendFesteFerie" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_RowClassName="CalendFesteFerieRow" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_TablePropName="CalendFesteFerie">
<xs:complexType>
<xs:sequence>
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1866,47 +1952,19 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<xs:element name="OreAperturaSett" msprop:Generator_UserTableName="OreAperturaSett" msprop:Generator_RowDeletedName="OreAperturaSettRowDeleted" msprop:Generator_RowChangedName="OreAperturaSettRowChanged" msprop:Generator_RowClassName="OreAperturaSettRow" msprop:Generator_RowChangingName="OreAperturaSettRowChanging" msprop:Generator_RowEvArgName="OreAperturaSettRowChangeEvent" msprop:Generator_RowEvHandlerName="OreAperturaSettRowChangeEventHandler" msprop:Generator_TableClassName="OreAperturaSettDataTable" msprop:Generator_TableVarName="tableOreAperturaSett" msprop:Generator_RowDeletingName="OreAperturaSettRowDeleting" msprop:Generator_TablePropName="OreAperturaSett">
<xs:complexType>
<xs:sequence>
<xs:element name="giorno" msprop:Generator_UserColumnName="giorno" msprop:Generator_ColumnVarNameInTable="columngiorno" msprop:Generator_ColumnPropNameInRow="giorno" msprop:Generator_ColumnPropNameInTable="giornoColumn" type="xs:int" />
<xs:element name="descrGiorno" msprop:Generator_UserColumnName="descrGiorno" msprop:Generator_ColumnVarNameInTable="columndescrGiorno" msprop:Generator_ColumnPropNameInRow="descrGiorno" msprop:Generator_ColumnPropNameInTable="descrGiornoColumn" minOccurs="0">
<xs:element name="giorno" msprop:Generator_UserColumnName="giorno" msprop:Generator_ColumnPropNameInRow="giorno" msprop:Generator_ColumnVarNameInTable="columngiorno" msprop:Generator_ColumnPropNameInTable="giornoColumn" type="xs:int" />
<xs:element name="descrGiorno" msprop:Generator_UserColumnName="descrGiorno" msprop:Generator_ColumnPropNameInRow="descrGiorno" msprop:Generator_ColumnVarNameInTable="columndescrGiorno" msprop:Generator_ColumnPropNameInTable="descrGiornoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="apertura" msprop:Generator_UserColumnName="apertura" msprop:Generator_ColumnVarNameInTable="columnapertura" msprop:Generator_ColumnPropNameInRow="apertura" msprop:Generator_ColumnPropNameInTable="aperturaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="apertura" msprop:Generator_UserColumnName="apertura" msprop:Generator_ColumnPropNameInRow="apertura" msprop:Generator_ColumnVarNameInTable="columnapertura" msprop:Generator_ColumnPropNameInTable="aperturaColumn" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroImpianti" msprop:Generator_UserTableName="FiltroImpianti" msprop:Generator_RowDeletedName="FiltroImpiantiRowDeleted" msprop:Generator_RowChangedName="FiltroImpiantiRowChanged" msprop:Generator_RowClassName="FiltroImpiantiRow" msprop:Generator_RowChangingName="FiltroImpiantiRowChanging" msprop:Generator_RowEvArgName="FiltroImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="FiltroImpiantiDataTable" msprop:Generator_TableVarName="tableFiltroImpianti" msprop:Generator_RowDeletingName="FiltroImpiantiRowDeleting" msprop:Generator_TablePropName="FiltroImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroMacchine" msprop:Generator_UserTableName="FiltroMacchine" msprop:Generator_RowDeletedName="FiltroMacchineRowDeleted" msprop:Generator_RowChangedName="FiltroMacchineRowChanged" msprop:Generator_RowClassName="FiltroMacchineRow" msprop:Generator_RowChangingName="FiltroMacchineRowChanging" msprop:Generator_RowEvArgName="FiltroMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroMacchineRowChangeEventHandler" msprop:Generator_TableClassName="FiltroMacchineDataTable" msprop:Generator_TableVarName="tableFiltroMacchine" msprop:Generator_RowDeletingName="FiltroMacchineRowDeleting" msprop:Generator_TablePropName="FiltroMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroStati" msprop:Generator_UserTableName="FiltroStati" msprop:Generator_RowDeletedName="FiltroStatiRowDeleted" msprop:Generator_TableClassName="FiltroStatiDataTable" msprop:Generator_RowChangedName="FiltroStatiRowChanged" msprop:Generator_RowClassName="FiltroStatiRow" msprop:Generator_RowChangingName="FiltroStatiRowChanging" msprop:Generator_RowEvArgName="FiltroStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroStatiRowChangeEventHandler" msprop:Generator_TablePropName="FiltroStati" msprop:Generator_TableVarName="tableFiltroStati" msprop:Generator_RowDeletingName="FiltroStatiRowDeleting">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn">
@@ -1916,7 +1974,51 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroMacchine" msprop:Generator_UserTableName="FiltroMacchine" msprop:Generator_RowDeletedName="FiltroMacchineRowDeleted" msprop:Generator_RowChangedName="FiltroMacchineRowChanged" msprop:Generator_RowClassName="FiltroMacchineRow" msprop:Generator_RowChangingName="FiltroMacchineRowChanging" msprop:Generator_RowEvArgName="FiltroMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroMacchineRowChangeEventHandler" msprop:Generator_TableClassName="FiltroMacchineDataTable" msprop:Generator_TableVarName="tableFiltroMacchine" msprop:Generator_RowDeletingName="FiltroMacchineRowDeleting" msprop:Generator_TablePropName="FiltroMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroStati" msprop:Generator_UserTableName="FiltroStati" msprop:Generator_RowDeletedName="FiltroStatiRowDeleted" msprop:Generator_RowChangedName="FiltroStatiRowChanged" msprop:Generator_RowClassName="FiltroStatiRow" msprop:Generator_RowChangingName="FiltroStatiRowChanging" msprop:Generator_RowEvArgName="FiltroStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroStatiRowChangeEventHandler" msprop:Generator_TableClassName="FiltroStatiDataTable" msprop:Generator_TableVarName="tableFiltroStati" msprop:Generator_RowDeletingName="FiltroStatiRowDeleting" msprop:Generator_TablePropName="FiltroStati">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCausali" msprop:Generator_UserTableName="AnagCausali" msprop:Generator_RowDeletedName="AnagCausaliRowDeleted" msprop:Generator_RowChangedName="AnagCausaliRowChanged" msprop:Generator_RowClassName="AnagCausaliRow" msprop:Generator_RowChangingName="AnagCausaliRowChanging" msprop:Generator_RowEvArgName="AnagCausaliRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagCausaliRowChangeEventHandler" msprop:Generator_TableClassName="AnagCausaliDataTable" msprop:Generator_TableVarName="tableAnagCausali" msprop:Generator_RowDeletingName="AnagCausaliRowDeleting" msprop:Generator_TablePropName="AnagCausali">
<xs:complexType>
<xs:sequence>
<xs:element name="idxCausale" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="attiva" msprop:Generator_UserColumnName="attiva" msprop:Generator_ColumnPropNameInRow="attiva" msprop:Generator_ColumnVarNameInTable="columnattiva" msprop:Generator_ColumnPropNameInTable="attivaColumn" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -2003,6 +2105,10 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<xs:field xpath="mstns:username" />
<xs:field xpath="mstns:idxStato" />
</xs:unique>
<xs:unique name="AnagCausali_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagCausali" />
<xs:field xpath="mstns:idxCausale" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
@@ -2018,6 +2124,7 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" />
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" msprop:Generator_ParentPropName="v_macchineRow" msprop:Generator_ChildPropName="GetFiltroMacchineRows" />
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_UserParentTable="AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" msprop:Generator_ChildPropName="GetFiltroStatiRows" />
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_ChildPropName="GetAnagCausaliRows" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+55 -42
View File
@@ -4,30 +4,31 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="247" ViewPortY="7" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="331" ViewPortY="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="31" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="30" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="19" X="153" Y="373" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="24" X="810" Y="350" Height="207" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="7" X="1116" Y="309" Height="343" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="20" X="1067" Y="100" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="1" X="1073" Y="-35" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="17" X="484" Y="217" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="22" X="118" Y="199" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="18" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="16" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="14" X="104" Y="603" Height="275" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="13" X="882" Y="776" Height="224" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="12" X="1141" Y="749" Height="241" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="177" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="9" X="78" Y="877" Height="122" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="10" X="300" Y="877" Height="156" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="4" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="5" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="3" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:LogUpdateDb" ZOrder="33" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="32" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="21" X="153" Y="373" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="26" X="810" Y="350" Height="207" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="10" X="1116" Y="309" Height="343" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="22" X="1102" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="4" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="19" X="484" Y="217" Height="343" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="24" X="118" Y="199" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="20" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="18" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="16" X="104" Y="603" Height="275" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="15" X="882" Y="776" Height="224" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="14" X="1141" Y="749" Height="241" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="177" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="12" X="78" Y="890" Height="122" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="3" X="366" Y="864" Height="156" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="7" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="8" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="6" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagCausali" ZOrder="2" X="1433" Y="-40" Height="156" Width="192" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="29" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="31" LineWidth="11">
<RoutePoints>
<Point>
<X>1029</X>
@@ -39,31 +40,31 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="28" LineWidth="11">
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="30" LineWidth="11">
<RoutePoints>
<Point>
<X>1216</X>
<Y>273</Y>
<X>1251</X>
<Y>278</Y>
</Point>
<Point>
<X>1216</X>
<X>1251</X>
<Y>309</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="27" LineWidth="11">
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="29" LineWidth="11">
<RoutePoints>
<Point>
<X>1197</X>
<Y>70</Y>
<X>1239</X>
<Y>61</Y>
</Point>
<Point>
<X>1197</X>
<Y>100</Y>
<X>1239</X>
<Y>88</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="25" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="27" LineWidth="11">
<RoutePoints>
<Point>
<X>511</X>
@@ -75,19 +76,19 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="26" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="28" LineWidth="11">
<RoutePoints>
<Point>
<X>810</X>
<Y>429</Y>
</Point>
<Point>
<X>784</X>
<X>732</X>
<Y>429</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="23" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>453</X>
@@ -99,7 +100,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="23" LineWidth="11">
<RoutePoints>
<Point>
<X>353</X>
@@ -111,14 +112,14 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="15" LineWidth="11">
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>767</X>
<X>631</X>
<Y>560</Y>
</Point>
<Point>
<X>767</X>
<X>631</X>
<Y>599</Y>
</Point>
<Point>
@@ -127,7 +128,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_MtzProgPending_MtzProgrammata" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:FK_MtzProgPending_MtzProgrammata" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>1141</X>
@@ -139,7 +140,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroImpianti_AnagImpianti" ZOrder="8" LineWidth="11">
<Connector ID="DesignRelation:FK_FiltroImpianti_AnagImpianti" ZOrder="11" LineWidth="11">
<RoutePoints>
<Point>
<X>1017</X>
@@ -155,7 +156,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_macchine_FiltroMacchine" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:v_macchine_FiltroMacchine" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>1362</X>
@@ -171,7 +172,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroStati_AnagStati" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_FiltroStati_AnagStati" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>922</X>
@@ -183,5 +184,17 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagCausali_AnagFamMacchine" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>1328</X>
<Y>-9</Y>
</Point>
<Point>
<X>1433</X>
<Y>-9</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
+154 -119
View File
@@ -337,6 +337,23 @@ WHERE (conditio = @conditio)</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFamTableAdapter" GeneratorDataComponentClassName="v_selFamTableAdapter" Name="v_selFam" UserDataComponentName="v_selFamTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFam" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selFam</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -348,8 +365,8 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_selImpianti" msprop:Generator_UserTableName="v_selImpianti" msprop:Generator_RowDeletedName="v_selImpiantiRowDeleted" msprop:Generator_RowChangedName="v_selImpiantiRowChanged" msprop:Generator_RowClassName="v_selImpiantiRow" msprop:Generator_RowChangingName="v_selImpiantiRowChanging" msprop:Generator_RowEvArgName="v_selImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="v_selImpiantiDataTable" msprop:Generator_TableVarName="tablev_selImpianti" msprop:Generator_RowDeletingName="v_selImpiantiRowDeleting" msprop:Generator_TablePropName="v_selImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="156" />
@@ -362,23 +379,23 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_selMacchine" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_TablePropName="v_selMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="213" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPrior" msprop:Generator_UserTableName="v_selPrior" msprop:Generator_RowDeletedName="v_selPriorRowDeleted" msprop:Generator_RowChangedName="v_selPriorRowChanged" msprop:Generator_RowClassName="v_selPriorRow" msprop:Generator_RowChangingName="v_selPriorRowChanging" msprop:Generator_RowEvArgName="v_selPriorRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPriorRowChangeEventHandler" msprop:Generator_TableClassName="v_selPriorDataTable" msprop:Generator_TableVarName="tablev_selPrior" msprop:Generator_RowDeletingName="v_selPriorRowDeleting" msprop:Generator_TablePropName="v_selPrior">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="57" />
@@ -391,8 +408,8 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_selAmbiti" msprop:Generator_UserTableName="v_selAmbiti" msprop:Generator_RowDeletedName="v_selAmbitiRowDeleted" msprop:Generator_RowChangedName="v_selAmbitiRowChanged" msprop:Generator_RowClassName="v_selAmbitiRow" msprop:Generator_RowChangingName="v_selAmbitiRowChanging" msprop:Generator_RowEvArgName="v_selAmbitiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selAmbitiRowChangeEventHandler" msprop:Generator_TableClassName="v_selAmbitiDataTable" msprop:Generator_TableVarName="tablev_selAmbiti" msprop:Generator_RowDeletingName="v_selAmbitiRowDeleting" msprop:Generator_TablePropName="v_selAmbiti">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -405,23 +422,23 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_selCausaliMacchine" msprop:Generator_UserTableName="v_selCausaliMacchine" msprop:Generator_RowDeletedName="v_selCausaliMacchineRowDeleted" msprop:Generator_RowChangedName="v_selCausaliMacchineRowChanged" msprop:Generator_RowClassName="v_selCausaliMacchineRow" msprop:Generator_RowChangingName="v_selCausaliMacchineRowChanging" msprop:Generator_RowEvArgName="v_selCausaliMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selCausaliMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selCausaliMacchineDataTable" msprop:Generator_TableVarName="tablev_selCausaliMacchine" msprop:Generator_RowDeletingName="v_selCausaliMacchineRowDeleting" msprop:Generator_TablePropName="v_selCausaliMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_TablePropName="v_selTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -432,32 +449,12 @@ WHERE (conditio = @conditio)</CommandText>
</xs:complexType>
</xs:element>
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_RowChangedName="v_selSemaforiRowChanged" msprop:Generator_RowClassName="v_selSemaforiRow" msprop:Generator_RowChangingName="v_selSemaforiRowChanging" msprop:Generator_RowEvArgName="v_selSemaforiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selSemaforiRowChangeEventHandler" msprop:Generator_TableClassName="v_selSemaforiDataTable" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting" msprop:Generator_TablePropName="v_selSemafori">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_TablePropName="v_selFreq">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -471,11 +468,31 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_TablePropName="v_selFreq">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selStato" msprop:Generator_UserTableName="v_selStato" msprop:Generator_RowDeletedName="v_selStatoRowDeleted" msprop:Generator_RowChangedName="v_selStatoRowChanged" msprop:Generator_RowClassName="v_selStatoRow" msprop:Generator_RowChangingName="v_selStatoRowChanging" msprop:Generator_RowEvArgName="v_selStatoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatoRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatoDataTable" msprop:Generator_TableVarName="tablev_selStato" msprop:Generator_RowDeletingName="v_selStatoRowDeleting" msprop:Generator_TablePropName="v_selStato">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -488,21 +505,21 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
@@ -515,6 +532,66 @@ WHERE (conditio = @conditio)</CommandText>
<xs:element name="v_elencoImpiantiMacchine" msprop:Generator_UserTableName="v_elencoImpiantiMacchine" msprop:Generator_RowDeletedName="v_elencoImpiantiMacchineRowDeleted" msprop:Generator_RowChangedName="v_elencoImpiantiMacchineRowChanged" msprop:Generator_RowClassName="v_elencoImpiantiMacchineRow" msprop:Generator_RowChangingName="v_elencoImpiantiMacchineRowChanging" msprop:Generator_RowEvArgName="v_elencoImpiantiMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoImpiantiMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoImpiantiMacchineDataTable" msprop:Generator_TableVarName="tablev_elencoImpiantiMacchine" msprop:Generator_RowDeletingName="v_elencoImpiantiMacchineRowDeleting" msprop:Generator_TablePropName="v_elencoImpiantiMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_TablePropName="v_elencoIntervFilt">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -529,13 +606,6 @@ WHERE (conditio = @conditio)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -550,120 +620,81 @@ WHERE (conditio = @conditio)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_TablePropName="v_elencoIntervFilt">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_UserColumnName="minErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" type="xs:int" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" type="xs:int" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_UserColumnName="minErogati" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" type="xs:int" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataMtz" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataOff" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" type="xs:int" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sp_elencoIntMTBF_MTTR" msprop:Generator_UserTableName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletedName="sp_elencoIntMTBF_MTTRRowDeleted" msprop:Generator_RowChangedName="sp_elencoIntMTBF_MTTRRowChanged" msprop:Generator_RowClassName="sp_elencoIntMTBF_MTTRRow" msprop:Generator_RowChangingName="sp_elencoIntMTBF_MTTRRowChanging" msprop:Generator_RowEvArgName="sp_elencoIntMTBF_MTTRRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_elencoIntMTBF_MTTRRowChangeEventHandler" msprop:Generator_TableClassName="sp_elencoIntMTBF_MTTRDataTable" msprop:Generator_TableVarName="tablesp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletingName="sp_elencoIntMTBF_MTTRRowDeleting" msprop:Generator_TablePropName="sp_elencoIntMTBF_MTTR">
<xs:complexType>
<xs:sequence>
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_UserColumnName="numInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_UserColumnName="numInterventi" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreMtz" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreOfficina" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFam" msprop:Generator_UserTableName="v_selFam" msprop:Generator_RowDeletedName="v_selFamRowDeleted" msprop:Generator_TableClassName="v_selFamDataTable" msprop:Generator_RowChangedName="v_selFamRowChanged" msprop:Generator_RowClassName="v_selFamRow" msprop:Generator_RowChangingName="v_selFamRowChanging" msprop:Generator_RowEvArgName="v_selFamRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamRowChangeEventHandler" msprop:Generator_TablePropName="v_selFam" msprop:Generator_TableVarName="tablev_selFam" msprop:Generator_RowDeletingName="v_selFamRowDeleting">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -716,5 +747,9 @@ WHERE (conditio = @conditio)</CommandText>
<xs:selector xpath=".//mstns:v_elencoIntervFilt" />
<xs:field xpath="mstns:numIntMtz" />
</xs:unique>
<xs:unique name="v_selFam_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selFam" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element>
</xs:schema>
+15 -14
View File
@@ -4,21 +4,22 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="121" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selImpianti" ZOrder="13" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="12" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_selPrior" ZOrder="11" X="686" Y="79" Height="105" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selAmbiti" ZOrder="10" X="944" Y="83" Height="105" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selCausaliMacchine" ZOrder="9" X="957" Y="269" Height="139" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_selTipoGuasto" ZOrder="8" X="1014" Y="466" Height="105" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selSemafori" ZOrder="7" X="666" Y="249" Height="105" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selFreq" ZOrder="6" X="744" Y="492" Height="105" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selStato" ZOrder="2" X="349" Y="327" Height="105" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="5" X="447" Y="478" Height="139" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_elencoImpiantiMacchine" ZOrder="4" X="853" Y="692" Height="241" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" />
<Shape ID="DesignTable:v_elencoIntervFilt" ZOrder="1" X="53" Y="495" Height="309" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:sp_elencoIntMTBF_MTTR" ZOrder="3" X="365" Y="657" Height="190" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="143" />
<Shape ID="DesignTable:v_selImpianti" ZOrder="14" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="13" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_selPrior" ZOrder="12" X="686" Y="79" Height="105" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selAmbiti" ZOrder="11" X="944" Y="83" Height="105" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selCausaliMacchine" ZOrder="10" X="957" Y="269" Height="139" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_selTipoGuasto" ZOrder="9" X="1014" Y="466" Height="105" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selSemafori" ZOrder="8" X="666" Y="249" Height="105" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selFreq" ZOrder="7" X="744" Y="492" Height="105" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selStato" ZOrder="3" X="349" Y="327" Height="105" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="6" X="447" Y="478" Height="139" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_elencoImpiantiMacchine" ZOrder="5" X="853" Y="692" Height="241" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" />
<Shape ID="DesignTable:v_elencoIntervFilt" ZOrder="2" X="53" Y="495" Height="309" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:sp_elencoIntMTBF_MTTR" ZOrder="4" X="365" Y="657" Height="190" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="143" />
<Shape ID="DesignTable:v_selFam" ZOrder="1" X="104" Y="300" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
</Shapes>
<Connectors />
</DiagramLayout>
+2
View File
@@ -29,6 +29,7 @@ public class TA_app
public DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter taFiltImp;
public DS_applicazioneTableAdapters.FiltroMacchineTableAdapter taFiltMac;
public DS_applicazioneTableAdapters.FiltroStatiTableAdapter taFiltSta;
public DS_applicazioneTableAdapters.AnagCausaliTableAdapter taAnagCau;
#endregion
@@ -54,6 +55,7 @@ public class TA_app
taFiltImp = new DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter();
taFiltMac = new DS_applicazioneTableAdapters.FiltroMacchineTableAdapter();
taFiltSta = new DS_applicazioneTableAdapters.FiltroStatiTableAdapter();
taAnagCau = new DS_applicazioneTableAdapters.AnagCausaliTableAdapter();
}
/// <summary>
/// Singleton
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" CodeFile="famiglieMacchine.aspx.cs" Inherits="famiglieMacchine" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" CodeFile="famiglieMacchine.aspx.cs" Inherits="famiglieMacchine" %>
<%@ Register src="mod_famiglieMacchine.ascx" tagname="mod_famiglieMacchine" tagprefix="uc1" %>
+8
View File
@@ -0,0 +1,8 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxTitle.master" AutoEventWireup="true" CodeFile="gestioneCausali.aspx.cs" Inherits="gestioneCausali" %>
<%@ Register src="mod_gestCausali.ascx" tagname="mod_gestCausali" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<uc1:mod_gestCausali ID="mod_gestCausali1" runat="server" />
</asp:Content>
+13
View File
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class gestioneCausali : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
+7 -2
View File
@@ -91,13 +91,18 @@ public partial class mod_elFamMacch : ApplicationUserControl
}
}
/// <summary>
/// restituisce il valore selezionato...
/// restituisce il valore selezionato... se non selezionato restituisce -1
/// </summary>
public int idxFamMacc_sel
{
get
{
return Convert.ToInt32(grView.SelectedValue);
int answ = -1;
if (grView.SelectedIndex != -1)
{
answ = Convert.ToInt32(grView.SelectedValue);
}
return answ;
}
}
protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
+7
View File
@@ -63,4 +63,11 @@ public partial class mod_elMacch2Fam : ApplicationUserControl
eh_delValore(this, new EventArgs());
}
}
/// <summary>
/// esegue update
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
}
+43 -12
View File
@@ -4,16 +4,47 @@
<%@ Register Src="mod_elMacch2Fam.ascx" TagName="mod_elMacch2Fam" TagPrefix="uc2" %>
<%@ Register Src="mod_selettore.ascx" TagName="mod_selettore" TagPrefix="uc3" %>
<div>
<div style="float: left; width: 50%;">
<uc1:mod_elFamMacch ID="mod_elFamMacch1" runat="server" />
<br />
<asp:Button ID="btnShowAdd" runat="server" onclick="btnShowAdd_Click" />
<asp:Panel runat="server" ID="pnlSceltaMacchine" Visible="false">
<asp:Button ID="btnAddMacchine" runat="server" onclick="btnAddMacchine_Click" />
aaa
</asp:Panel>
</div>
<div style="float: left;">
<uc2:mod_elMacch2Fam ID="mod_elMacch2Fam1" runat="server" Visible="false" />
</div>
<table>
<tr>
<td valign="top">
<uc1:mod_elFamMacch ID="mod_elFamMacch1" runat="server" />
<br />
<asp:Button ID="btnShowAdd" runat="server" OnClick="btnShowAdd_Click" />
</td>
<td valign="top">
<asp:Panel runat="server" ID="pnlSceltaMacchine" Visible="false">
<div style="width: 400px;">
<div style="float: left;">
<asp:Label runat="server" ID="lblMacchineInteressate" />
</div>
<div style="float: right;">
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" />
</div>
<div>
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="250px"
Width="400px" BackColor="#ddeeff" Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter"
FilterExpression="label LIKE '%{0}%'">
<FilterParameters>
<asp:ControlParameter ControlID="txtCercaMacchine" DefaultValue="*" Type="String"
Name="txtCercaMacchine" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
<asp:Button ID="btnAddMacchine" runat="server" OnClick="btnAddMacchine_Click" />
<br />
<asp:Label runat="server" ID="lblWarning" CssClass="erroreMid" Visible="false" />
</div>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2">
<uc2:mod_elMacch2Fam ID="mod_elMacch2Fam1" runat="server" Visible="false" />
</td>
</tr>
</table>
<br />
</div>
+61 -6
View File
@@ -12,15 +12,34 @@ public partial class mod_famiglieMacchine : System.Web.UI.UserControl
mod_elFamMacch1.eh_selezioneValore += new EventHandler(mod_elFamMacch1_eh_selezioneValore);
mod_elFamMacch1.eh_resetSelezione += new EventHandler(mod_elFamMacch1_eh_resetSelezione);
mod_elMacch2Fam1.eh_delValore += new EventHandler(mod_elMacch2Fam1_eh_delValore);
traduci();
traduciObj();
// assicura che la label del pulsante venga sempre aggiornata
if (pnlSceltaMacchine.Visible)
{
btnShowAdd.Text = user_std.UtSn.Traduci("hideAddMacchine");
}
else
{
btnShowAdd.Text = user_std.UtSn.Traduci("showAddMacchine");
}
}
private void traduci()
private void traduciObj()
{
btnShowAdd.Text = user_std.UtSn.Traduci("showAddMacchine");
btnAddMacchine.Text = user_std.UtSn.Traduci("AddMacchine2Fam");
btnShowAdd.Text = traduci("showAddMacchine");
btnAddMacchine.Text = traduci("AddMacchine2Fam");
lblMacchineInteressate.Text = traduci("lblMacchineInteressate");
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
void mod_elMacch2Fam1_eh_delValore(object sender, EventArgs e)
{
mod_elFamMacch1.doUpdate();
@@ -38,7 +57,43 @@ public partial class mod_famiglieMacchine : System.Web.UI.UserControl
}
protected void btnAddMacchine_Click(object sender, EventArgs e)
{
// salvo...
// controllo se si possa salvare
if ((mod_elFamMacch1.idxFamMacc_sel != -1) && (listMacchine.SelectedIndex != -1))
{
lblWarning.Visible = false;
// ciclo ed inserisco le macchine selezionate
foreach (ListItem riga in listMacchine.Items)
{
// se è selezionata creo riga anche x lei...
if (riga.Selected)
{
associaMacchinaFamiglia(Convert.ToInt32(riga.Value), mod_elFamMacch1.idxFamMacc_sel);
}
}
mod_elMacch2Fam1.doUpdate();
}
else
{
lblWarning.Visible = true;
lblWarning.Text = traduci("pregoSelMacchFamMacch");
}
}
/// <summary>
/// associa la macchina indicata alla famiglia
/// </summary>
/// <param name="idxMacchina"></param>
/// <param name="idxFamMacc"></param>
private bool associaMacchinaFamiglia(int idxMacchina, int idxFamMacc)
{
bool answ = false;
try
{
TA_app.obj.taMacc2Fam.InsertQuery(idxMacchina, idxFamMacc);
answ = true;
}
catch
{ }
return answ;
}
protected void btnShowAdd_Click(object sender, EventArgs e)
{
@@ -0,0 +1,101 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_famiglieMacchine : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
mod_elFamMacch1.eh_selezioneValore += new EventHandler(mod_elFamMacch1_eh_selezioneValore);
mod_elFamMacch1.eh_resetSelezione += new EventHandler(mod_elFamMacch1_eh_resetSelezione);
mod_elMacch2Fam1.eh_delValore += new EventHandler(mod_elMacch2Fam1_eh_delValore);
traduciObj();
}
private void traduciObj()
{
btnShowAdd.Text = traduci("showAddMacchine");
btnAddMacchine.Text = traduci("AddMacchine2Fam");
lblMacchineInteressate.Text = traduci("lblMacchineInteressate");
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
void mod_elMacch2Fam1_eh_delValore(object sender, EventArgs e)
{
mod_elFamMacch1.doUpdate();
}
void mod_elFamMacch1_eh_resetSelezione(object sender, EventArgs e)
{
mod_elMacch2Fam1.Visible = false;
}
void mod_elFamMacch1_eh_selezioneValore(object sender, EventArgs e)
{
mod_elMacch2Fam1.idxFamMacchSel = mod_elFamMacch1.idxFamMacc_sel;
mod_elMacch2Fam1.Visible = true;
}
protected void btnAddMacchine_Click(object sender, EventArgs e)
{
// controllo se si possa salvare
if ((mod_elFamMacch1.idxFamMacc_sel != -1) && (listMacchine.SelectedIndex != -1))
{
lblWarning.Visible = false;
// ciclo ed inserisco le macchine selezionate
foreach (ListItem riga in listMacchine.Items)
{
// se è selezionata creo riga anche x lei...
if (riga.Selected)
{
associaMacchinaFamiglia(Convert.ToInt32(riga.Value), mod_elFamMacch1.idxFamMacc_sel);
}
}
mod_elMacch2Fam1.doUpdate();
}
else
{
lblWarning.Visible = true;
lblWarning.Text = traduci("pregoSelMacchFamMacch");
}
}
/// <summary>
/// associa la macchina indicata alla famiglia
/// </summary>
/// <param name="idxMacchina"></param>
/// <param name="idxFamMacc"></param>
private bool associaMacchinaFamiglia(int idxMacchina, int idxFamMacc)
{
bool answ = false;
try
{
TA_app.obj.taMacc2Fam.InsertQuery(idxMacchina, idxFamMacc);
answ = true;
}
catch
{ }
return answ;
}
protected void btnShowAdd_Click(object sender, EventArgs e)
{
pnlSceltaMacchine.Visible = !pnlSceltaMacchine.Visible;
if (pnlSceltaMacchine.Visible)
{
btnShowAdd.Text = user_std.UtSn.Traduci("hideAddMacchine");
}
else
{
btnShowAdd.Text = user_std.UtSn.Traduci("showAddMacchine");
}
}
}
+102
View File
@@ -0,0 +1,102 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_gestCausali.ascx.cs"
Inherits="mod_gestCausali" %>
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
<uc1:mod_filtro ID="mod_filtroFam" runat="server" css="txtMini" changeCheckEnabled="false"
changeCheckVisible="false" />
<asp:ObjectDataSource ID="odsFam" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selFamTableAdapter">
</asp:ObjectDataSource>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxCausale" DataSourceID="ods" OnDataBound="grView_DataBound">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
Visible="false" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
Visible="false" ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="idxCausale" HeaderText="idxCausale" Visible="false" ReadOnly="True" />
<asp:BoundField DataField="idxFamMacchine" HeaderText="idxFamMacchine" Visible="false"
ReadOnly="True" />
<asp:TemplateField HeaderText="descrCausale" SortExpression="descrCausale">
<EditItemTemplate>
<asp:TextBox ID="txtdescrCausale" runat="server" Text='<%# Bind("descrCausale") %>' Width="30em" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lbldescrCausale" runat="server" Text='<%# Eval("descrCausale") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="attiva" SortExpression="attiva">
<EditItemTemplate>
<asp:CheckBox ID="chkAttiva" runat="server" Checked='<%# Bind("attiva") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:CheckBox ID="lblAttiva" runat="server" Checked='<%# Eval("attiva") %>' Enabled="false" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</HeaderTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
Visible='<%# isDeletable(Eval("idxCausale")) %>' ToolTip='<%# traduci("Delete") %>'
ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:Label ID="lblFamMacc" runat="server" Visible="false" Text="0" />
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.AnagCausaliTableAdapter"
DeleteMethod="Delete" OldValuesParameterFormatString="original_{0}" OnDeleted="ods_Deleted"
InsertMethod="Insert" UpdateMethod="UpdateQuery" FilterExpression="idxFamMacchine = {0}">
<FilterParameters>
<asp:ControlParameter ControlID="mod_filtroFam" Name="idx" PropertyName="valoreInt" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_idxCausale" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="descrCausale" Type="String" />
<asp:Parameter Name="attiva" Type="Boolean" />
<asp:Parameter Name="Original_idxCausale" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="idxFamMacchine" Type="Int32" />
<asp:Parameter Name="descrCausale" Type="String" />
<asp:Parameter Name="attiva" Type="Boolean" />
</InsertParameters>
</asp:ObjectDataSource>
+112
View File
@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_gestCausali : ApplicationUserControl
{
public event EventHandler eh_delValore;
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
if (!Page.IsPostBack)
{
mod_filtroFam.ods = odsFam;
}
}
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// eliminato il valore genera l'evento
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (eh_delValore != null)
{
eh_delValore(this, new EventArgs());
}
}
/// <summary>
/// esegue update
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
/// <summary>
/// determina se la causale sia cancellabile (ovvero non sia impiegata in alcuna registrazione di intervento...
/// </summary>
public bool isDeletable(object idxCausale)
{
bool answ = false;
try
{
if (TA_app.obj.taInterventiMtz.getByIdxCausale(Convert.ToInt32(idxCausale)).Rows.Count == 0) answ = true;
}
catch
{ }
return answ;
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
TA_app.obj.taAnagCau.Insert(mod_filtroFam.valoreInt, "-- [NUOVA] non definita --", true);
grView.DataBind();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
}
/// <summary>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
}
+1 -1
View File
@@ -99,7 +99,7 @@
</tr>
<tr>
<td colspan="3">
<asp:Label runat="server" ID="lblWarning" CssClass="erroreMid" />
<asp:Label runat="server" ID="lblWarning" CssClass="erroreMid" Visible="false" />
</td>
</tr>
</table>