- Aggiunto modulo gestione degli interventi dei singoli manutentori

- inseriti nuovi valori di default in Web.config

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@38 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2009-01-23 11:57:56 +00:00
parent 4450b4dcd2
commit 236905f034
13 changed files with 627 additions and 304 deletions
+360 -250
View File
@@ -746,6 +746,95 @@ where idxStato=@idxStato</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InterventoOpMtzTableAdapter" GeneratorDataComponentClassName="InterventoOpMtzTableAdapter" Name="InterventoOpMtz" UserDataComponentName="InterventoOpMtzTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.InterventoOpMtz" 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].[InterventoOpMtz] WHERE (([numIntMtz] = @Original_numIntMtz) AND ([matrOp] = @Original_matrOp))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[InterventoOpMtz] ([numIntMtz], [matrOp], [durataMinuti]) VALUES (@numIntMtz, @matrOp, @durataMinuti)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@durataMinuti" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="durataMinuti" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[InterventoOpMtz] SET [numIntMtz] = @numIntMtz, [matrOp] = @matrOp, [durataMinuti] = @durataMinuti WHERE (([numIntMtz] = @Original_numIntMtz) AND ([matrOp] = @Original_matrOp))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@durataMinuti" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="durataMinuti" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="numIntMtz" DataSetColumn="numIntMtz" />
<Mapping SourceColumn="matrOp" DataSetColumn="matrOp" />
<Mapping SourceColumn="durataMinuti" DataSetColumn="durataMinuti" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.InterventoOpMtz" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByMatrNumIntMtz" GetMethodModifier="Public" GetMethodName="getByMatrNumIntMtz" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByMatrNumIntMtz" UserSourceName="getByMatrNumIntMtz">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT numIntMtz, matrOp, durataMinuti
FROM InterventoOpMtz
WHERE (numIntMtz = @numIntMtz) AND (matrOp = @matrOp)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="numIntMtz" ColumnName="numIntMtz" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="matrOp" ColumnName="matrOp" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.InterventoOpMtz" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByNumIntMtz" GetMethodModifier="Public" GetMethodName="getByNumIntMtz" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByNumIntMtz" UserSourceName="getByNumIntMtz">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT numIntMtz, matrOp, durataMinuti FROM dbo.InterventoOpMtz
where numIntMtz=@numIntMtz</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="numIntMtz" ColumnName="numIntMtz" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<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 InterventoOpMtz
SET matrOp = @matrOp, durataMinuti = @durataMinuti
WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="matrOp" ColumnName="matrOp" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="durataMinuti" ColumnName="durataMinuti" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@durataMinuti" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="durataMinuti" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_numIntMtz" ColumnName="numIntMtz" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_matrOp" ColumnName="matrOp" DataSourceName="GIM.dbo.InterventoOpMtz" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@Original_matrOp" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="matrOp" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -757,16 +846,16 @@ where idxStato=@idxStato</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_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: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: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_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: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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -779,7 +868,186 @@ where idxStato=@idxStato</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_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<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="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">
@@ -787,6 +1055,83 @@ where idxStato=@idxStato</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">
@@ -797,259 +1142,18 @@ where idxStato=@idxStato</CommandText>
</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: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="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="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="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_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_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">
<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="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" 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: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: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">
<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_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="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="durataMinuti" msprop:Generator_UserColumnName="durataMinuti" msprop:Generator_ColumnPropNameInRow="durataMinuti" msprop:Generator_ColumnVarNameInTable="columndurataMinuti" msprop:Generator_ColumnPropNameInTable="durataMinutiColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -1096,6 +1200,11 @@ where idxStato=@idxStato</CommandText>
<xs:selector xpath=".//mstns:AnagStati" />
<xs:field xpath="mstns:idxStato" />
</xs:unique>
<xs:unique name="InterventoOpMtz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:InterventoOpMtz" />
<xs:field xpath="mstns:numIntMtz" />
<xs:field xpath="mstns:matrOp" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
@@ -1106,6 +1215,7 @@ where idxStato=@idxStato</CommandText>
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_ChildPropName="Getv_intervExpRows" />
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_UserParentTable="AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" msprop:Generator_ChildPropName="Getv_intervExpRows" />
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_UserParentTable="AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" msprop:Generator_ChildPropName="GetInterventiMtzRows" />
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+30 -17
View File
@@ -6,19 +6,20 @@
</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="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="17" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="16" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="3" X="153" Y="373" Height="190" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="9" X="810" Y="350" Height="207" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="5" X="1087" Y="339" Height="343" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="4" X="1067" Y="100" Height="173" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="13" X="742" Y="29" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="1" X="484" Y="217" Height="632" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="517" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="7" X="118" Y="199" Height="105" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="2" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:LogUpdateDb" ZOrder="19" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="18" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="5" X="153" Y="373" Height="190" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="11" X="810" Y="350" Height="207" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="7" X="1087" Y="339" Height="343" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="6" X="1067" Y="100" Height="173" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="15" X="742" Y="29" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="3" X="484" Y="217" Height="649" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="517" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="9" X="118" Y="199" Height="105" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="4" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="2" X="790" Y="656" Height="173" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="15" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>1034</X>
@@ -30,7 +31,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="14" LineWidth="11">
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>1187</X>
@@ -42,7 +43,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>937</X>
@@ -54,7 +55,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="10" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>511</X>
@@ -66,7 +67,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>810</X>
@@ -78,7 +79,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="8" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="10" LineWidth="11">
<RoutePoints>
<Point>
<X>364</X>
@@ -90,7 +91,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>297</X>
@@ -102,5 +103,17 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>686</X>
<Y>722</Y>
</Point>
<Point>
<X>790</X>
<Y>722</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
+5
View File
@@ -19,6 +19,7 @@ public class TA_app
public DS_applicazioneTableAdapters.v_intervExpTableAdapter taInterventiMtz;
public DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati;
public DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior;
public DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz;
#endregion
@@ -61,6 +62,10 @@ public class TA_app
{
taPrior = new DS_applicazioneTableAdapters.AnagPrioritaTableAdapter();
}
if (taIntOpMtz == null)
{
taIntOpMtz = new DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter();
}
}
/// <summary>
/// Singleton
+5 -1
View File
@@ -99,7 +99,11 @@
<add key="VocabolarioConnectionString" value="Data Source=localhost;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="AppConnectionString" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="TestAppConnectionString" value="Data Source=localhost;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<!--getione turni-->
<!--valori default-->
<add key ="defaultMatr" value="0000"/>
<add key ="defaultCodImp" value="0000"/>
<add key ="defaultCodMacc" value="0000"/>
<!--getione turni-->
<add key="shiftTurno" value="6"/>
<add key="durataTurno" value="8"/>
<add key="defaultDelay" value="15"/>
@@ -30,6 +30,10 @@
<add key="VocabolarioConnectionString" value="Data Source=localhost;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="AppConnectionString" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="TestAppConnectionString" value="Data Source=localhost;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<!--valori default-->
<add key ="defaultMatr" value="0000"/>
<add key ="defaultCodImp" value="0000"/>
<add key ="defaultCodMacc" value="0000"/>
<!--getione turni-->
<add key="shiftTurno" value="6"/>
<add key="durataTurno" value="8"/>
+7 -11
View File
@@ -2,8 +2,7 @@
Inherits="mod_anagAmbitiGuasto" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxAmbito" DataSourceID="ods" OnDataBound="grView_DataBound"
OnRowEditing="grView_RowEditing">
DataKeyNames="idxAmbito" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
@@ -25,7 +24,8 @@
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" />
<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"
@@ -33,16 +33,13 @@
<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" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="idxAmbito" HeaderText="idxAmbito" InsertVisible="False"
Visible="false" ReadOnly="True" SortExpression="idxAmbito" />
<asp:TemplateField HeaderText="descrAmbitoGuasto"
SortExpression="descrAmbitoGuasto">
<asp:TemplateField HeaderText="descrAmbitoGuasto" SortExpression="descrAmbitoGuasto">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="30em"
Text='<%# Bind("descrAmbitoGuasto") %>'></asp:TextBox>
<asp:TextBox ID="TextBox1" runat="server" Width="30em" Text='<%# Bind("descrAmbitoGuasto") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("descrAmbitoGuasto") %>'></asp:Label>
@@ -65,8 +62,7 @@
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
@@ -1,4 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_dettaglioIntervento.ascx.cs" Inherits="mod_dettaglioIntervento" %>
<%@ Register src="mod_interventoOpMtz.ascx" tagname="mod_interventoOpMtz" tagprefix="uc1" %>
<div style="text-align:center; width:100%;">
<asp:Button ID="btnCompilaMtz" runat="server" Width="180px"
onclick="btnCompilaMtz_Click" />
@@ -6,6 +7,7 @@
onclick="btnEditFull_Click" />
<asp:Button ID="btnChiudi" runat="server" Width="180px" onclick="btnChiudi_Click" />
</div>
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz1" runat="server" />
<asp:FormView ID="frmView_default" runat="server" DataKeyNames="numIntMtz"
DataSourceID="ods_default">
<EditItemTemplate>
+2 -1
View File
@@ -328,7 +328,8 @@ public partial class mod_impianti : ApplicationUserControl
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
TA_app.obj.taImpianti.Insert("0000", "-- [NUOVO] Nome Impianto non definito --", "tipo n.d.", DateTime.Today, DateTime.Today.AddYears(10));
string codImp = memLayer.ML.confReadstring("defaultCodImp");
TA_app.obj.taImpianti.Insert(codImp, "-- [NUOVO] Nome Impianto non definito --", "tipo n.d.", DateTime.Today, DateTime.Today.AddYears(10));
grView.DataBind();
}
/// <summary>
+102
View File
@@ -0,0 +1,102 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_interventoOpMtz.ascx.cs"
Inherits="mod_interventoOpMtz" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="numIntMtz,matrOp" DataSourceID="ods" OnDataBound="grView_DataBound"
OnRowEditing="grView_RowEditing">
<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="numIntMtz" HeaderText="numIntMtz" InsertVisible="False"
Visible="false" ReadOnly="True" SortExpression="numIntMtz" />
<asp:TemplateField HeaderText="matrOp" SortExpression="matrOp">
<EditItemTemplate>
<asp:TextBox ID="txt_matrOp" runat="server" Width="5em" Text='<%# Bind("matrOp") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lbl_matrOp" runat="server" Text='<%# Eval("matrOp") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="durataMinuti" SortExpression="durataMinuti">
<EditItemTemplate>
<asp:TextBox ID="txt_durataMinuti" runat="server" Width="5em" Text='<%# Bind("durataMinuti") %>'></asp:TextBox>
<cc1:FilteredTextBoxExtender ID="ftbe_minuti" TargetControlID="txt_durataMinuti" runat="server" FilterType="Numbers">
</cc1:FilteredTextBoxExtender>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lbl_durataMinuti" runat="server" Text='<%# Eval("durataMinuti") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' Visible='<%# canInsertNew() %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
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:ObjectDataSource ID="ods" runat="server" SelectMethod="getByNumIntMtz" TypeName="DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter"
UpdateMethod="UpdateQuery" DeleteMethod="Delete" OldValuesParameterFormatString="Original_{0}"
InsertMethod="Insert">
<UpdateParameters>
<asp:Parameter Name="matrOp" Type="String" />
<asp:Parameter Name="durataMinuti" Type="Int32" />
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
<asp:Parameter Name="Original_matrOp" Type="String" />
</UpdateParameters>
<DeleteParameters>
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
<asp:Parameter Name="Original_matrOp" Type="String" />
</DeleteParameters>
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="numIntMtz" SessionField="numIntMtz_sel"
Type="Int32" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="numIntMtz" Type="Int32" />
<asp:Parameter Name="matrOp" Type="String" />
<asp:Parameter Name="durataMinuti" Type="Int32" />
</InsertParameters>
</asp:ObjectDataSource>
+103
View File
@@ -0,0 +1,103 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_interventoOpMtz : ApplicationUserControl
{
public event EventHandler eh_selezioneValore;
public event EventHandler eh_resetSelezione;
/// <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>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// seleziono valore in editing...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
// seleziono la riga corrente...
grView.SelectedIndex = e.NewEditIndex;
}
/// <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();
int numIntMtz = memLayer.ML.IntSessionObj("numIntMtz_sel");
string matr = memLayer.ML.confReadstring("defaultMatr");
TA_app.obj.taIntOpMtz.Insert(numIntMtz, matr, 0);
grView.DataBind();
}
/// <summary>
/// restituisce un booleano se sia abilitato inserimento nuovi valori (solo se NON C'E' GIA' un operatore con amtricola di default...)
/// </summary>
/// <returns></returns>
public bool canInsertNew()
{
bool answ = false;
int numIntMtz = memLayer.ML.IntSessionObj("numIntMtz_sel");
string matr = memLayer.ML.confReadstring("defaultMatr");
try
{
answ = (TA_app.obj.taIntOpMtz.getByMatrNumIntMtz(numIntMtz, matr).Rows.Count == 0);
}
catch
{ }
return answ;
}
}
+2 -1
View File
@@ -403,7 +403,8 @@ public partial class mod_macchine : ApplicationUserControl
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
TA_app.obj.taMacchine.Insert(1, "0000", "-- [NUOVA] Nome Macchina non definito --", "modello n.d.", "", DateTime.Now.Year, 0, 0, DateTime.Today, DateTime.Today.AddYears(10));
string codMacc = memLayer.ML.confReadstring("defaultCodMacc");
TA_app.obj.taMacchine.Insert(1, codMacc, "-- [NUOVA] Nome Macchina non definito --", "modello n.d.", "", DateTime.Now.Year, 0, 0, DateTime.Today, DateTime.Today.AddYears(10));
grView.DataBind();
}
/// <summary>
+4 -14
View File
@@ -1,16 +1,6 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/Ajax.master" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
+1 -9
View File
@@ -8,14 +8,6 @@ public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
#if false
reportExporter re = new reportExporter();
re.popolaPdfStream(reportRichiesto.RichiestaIntervento, "1");
Response.Clear();
Response.ContentType = re.mimeType;
Response.AddHeader("content-disposition", "attachment; filename=WebGIM." + re.fileNameExtension);
Response.BinaryWrite(re.renderedBytes);
Response.End();
#endif
}
}