completata gestione "flag EXT", modificate stored (2 levate, 2 new, + altre create che erano in DS "embedded"...
This commit is contained in:
@@ -545,8 +545,7 @@ ORDER BY nomeFamMacch</CommandText>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, codImpianto, nomeImpianto, idxMacchina, codMacchina,
|
||||
nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, descrizioneIntervento, isPreventivabile, idxCausale, descrCausale, isFermoSiNo
|
||||
<CommandText>SELECT *
|
||||
FROM v_intervExp
|
||||
ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters />
|
||||
@@ -585,63 +584,70 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Mapping SourceColumn="DescrStato" DataSetColumn="DescrStato" />
|
||||
<Mapping SourceColumn="descrCausale" DataSetColumn="descrCausale" />
|
||||
<Mapping SourceColumn="isFermoSiNo" DataSetColumn="isFermoSiNo" />
|
||||
<Mapping SourceColumn="scheduled" DataSetColumn="scheduled" />
|
||||
<Mapping SourceColumn="isExt" DataSetColumn="isExt" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdx" GetMethodModifier="Public" GetMethodName="getByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdx" UserSourceName="getByIdx">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (numIntMtz = @numIntMtz)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="numIntMtz" ColumnName="numIntMtz" DataSourceName="GIM.dbo.v_intervExp" 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="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxCausale" GetMethodModifier="Public" GetMethodName="getByIdxCausale" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxCausale" UserSourceName="getByIdxCausale">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxImpianto" UserSourceName="getByIdxImpianto">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxImpianto = @idxImpianto) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxImpianto" ColumnName="idxImpianto" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxImpianto" 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="getByIdxMacchina" GetMethodModifier="Public" GetMethodName="getByIdxMacchina" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxMacchina" UserSourceName="getByIdxMacchina">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxMacchina = @idxMacchina) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxMacchina" ColumnName="idxMacchina" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxMacchina" 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="getByPeriodo" GetMethodModifier="Public" GetMethodName="getByPeriodo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodo" UserSourceName="getByPeriodo">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (richiesta BETWEEN @inizio AND @fine) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="inizio" ColumnName="richiesta" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="fine" ColumnName="richiesta" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_vie_getByPeriodoSearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriodoSearch" GetMethodModifier="Public" GetMethodName="getByPeriodoSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodoSearch" UserSourceName="getByPeriodoSearch">
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByIdx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdx" GetMethodModifier="Public" GetMethodName="getByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdx" UserSourceName="getByIdx">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_vie_getByPeriodoSearch</CommandText>
|
||||
<CommandText>dbo.stp_IME_getByIdx</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByIdxCausale" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxCausale" GetMethodModifier="Public" GetMethodName="getByIdxCausale" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxCausale" UserSourceName="getByIdxCausale">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_IME_getByIdxCausale</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByIdxImpianto" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxImpianto" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getByIdxImpianto" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxImpianto" UserSourceName="getByIdxImpianto">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_IME_getByIdxImpianto</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByIdxMacchina" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxMacchina" GetMethodModifier="Public" GetMethodName="getByIdxMacchina" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxMacchina" UserSourceName="getByIdxMacchina">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_IME_getByIdxMacchina</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByPeriodo" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriodo" GetMethodModifier="Public" GetMethodName="getByPeriodo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodo" UserSourceName="getByPeriodo">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_IME_getByPeriodo</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IME_getByPeriodoSearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriodoSearch" GetMethodModifier="Public" GetMethodName="getByPeriodoSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodoSearch" UserSourceName="getByPeriodoSearch">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_IME_getByPeriodoSearch</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -688,10 +694,10 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.sp_updateIntervento" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="sp_updateIntervento" Modifier="Public" Name="sp_updateIntervento" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="sp_updateIntervento">
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IntMtz_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateIntervento" Modifier="Public" Name="updateIntervento" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateIntervento">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.sp_updateIntervento</CommandText>
|
||||
<CommandText>dbo.stp_IntMtz_update</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_numIntMtz" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -701,16 +707,17 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isPreventivabile" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@descrizioneIntervento" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isExt" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxAmbito" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.sp_updateInterventoFull" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="sp_updateInterventoFull" Modifier="Public" Name="sp_updateInterventoFull" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="sp_updateInterventoFull">
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_IntMtz_updateFull" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateInterventoFull" Modifier="Public" Name="updateInterventoFull" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateInterventoFull">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.sp_updateInterventoFull</CommandText>
|
||||
<CommandText>dbo.stp_IntMtz_updateFull</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_numIntMtz" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -722,6 +729,7 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@guasto" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isExt" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxAmbito" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -2165,6 +2173,8 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="scheduled" msprop:Generator_ColumnVarNameInTable="columnscheduled" msprop:Generator_ColumnPropNameInRow="scheduled" msprop:Generator_ColumnPropNameInTable="scheduledColumn" msprop:Generator_UserColumnName="scheduled" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="isExt" msprop:Generator_ColumnVarNameInTable="columnisExt" msprop:Generator_ColumnPropNameInRow="isExt" msprop:Generator_ColumnPropNameInTable="isExtColumn" msprop:Generator_UserColumnName="isExt" type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -2381,7 +2391,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowClassName="v_mtzProgExpRow">
|
||||
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" msprop:Generator_UserColumnName="idxIntPro" type="xs:int" />
|
||||
@@ -2466,7 +2476,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
|
||||
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_RowClassName="ImpiegoRisorseRow" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxImpiego" msprop:Generator_ColumnVarNameInTable="columnidxImpiego" msprop:Generator_ColumnPropNameInRow="idxImpiego" msprop:Generator_ColumnPropNameInTable="idxImpiegoColumn" msprop:Generator_UserColumnName="idxImpiego" type="xs:int" />
|
||||
@@ -2491,7 +2501,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTipoRisorsa" msprop:Generator_TableClassName="AnagTipoRisorsaDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorsa" msprop:Generator_TablePropName="AnagTipoRisorsa" msprop:Generator_RowDeletingName="AnagTipoRisorsaRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorsaRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorsaRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorsaRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorsa" msprop:Generator_RowChangedName="AnagTipoRisorsaRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorsaRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorsaRow">
|
||||
<xs:element name="AnagTipoRisorsa" msprop:Generator_TableClassName="AnagTipoRisorsaDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorsa" msprop:Generator_RowChangedName="AnagTipoRisorsaRowChanged" msprop:Generator_TablePropName="AnagTipoRisorsa" msprop:Generator_RowDeletingName="AnagTipoRisorsaRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorsaRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorsaRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorsaRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorsaRow" msprop:Generator_UserTableName="AnagTipoRisorsa" msprop:Generator_RowEvArgName="AnagTipoRisorsaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodRisorsa" msprop:Generator_ColumnPropNameInRow="CodRisorsa" msprop:Generator_ColumnPropNameInTable="CodRisorsaColumn" msprop:Generator_UserColumnName="CodRisorsa">
|
||||
@@ -2525,7 +2535,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_allData" msprop:Generator_TableClassName="v_allDataDataTable" msprop:Generator_TableVarName="tablev_allData" msprop:Generator_RowChangedName="v_allDataRowChanged" msprop:Generator_TablePropName="v_allData" msprop:Generator_RowDeletingName="v_allDataRowDeleting" msprop:Generator_RowChangingName="v_allDataRowChanging" msprop:Generator_RowEvHandlerName="v_allDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_allDataRowDeleted" msprop:Generator_RowClassName="v_allDataRow" msprop:Generator_UserTableName="v_allData" msprop:Generator_RowEvArgName="v_allDataRowChangeEvent">
|
||||
<xs:element name="v_allData" msprop:Generator_TableClassName="v_allDataDataTable" msprop:Generator_TableVarName="tablev_allData" msprop:Generator_TablePropName="v_allData" msprop:Generator_RowDeletingName="v_allDataRowDeleting" msprop:Generator_RowChangingName="v_allDataRowChanging" msprop:Generator_RowEvHandlerName="v_allDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_allDataRowDeleted" msprop:Generator_UserTableName="v_allData" msprop:Generator_RowChangedName="v_allDataRowChanged" msprop:Generator_RowEvArgName="v_allDataRowChangeEvent" msprop:Generator_RowClassName="v_allDataRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" msprop:Generator_UserColumnName="numIntMtz" type="xs:int" />
|
||||
@@ -2603,7 +2613,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoIntervExt" msprop:Generator_TableClassName="ElencoIntervExtDataTable" msprop:Generator_TableVarName="tableElencoIntervExt" msprop:Generator_RowChangedName="ElencoIntervExtRowChanged" msprop:Generator_TablePropName="ElencoIntervExt" msprop:Generator_RowDeletingName="ElencoIntervExtRowDeleting" msprop:Generator_RowChangingName="ElencoIntervExtRowChanging" msprop:Generator_RowEvHandlerName="ElencoIntervExtRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoIntervExtRowDeleted" msprop:Generator_RowClassName="ElencoIntervExtRow" msprop:Generator_UserTableName="ElencoIntervExt" msprop:Generator_RowEvArgName="ElencoIntervExtRowChangeEvent">
|
||||
<xs:element name="ElencoIntervExt" msprop:Generator_TableClassName="ElencoIntervExtDataTable" msprop:Generator_TableVarName="tableElencoIntervExt" msprop:Generator_TablePropName="ElencoIntervExt" msprop:Generator_RowDeletingName="ElencoIntervExtRowDeleting" msprop:Generator_RowChangingName="ElencoIntervExtRowChanging" msprop:Generator_RowEvHandlerName="ElencoIntervExtRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoIntervExtRowDeleted" msprop:Generator_UserTableName="ElencoIntervExt" msprop:Generator_RowChangedName="ElencoIntervExtRowChanged" msprop:Generator_RowEvArgName="ElencoIntervExtRowChangeEvent" msprop:Generator_RowClassName="ElencoIntervExtRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
|
||||
@@ -2783,22 +2793,22 @@ FROM v_mtzProgExp</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" msprop:Generator_ParentPropName="v_selFamMaccRow" />
|
||||
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" />
|
||||
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
|
||||
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" />
|
||||
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" msprop:Generator_ParentPropName="v_macchineRow" />
|
||||
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" />
|
||||
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
|
||||
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" />
|
||||
<msdata:Relationship name="FK_ImpiegoRisorse_AnagTipoRisorsa" msdata:parent="AnagTipoRisorsa" msdata:child="ImpiegoRisorse" msdata:parentkey="CodRisorsa" msdata:childkey="CodRisorsa" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="FK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_RelationVarName="relationFK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_UserParentTable="AnagTipoRisorsa" msprop:Generator_ParentPropName="AnagTipoRisorsaRow" />
|
||||
<msdata:Relationship name="v_intervExp_ImpiegoRisorse" msdata:parent="v_intervExp" msdata:child="ImpiegoRisorse" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="v_intervExp_ImpiegoRisorse" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_ImpiegoRisorse" msprop:Generator_UserParentTable="v_intervExp" />
|
||||
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_ParentPropName="v_selFamMaccRow" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" />
|
||||
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" />
|
||||
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" />
|
||||
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" />
|
||||
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_ParentPropName="v_macchineRow" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" />
|
||||
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" />
|
||||
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" />
|
||||
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" />
|
||||
<msdata:Relationship name="FK_ImpiegoRisorse_AnagTipoRisorsa" msdata:parent="AnagTipoRisorsa" msdata:child="ImpiegoRisorse" msdata:parentkey="CodRisorsa" msdata:childkey="CodRisorsa" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="FK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_ParentPropName="AnagTipoRisorsaRow" msprop:Generator_RelationVarName="relationFK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_UserParentTable="AnagTipoRisorsa" />
|
||||
<msdata:Relationship name="v_intervExp_ImpiegoRisorse" msdata:parent="v_intervExp" msdata:child="ImpiegoRisorse" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="v_intervExp_ImpiegoRisorse" msprop:Generator_RelationVarName="relationv_intervExp_ImpiegoRisorse" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -13,7 +13,7 @@
|
||||
<Shape ID="DesignTable:v_macchine" ZOrder="12" X="1116" Y="309" Height="374" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_selFamMacc" ZOrder="32" X="1084" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
|
||||
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="21" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="1" X="526" Y="217" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="1" X="526" Y="217" Height="381" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="10" X="237" Y="187" Height="111" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="31" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="15" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
@@ -92,7 +92,7 @@
|
||||
<Y>579</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>826</X>
|
||||
<X>780</X>
|
||||
<Y>579</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
|
||||
+176
-62
@@ -3477,6 +3477,10 @@ namespace GIM_data {
|
||||
|
||||
private global::System.Data.DataColumn columnisFermoSiNo;
|
||||
|
||||
private global::System.Data.DataColumn columnscheduled;
|
||||
|
||||
private global::System.Data.DataColumn columnisExt;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_intervExpDataTable() {
|
||||
@@ -3750,6 +3754,22 @@ namespace GIM_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn scheduledColumn {
|
||||
get {
|
||||
return this.columnscheduled;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn isExtColumn {
|
||||
get {
|
||||
return this.columnisExt;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -3816,7 +3836,9 @@ namespace GIM_data {
|
||||
string nomeMacchina,
|
||||
string DescrStato,
|
||||
string descrCausale,
|
||||
string isFermoSiNo) {
|
||||
string isFermoSiNo,
|
||||
bool scheduled,
|
||||
bool isExt) {
|
||||
v_intervExpRow rowv_intervExpRow = ((v_intervExpRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -3848,7 +3870,9 @@ namespace GIM_data {
|
||||
nomeMacchina,
|
||||
DescrStato,
|
||||
descrCausale,
|
||||
isFermoSiNo};
|
||||
isFermoSiNo,
|
||||
scheduled,
|
||||
isExt};
|
||||
if ((parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto != null)) {
|
||||
columnValuesArray[6] = parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto[0];
|
||||
}
|
||||
@@ -3920,6 +3944,8 @@ namespace GIM_data {
|
||||
this.columnDescrStato = base.Columns["DescrStato"];
|
||||
this.columndescrCausale = base.Columns["descrCausale"];
|
||||
this.columnisFermoSiNo = base.Columns["isFermoSiNo"];
|
||||
this.columnscheduled = base.Columns["scheduled"];
|
||||
this.columnisExt = base.Columns["isExt"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -3985,6 +4011,10 @@ namespace GIM_data {
|
||||
base.Columns.Add(this.columndescrCausale);
|
||||
this.columnisFermoSiNo = new global::System.Data.DataColumn("isFermoSiNo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnisFermoSiNo);
|
||||
this.columnscheduled = new global::System.Data.DataColumn("scheduled", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnscheduled);
|
||||
this.columnisExt = new global::System.Data.DataColumn("isExt", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnisExt);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnnumIntMtz}, true));
|
||||
this.columnnumIntMtz.AutoIncrement = true;
|
||||
@@ -4021,6 +4051,7 @@ namespace GIM_data {
|
||||
this.columndescrCausale.MaxLength = 50;
|
||||
this.columnisFermoSiNo.ReadOnly = true;
|
||||
this.columnisFermoSiNo.MaxLength = 2;
|
||||
this.columnisExt.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -11586,6 +11617,33 @@ namespace GIM_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool scheduled {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tablev_intervExp.scheduledColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'scheduled\' in table \'v_intervExp\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_intervExp.scheduledColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool isExt {
|
||||
get {
|
||||
return ((bool)(this[this.tablev_intervExp.isExtColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_intervExp.isExtColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public AnagAmbitoGuastoRow AnagAmbitoGuastoRow {
|
||||
@@ -11810,6 +11868,18 @@ namespace GIM_data {
|
||||
this[this.tablev_intervExp.isFermoSiNoColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsscheduledNull() {
|
||||
return this.IsNull(this.tablev_intervExp.scheduledColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetscheduledNull() {
|
||||
this[this.tablev_intervExp.scheduledColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public InterventoOpMtzRow[] GetInterventoOpMtzRows() {
|
||||
@@ -18321,6 +18391,8 @@ namespace GIM_data.DS_applicazioneTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("DescrStato", "DescrStato");
|
||||
tableMapping.ColumnMappings.Add("descrCausale", "descrCausale");
|
||||
tableMapping.ColumnMappings.Add("isFermoSiNo", "isFermoSiNo");
|
||||
tableMapping.ColumnMappings.Add("scheduled", "scheduled");
|
||||
tableMapping.ColumnMappings.Add("isExt", "isExt");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
@@ -18337,40 +18409,42 @@ namespace GIM_data.DS_applicazioneTableAdapters {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto, codImpianto, nomeImpianto, idxMacchina, codMacchina,
|
||||
nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento, descrizioneIntervento, isPreventivabile, idxCausale, descrCausale, isFermoSiNo
|
||||
FROM v_intervExp
|
||||
ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_intervExp\r\nORDER BY numIntMtz DESC";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (numIntMtz = @numIntMtz)";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].CommandText = "dbo.stp_IME_getByIdx";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxCausale = @idxCausale)";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].CommandText = "dbo.stp_IME_getByIdxCausale";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxImpianto = @idxImpianto) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].CommandText = "dbo.stp_IME_getByIdxImpianto";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxMacchina = @idxMacchina) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].CommandText = "dbo.stp_IME_getByIdxMacchina";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isFermoSiNo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (richiesta BETWEEN @inizio AND @fine) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].CommandText = "dbo.stp_IME_getByPeriodo";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = "dbo.stp_vie_getByPeriodoSearch";
|
||||
this._commandCollection[6].CommandText = "dbo.stp_IME_getByPeriodoSearch";
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -18405,7 +18479,7 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStatoNew", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "dbo.sp_updateIntervento";
|
||||
this._commandCollection[9].CommandText = "dbo.stp_IntMtz_update";
|
||||
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -18415,11 +18489,12 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isPreventivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isExt", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[10].Connection = this.Connection;
|
||||
this._commandCollection[10].CommandText = "dbo.sp_updateInterventoFull";
|
||||
this._commandCollection[10].CommandText = "dbo.stp_IntMtz_updateFull";
|
||||
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -18431,6 +18506,7 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guasto", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isExt", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -18476,9 +18552,14 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdx(int numIntMtz) {
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdx(global::System.Nullable<int> numIntMtz) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(numIntMtz));
|
||||
if ((numIntMtz.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(numIntMtz.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -18491,10 +18572,10 @@ ORDER BY numIntMtz DESC";
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdxCausale(global::System.Nullable<int> idxCausale) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((idxCausale.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxCausale.Value));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCausale.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
@@ -18505,9 +18586,14 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdxImpianto(int idxImpianto) {
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdxImpianto(global::System.Nullable<int> idxImpianto) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxImpianto));
|
||||
if ((idxImpianto.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxImpianto.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -18517,9 +18603,14 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdxMacchina(int idxMacchina) {
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByIdxMacchina(global::System.Nullable<int> idxMacchina) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idxMacchina));
|
||||
if ((idxMacchina.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxMacchina.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -18529,10 +18620,20 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByPeriodo(System.DateTime inizio, System.DateTime fine) {
|
||||
public virtual DS_applicazione.v_intervExpDataTable getByPeriodo(global::System.Nullable<global::System.DateTime> inizio, global::System.Nullable<global::System.DateTime> fine) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(inizio));
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(fine));
|
||||
if ((inizio.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((fine.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(fine.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.v_intervExpDataTable dataTable = new DS_applicazione.v_intervExpDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -18742,7 +18843,7 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int sp_updateIntervento(global::System.Nullable<int> Original_numIntMtz, global::System.Nullable<int> idxStato, global::System.Nullable<global::System.DateTime> inizioIntervento, global::System.Nullable<global::System.DateTime> fineIntervento, global::System.Nullable<bool> isPreventivabile, string descrizioneIntervento, global::System.Nullable<bool> isFermo, global::System.Nullable<int> idxAmbito, global::System.Nullable<int> idxCausale) {
|
||||
public virtual int updateIntervento(global::System.Nullable<int> Original_numIntMtz, global::System.Nullable<int> idxStato, global::System.Nullable<global::System.DateTime> inizioIntervento, global::System.Nullable<global::System.DateTime> fineIntervento, global::System.Nullable<bool> isPreventivabile, string descrizioneIntervento, global::System.Nullable<bool> isFermo, global::System.Nullable<bool> isExt, global::System.Nullable<int> idxAmbito, global::System.Nullable<int> idxCausale) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
||||
if ((Original_numIntMtz.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Original_numIntMtz.Value));
|
||||
@@ -18786,18 +18887,24 @@ ORDER BY numIntMtz DESC";
|
||||
else {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxAmbito.HasValue == true)) {
|
||||
command.Parameters[8].Value = ((int)(idxAmbito.Value));
|
||||
if ((isExt.HasValue == true)) {
|
||||
command.Parameters[8].Value = ((bool)(isExt.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxCausale.HasValue == true)) {
|
||||
command.Parameters[9].Value = ((int)(idxCausale.Value));
|
||||
if ((idxAmbito.HasValue == true)) {
|
||||
command.Parameters[9].Value = ((int)(idxAmbito.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxCausale.HasValue == true)) {
|
||||
command.Parameters[10].Value = ((int)(idxCausale.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -18818,7 +18925,7 @@ ORDER BY numIntMtz DESC";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int sp_updateInterventoFull(
|
||||
public virtual int updateInterventoFull(
|
||||
global::System.Nullable<int> Original_numIntMtz,
|
||||
global::System.Nullable<int> idxStato,
|
||||
global::System.Nullable<global::System.DateTime> inizioIntervento,
|
||||
@@ -18828,6 +18935,7 @@ ORDER BY numIntMtz DESC";
|
||||
string matr,
|
||||
global::System.Nullable<global::System.DateTime> guasto,
|
||||
global::System.Nullable<bool> isFermo,
|
||||
global::System.Nullable<bool> isExt,
|
||||
global::System.Nullable<int> idxImpianto,
|
||||
global::System.Nullable<int> idxMacchina,
|
||||
global::System.Nullable<int> idxAmbito,
|
||||
@@ -18891,54 +18999,60 @@ ORDER BY numIntMtz DESC";
|
||||
else {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxImpianto.HasValue == true)) {
|
||||
command.Parameters[10].Value = ((int)(idxImpianto.Value));
|
||||
if ((isExt.HasValue == true)) {
|
||||
command.Parameters[10].Value = ((bool)(isExt.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxMacchina.HasValue == true)) {
|
||||
command.Parameters[11].Value = ((int)(idxMacchina.Value));
|
||||
if ((idxImpianto.HasValue == true)) {
|
||||
command.Parameters[11].Value = ((int)(idxImpianto.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxAmbito.HasValue == true)) {
|
||||
command.Parameters[12].Value = ((int)(idxAmbito.Value));
|
||||
if ((idxMacchina.HasValue == true)) {
|
||||
command.Parameters[12].Value = ((int)(idxMacchina.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[12].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxPriorita.HasValue == true)) {
|
||||
command.Parameters[13].Value = ((int)(idxPriorita.Value));
|
||||
if ((idxAmbito.HasValue == true)) {
|
||||
command.Parameters[13].Value = ((int)(idxAmbito.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[13].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((descrizione == null)) {
|
||||
if ((idxPriorita.HasValue == true)) {
|
||||
command.Parameters[14].Value = ((int)(idxPriorita.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[14].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[14].Value = ((string)(descrizione));
|
||||
}
|
||||
if ((idxTipo.HasValue == true)) {
|
||||
command.Parameters[15].Value = ((int)(idxTipo.Value));
|
||||
}
|
||||
else {
|
||||
if ((descrizione == null)) {
|
||||
command.Parameters[15].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxCausale.HasValue == true)) {
|
||||
command.Parameters[16].Value = ((int)(idxCausale.Value));
|
||||
else {
|
||||
command.Parameters[15].Value = ((string)(descrizione));
|
||||
}
|
||||
if ((idxTipo.HasValue == true)) {
|
||||
command.Parameters[16].Value = ((int)(idxTipo.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[16].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((presaInCarico.HasValue == true)) {
|
||||
command.Parameters[17].Value = ((System.DateTime)(presaInCarico.Value));
|
||||
if ((idxCausale.HasValue == true)) {
|
||||
command.Parameters[17].Value = ((int)(idxCausale.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[17].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((presaInCarico.HasValue == true)) {
|
||||
command.Parameters[18].Value = ((System.DateTime)(presaInCarico.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[18].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -63,6 +63,10 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblIsExt" Text='<%# traduci("lblIsExt") %>' Font-Size="X-Small" /></b>
|
||||
<br />
|
||||
<asp:CheckBox ID="isExtCheckBox" runat="server" Checked='<%# Bind("isExt") %>' Enabled="false" />
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
|
||||
@@ -253,6 +257,12 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="textEv_1Left">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblIsExt" Text='<%# traduci("lblIsExt") %>' Font-Size="X-Small" /></b>
|
||||
<br />
|
||||
<asp:CheckBox ID="isExtCheckBox" runat="server" Checked='<%# Bind("isExt") %>' Enabled="true" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
|
||||
@@ -390,7 +400,7 @@
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="ods_default" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByIdx" TypeName="GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter" UpdateMethod="sp_updateIntervento" OnUpdated="ods_default_Updated">
|
||||
<asp:ObjectDataSource ID="ods_default" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByIdx" TypeName="GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter" UpdateMethod="updateIntervento" OnUpdated="ods_default_Updated">
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
|
||||
<asp:Parameter Name="idxStato" Type="Int32" />
|
||||
@@ -399,6 +409,7 @@
|
||||
<asp:Parameter Name="isPreventivabile" Type="Boolean" />
|
||||
<asp:Parameter Name="descrizioneIntervento" Type="String" />
|
||||
<asp:Parameter Name="isFermo" Type="Boolean" />
|
||||
<asp:Parameter Name="isExt" Type="Boolean" />
|
||||
<asp:Parameter Name="idxAmbito" Type="Int32" />
|
||||
<asp:Parameter Name="idxCausale" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
|
||||
@@ -72,6 +72,12 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="textEv_1Left">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblIsExt" Text='<%# traduci("lblIsExt") %>' Font-Size="X-Small" /></b>
|
||||
<br />
|
||||
<asp:CheckBox ID="isExtCheckBox" runat="server" Checked='<%# Bind("isExt") %>' Enabled="true" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
|
||||
@@ -207,7 +213,7 @@
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="ods_full" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByIdx" TypeName="GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter"
|
||||
UpdateMethod="sp_updateInterventoFull" OnUpdated="ods_full_Updated">
|
||||
UpdateMethod="updateInterventoFull" OnUpdated="ods_full_Updated">
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
|
||||
<asp:Parameter Name="idxStato" Type="Int32" />
|
||||
@@ -218,6 +224,7 @@
|
||||
<asp:Parameter Name="matr" Type="String" />
|
||||
<asp:Parameter Name="guasto" Type="DateTime" />
|
||||
<asp:Parameter Name="isFermo" Type="Boolean" />
|
||||
<asp:Parameter Name="isExt" Type="Boolean" />
|
||||
<asp:Parameter Name="idxImpianto" Type="Int32" />
|
||||
<asp:Parameter Name="idxMacchina" Type="Int32" />
|
||||
<asp:Parameter Name="idxAmbito" Type="Int32" />
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_dettInt_default.ascx" TagPrefix="uc1" TagName="mod_dettInt_default" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_dettInt_full.ascx" TagPrefix="uc1" TagName="mod_dettInt_full" %>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="font-size: 0.9em;">
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
|
||||
@@ -92,7 +92,13 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="chkImpFermoShort" SortExpression="isFermo" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="Label2" runat="server" Checked='<%# Eval("isFermo") %>' Enabled="false" />
|
||||
<asp:CheckBox ID="chkIsFermo" runat="server" Checked='<%# Eval("isFermo") %>' Enabled="false" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="chkIsExtShort" SortExpression="isExt" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="chkIsExt" runat="server" Checked='<%# Eval("isExt") %>' Enabled="false" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:TemplateField>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user