da testare ma rischedula alla data di scadenza naturale da ultimo int...

This commit is contained in:
Samuele E. Locatelli
2017-07-14 19:24:26 +02:00
parent a9b79a715f
commit 8646fd9bf3
6 changed files with 292 additions and 226 deletions
+24 -22
View File
@@ -1968,6 +1968,7 @@ FROM v_mtzProgExp</CommandText>
<Mapping SourceColumn="lastOne" DataSetColumn="lastOne" />
<Mapping SourceColumn="scadProg" DataSetColumn="scadProg" />
<Mapping SourceColumn="scadNat" DataSetColumn="scadNat" />
<Mapping SourceColumn="idxPending" DataSetColumn="idxPending" />
</Mappings>
<Sources />
</TableAdapter>
@@ -2466,7 +2467,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" />
@@ -2551,7 +2552,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" />
@@ -2576,7 +2577,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">
@@ -2610,7 +2611,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" />
@@ -2696,7 +2697,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">
@@ -2780,13 +2781,14 @@ FROM v_mtzProgExp</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProg_Scadenze" msprop:Generator_TableClassName="MtzProg_ScadenzeDataTable" msprop:Generator_TableVarName="tableMtzProg_Scadenze" msprop:Generator_TablePropName="MtzProg_Scadenze" msprop:Generator_RowDeletingName="MtzProg_ScadenzeRowDeleting" msprop:Generator_RowChangingName="MtzProg_ScadenzeRowChanging" msprop:Generator_RowEvHandlerName="MtzProg_ScadenzeRowChangeEventHandler" msprop:Generator_RowDeletedName="MtzProg_ScadenzeRowDeleted" msprop:Generator_UserTableName="MtzProg_Scadenze" msprop:Generator_RowChangedName="MtzProg_ScadenzeRowChanged" msprop:Generator_RowEvArgName="MtzProg_ScadenzeRowChangeEvent" msprop:Generator_RowClassName="MtzProg_ScadenzeRow">
<xs:element name="MtzProg_Scadenze" msprop:Generator_TableClassName="MtzProg_ScadenzeDataTable" msprop:Generator_TableVarName="tableMtzProg_Scadenze" msprop:Generator_RowChangedName="MtzProg_ScadenzeRowChanged" msprop:Generator_TablePropName="MtzProg_Scadenze" msprop:Generator_RowDeletingName="MtzProg_ScadenzeRowDeleting" msprop:Generator_RowChangingName="MtzProg_ScadenzeRowChanging" msprop:Generator_RowEvHandlerName="MtzProg_ScadenzeRowChangeEventHandler" msprop:Generator_RowDeletedName="MtzProg_ScadenzeRowDeleted" msprop:Generator_RowClassName="MtzProg_ScadenzeRow" msprop:Generator_UserTableName="MtzProg_Scadenze" msprop:Generator_RowEvArgName="MtzProg_ScadenzeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" msprop:Generator_UserColumnName="idxIntPro" type="xs:int" minOccurs="0" />
<xs:element name="lastOne" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlastOne" msprop:Generator_ColumnPropNameInRow="lastOne" msprop:Generator_ColumnPropNameInTable="lastOneColumn" msprop:Generator_UserColumnName="lastOne" type="xs:dateTime" minOccurs="0" />
<xs:element name="scadProg" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnscadProg" msprop:Generator_ColumnPropNameInRow="scadProg" msprop:Generator_ColumnPropNameInTable="scadProgColumn" msprop:Generator_UserColumnName="scadProg" type="xs:dateTime" minOccurs="0" />
<xs:element name="scadNat" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnscadNat" msprop:Generator_ColumnPropNameInRow="scadNat" msprop:Generator_ColumnPropNameInTable="scadNatColumn" msprop:Generator_UserColumnName="scadNat" type="xs:dateTime" minOccurs="0" />
<xs:element name="idxPending" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" msprop:Generator_UserColumnName="idxPending" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -2900,22 +2902,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>
+1 -1
View File
@@ -31,7 +31,7 @@
<Shape ID="DesignTable:AnagTipoRisorsa" ZOrder="8" X="-10" Y="713" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:v_allData" ZOrder="4" X="697" Y="1220" Height="365" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ElencoIntervExt" ZOrder="5" X="164" Y="1167" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:MtzProg_Scadenze" ZOrder="1" X="1112" Y="1266" Height="181" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:MtzProg_Scadenze" ZOrder="1" X="1112" Y="1266" Height="204" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="40" LineWidth="11">
+46 -2
View File
@@ -10360,6 +10360,8 @@ namespace GIM_dataLayer {
private global::System.Data.DataColumn columnscadNat;
private global::System.Data.DataColumn columnidxPending;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MtzProg_ScadenzeDataTable() {
@@ -10425,6 +10427,14 @@ namespace GIM_dataLayer {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn idxPendingColumn {
get {
return this.columnidxPending;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -10462,13 +10472,14 @@ namespace GIM_dataLayer {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MtzProg_ScadenzeRow AddMtzProg_ScadenzeRow(int idxIntPro, System.DateTime lastOne, System.DateTime scadProg, System.DateTime scadNat) {
public MtzProg_ScadenzeRow AddMtzProg_ScadenzeRow(int idxIntPro, System.DateTime lastOne, System.DateTime scadProg, System.DateTime scadNat, int idxPending) {
MtzProg_ScadenzeRow rowMtzProg_ScadenzeRow = ((MtzProg_ScadenzeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
idxIntPro,
lastOne,
scadProg,
scadNat};
scadNat,
idxPending};
rowMtzProg_ScadenzeRow.ItemArray = columnValuesArray;
this.Rows.Add(rowMtzProg_ScadenzeRow);
return rowMtzProg_ScadenzeRow;
@@ -10495,6 +10506,7 @@ namespace GIM_dataLayer {
this.columnlastOne = base.Columns["lastOne"];
this.columnscadProg = base.Columns["scadProg"];
this.columnscadNat = base.Columns["scadNat"];
this.columnidxPending = base.Columns["idxPending"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10508,10 +10520,13 @@ namespace GIM_dataLayer {
base.Columns.Add(this.columnscadProg);
this.columnscadNat = new global::System.Data.DataColumn("scadNat", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnscadNat);
this.columnidxPending = new global::System.Data.DataColumn("idxPending", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxPending);
this.columnidxIntPro.ReadOnly = true;
this.columnlastOne.ReadOnly = true;
this.columnscadProg.ReadOnly = true;
this.columnscadNat.ReadOnly = true;
this.columnidxPending.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -15434,6 +15449,22 @@ namespace GIM_dataLayer {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int idxPending {
get {
try {
return ((int)(this[this.tableMtzProg_Scadenze.idxPendingColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxPending\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e);
}
}
set {
this[this.tableMtzProg_Scadenze.idxPendingColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsidxIntProNull() {
@@ -15481,6 +15512,18 @@ namespace GIM_dataLayer {
public void SetscadNatNull() {
this[this.tableMtzProg_Scadenze.scadNatColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsidxPendingNull() {
return this.IsNull(this.tableMtzProg_Scadenze.idxPendingColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetidxPendingNull() {
this[this.tableMtzProg_Scadenze.idxPendingColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -25872,6 +25915,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
tableMapping.ColumnMappings.Add("lastOne", "lastOne");
tableMapping.ColumnMappings.Add("scadProg", "scadProg");
tableMapping.ColumnMappings.Add("scadNat", "scadNat");
tableMapping.ColumnMappings.Add("idxPending", "idxPending");
this._adapter.TableMappings.Add(tableMapping);
}
+203 -200
View File
@@ -8,221 +8,224 @@ using SteamWare;
/// </summary>
public class TA_app
{
#region table adapters
#region table adapters
public GIM_dataLayer.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter taLogUpdate;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter taImpianti;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_macchineTableAdapter taMacchine;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter taMacc2Fam;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_intervExpTableAdapter taInterventiMtz;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior;
public GIM_dataLayer.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter taMtzPro;
public GIM_dataLayer.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter taCalFF;
public GIM_dataLayer.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter taOreApert;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter taFiltImp;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter taFiltMac;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroStatiTableAdapter taFiltSta;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagCausaliTableAdapter taAnagCau;
public GIM_dataLayer.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter taImpRis;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_allDataTableAdapter taAllData;
public GIM_dataLayer.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter taElencoIntExt;
public GIM_dataLayer.DS_MagTableAdapters.AnagItemsTableAdapter taAnagItem;
public GIM_dataLayer.DS_MagTableAdapters.AnagLocazioniTableAdapter taAnagLoc;
public GIM_dataLayer.DS_MagTableAdapters.AnagTagsTableAdapter taAnagTags;
public GIM_dataLayer.DS_MagTableAdapters.MagRicTableAdapter taMagRic;
public GIM_dataLayer.DS_MagTableAdapters.MovMagRicTableAdapter taMovMag;
public GIM_dataLayer.DS_MagTableAdapters.SinonimiTagTableAdapter taSinTag;
public GIM_dataLayer.DS_MagTableAdapters.StatoMagTableAdapter taStatoMag;
public GIM_dataLayer.DS_MagTableAdapters.Tag2ItemTableAdapter taTag2Item;
public GIM_dataLayer.DS_MagTableAdapters.Tag2MaccTableAdapter taTag2Macc;
public GIM_dataLayer.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter taElencoImpMacch;
public GIM_dataLayer.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter taElencoIntFilt;
public GIM_dataLayer.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter taElenco_MTBF_MTTR;
public GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter taSelImpianti;
public GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter taSelMacchine;
public GIM_dataLayer.DS_utilityTableAdapters.v_selOperMtzTableAdapter taSelMatrOp;
public GIM_dataLayer.DS_utilityTableAdapters.v_selCodRicAmmTableAdapter taSelCRA;
public GIM_dataLayer.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter taLogUpdate;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter taImpianti;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_macchineTableAdapter taMacchine;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter taMacc2Fam;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_intervExpTableAdapter taInterventiMtz;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior;
public GIM_dataLayer.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter taMtzPro;
public GIM_dataLayer.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter taCalFF;
public GIM_dataLayer.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter taOreApert;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter taFiltImp;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter taFiltMac;
public GIM_dataLayer.DS_applicazioneTableAdapters.FiltroStatiTableAdapter taFiltSta;
public GIM_dataLayer.DS_applicazioneTableAdapters.AnagCausaliTableAdapter taAnagCau;
public GIM_dataLayer.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter taImpRis;
public GIM_dataLayer.DS_applicazioneTableAdapters.v_allDataTableAdapter taAllData;
public GIM_dataLayer.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter taElencoIntExt;
public GIM_dataLayer.DS_applicazioneTableAdapters.MtzProg_ScadenzeTableAdapter taScadenze;
public GIM_dataLayer.DS_MagTableAdapters.AnagItemsTableAdapter taAnagItem;
public GIM_dataLayer.DS_MagTableAdapters.AnagLocazioniTableAdapter taAnagLoc;
public GIM_dataLayer.DS_MagTableAdapters.AnagTagsTableAdapter taAnagTags;
public GIM_dataLayer.DS_MagTableAdapters.MagRicTableAdapter taMagRic;
public GIM_dataLayer.DS_MagTableAdapters.MovMagRicTableAdapter taMovMag;
public GIM_dataLayer.DS_MagTableAdapters.SinonimiTagTableAdapter taSinTag;
public GIM_dataLayer.DS_MagTableAdapters.StatoMagTableAdapter taStatoMag;
public GIM_dataLayer.DS_MagTableAdapters.Tag2ItemTableAdapter taTag2Item;
public GIM_dataLayer.DS_MagTableAdapters.Tag2MaccTableAdapter taTag2Macc;
public GIM_dataLayer.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter taElencoImpMacch;
public GIM_dataLayer.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter taElencoIntFilt;
public GIM_dataLayer.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter taElenco_MTBF_MTTR;
public GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter taSelImpianti;
public GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter taSelMacchine;
public GIM_dataLayer.DS_utilityTableAdapters.v_selOperMtzTableAdapter taSelMatrOp;
public GIM_dataLayer.DS_utilityTableAdapters.v_selCodRicAmmTableAdapter taSelCRA;
#endregion
#endregion
/// <summary>
/// effettua setup dei connection strings da web.config della singola applicazione
/// </summary>
protected virtual void setupConnectionString()
{
// connections del db
string connString = memLayer.ML.confReadString("AppConnectionString");
taLogUpdate.Connection.ConnectionString = connString;
taImpianti.Connection.ConnectionString = connString;
taMacchine.Connection.ConnectionString = connString;
taSelImpianti.Connection.ConnectionString = connString;
taSelMacchine.Connection.ConnectionString = connString;
taMacc2Fam.Connection.ConnectionString = connString;
taInterventiMtz.Connection.ConnectionString = connString;
taStati.Connection.ConnectionString = connString;
taPrior.Connection.ConnectionString = connString;
taIntOpMtz.Connection.ConnectionString = connString;
taMtzPro.Connection.ConnectionString = connString;
taElencoImpMacch.Connection.ConnectionString = connString;
taElencoIntFilt.Connection.ConnectionString = connString;
taElenco_MTBF_MTTR.Connection.ConnectionString = connString;
taCalFF.Connection.ConnectionString = connString;
taOreApert.Connection.ConnectionString = connString;
taFiltImp.Connection.ConnectionString = connString;
taFiltMac.Connection.ConnectionString = connString;
taFiltSta.Connection.ConnectionString = connString;
taAnagCau.Connection.ConnectionString = connString;
taSelMatrOp.Connection.ConnectionString = connString;
taSelCRA.Connection.ConnectionString = connString;
taImpRis.Connection.ConnectionString = connString;
taAllData.Connection.ConnectionString = connString;
taElencoIntExt.Connection.ConnectionString = connString;
taAnagItem.Connection.ConnectionString = connString;
taAnagLoc.Connection.ConnectionString = connString;
taAnagTags.Connection.ConnectionString = connString;
taMagRic.Connection.ConnectionString = connString;
taMovMag.Connection.ConnectionString = connString;
taSinTag.Connection.ConnectionString = connString;
taStatoMag.Connection.ConnectionString = connString;
taTag2Item.Connection.ConnectionString = connString;
taTag2Macc.Connection.ConnectionString = connString;
}
protected TA_app()
{
initTA();
setupConnectionString();
}
/// <summary>
/// effettua setup dei connection strings da web.config della singola applicazione
/// </summary>
protected virtual void setupConnectionString()
{
// connections del db
string connString = memLayer.ML.confReadString("AppConnectionString");
taLogUpdate.Connection.ConnectionString = connString;
taImpianti.Connection.ConnectionString = connString;
taMacchine.Connection.ConnectionString = connString;
taSelImpianti.Connection.ConnectionString = connString;
taSelMacchine.Connection.ConnectionString = connString;
taMacc2Fam.Connection.ConnectionString = connString;
taInterventiMtz.Connection.ConnectionString = connString;
taStati.Connection.ConnectionString = connString;
taPrior.Connection.ConnectionString = connString;
taIntOpMtz.Connection.ConnectionString = connString;
taMtzPro.Connection.ConnectionString = connString;
taElencoImpMacch.Connection.ConnectionString = connString;
taElencoIntFilt.Connection.ConnectionString = connString;
taElenco_MTBF_MTTR.Connection.ConnectionString = connString;
taCalFF.Connection.ConnectionString = connString;
taOreApert.Connection.ConnectionString = connString;
taFiltImp.Connection.ConnectionString = connString;
taFiltMac.Connection.ConnectionString = connString;
taFiltSta.Connection.ConnectionString = connString;
taAnagCau.Connection.ConnectionString = connString;
taSelMatrOp.Connection.ConnectionString = connString;
taSelCRA.Connection.ConnectionString = connString;
taImpRis.Connection.ConnectionString = connString;
taAllData.Connection.ConnectionString = connString;
taElencoIntExt.Connection.ConnectionString = connString;
taScadenze.Connection.ConnectionString = connString;
taAnagItem.Connection.ConnectionString = connString;
taAnagLoc.Connection.ConnectionString = connString;
taAnagTags.Connection.ConnectionString = connString;
taMagRic.Connection.ConnectionString = connString;
taMovMag.Connection.ConnectionString = connString;
taSinTag.Connection.ConnectionString = connString;
taStatoMag.Connection.ConnectionString = connString;
taTag2Item.Connection.ConnectionString = connString;
taTag2Macc.Connection.ConnectionString = connString;
}
protected TA_app()
{
initTA();
setupConnectionString();
}
private void initTA()
{
// avvio table adapters
taLogUpdate = new GIM_dataLayer.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter();
taImpianti = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter();
taMacchine = new GIM_dataLayer.DS_applicazioneTableAdapters.v_macchineTableAdapter();
taSelImpianti = new GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter();
taSelMacchine = new GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter();
taMacc2Fam = new GIM_dataLayer.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter();
taInterventiMtz = new GIM_dataLayer.DS_applicazioneTableAdapters.v_intervExpTableAdapter();
taStati = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagStatiTableAdapter();
taPrior = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter();
taIntOpMtz = new GIM_dataLayer.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter();
taMtzPro = new GIM_dataLayer.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter();
taElencoImpMacch = new GIM_dataLayer.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter();
taElencoIntFilt = new GIM_dataLayer.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter();
taElenco_MTBF_MTTR = new GIM_dataLayer.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter();
taCalFF = new GIM_dataLayer.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter();
taOreApert = new GIM_dataLayer.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter();
taFiltImp = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter();
taFiltMac = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter();
taFiltSta = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroStatiTableAdapter();
taAnagCau = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagCausaliTableAdapter();
taSelMatrOp = new GIM_dataLayer.DS_utilityTableAdapters.v_selOperMtzTableAdapter();
taSelCRA= new GIM_dataLayer.DS_utilityTableAdapters.v_selCodRicAmmTableAdapter();
taImpRis = new GIM_dataLayer.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter();
taAllData = new GIM_dataLayer.DS_applicazioneTableAdapters.v_allDataTableAdapter();
taElencoIntExt = new GIM_dataLayer.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter();
taAnagItem = new GIM_dataLayer.DS_MagTableAdapters.AnagItemsTableAdapter();
taAnagLoc = new GIM_dataLayer.DS_MagTableAdapters.AnagLocazioniTableAdapter();
taAnagTags = new GIM_dataLayer.DS_MagTableAdapters.AnagTagsTableAdapter();
taMagRic = new GIM_dataLayer.DS_MagTableAdapters.MagRicTableAdapter();
taMovMag = new GIM_dataLayer.DS_MagTableAdapters.MovMagRicTableAdapter();
taSinTag = new GIM_dataLayer.DS_MagTableAdapters.SinonimiTagTableAdapter();
taStatoMag = new GIM_dataLayer.DS_MagTableAdapters.StatoMagTableAdapter();
taTag2Item = new GIM_dataLayer.DS_MagTableAdapters.Tag2ItemTableAdapter();
taTag2Macc = new GIM_dataLayer.DS_MagTableAdapters.Tag2MaccTableAdapter();
}
private void initTA()
{
// avvio table adapters
taLogUpdate = new GIM_dataLayer.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter();
taImpianti = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter();
taMacchine = new GIM_dataLayer.DS_applicazioneTableAdapters.v_macchineTableAdapter();
taSelImpianti = new GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter();
taSelMacchine = new GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter();
taMacc2Fam = new GIM_dataLayer.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter();
taInterventiMtz = new GIM_dataLayer.DS_applicazioneTableAdapters.v_intervExpTableAdapter();
taStati = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagStatiTableAdapter();
taPrior = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter();
taIntOpMtz = new GIM_dataLayer.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter();
taMtzPro = new GIM_dataLayer.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter();
taElencoImpMacch = new GIM_dataLayer.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter();
taElencoIntFilt = new GIM_dataLayer.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter();
taElenco_MTBF_MTTR = new GIM_dataLayer.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter();
taCalFF = new GIM_dataLayer.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter();
taOreApert = new GIM_dataLayer.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter();
taFiltImp = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter();
taFiltMac = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter();
taFiltSta = new GIM_dataLayer.DS_applicazioneTableAdapters.FiltroStatiTableAdapter();
taAnagCau = new GIM_dataLayer.DS_applicazioneTableAdapters.AnagCausaliTableAdapter();
taSelMatrOp = new GIM_dataLayer.DS_utilityTableAdapters.v_selOperMtzTableAdapter();
taSelCRA = new GIM_dataLayer.DS_utilityTableAdapters.v_selCodRicAmmTableAdapter();
taImpRis = new GIM_dataLayer.DS_applicazioneTableAdapters.ImpiegoRisorseTableAdapter();
taAllData = new GIM_dataLayer.DS_applicazioneTableAdapters.v_allDataTableAdapter();
taElencoIntExt = new GIM_dataLayer.DS_applicazioneTableAdapters.ElencoIntervExtTableAdapter();
taScadenze = new GIM_dataLayer.DS_applicazioneTableAdapters.MtzProg_ScadenzeTableAdapter();
taAnagItem = new GIM_dataLayer.DS_MagTableAdapters.AnagItemsTableAdapter();
taAnagLoc = new GIM_dataLayer.DS_MagTableAdapters.AnagLocazioniTableAdapter();
taAnagTags = new GIM_dataLayer.DS_MagTableAdapters.AnagTagsTableAdapter();
taMagRic = new GIM_dataLayer.DS_MagTableAdapters.MagRicTableAdapter();
taMovMag = new GIM_dataLayer.DS_MagTableAdapters.MovMagRicTableAdapter();
taSinTag = new GIM_dataLayer.DS_MagTableAdapters.SinonimiTagTableAdapter();
taStatoMag = new GIM_dataLayer.DS_MagTableAdapters.StatoMagTableAdapter();
taTag2Item = new GIM_dataLayer.DS_MagTableAdapters.Tag2ItemTableAdapter();
taTag2Macc = new GIM_dataLayer.DS_MagTableAdapters.Tag2MaccTableAdapter();
}
/// <summary>
/// Singleton
/// </summary>
public static TA_app obj = new TA_app();
/// <summary>
/// restituisce versione corrente del db applicativo
/// </summary>
public int appDB_act
/// <summary>
/// Singleton
/// </summary>
public static TA_app obj = new TA_app();
/// <summary>
/// restituisce versione corrente del db applicativo
/// </summary>
public int appDB_act
{
get
{
get
{
int answ = -1;
try
{
answ = (int)taLogUpdate.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB applicativo GIM!", tipoLog.EXCEPTION);
}
return answ;
}
int answ = -1;
try
{
answ = (int)taLogUpdate.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB applicativo GIM!", tipoLog.EXCEPTION);
}
return answ;
}
/// <summary>
/// restituisce versione corrente del db vocabolario
/// </summary>
public int vocDB_act
}
/// <summary>
/// restituisce versione corrente del db vocabolario
/// </summary>
public int vocDB_act
{
get
{
get
{
int answ = -1;
try
{
answ = (int)DataWrap.DW.taLogVoc.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Vocabolario!", tipoLog.EXCEPTION);
}
return answ;
}
int answ = -1;
try
{
answ = (int)DataWrap.DW.taLogVoc.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Vocabolario!", tipoLog.EXCEPTION);
}
return answ;
}
/// <summary>
/// restituisce versione corrente del db anagrafica
/// </summary>
public int anaDB_act
}
/// <summary>
/// restituisce versione corrente del db anagrafica
/// </summary>
public int anaDB_act
{
get
{
get
{
int answ = -1;
try
{
answ = answ = (int)DataWrap.DW.taLogAna.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Anagrafica!", tipoLog.EXCEPTION);
}
return answ;
}
int answ = -1;
try
{
answ = answ = (int)DataWrap.DW.taLogAna.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Anagrafica!", tipoLog.EXCEPTION);
}
return answ;
}
/// <summary>
/// restituisce versione richiesta per il db applicativo
/// </summary>
public int appDB_req
}
/// <summary>
/// restituisce versione richiesta per il db applicativo
/// </summary>
public int appDB_req
{
get
{
get
{
return memLayer.ML.confReadInt("dbAppVers");
}
return memLayer.ML.confReadInt("dbAppVers");
}
/// <summary>
/// restituisce versione richiesta per il db vocabolario
/// </summary>
public int vocDB_req
}
/// <summary>
/// restituisce versione richiesta per il db vocabolario
/// </summary>
public int vocDB_req
{
get
{
get
{
return memLayer.ML.confReadInt("dbVocabVers");
}
return memLayer.ML.confReadInt("dbVocabVers");
}
/// <summary>
/// restituisce versione richiesta per il db anagrafica
/// </summary>
public int anaDB_req
}
/// <summary>
/// restituisce versione richiesta per il db anagrafica
/// </summary>
public int anaDB_req
{
get
{
get
{
return memLayer.ML.confReadInt("dbAuthVers");
}
return memLayer.ML.confReadInt("dbAuthVers");
}
}
}
+1 -1
View File
@@ -9,7 +9,7 @@
<asp:Label ID="scadProgLabel" runat="server" Text='<%# Eval("scadProg", "{0:yyyy.MM.dd}") %>' />
</div>
<div class="col-xs-4">
<asp:LinkButton runat="server" ID="btnReschedule" CssClass="btn btn-danger" Visible='<%# checkDate(Eval("scadProg"),Eval("scadNat")) %>'>
<asp:LinkButton runat="server" ID="btnReschedule" CssClass="btn btn-danger" Visible='<%# checkDate(Eval("scadProg"),Eval("scadNat")) %>' OnClick="btnReschedule_Click">
<%: traduci("doReschedule") %>
</asp:LinkButton>
<%--<asp:Label ID="lastOneLabel" runat="server" Text='<%# Eval("lastOne", "{0:yyyy.MM.dd}") %>' />--%>
@@ -5,6 +5,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using GIM_dataLayer;
namespace GIM_site.WebUserControls
{
@@ -46,5 +47,21 @@ namespace GIM_site.WebUserControls
bool answ = !(scadProg.Equals(scadNat));
return answ;
}
protected void btnReschedule_Click(object sender, EventArgs e)
{
// richiesto riallineamento date: eseguo!
DS_applicazione.MtzProg_ScadenzeDataTable tab = TA_app.obj.taScadenze.GetData(idxIntPro);
try
{
if(tab.Rows.Count > 0)
{
mtzProgr.obj.taMtzPend.updDataScad(tab[0].idxPending, tab[0].scadNat);
frmView.DataBind();
}
}
catch
{ }
}
}
}