completata gestione "riprogrammazione intervento" x controlli NON conclusi...
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
</site>
|
||||
<site name="GIM_site" id="2">
|
||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\WebGIM\WebGIM\GIM_site" />
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\VisualStudioProject\WebGIM\WebGIM\GIM_site" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:59788:localhost" />
|
||||
|
||||
@@ -1064,6 +1064,7 @@ FROM MtzProgPending</CommandText>
|
||||
<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="@idxPending" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@newDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isRipr" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -1970,6 +1971,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
<Mapping SourceColumn="scadNat" DataSetColumn="scadNat" />
|
||||
<Mapping SourceColumn="idxPending" DataSetColumn="idxPending" />
|
||||
<Mapping SourceColumn="idxLastOne" DataSetColumn="idxLastOne" />
|
||||
<Mapping SourceColumn="isRipr" DataSetColumn="isRipr" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
@@ -2468,7 +2470,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" />
|
||||
@@ -2553,7 +2555,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" />
|
||||
@@ -2578,7 +2580,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">
|
||||
@@ -2612,7 +2614,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" />
|
||||
@@ -2698,7 +2700,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">
|
||||
@@ -2782,7 +2784,7 @@ 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" />
|
||||
@@ -2791,6 +2793,7 @@ FROM v_mtzProgExp</CommandText>
|
||||
<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:element name="idxLastOne" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnidxLastOne" msprop:Generator_ColumnPropNameInRow="idxLastOne" msprop:Generator_ColumnPropNameInTable="idxLastOneColumn" msprop:Generator_UserColumnName="idxLastOne" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="isRipr" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnisRipr" msprop:Generator_ColumnPropNameInRow="isRipr" msprop:Generator_ColumnPropNameInTable="isRiprColumn" msprop:Generator_UserColumnName="isRipr" type="xs:boolean" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -2904,22 +2907,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>
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-18" ViewPortY="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-20" ViewPortY="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:LogUpdateDb" ZOrder="42" X="36" Y="15" Height="158" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="41" X="475" Y="7" Height="158" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
@@ -13,11 +13,11 @@
|
||||
<Shape ID="DesignTable:v_macchine" ZOrder="14" X="1116" Y="309" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:v_selFamMacc" ZOrder="33" X="1084" Y="88" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="23" X="1080" Y="-44" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="2" X="526" Y="217" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="3" X="526" Y="217" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="12" X="237" Y="187" Height="135" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="32" X="813" Y="178" Height="181" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="17" X="793" Y="582" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
<Shape ID="DesignTable:MtzProgPending" ZOrder="3" X="766" Y="772" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
|
||||
<Shape ID="DesignTable:MtzProgPending" ZOrder="1" X="766" Y="772" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
|
||||
<Shape ID="DesignTable:MtzProgrammata" ZOrder="16" X="1141" Y="749" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="15" X="76" Y="939" Height="158" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:OreAperturaSett" ZOrder="22" X="399" Y="876" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
@@ -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="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:MtzProg_Scadenze" ZOrder="2" X="1112" Y="1266" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="40" LineWidth="11">
|
||||
|
||||
+54
-3
@@ -10364,6 +10364,8 @@ namespace GIM_dataLayer {
|
||||
|
||||
private global::System.Data.DataColumn columnidxLastOne;
|
||||
|
||||
private global::System.Data.DataColumn columnisRipr;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public MtzProg_ScadenzeDataTable() {
|
||||
@@ -10445,6 +10447,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 isRiprColumn {
|
||||
get {
|
||||
return this.columnisRipr;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -10482,7 +10492,7 @@ 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, int idxPending, int idxLastOne) {
|
||||
public MtzProg_ScadenzeRow AddMtzProg_ScadenzeRow(int idxIntPro, System.DateTime lastOne, System.DateTime scadProg, System.DateTime scadNat, int idxPending, int idxLastOne, bool isRipr) {
|
||||
MtzProg_ScadenzeRow rowMtzProg_ScadenzeRow = ((MtzProg_ScadenzeRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
idxIntPro,
|
||||
@@ -10490,7 +10500,8 @@ namespace GIM_dataLayer {
|
||||
scadProg,
|
||||
scadNat,
|
||||
idxPending,
|
||||
idxLastOne};
|
||||
idxLastOne,
|
||||
isRipr};
|
||||
rowMtzProg_ScadenzeRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowMtzProg_ScadenzeRow);
|
||||
return rowMtzProg_ScadenzeRow;
|
||||
@@ -10519,6 +10530,7 @@ namespace GIM_dataLayer {
|
||||
this.columnscadNat = base.Columns["scadNat"];
|
||||
this.columnidxPending = base.Columns["idxPending"];
|
||||
this.columnidxLastOne = base.Columns["idxLastOne"];
|
||||
this.columnisRipr = base.Columns["isRipr"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -10536,12 +10548,15 @@ namespace GIM_dataLayer {
|
||||
base.Columns.Add(this.columnidxPending);
|
||||
this.columnidxLastOne = new global::System.Data.DataColumn("idxLastOne", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnidxLastOne);
|
||||
this.columnisRipr = new global::System.Data.DataColumn("isRipr", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnisRipr);
|
||||
this.columnidxIntPro.ReadOnly = true;
|
||||
this.columnlastOne.ReadOnly = true;
|
||||
this.columnscadProg.ReadOnly = true;
|
||||
this.columnscadNat.ReadOnly = true;
|
||||
this.columnidxPending.ReadOnly = true;
|
||||
this.columnidxLastOne.ReadOnly = true;
|
||||
this.columnisRipr.ReadOnly = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -15496,6 +15511,22 @@ namespace GIM_dataLayer {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool isRipr {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableMtzProg_Scadenze.isRiprColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'isRipr\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMtzProg_Scadenze.isRiprColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsidxIntProNull() {
|
||||
@@ -15567,6 +15598,18 @@ namespace GIM_dataLayer {
|
||||
public void SetidxLastOneNull() {
|
||||
this[this.tableMtzProg_Scadenze.idxLastOneColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsisRiprNull() {
|
||||
return this.IsNull(this.tableMtzProg_Scadenze.isRiprColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetisRiprNull() {
|
||||
this[this.tableMtzProg_Scadenze.isRiprColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -21166,6 +21209,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
|
||||
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("@idxPending", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@newDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isRipr", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -21230,7 +21274,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
|
||||
[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.MtzProgPendingDataTable updDataScad(global::System.Nullable<int> idxPending, global::System.Nullable<global::System.DateTime> newDate) {
|
||||
public virtual DS_applicazione.MtzProgPendingDataTable updDataScad(global::System.Nullable<int> idxPending, global::System.Nullable<global::System.DateTime> newDate, global::System.Nullable<bool> isRipr) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((idxPending.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxPending.Value));
|
||||
@@ -21244,6 +21288,12 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((isRipr.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(isRipr.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_applicazione.MtzProgPendingDataTable dataTable = new DS_applicazione.MtzProgPendingDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -25960,6 +26010,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("scadNat", "scadNat");
|
||||
tableMapping.ColumnMappings.Add("idxPending", "idxPending");
|
||||
tableMapping.ColumnMappings.Add("idxLastOne", "idxLastOne");
|
||||
tableMapping.ColumnMappings.Add("isRipr", "isRipr");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ public class mtzProgr
|
||||
nextDate = nextDate.AddYears(rigaTemp.cadenza);
|
||||
break;
|
||||
}
|
||||
taMtzPend.updDataScad(numIntMtzPend, nextDate);
|
||||
taMtzPend.updDataScad(numIntMtzPend, nextDate, false);
|
||||
logger.lg.scriviLog(string.Format("Generata nuova scadenza di manutenzione (programmata) num {0} alla data {1}", numIntMtzPend, nextDate), tipoLog.INFO);
|
||||
}
|
||||
else
|
||||
|
||||
+1
-22
@@ -1,22 +1 @@
|
||||
|
||||
--------------------------------
|
||||
--- NUOVE
|
||||
--------------------------------
|
||||
|
||||
|
||||
- possibilità (SOLO x le manutenzioni programmate) di chiudere con un "riprogrammata", ovvero
|
||||
* se ho un intervento tipicamente di "verifica e sostituzione"
|
||||
* ho preso in carico, e fatta verifica (e quindi viene programmato prossimo intervento secondo solita scadenza)
|
||||
* se dopo la verifica vedo che NON serve la sostituzione
|
||||
* se "stile entratico" voglio chiudere ma DEVO rifare verifica...
|
||||
avrò un pulsante speciale di "riprogramma alla data" (default: tra 2 settimane? tu scegli quanto andare avanti come default... sarà comunque modificabile da utente) che
|
||||
* inserisce DA SOLO la nota (ad esempio) "verifica effettuata, riprogrammato alla data 26/07/2017"
|
||||
* SALVA E CHIUDE QUESTO INTERVENTO
|
||||
* ELIMINA INTERVENTO programmato tra 6 mesi E NE INSERISCE UNO tra 14 gg con un testo in cui metto IN AGGIUNTA ALL'INIZIO "RIPROGRAMMATO da num xxx del 12.07.2017"
|
||||
|
||||
|
||||
|
||||
|
||||
per cui A PARTIRE dal 26.07.2017 verrà generato l'intervento... che dato il primo punto POTREBBE VENIRE COMUNQUE ANTICIPATO
|
||||
|
||||
...alla chiusura dell'intervento verrà comunque fatta la verifica di "coerenza delle scadenze" per cui richiesto eventuale riprogrammazione delle scadenze future secondo quanto già indicato sopra
|
||||
|
||||
@@ -100,6 +100,7 @@
|
||||
<!--<add key="disable_singleton" value="true"/>-->
|
||||
<add key="maxAgeAppConf_min" value="5"/>
|
||||
<add key="maxGgTolleranzaScadProg" value="5"/>
|
||||
<add key="defRetGg" value="7"/>
|
||||
<!--Ambiente applicativo (Dev = mostra glimpse)-->
|
||||
<add key="Environment" value="Dev" />
|
||||
<!--Conf base-->
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_nextMtzPro.ascx" TagPrefix="uc1" TagName="mod_nextMtzPro" %>
|
||||
|
||||
<asp:FormView ID="frmView_default" runat="server" DataKeyNames="numIntMtz" DataSourceID="ods_default" Width="100%">
|
||||
<asp:FormView ID="frmView_default" runat="server" DataKeyNames="numIntMtz" DataSourceID="ods_default" Width="100%" OnItemUpdating="frmView_default_ItemUpdating">
|
||||
<ItemTemplate>
|
||||
<div id="divReadOnly">
|
||||
<div id="divUp" style="background-color: #E5E2E1; padding: 10px; border-top: solid 2px orange;">
|
||||
@@ -178,7 +178,19 @@
|
||||
<div id="divEditDefault" style="background-color: #E5E2E1; padding: 10px; border-top: solid 2px orange;">
|
||||
<div class="row">
|
||||
<div class="col-xs-offset-9 col-xs-3">
|
||||
<asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" CssClass="btn btn-info" Text='<%# traduci("Update") %>' Width="100%" />
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" CssClass="btn btn-info" Text='<%# traduci("Update") %>' Width="100%" />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton ID="btnReschedule" runat="server" CausesValidation="True" CommandName="Update" CssClass="btn btn-default" Width="100%" CommandArgument="Reschedule" Visible='<%# checkResch(Eval("numIntMtz"),Eval("scheduled")) %>'>
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <%# traduci("ReschMtzProg") %> <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<uc2:mod_dataOra ID="dtDataRisc" runat="server" valore='<%# DateTime.Today.AddDays(SteamWare.memLayer.ML.CRI("defRetGg")) %>' css="textEv_1" tipoOrario="tendina" mostraLabel="false" Visible='<%# checkResch(Eval("numIntMtz"),Eval("scheduled")) %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using GIM_dataLayer;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GIM_site.WebUserControls
|
||||
@@ -55,5 +57,72 @@ namespace GIM_site.WebUserControls
|
||||
{
|
||||
raiseEventUpd();
|
||||
}
|
||||
/// <summary>
|
||||
/// Verifica se sia possibile rischedulare intervento (deve essere ULTIMO della serie di mtz programmata...)
|
||||
/// </summary>
|
||||
/// <param name="_numInt"></param>
|
||||
/// <returns></returns>
|
||||
public bool checkResch(object _numInt, object _scheduled)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
bool scheduled = Convert.ToBoolean(_scheduled);
|
||||
if (scheduled)
|
||||
{
|
||||
int numMtz = Convert.ToInt32(_numInt);
|
||||
// in primis: VERIFICO se sia ultimo della serie...
|
||||
answ = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
public int numIntMtz
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
answ = memLayer.ML.QSI("numIntMtz");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
protected void frmView_default_ItemUpdating(object sender, FormViewUpdateEventArgs e)
|
||||
{
|
||||
// se è rischedula mi fermo...
|
||||
if (e.CommandArgument.ToString() == "Reschedule")
|
||||
{
|
||||
try
|
||||
{
|
||||
// salvo record corrente con nota rischedulazione alla data
|
||||
DS_applicazione.v_intervExpDataTable tab = TA_app.obj.taInterventiMtz.getByIdx(numIntMtz);
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
int idxStChiuso = 3;
|
||||
DS_applicazione.v_intervExpRow riga = tab[0];
|
||||
FormView frm = (FormView)sender;
|
||||
mod_dataOra dataOra = (mod_dataOra)frm.FindControl("dtDataRisc");
|
||||
DateTime newData = dataOra.valore;
|
||||
string notaRisched = string.Format("{0} {1:yyyy.MM.dd}", traduci("notaRiscIntMtzPro"), newData);
|
||||
TA_app.obj.taInterventiMtz.updateIntervento(numIntMtz, idxStChiuso, riga.inizioIntervento, DateTime.Now, riga.isPreventivabile, notaRisched, riga.isFermo, riga.isExt, riga.idxAmbito, riga.idxCausale);
|
||||
e.Cancel = true;
|
||||
// ...sposto intervento alla data schedulata...
|
||||
DS_applicazione.MtzProg_ScadenzeDataTable tabMtzProg = TA_app.obj.taScadenze.GetData(riga.idxIntPro);
|
||||
mtzProgr.obj.taMtzPend.updDataScad(tabMtzProg[0].idxPending, newData, true);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
raiseEventUpd();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,16 +12,13 @@
|
||||
<asp:Label ID="scadProgLabel" runat="server" Text='<%# Eval("scadProg", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<asp:LinkButton runat="server" ID="btnReschedule" CssClass="btn btn-warning" Visible='<%# checkDate(Eval("scadProg"),Eval("scadNat")) %>' OnClick="btnReschedule_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaModScad") %>'>
|
||||
<asp:LinkButton runat="server" ID="btnReschedule" CssClass="btn btn-warning" Visible='<%# checkDate(Eval("scadProg"),Eval("scadNat"),Eval("isRipr")) %>' OnClick="btnReschedule_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaModScad") %>'>
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <%: traduci("doReschedule") %> <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</asp:LinkButton>
|
||||
<br />
|
||||
<asp:HyperLink runat="server" ID="lbtGoToLastOne" CssClass="btn btn-success" Target="_blank" NavigateUrl='<%# string.Format("~/elencoRichieste?idxIntPro={0}", Eval("idxIntPro")) %>'>
|
||||
<%: traduci("goToIntProDone") %>
|
||||
</asp:HyperLink>
|
||||
<%--<asp:Label ID="lastOneLabel" runat="server" Text='<%# Eval("lastOne", "{0:yyyy.MM.dd}") %>' />--%>
|
||||
<%--<%: "IDX: " + idxIntPro.ToString() %>--%>
|
||||
<%--<asp:Label ID="idxIntProLabel" runat="server" Text='<%# Eval("idxIntPro") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<%: traduci("ScadProgr") %>:<br />
|
||||
|
||||
@@ -39,20 +39,26 @@ namespace GIM_site.WebUserControls
|
||||
/// <summary>
|
||||
/// Verifica se le 2 date siano coerenti con programmazione (true) altrimenti indica problemi (false)
|
||||
/// </summary>
|
||||
/// <param name="scadProg"></param>
|
||||
/// <param name="scadNat"></param>
|
||||
/// <param name="_scadProg">Scadenza programmata</param>
|
||||
/// <param name="_scadNat">Scadenza naturale</param>
|
||||
/// <param name="_isRipr">Già riprogrammato (tipicamente dopo verifica negativa da rivedere)</param>
|
||||
/// <returns></returns>
|
||||
public bool checkDate(object _scadProg, object _scadNat)
|
||||
public bool checkDate(object _scadProg, object _scadNat, object _isRipr)
|
||||
{
|
||||
bool answ = false;
|
||||
DateTime scadProg = DateTime.Today;
|
||||
DateTime scadNat = DateTime.Today;
|
||||
bool isRipr = false;
|
||||
try
|
||||
{
|
||||
scadProg = Convert.ToDateTime(_scadProg);
|
||||
scadNat = Convert.ToDateTime(_scadNat);
|
||||
//answ = !(scadProg.Equals(scadNat));
|
||||
answ = Math.Abs(scadProg.Subtract(scadNat).TotalDays) > memLayer.ML.CRI("maxGgTolleranzaScadProg");
|
||||
isRipr = Convert.ToBoolean(_isRipr);
|
||||
if (!isRipr)
|
||||
{
|
||||
scadProg = Convert.ToDateTime(_scadProg);
|
||||
scadNat = Convert.ToDateTime(_scadNat);
|
||||
//answ = !(scadProg.Equals(scadNat));
|
||||
answ = Math.Abs(scadProg.Subtract(scadNat).TotalDays) > memLayer.ML.CRI("maxGgTolleranzaScadProg");
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -66,7 +72,7 @@ namespace GIM_site.WebUserControls
|
||||
{
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
mtzProgr.obj.taMtzPend.updDataScad(tab[0].idxPending, tab[0].scadNat);
|
||||
mtzProgr.obj.taMtzPend.updDataScad(tab[0].idxPending, tab[0].scadNat, false);
|
||||
lstView.DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user