Update installer

correzione bug mtbf/mttr
rimesse tab tolte erroneamente (apertura settimanale...)

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@185 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2011-06-29 17:07:16 +00:00
parent f1939b3004
commit 0e18198be5
18 changed files with 507 additions and 404 deletions
+60 -7
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
// Runtime Version:2.0.50727.4961
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -16428,7 +16428,7 @@ WHERE (MtzProgPending.idxPending IS NULL)";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT giorno, descrGiorno, apertura FROM dbo.OreAperturaSett";
@@ -16439,11 +16439,19 @@ WHERE (MtzProgPending.idxPending IS NULL)";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "UPDATE [dbo].[OreAperturaSett] SET [apertura] = @apertura WHERE (([giorno] = @Ori" +
this._commandCollection[2].CommandText = "dbo.stp_oreEquivalenti";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "UPDATE [dbo].[OreAperturaSett] SET [apertura] = @apertura WHERE (([giorno] = @Ori" +
"ginal_giorno))";
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@apertura", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 4, 2, "apertura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_giorno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@apertura", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 4, 2, "apertura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_giorno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "giorno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16615,11 +16623,56 @@ WHERE (MtzProgPending.idxPending IS NULL)";
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object oreLavoratePeriodo(global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> idxMacchina) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((dataFrom.HasValue == true)) {
command.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((dataTo.HasValue == true)) {
command.Parameters[2].Value = ((System.DateTime)(dataTo.Value));
}
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
if ((idxMacchina.HasValue == true)) {
command.Parameters[3].Value = ((int)(idxMacchina.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
object returnValue;
try {
returnValue = command.ExecuteScalar();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
if (((returnValue == null)
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
return null;
}
else {
return ((object)(returnValue));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
public virtual int updateApertura(global::System.Nullable<decimal> apertura, int Original_giorno) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((apertura.HasValue == true)) {
command.Parameters[0].Value = ((decimal)(apertura.Value));
}
+358 -345
View File
@@ -50,7 +50,7 @@
<Mapping SourceColumn="Data" DataSetColumn="Data" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getDbVers" Modifier="Public" Name="getDbVers" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getDbVers">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getDbVers" Modifier="Public" Name="getDbVers" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getDbVers">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT MAX(Versione) as Versione FROM LogUpdateDb</CommandText>
@@ -180,7 +180,7 @@ where idxPriorita=@idxPriorita</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaxPriorita" Modifier="Public" Name="getMaxPriorita" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getMaxPriorita">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaxPriorita" Modifier="Public" Name="getMaxPriorita" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getMaxPriorita">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT MAX(idxPriorita) as idxPriorita FROM AnagPriorita</CommandText>
@@ -1252,7 +1252,7 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
<Mapping SourceColumn="apertura" DataSetColumn="apertura" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="oreAperturaSett" Modifier="Public" Name="oreAperturaSett" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="oreAperturaSett">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="oreAperturaSett" Modifier="Public" Name="oreAperturaSett" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="oreAperturaSett">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT SUM(apertura) AS apertura FROM OreAperturaSett</CommandText>
@@ -1260,6 +1260,19 @@ WHERE (data BETWEEN @inizio AND @fine)</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_oreEquivalenti" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="oreLavoratePeriodo" Modifier="Public" Name="oreLavoratePeriodo" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="oreLavoratePeriodo">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_oreEquivalenti</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataFrom" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataTo" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="updateApertura" Modifier="Public" Name="updateApertura" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateApertura">
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
@@ -1565,16 +1578,16 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
<xs:element name="LogUpdateDb" msprop:Generator_UserTableName="LogUpdateDb" msprop:Generator_RowDeletedName="LogUpdateDbRowDeleted" msprop:Generator_RowChangedName="LogUpdateDbRowChanged" msprop:Generator_RowClassName="LogUpdateDbRow" msprop:Generator_RowChangingName="LogUpdateDbRowChanging" msprop:Generator_RowEvArgName="LogUpdateDbRowChangeEvent" msprop:Generator_RowEvHandlerName="LogUpdateDbRowChangeEventHandler" msprop:Generator_TableClassName="LogUpdateDbDataTable" msprop:Generator_TableVarName="tableLogUpdateDb" msprop:Generator_RowDeletingName="LogUpdateDbRowDeleting" msprop:Generator_TablePropName="LogUpdateDb">
<xs:complexType>
<xs:sequence>
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagAmbitoGuasto" msprop:Generator_UserTableName="AnagAmbitoGuasto" msprop:Generator_RowDeletedName="AnagAmbitoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagAmbitoGuastoRowChanged" msprop:Generator_RowClassName="AnagAmbitoGuastoRow" msprop:Generator_RowChangingName="AnagAmbitoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagAmbitoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagAmbitoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagAmbitoGuastoDataTable" msprop:Generator_TableVarName="tableAnagAmbitoGuasto" msprop:Generator_RowDeletingName="AnagAmbitoGuastoRowDeleting" msprop:Generator_TablePropName="AnagAmbitoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxAmbito" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:element name="idxAmbito" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1587,186 +1600,7 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
<xs:element name="AnagPriorita" msprop:Generator_UserTableName="AnagPriorita" msprop:Generator_RowDeletedName="AnagPrioritaRowDeleted" msprop:Generator_RowChangedName="AnagPrioritaRowChanged" msprop:Generator_RowClassName="AnagPrioritaRow" msprop:Generator_RowChangingName="AnagPrioritaRowChanging" msprop:Generator_RowEvArgName="AnagPrioritaRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagPrioritaRowChangeEventHandler" msprop:Generator_TableClassName="AnagPrioritaDataTable" msprop:Generator_TableVarName="tableAnagPriorita" msprop:Generator_RowDeletingName="AnagPrioritaRowDeleting" msprop:Generator_TablePropName="AnagPriorita">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPriorita" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagImpianti" msprop:Generator_UserTableName="AnagImpianti" msprop:Generator_RowDeletedName="AnagImpiantiRowDeleted" msprop:Generator_RowChangedName="AnagImpiantiRowChanged" msprop:Generator_RowClassName="AnagImpiantiRow" msprop:Generator_RowChangingName="AnagImpiantiRowChanging" msprop:Generator_RowEvArgName="AnagImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImpiantiDataTable" msprop:Generator_TableVarName="tableAnagImpianti" msprop:Generator_RowDeletingName="AnagImpiantiRowDeleting" msprop:Generator_TablePropName="AnagImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="idxImpianto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_macchine" msprop:Generator_UserTableName="v_macchine" msprop:Generator_RowDeletedName="v_macchineRowDeleted" msprop:Generator_RowChangedName="v_macchineRowChanged" msprop:Generator_RowClassName="v_macchineRow" msprop:Generator_RowChangingName="v_macchineRowChanging" msprop:Generator_RowEvArgName="v_macchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_macchineRowChangeEventHandler" msprop:Generator_TableClassName="v_macchineDataTable" msprop:Generator_TableVarName="tablev_macchine" msprop:Generator_RowDeletingName="v_macchineRowDeleting" msprop:Generator_TablePropName="v_macchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" minOccurs="0" />
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrImpianto" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrImpianto" msprop:Generator_ColumnPropNameInRow="descrImpianto" msprop:Generator_ColumnVarNameInTable="columndescrImpianto" msprop:Generator_ColumnPropNameInTable="descrImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="103" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFamMacc" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_RowClassName="v_selFamMaccRow" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_TablePropName="v_selFamMacc">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="famiglia" msprop:Generator_UserColumnName="famiglia" msprop:Generator_ColumnVarNameInTable="columnfamiglia" msprop:Generator_ColumnPropNameInRow="famiglia" msprop:Generator_ColumnPropNameInTable="famigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="macchina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="macchina" msprop:Generator_ColumnVarNameInTable="columnmacchina" msprop:Generator_ColumnPropNameInRow="macchina" msprop:Generator_ColumnPropNameInTable="macchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="212" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFamMacchine" msprop:Generator_UserTableName="AnagFamMacchine" msprop:Generator_RowDeletedName="AnagFamMacchineRowDeleted" msprop:Generator_RowChangedName="AnagFamMacchineRowChanged" msprop:Generator_RowClassName="AnagFamMacchineRow" msprop:Generator_RowChangingName="AnagFamMacchineRowChanging" msprop:Generator_RowEvArgName="AnagFamMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagFamMacchineRowChangeEventHandler" msprop:Generator_TableClassName="AnagFamMacchineDataTable" msprop:Generator_TableVarName="tableAnagFamMacchine" msprop:Generator_RowDeletingName="AnagFamMacchineRowDeleting" msprop:Generator_TablePropName="AnagFamMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFamMacchine" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="nomeFamMacch" msprop:Generator_UserColumnName="nomeFamMacch" msprop:Generator_ColumnVarNameInTable="columnnomeFamMacch" msprop:Generator_ColumnPropNameInRow="nomeFamMacch" msprop:Generator_ColumnPropNameInTable="nomeFamMacchColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_intervExp" msprop:Generator_UserTableName="v_intervExp" msprop:Generator_RowDeletedName="v_intervExpRowDeleted" msprop:Generator_RowChangedName="v_intervExpRowChanged" msprop:Generator_RowClassName="v_intervExpRow" msprop:Generator_RowChangingName="v_intervExpRowChanging" msprop:Generator_RowEvArgName="v_intervExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_intervExpRowChangeEventHandler" msprop:Generator_TableClassName="v_intervExpDataTable" msprop:Generator_TableVarName="tablev_intervExp" msprop:Generator_RowDeletingName="v_intervExpRowDeleting" msprop:Generator_TablePropName="v_intervExp">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" type="xs:dateTime" />
<xs:element name="turnoLav" msprop:Generator_UserColumnName="turnoLav" msprop:Generator_ColumnPropNameInRow="turnoLav" msprop:Generator_ColumnVarNameInTable="columnturnoLav" msprop:Generator_ColumnPropNameInTable="turnoLavColumn" type="xs:int" />
<xs:element name="matr" msprop:Generator_UserColumnName="matr" msprop:Generator_ColumnPropNameInRow="matr" msprop:Generator_ColumnVarNameInTable="columnmatr" msprop:Generator_ColumnPropNameInTable="matrColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxAmbito" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="presaInCarico" msprop:Generator_UserColumnName="presaInCarico" msprop:Generator_ColumnPropNameInRow="presaInCarico" msprop:Generator_ColumnVarNameInTable="columnpresaInCarico" msprop:Generator_ColumnPropNameInTable="presaInCaricoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isPreventivabile" msprop:Generator_UserColumnName="isPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxCausale" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1774,83 +1608,6 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoGuasto" msprop:Generator_UserTableName="AnagTipoGuasto" msprop:Generator_RowDeletedName="AnagTipoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagTipoGuastoRowChanged" msprop:Generator_RowClassName="AnagTipoGuastoRow" msprop:Generator_RowChangingName="AnagTipoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoGuastoDataTable" msprop:Generator_TableVarName="tableAnagTipoGuasto" msprop:Generator_RowDeletingName="AnagTipoGuastoRowDeleting" msprop:Generator_TablePropName="AnagTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxTipo" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagStati" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowClassName="AnagStatiRow" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_TablePropName="AnagStati">
<xs:complexType>
<xs:sequence>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1861,45 +1618,41 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InterventoOpMtz" msprop:Generator_UserTableName="InterventoOpMtz" msprop:Generator_RowDeletedName="InterventoOpMtzRowDeleted" msprop:Generator_RowChangedName="InterventoOpMtzRowChanged" msprop:Generator_RowClassName="InterventoOpMtzRow" msprop:Generator_RowChangingName="InterventoOpMtzRowChanging" msprop:Generator_RowEvArgName="InterventoOpMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="InterventoOpMtzRowChangeEventHandler" msprop:Generator_TableClassName="InterventoOpMtzDataTable" msprop:Generator_TableVarName="tableInterventoOpMtz" msprop:Generator_RowDeletingName="InterventoOpMtzRowDeleting" msprop:Generator_TablePropName="InterventoOpMtz">
<xs:element name="AnagImpianti" msprop:Generator_UserTableName="AnagImpianti" msprop:Generator_RowDeletedName="AnagImpiantiRowDeleted" msprop:Generator_RowChangedName="AnagImpiantiRowChanged" msprop:Generator_RowClassName="AnagImpiantiRow" msprop:Generator_RowChangingName="AnagImpiantiRowChanging" msprop:Generator_RowEvArgName="AnagImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImpiantiDataTable" msprop:Generator_TableVarName="tableAnagImpianti" msprop:Generator_RowDeletingName="AnagImpiantiRowDeleting" msprop:Generator_TablePropName="AnagImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:element name="idxImpianto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="durataMinuti" msprop:Generator_UserColumnName="durataMinuti" msprop:Generator_ColumnVarNameInTable="columndurataMinuti" msprop:Generator_ColumnPropNameInRow="durataMinuti" msprop:Generator_ColumnPropNameInTable="durataMinutiColumn" type="xs:int" minOccurs="0" />
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgExp">
<xs:element name="v_macchine" msprop:Generator_UserTableName="v_macchine" msprop:Generator_RowDeletedName="v_macchineRowDeleted" msprop:Generator_RowChangedName="v_macchineRowChanged" msprop:Generator_RowClassName="v_macchineRow" msprop:Generator_RowChangingName="v_macchineRowChanging" msprop:Generator_RowEvArgName="v_macchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_macchineRowChangeEventHandler" msprop:Generator_TableClassName="v_macchineDataTable" msprop:Generator_TableVarName="tablev_macchine" msprop:Generator_RowDeletingName="v_macchineRowDeleting" msprop:Generator_TablePropName="v_macchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="inizio" msprop:Generator_UserColumnName="inizio" msprop:Generator_ColumnPropNameInRow="inizio" msprop:Generator_ColumnVarNameInTable="columninizio" msprop:Generator_ColumnPropNameInTable="inizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="codFrequenza" msprop:Generator_UserColumnName="codFrequenza" msprop:Generator_ColumnPropNameInRow="codFrequenza" msprop:Generator_ColumnVarNameInTable="columncodFrequenza" msprop:Generator_ColumnPropNameInTable="codFrequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cadenza" msprop:Generator_UserColumnName="cadenza" msprop:Generator_ColumnPropNameInRow="cadenza" msprop:Generator_ColumnVarNameInTable="columncadenza" msprop:Generator_ColumnPropNameInTable="cadenzaColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
<xs:element name="idxMacchina" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1914,20 +1667,182 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="frequenza" msprop:Generator_UserColumnName="frequenza" msprop:Generator_ColumnPropNameInRow="frequenza" msprop:Generator_ColumnVarNameInTable="columnfrequenza" msprop:Generator_ColumnPropNameInTable="frequenzaColumn" minOccurs="0">
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" minOccurs="0" />
<xs:element name="funzDal" msprop:Generator_UserColumnName="funzDal" msprop:Generator_ColumnPropNameInRow="funzDal" msprop:Generator_ColumnVarNameInTable="columnfunzDal" msprop:Generator_ColumnPropNameInTable="funzDalColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="funzAl" msprop:Generator_UserColumnName="funzAl" msprop:Generator_ColumnPropNameInRow="funzAl" msprop:Generator_ColumnVarNameInTable="columnfunzAl" msprop:Generator_ColumnPropNameInTable="funzAlColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrImpianto" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrImpianto" msprop:Generator_ColumnVarNameInTable="columndescrImpianto" msprop:Generator_ColumnPropNameInRow="descrImpianto" msprop:Generator_ColumnPropNameInTable="descrImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="103" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFamMacc" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_RowClassName="v_selFamMaccRow" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_TablePropName="v_selFamMacc">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="famiglia" msprop:Generator_UserColumnName="famiglia" msprop:Generator_ColumnPropNameInRow="famiglia" msprop:Generator_ColumnVarNameInTable="columnfamiglia" msprop:Generator_ColumnPropNameInTable="famigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="macchina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="macchina" msprop:Generator_ColumnPropNameInRow="macchina" msprop:Generator_ColumnVarNameInTable="columnmacchina" msprop:Generator_ColumnPropNameInTable="macchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="212" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFamMacchine" msprop:Generator_UserTableName="AnagFamMacchine" msprop:Generator_RowDeletedName="AnagFamMacchineRowDeleted" msprop:Generator_RowChangedName="AnagFamMacchineRowChanged" msprop:Generator_RowClassName="AnagFamMacchineRow" msprop:Generator_RowChangingName="AnagFamMacchineRowChanging" msprop:Generator_RowEvArgName="AnagFamMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagFamMacchineRowChangeEventHandler" msprop:Generator_TableClassName="AnagFamMacchineDataTable" msprop:Generator_TableVarName="tableAnagFamMacchine" msprop:Generator_RowDeletingName="AnagFamMacchineRowDeleting" msprop:Generator_TablePropName="AnagFamMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFamMacchine" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="nomeFamMacch" msprop:Generator_UserColumnName="nomeFamMacch" msprop:Generator_ColumnPropNameInRow="nomeFamMacch" msprop:Generator_ColumnVarNameInTable="columnnomeFamMacch" msprop:Generator_ColumnPropNameInTable="nomeFamMacchColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_intervExp" msprop:Generator_UserTableName="v_intervExp" msprop:Generator_RowDeletedName="v_intervExpRowDeleted" msprop:Generator_RowChangedName="v_intervExpRowChanged" msprop:Generator_RowClassName="v_intervExpRow" msprop:Generator_RowChangingName="v_intervExpRowChanging" msprop:Generator_RowEvArgName="v_intervExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_intervExpRowChangeEventHandler" msprop:Generator_TableClassName="v_intervExpDataTable" msprop:Generator_TableVarName="tablev_intervExp" msprop:Generator_RowDeletingName="v_intervExpRowDeleting" msprop:Generator_TablePropName="v_intervExp">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" type="xs:dateTime" />
<xs:element name="turnoLav" msprop:Generator_UserColumnName="turnoLav" msprop:Generator_ColumnVarNameInTable="columnturnoLav" msprop:Generator_ColumnPropNameInRow="turnoLav" msprop:Generator_ColumnPropNameInTable="turnoLavColumn" type="xs:int" />
<xs:element name="matr" msprop:Generator_UserColumnName="matr" msprop:Generator_ColumnVarNameInTable="columnmatr" msprop:Generator_ColumnPropNameInRow="matr" msprop:Generator_ColumnPropNameInTable="matrColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxAmbito" msprop:Generator_UserColumnName="idxAmbito" msprop:Generator_ColumnVarNameInTable="columnidxAmbito" msprop:Generator_ColumnPropNameInRow="idxAmbito" msprop:Generator_ColumnPropNameInTable="idxAmbitoColumn" type="xs:int" />
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="presaInCarico" msprop:Generator_UserColumnName="presaInCarico" msprop:Generator_ColumnVarNameInTable="columnpresaInCarico" msprop:Generator_ColumnPropNameInRow="presaInCarico" msprop:Generator_ColumnPropNameInTable="presaInCaricoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isPreventivabile" msprop:Generator_UserColumnName="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxCausale" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrAmbitoGuasto" msprop:Generator_UserColumnName="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoGuasto" msprop:Generator_UserTableName="AnagTipoGuasto" msprop:Generator_RowDeletedName="AnagTipoGuastoRowDeleted" msprop:Generator_RowChangedName="AnagTipoGuastoRowChanged" msprop:Generator_RowClassName="AnagTipoGuastoRow" msprop:Generator_RowChangingName="AnagTipoGuastoRowChanging" msprop:Generator_RowEvArgName="AnagTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoGuastoDataTable" msprop:Generator_TableVarName="tableAnagTipoGuasto" msprop:Generator_RowDeletingName="AnagTipoGuastoRowDeleting" msprop:Generator_TablePropName="AnagTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="idxTipo" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1938,27 +1853,43 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgPending" msprop:Generator_UserTableName="MtzProgPending" msprop:Generator_RowDeletedName="MtzProgPendingRowDeleted" msprop:Generator_RowChangedName="MtzProgPendingRowChanged" msprop:Generator_RowClassName="MtzProgPendingRow" msprop:Generator_RowChangingName="MtzProgPendingRowChanging" msprop:Generator_RowEvArgName="MtzProgPendingRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgPendingRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgPendingDataTable" msprop:Generator_TableVarName="tableMtzProgPending" msprop:Generator_RowDeletingName="MtzProgPendingRowDeleting" msprop:Generator_TablePropName="MtzProgPending">
<xs:element name="AnagStati" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowClassName="AnagStatiRow" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_TablePropName="AnagStati">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="idxIntPro" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stile" msprop:Generator_UserColumnName="stile" msprop:Generator_ColumnPropNameInRow="stile" msprop:Generator_ColumnVarNameInTable="columnstile" msprop:Generator_ColumnPropNameInTable="stileColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgrammata" msprop:Generator_UserTableName="MtzProgrammata" msprop:Generator_RowDeletedName="MtzProgrammataRowDeleted" msprop:Generator_RowChangedName="MtzProgrammataRowChanged" msprop:Generator_RowClassName="MtzProgrammataRow" msprop:Generator_RowChangingName="MtzProgrammataRowChanging" msprop:Generator_RowEvArgName="MtzProgrammataRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgrammataRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgrammataDataTable" msprop:Generator_TableVarName="tableMtzProgrammata" msprop:Generator_RowDeletingName="MtzProgrammataRowDeleting" msprop:Generator_TablePropName="MtzProgrammata">
<xs:element name="InterventoOpMtz" msprop:Generator_UserTableName="InterventoOpMtz" msprop:Generator_RowDeletedName="InterventoOpMtzRowDeleted" msprop:Generator_RowChangedName="InterventoOpMtzRowChanged" msprop:Generator_RowClassName="InterventoOpMtzRow" msprop:Generator_RowChangingName="InterventoOpMtzRowChanging" msprop:Generator_RowEvArgName="InterventoOpMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="InterventoOpMtzRowChangeEventHandler" msprop:Generator_TableClassName="InterventoOpMtzDataTable" msprop:Generator_TableVarName="tableInterventoOpMtz" msprop:Generator_RowDeletingName="InterventoOpMtzRowDeleting" msprop:Generator_TablePropName="InterventoOpMtz">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="durataMinuti" msprop:Generator_UserColumnName="durataMinuti" msprop:Generator_ColumnPropNameInRow="durataMinuti" msprop:Generator_ColumnVarNameInTable="columndurataMinuti" msprop:Generator_ColumnPropNameInTable="durataMinutiColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgExp">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
@@ -1982,14 +1913,96 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="frequenza" msprop:Generator_UserColumnName="frequenza" msprop:Generator_ColumnVarNameInTable="columnfrequenza" msprop:Generator_ColumnPropNameInRow="frequenza" msprop:Generator_ColumnPropNameInTable="frequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgPending" msprop:Generator_UserTableName="MtzProgPending" msprop:Generator_RowDeletedName="MtzProgPendingRowDeleted" msprop:Generator_RowChangedName="MtzProgPendingRowChanged" msprop:Generator_RowClassName="MtzProgPendingRow" msprop:Generator_RowChangingName="MtzProgPendingRowChanging" msprop:Generator_RowEvArgName="MtzProgPendingRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgPendingRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgPendingDataTable" msprop:Generator_TableVarName="tableMtzProgPending" msprop:Generator_RowDeletingName="MtzProgPendingRowDeleting" msprop:Generator_TablePropName="MtzProgPending">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="idxIntPro" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MtzProgrammata" msprop:Generator_UserTableName="MtzProgrammata" msprop:Generator_RowDeletedName="MtzProgrammataRowDeleted" msprop:Generator_RowChangedName="MtzProgrammataRowChanged" msprop:Generator_RowClassName="MtzProgrammataRow" msprop:Generator_RowChangingName="MtzProgrammataRowChanging" msprop:Generator_RowEvArgName="MtzProgrammataRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgrammataRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgrammataDataTable" msprop:Generator_TableVarName="tableMtzProgrammata" msprop:Generator_RowDeletingName="MtzProgrammataRowDeleting" msprop:Generator_TablePropName="MtzProgrammata">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="inizio" msprop:Generator_UserColumnName="inizio" msprop:Generator_ColumnPropNameInRow="inizio" msprop:Generator_ColumnVarNameInTable="columninizio" msprop:Generator_ColumnPropNameInTable="inizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="codFrequenza" msprop:Generator_UserColumnName="codFrequenza" msprop:Generator_ColumnPropNameInRow="codFrequenza" msprop:Generator_ColumnVarNameInTable="columncodFrequenza" msprop:Generator_ColumnPropNameInTable="codFrequenzaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cadenza" msprop:Generator_UserColumnName="cadenza" msprop:Generator_ColumnPropNameInRow="cadenza" msprop:Generator_ColumnVarNameInTable="columncadenza" msprop:Generator_ColumnPropNameInTable="cadenzaColumn" type="xs:int" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalendFesteFerie" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_RowClassName="CalendFesteFerieRow" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_TablePropName="CalendFesteFerie">
<xs:complexType>
<xs:sequence>
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -2002,47 +2015,19 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
<xs:element name="OreAperturaSett" msprop:Generator_UserTableName="OreAperturaSett" msprop:Generator_RowDeletedName="OreAperturaSettRowDeleted" msprop:Generator_RowChangedName="OreAperturaSettRowChanged" msprop:Generator_RowClassName="OreAperturaSettRow" msprop:Generator_RowChangingName="OreAperturaSettRowChanging" msprop:Generator_RowEvArgName="OreAperturaSettRowChangeEvent" msprop:Generator_RowEvHandlerName="OreAperturaSettRowChangeEventHandler" msprop:Generator_TableClassName="OreAperturaSettDataTable" msprop:Generator_TableVarName="tableOreAperturaSett" msprop:Generator_RowDeletingName="OreAperturaSettRowDeleting" msprop:Generator_TablePropName="OreAperturaSett">
<xs:complexType>
<xs:sequence>
<xs:element name="giorno" msprop:Generator_UserColumnName="giorno" msprop:Generator_ColumnPropNameInRow="giorno" msprop:Generator_ColumnVarNameInTable="columngiorno" msprop:Generator_ColumnPropNameInTable="giornoColumn" type="xs:int" />
<xs:element name="descrGiorno" msprop:Generator_UserColumnName="descrGiorno" msprop:Generator_ColumnPropNameInRow="descrGiorno" msprop:Generator_ColumnVarNameInTable="columndescrGiorno" msprop:Generator_ColumnPropNameInTable="descrGiornoColumn" minOccurs="0">
<xs:element name="giorno" msprop:Generator_UserColumnName="giorno" msprop:Generator_ColumnVarNameInTable="columngiorno" msprop:Generator_ColumnPropNameInRow="giorno" msprop:Generator_ColumnPropNameInTable="giornoColumn" type="xs:int" />
<xs:element name="descrGiorno" msprop:Generator_UserColumnName="descrGiorno" msprop:Generator_ColumnVarNameInTable="columndescrGiorno" msprop:Generator_ColumnPropNameInRow="descrGiorno" msprop:Generator_ColumnPropNameInTable="descrGiornoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="apertura" msprop:Generator_UserColumnName="apertura" msprop:Generator_ColumnPropNameInRow="apertura" msprop:Generator_ColumnVarNameInTable="columnapertura" msprop:Generator_ColumnPropNameInTable="aperturaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="apertura" msprop:Generator_UserColumnName="apertura" msprop:Generator_ColumnVarNameInTable="columnapertura" msprop:Generator_ColumnPropNameInRow="apertura" msprop:Generator_ColumnPropNameInTable="aperturaColumn" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroImpianti" msprop:Generator_UserTableName="FiltroImpianti" msprop:Generator_RowDeletedName="FiltroImpiantiRowDeleted" msprop:Generator_RowChangedName="FiltroImpiantiRowChanged" msprop:Generator_RowClassName="FiltroImpiantiRow" msprop:Generator_RowChangingName="FiltroImpiantiRowChanging" msprop:Generator_RowEvArgName="FiltroImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="FiltroImpiantiDataTable" msprop:Generator_TableVarName="tableFiltroImpianti" msprop:Generator_RowDeletingName="FiltroImpiantiRowDeleting" msprop:Generator_TablePropName="FiltroImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroMacchine" msprop:Generator_UserTableName="FiltroMacchine" msprop:Generator_RowDeletedName="FiltroMacchineRowDeleted" msprop:Generator_RowChangedName="FiltroMacchineRowChanged" msprop:Generator_RowClassName="FiltroMacchineRow" msprop:Generator_RowChangingName="FiltroMacchineRowChanging" msprop:Generator_RowEvArgName="FiltroMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroMacchineRowChangeEventHandler" msprop:Generator_TableClassName="FiltroMacchineDataTable" msprop:Generator_TableVarName="tableFiltroMacchine" msprop:Generator_RowDeletingName="FiltroMacchineRowDeleting" msprop:Generator_TablePropName="FiltroMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroStati" msprop:Generator_UserTableName="FiltroStati" msprop:Generator_RowDeletedName="FiltroStatiRowDeleted" msprop:Generator_RowChangedName="FiltroStatiRowChanged" msprop:Generator_RowClassName="FiltroStatiRow" msprop:Generator_RowChangingName="FiltroStatiRowChanging" msprop:Generator_RowEvArgName="FiltroStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroStatiRowChangeEventHandler" msprop:Generator_TableClassName="FiltroStatiDataTable" msprop:Generator_TableVarName="tableFiltroStati" msprop:Generator_RowDeletingName="FiltroStatiRowDeleting" msprop:Generator_TablePropName="FiltroStati">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn">
@@ -2052,44 +2037,72 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroMacchine" msprop:Generator_UserTableName="FiltroMacchine" msprop:Generator_RowDeletedName="FiltroMacchineRowDeleted" msprop:Generator_RowChangedName="FiltroMacchineRowChanged" msprop:Generator_RowClassName="FiltroMacchineRow" msprop:Generator_RowChangingName="FiltroMacchineRowChanging" msprop:Generator_RowEvArgName="FiltroMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroMacchineRowChangeEventHandler" msprop:Generator_TableClassName="FiltroMacchineDataTable" msprop:Generator_TableVarName="tableFiltroMacchine" msprop:Generator_RowDeletingName="FiltroMacchineRowDeleting" msprop:Generator_TablePropName="FiltroMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FiltroStati" msprop:Generator_UserTableName="FiltroStati" msprop:Generator_RowDeletedName="FiltroStatiRowDeleted" msprop:Generator_RowChangedName="FiltroStatiRowChanged" msprop:Generator_RowClassName="FiltroStatiRow" msprop:Generator_RowChangingName="FiltroStatiRowChanging" msprop:Generator_RowEvArgName="FiltroStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="FiltroStatiRowChangeEventHandler" msprop:Generator_TableClassName="FiltroStatiDataTable" msprop:Generator_TableVarName="tableFiltroStati" msprop:Generator_RowDeletingName="FiltroStatiRowDeleting" msprop:Generator_TablePropName="FiltroStati">
<xs:complexType>
<xs:sequence>
<xs:element name="username" msprop:Generator_UserColumnName="username" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCausali" msprop:Generator_UserTableName="AnagCausali" msprop:Generator_RowDeletedName="AnagCausaliRowDeleted" msprop:Generator_RowChangedName="AnagCausaliRowChanged" msprop:Generator_RowClassName="AnagCausaliRow" msprop:Generator_RowChangingName="AnagCausaliRowChanging" msprop:Generator_RowEvArgName="AnagCausaliRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagCausaliRowChangeEventHandler" msprop:Generator_TableClassName="AnagCausaliDataTable" msprop:Generator_TableVarName="tableAnagCausali" msprop:Generator_RowDeletingName="AnagCausaliRowDeleting" msprop:Generator_TablePropName="AnagCausali">
<xs:complexType>
<xs:sequence>
<xs:element name="idxCausale" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:element name="idxCausale" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" type="xs:int" />
<xs:element name="idxFamMacchine" msprop:Generator_UserColumnName="idxFamMacchine" msprop:Generator_ColumnPropNameInRow="idxFamMacchine" msprop:Generator_ColumnVarNameInTable="columnidxFamMacchine" msprop:Generator_ColumnPropNameInTable="idxFamMacchineColumn" type="xs:int" />
<xs:element name="descrCausale" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="attiva" msprop:Generator_UserColumnName="attiva" msprop:Generator_ColumnPropNameInRow="attiva" msprop:Generator_ColumnVarNameInTable="columnattiva" msprop:Generator_ColumnPropNameInTable="attivaColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="attiva" msprop:Generator_UserColumnName="attiva" msprop:Generator_ColumnVarNameInTable="columnattiva" msprop:Generator_ColumnPropNameInRow="attiva" msprop:Generator_ColumnPropNameInTable="attivaColumn" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagrOperMtz" msprop:Generator_UserTableName="AnagrOperMtz" msprop:Generator_RowDeletedName="AnagrOperMtzRowDeleted" msprop:Generator_RowChangedName="AnagrOperMtzRowChanged" msprop:Generator_RowClassName="AnagrOperMtzRow" msprop:Generator_RowChangingName="AnagrOperMtzRowChanging" msprop:Generator_RowEvArgName="AnagrOperMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagrOperMtzRowChangeEventHandler" msprop:Generator_TableClassName="AnagrOperMtzDataTable" msprop:Generator_TableVarName="tableAnagrOperMtz" msprop:Generator_RowDeletingName="AnagrOperMtzRowDeleting" msprop:Generator_TablePropName="AnagrOperMtz">
<xs:complexType>
<xs:sequence>
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:element name="matrOp" msprop:Generator_UserColumnName="matrOp" msprop:Generator_ColumnVarNameInTable="columnmatrOp" msprop:Generator_ColumnPropNameInRow="matrOp" msprop:Generator_ColumnPropNameInTable="matrOpColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_UserColumnName="Cognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" minOccurs="0">
<xs:element name="Cognome" msprop:Generator_UserColumnName="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
+2 -2
View File
@@ -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="494" ViewPortY="536" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="79" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="35" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="34" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
@@ -21,7 +21,7 @@
<Shape ID="DesignTable:MtzProgPending" ZOrder="19" X="882" Y="776" Height="224" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="18" X="1141" Y="749" Height="241" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="177" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="16" X="78" Y="890" Height="122" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="7" X="366" Y="864" Height="156" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="7" X="366" Y="836" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="11" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="12" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="10" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
+9 -1
View File
@@ -19,6 +19,7 @@ public class WebGimUtils
public double oreEquivalenti(intervalloDate periodo)
{
double answ = 0;
#if false
// carico valori di default
double oreSett = (double)TA_app.obj.taOreApert.oreAperturaSett();
GIM_data.DS_applicazione.OreAperturaSettDataTable tabOre = TA_app.obj.taOreApert.GetData();
@@ -34,13 +35,20 @@ public class WebGimUtils
for (int i = 0; i < numGgRimanenti; i++)
{
// il primo giorno è pari al giorno iniziale... e poi calcolo il "modulo" a 7 (con "%")
answ = answ + (double)tabOre[(i + ggSett)%7].apertura;
answ = answ + (double)tabOre[(i + ggSett) % 7].apertura;
}
// cerco eventuali festività che cadano nel periodo e le tolgo
foreach (GIM_data.DS_applicazione.CalendFesteFerieRow riga in tabCalFF)
{
answ = answ - (double)tabOre[(int)riga.data.DayOfWeek].apertura;
}
#endif
try
{
answ = Convert.ToDouble(TA_app.obj.taOreApert.oreLavoratePeriodo(periodo.inizio, periodo.fine, 0));// per ora non imposto la macchina...
}
catch
{ }
// restituisco risposta
return answ;
}
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -1009,6 +1009,7 @@
<ItemGroup>
<None Include="help\images\._browser" />
<None Include="images\Thumbs.db" />
<None Include="sql\GIM_0008.sql" />
<None Include="sql\GIM_0000.sql" />
<None Include="sql\GIM_0001.sql" />
<None Include="sql\GIM_0002.sql" />
@@ -1017,7 +1018,7 @@
<None Include="sql\GIM_0005.sql" />
<None Include="sql\GIM_0006.sql" />
<None Include="sql\GIM_0007.sql" />
<None Include="sql\GIM_0008.sql" />
<None Include="sql\GIM_0020.sql" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SteamWare\SteamWare.csproj">
@@ -1588,7 +1588,7 @@ NnSm5FYXbj0U9rEw82eM2/AEepQw+nBwqUdZYVUfccyIRfdzJgvg7Yd8Bw3nNxCWu9tPWzHeevGbhHPm
<CanGrow>true</CanGrow>
<Left>14cm</Left>
<Height>0.63492cm</Height>
<Value>Copyright SteamWare © 2006-2010</Value>
<Value>Copyright SteamWare © 2006-2011</Value>
</Textbox>
<Textbox Name="textbox61">
<Top>0.05754cm</Top>
+2 -2
View File
@@ -100,8 +100,8 @@
<add key="welcomeApp" value="GIM_welcomeApp"/>
<add key="appName" value="GIM"/>
<add key="mainRev" value="1.1"/>
<add key="minRev" value="180"/>
<add key="copyRight" value="SteamWare © 2006-2010"/>
<add key="minRev" value="190"/>
<add key="copyRight" value="SteamWare © 2006-2011"/>
<add key="defaultApp" value="GIM_Appl"/>
<add key="defaultTitle" value="GIM_ShortWelcome"/>
<add key="defaultBody" value="GIM_LongWelcome"/>
@@ -18,8 +18,8 @@
<add key="welcomeApp" value="GIM_welcomeApp"/>
<add key="appName" value="GIM"/>
<add key="mainRev" value="1.1"/>
<add key="minRev" value="180"/>
<add key="copyRight" value="SteamWare © 2006-2010"/>
<add key="minRev" value="190"/>
<add key="copyRight" value="SteamWare © 2006-2011"/>
<add key="defaultApp" value="GIM_Appl"/>
<add key="defaultTitle" value="GIM_ShortWelcome"/>
<add key="defaultBody" value="GIM_LongWelcome"/>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+66 -38
View File
@@ -260,44 +260,6 @@ AS
RETURN @oreTot
END
/*
declare @tmp_dates table (DateValue datetime, h int);
declare @dataFrom datetime
declare @dataTo datetime
set @dataFrom = '2011-04-01'
set @dataTo = '2011-07-01';
with mycte as
(
select cast(@dataFrom as datetime) DateValue, 16 as h--, 'sab/dom' as descrizione
union all
select DateValue + 1, 16 as h--, 'sab/dom' as descrizione
from mycte
where DateValue + 1 < @dataTo
)
insert into @tmp_dates(DateValue, h)
select *
from mycte
where ((DATEPART(dw, DateValue) + @@DATEFIRST) % 7) IN (0, 1)
OPTION (MAXRECURSION 0);
insert into @tmp_dates(DateValue, h)
select data as DateValue, 24 as h--, descrizione
from CalendFesteFerie
where data between @dataFrom and @dataTo and data not in (select distinct DateValue from @tmp_dates);
update @tmp_dates
set h=24
where DateValue in (select data from CalendFesteFerie where data between @dataFrom and @dataTo)
select * from @tmp_dates
order by DateValue
*/
go
commit
@@ -565,6 +527,72 @@ commit
go
create table OreAperturaSett(
giorno int not null constraint PK_OreAperturaSett_2 primary key,
descrGiorno nvarchar(50),
apertura int
)
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.OreAperturaSett
VALUES (0, N'Dom', 0)
INSERT INTO dbo.OreAperturaSett
VALUES (1, N'Lun', 24)
INSERT INTO dbo.OreAperturaSett
VALUES (2, N'Mar', 24)
INSERT INTO dbo.OreAperturaSett
VALUES (3, N'Mer', 24)
INSERT INTO dbo.OreAperturaSett
VALUES (4, N'Gio', 24)
INSERT INTO dbo.OreAperturaSett
VALUES (5, N'Ven', 24)
INSERT INTO dbo.OreAperturaSett
VALUES (6, N'Sab', 8)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
set ANSI_NULLS on
go
/*************************************
* STORED PROCEDURE stp_oreEquivalenti
* calcola le ore di apertura equivalenti x una data macchina e periodo
*
* modif.: S.E.L. - 2011.06.29
**************************************/
create PROCEDURE stp_oreEquivalenti
(
@dataFrom DATETIME,
@dataTo DATETIME,
@idxMacchina INT
)
AS
SELECT dbo.f_diffOreLavorative(@dataFrom, @dataTo, @idxMacchina) AS apertura
RETURN
go
commit
go
Binary file not shown.
+5 -5
View File
@@ -118,7 +118,7 @@
"InstallerBootstrapper" = "3:2"
"BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
{
"Enabled" = "11:TRUE"
"Enabled" = "11:FALSE"
"PromptEnabled" = "11:TRUE"
"PrerequisitesLocation" = "2:1"
"Url" = "8:"
@@ -200,7 +200,7 @@
{
"Name" = "8:.NET Framework"
"Message" = "8:[VSDNETMSG]"
"Version" = "8:3.5 SP1 Client"
"Version" = "8:2.0.50727"
"AllowLaterVersions" = "11:FALSE"
"InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=76617"
}
@@ -351,14 +351,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:WebGIM"
"ProductCode" = "8:{0FF766FF-D8F0-4A5D-9BF9-EE01D7E61E2E}"
"PackageCode" = "8:{D1BFDB98-DB13-4C61-8DCE-8616483B24AD}"
"ProductCode" = "8:{DB6C1FF5-83F0-4160-AF99-C32A50FAB734}"
"PackageCode" = "8:{838D1675-7B14-4F48-806D-7027DEDCA093}"
"UpgradeCode" = "8:{7739196B-46A3-4BC7-AC29-DB8493976F04}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.1.180"
"ProductVersion" = "8:1.1.190"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:035-460560"
"ARPHELPLINK" = "8:http://www.steamware.net"