Merge branch 'release/MpIoAddPodl01'

This commit is contained in:
Samuele Locatelli
2023-11-03 15:33:50 +01:00
9 changed files with 1185 additions and 604 deletions
+66 -7
View File
@@ -110,6 +110,7 @@ namespace MP_IO.Controllers
return answ;
}
#if false
/// <summary>
/// Chiude ODL x macchina:
///
@@ -133,6 +134,39 @@ namespace MP_IO.Controllers
catch
{ }
return answ;
}
#endif
/// <summary>
/// Chiude ODL x macchina:
///
/// GET: IOB/closeODL/SIMUL_03?idxOdl=123&dtEve=20230323151100000&dtCurr=20230323221100000
/// </summary>
/// <param name="id">id macchina</param>
/// <param name="idxOdl">idx dell'ODL da chiudere</param>
/// <param name="dtEve">DataOra evento</param>
/// <param name="dtCurr">DataOra corrente x fix</param>
/// <returns>bool esecuzione</returns>
public bool closeODL(string id, int idxOdl, string dtEve = "", string dtCurr = "")
{
bool answ = false;
// init obj DataLayer
DataLayer DataLayerObj = new DataLayer();
try
{// chiamata diretta sul DB...
DateTime dtEvento = DateTime.Now;
//se ho una data-ora chiusura la calcolo...
bool rtimeProc = string.IsNullOrEmpty(dtEve);
if (!rtimeProc)
{
dtEvento = DataLayerObj.GetSrvDtEvent(dtEve, dtCurr);
}
DataLayerObj.taODL.forceClose(idxOdl, id, dtEvento);
answ = true;
}
catch
{ }
return answ;
}
/// <summary>
@@ -141,7 +175,9 @@ namespace MP_IO.Controllers
/// GET: IOB/closePODL/SIMUL_03?idxPOdl=123&dtEve=20230323151100000&dtCurr=20230323221100000
/// </summary>
/// <param name="id">id macchina</param>
/// <param name="idxOdl">idx dell'ODL da chiudere</param>
/// <param name="idxPOdl">idx del POdl da chiudere</param>
/// <param name="dtEve">DataOra evento</param>
/// <param name="dtCurr">DataOra corrente x fix</param>
/// <returns>bool esecuzione</returns>
public bool closePODL(string id, int idxPOdl, string dtEve = "", string dtCurr = "")
{
@@ -570,15 +606,19 @@ namespace MP_IO.Controllers
return DataLayerObj.AutoStartOdl(id, doConfirm, qtyFromLast, (int)roundStep, keyRichiesta);
}
/// <summary> Avvia PODL indicato
/// <summary>
/// Avvia PODL indicato
/// - se esistesse un ODL da altro PODL --> chiude
/// - se fosse già in essere ODL collegato --> lascia aperto
/// - se fosse chiuso ODL collegato --> duplica PODL e poi avvia nuovo ODL.
///
/// GET: IOB/forceStartPOdl/SIMUL_03?idxPODL=123&dtEve=20230323151100000&dtCurr=20230323221100000
/// </summary> <param name="id"></param> <param name="idxPODL">idx del PDL da
/// avviare</param> <param name="dtEve">data-ora di avvio (opzionale)</param> <param
/// name="dtCurr">data-ora attuale (opzionale)</param> <returns>Esito chiamata (OK/vuoto)</returns>
/// </summary>
/// <param name="id"></param>
/// <param name="idxPODL">idx del PDL da avviare</param>
/// <param name="dtEve">data-ora di avvio (opzionale)</param>
/// <param name="dtCurr">data-ora attuale (opzionale)</param>
/// <returns>Esito chiamata (OK/vuoto)</returns>
public string forceStartPOdl(string id, int idxPODL, string dtEve = "", string dtCurr = "")
{
// attenzione! poiché nell'URL il carattere "#" viene filtrato ci aspettiamo il
@@ -589,6 +629,26 @@ namespace MP_IO.Controllers
return answ;
}
/// <summary>
/// Creazione nuovo ODL dato CodArt + numPz
/// GET: IOB/forceCreatePOdl/SIMUL_03?CodArt=ABCD_1234&numPz=5
/// </summary>
/// <param name="id"></param>
/// <param name="CodArt"></param>
/// <param name="CodGruppo"></param>
/// <param name="numPz"></param>
/// <returns>IdxODL creato</returns>
public int forceCreatePOdl(string id, string CodArt, string CodGruppo, int numPz)
{
int answ = 0;
// attenzione! poiché nell'URL il carattere "#" viene filtrato ci aspettiamo il
// carattere "|" che poi trasformiamo ora in "#"
id = id.Replace("|", "#");
DataLayer DataLayerObj = new DataLayer();
answ = DataLayerObj.ForceCreatePOdl(id, CodArt, numPz, CodGruppo);
return answ;
}
/// <summary>
/// Recupera elenco articoli dei PODL correnti:
///
@@ -604,8 +664,7 @@ namespace MP_IO.Controllers
try
{
// recupero dati macchina...
var elencoArt = DataLayerObj.taAnagArt.getByCurrPODL();
DS_ProdTempi.AnagArticoliDataTable elencoArt = DataLayerObj.taAnagArt.getByCurrPODL();
answ = JsonConvert.SerializeObject(elencoArt);
}
catch
+1 -1
View File
@@ -21,7 +21,7 @@
</div>
<div>
<div class="d-flex flex-column text-danger" runat="server" id="divWarn">
<asp:Label CssClass="py-0 px-2" runat="server" ID="lblWarningHead" Text="..." />
<h2><asp:Label CssClass="py-0 px-2" runat="server" ID="lblWarningHead" Text="..." /></h2>
<asp:Label CssClass="py-0 px-2" runat="server" ID="lblWarningBody" Text="..." />
<b>
<asp:Label CssClass="p-2" runat="server" ID="lblNumPz2Conf" Text="0" /></b>
+64 -91
View File
@@ -640,74 +640,24 @@ FROM v_ODL_exp ORDER BY IdxODL DESC</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagArticoliTableAdapter" GeneratorDataComponentClassName="AnagArticoliTableAdapter" Name="AnagArticoli" UserDataComponentName="AnagArticoliTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.v_AnagArticoli" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ([Disegno] = @Original_Disegno) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)) AND ([Tipo] = @Original_Tipo))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Disegno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Disegno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProdRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProdRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FlagIsNew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FlagIsNew" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_FlagIsNew" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FlagIsNew" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [AnagArticoli] ([CodArticolo], [Disegno], [DescArticolo], [CurrRev], [ProdRev], [Tipo]) VALUES (@CodArticolo, @Disegno, @DescArticolo, @CurrRev, @ProdRev, @Tipo);
SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Disegno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Disegno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProdRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProdRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.v_AnagArticoli" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_AnagArticoli</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [AnagArticoli] SET [CodArticolo] = @CodArticolo, [Disegno] = @Disegno, [DescArticolo] = @DescArticolo, [CurrRev] = @CurrRev, [ProdRev] = @ProdRev, [Tipo] = @Tipo WHERE (([CodArticolo] = @Original_CodArticolo) AND ([Disegno] = @Original_Disegno) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)) AND ([Tipo] = @Original_Tipo));
SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Disegno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Disegno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProdRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProdRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Disegno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Disegno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DescArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProdRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProdRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FlagIsNew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FlagIsNew" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_FlagIsNew" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FlagIsNew" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodArticolo" DataSetColumn="CodArticolo" />
<Mapping SourceColumn="Disegno" DataSetColumn="Disegno" />
<Mapping SourceColumn="DescArticolo" DataSetColumn="DescArticolo" />
<Mapping SourceColumn="CurrRev" DataSetColumn="CurrRev" />
<Mapping SourceColumn="ProdRev" DataSetColumn="ProdRev" />
<Mapping SourceColumn="FlagIsNew" DataSetColumn="FlagIsNew" />
<Mapping SourceColumn="Disegno" DataSetColumn="Disegno" />
<Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
<Mapping SourceColumn="Azienda" DataSetColumn="Azienda" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="Donati_MoonPro.dbo.stp_ART_checkUsed" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkUsed" Modifier="Public" Name="checkUsed" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="checkUsed">
@@ -790,6 +740,22 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ART_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insert" Modifier="Public" Name="insert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="insert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ART_insert</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DescArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CurrRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Disegno" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Azienda" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ART_rowCount" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="rowCount" Modifier="Public" Name="rowCount" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="rowCount">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -2752,36 +2718,43 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescArticolo" msprop:Generator_ColumnPropNameInTable="DescArticoloColumn" msprop:Generator_ColumnPropNameInRow="DescArticolo" msprop:Generator_UserColumnName="DescArticolo" msprop:Generator_ColumnVarNameInTable="columnDescArticolo">
<xs:element name="Disegno" msprop:Generator_UserColumnName="Disegno" msprop:Generator_ColumnPropNameInTable="DisegnoColumn" msprop:Generator_ColumnPropNameInRow="Disegno" msprop:Generator_ColumnVarNameInTable="columnDisegno">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescArticolo" msprop:Generator_UserColumnName="DescArticolo" msprop:Generator_ColumnPropNameInTable="DescArticoloColumn" msprop:Generator_ColumnPropNameInRow="DescArticolo" msprop:Generator_ColumnVarNameInTable="columnDescArticolo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CurrRev" msprop:Generator_ColumnPropNameInTable="CurrRevColumn" msprop:Generator_ColumnPropNameInRow="CurrRev" msprop:Generator_UserColumnName="CurrRev" msprop:Generator_ColumnVarNameInTable="columnCurrRev">
<xs:element name="CurrRev" msprop:Generator_UserColumnName="CurrRev" msprop:Generator_ColumnPropNameInTable="CurrRevColumn" msprop:Generator_ColumnPropNameInRow="CurrRev" msprop:Generator_ColumnVarNameInTable="columnCurrRev">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProdRev" msprop:Generator_ColumnPropNameInTable="ProdRevColumn" msprop:Generator_ColumnPropNameInRow="ProdRev" msprop:Generator_UserColumnName="ProdRev" msprop:Generator_ColumnVarNameInTable="columnProdRev">
<xs:element name="ProdRev" msprop:Generator_UserColumnName="ProdRev" msprop:Generator_ColumnPropNameInTable="ProdRevColumn" msprop:Generator_ColumnPropNameInRow="ProdRev" msprop:Generator_ColumnVarNameInTable="columnProdRev">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FlagIsNew" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="FlagIsNewColumn" msprop:Generator_ColumnPropNameInRow="FlagIsNew" msprop:Generator_UserColumnName="FlagIsNew" msprop:Generator_ColumnVarNameInTable="columnFlagIsNew" type="xs:boolean" minOccurs="0" />
<xs:element name="Disegno" msprop:Generator_ColumnPropNameInTable="DisegnoColumn" msprop:Generator_ColumnPropNameInRow="Disegno" msprop:Generator_UserColumnName="Disegno" msprop:Generator_ColumnVarNameInTable="columnDisegno">
<xs:element name="FlagIsNew" msdata:ReadOnly="true" msprop:Generator_UserColumnName="FlagIsNew" msprop:Generator_ColumnPropNameInTable="FlagIsNewColumn" msprop:Generator_ColumnPropNameInRow="FlagIsNew" msprop:Generator_ColumnVarNameInTable="columnFlagIsNew" type="xs:boolean" minOccurs="0" />
<xs:element name="Tipo" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo">
<xs:element name="Azienda" msprop:Generator_UserColumnName="Azienda" msprop:Generator_ColumnPropNameInTable="AziendaColumn" msprop:Generator_ColumnPropNameInRow="Azienda" msprop:Generator_ColumnVarNameInTable="columnAzienda">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -3057,82 +3030,82 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
<xs:element name="MappaStatoExpl" msprop:Generator_RowEvHandlerName="MappaStatoExplRowChangeEventHandler" msprop:Generator_RowDeletedName="MappaStatoExplRowDeleted" msprop:Generator_RowDeletingName="MappaStatoExplRowDeleting" msprop:Generator_RowEvArgName="MappaStatoExplRowChangeEvent" msprop:Generator_TablePropName="MappaStatoExpl" msprop:Generator_RowChangedName="MappaStatoExplRowChanged" msprop:Generator_UserTableName="MappaStatoExpl" msprop:Generator_RowChangingName="MappaStatoExplRowChanging" msprop:Generator_RowClassName="MappaStatoExplRow" msprop:Generator_TableClassName="MappaStatoExplDataTable" msprop:Generator_TableVarName="tableMappaStatoExpl">
<xs:complexType>
<xs:sequence>
<xs:element name="RowNum" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="RowNum" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_ColumnVarNameInTable="columnRowNum" type="xs:int" />
<xs:element name="lastUpdate" msprop:Generator_UserColumnName="lastUpdate" msprop:Generator_ColumnPropNameInTable="lastUpdateColumn" msprop:Generator_ColumnPropNameInRow="lastUpdate" msprop:Generator_ColumnVarNameInTable="columnlastUpdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" minOccurs="0">
<xs:element name="RowNum" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_UserColumnName="RowNum" msprop:Generator_ColumnVarNameInTable="columnRowNum" type="xs:int" />
<xs:element name="lastUpdate" msprop:Generator_ColumnPropNameInTable="lastUpdateColumn" msprop:Generator_ColumnPropNameInRow="lastUpdate" msprop:Generator_UserColumnName="lastUpdate" msprop:Generator_ColumnVarNameInTable="columnlastUpdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMacchina" msprop:Generator_UserColumnName="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" minOccurs="0">
<xs:element name="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_UserColumnName="CodMacchina" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" 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_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" minOccurs="0">
<xs:element name="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="url" msprop:Generator_UserColumnName="url" msprop:Generator_ColumnPropNameInTable="urlColumn" msprop:Generator_ColumnPropNameInRow="url" msprop:Generator_ColumnVarNameInTable="columnurl" minOccurs="0">
<xs:element name="url" msprop:Generator_ColumnPropNameInTable="urlColumn" msprop:Generator_ColumnPropNameInRow="url" msprop:Generator_UserColumnName="url" msprop:Generator_ColumnVarNameInTable="columnurl" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxODL" msprop:Generator_UserColumnName="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_ColumnVarNameInTable="columnidxODL" type="xs:int" default="0" minOccurs="0" />
<xs:element name="idxPODL" msprop:Generator_UserColumnName="idxPODL" msprop:Generator_ColumnPropNameInTable="idxPODLColumn" msprop:Generator_ColumnPropNameInRow="idxPODL" msprop:Generator_ColumnVarNameInTable="columnidxPODL" type="xs:int" default="0" minOccurs="0" />
<xs:element name="CodArticolo" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" minOccurs="0">
<xs:element name="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_UserColumnName="idxODL" msprop:Generator_ColumnVarNameInTable="columnidxODL" type="xs:int" default="0" minOccurs="0" />
<xs:element name="idxPODL" msprop:Generator_ColumnPropNameInTable="idxPODLColumn" msprop:Generator_ColumnPropNameInRow="idxPODL" msprop:Generator_UserColumnName="idxPODL" msprop:Generator_ColumnVarNameInTable="columnidxPODL" type="xs:int" default="0" minOccurs="0" />
<xs:element name="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Disegno" msprop:Generator_UserColumnName="Disegno" msprop:Generator_ColumnPropNameInTable="DisegnoColumn" msprop:Generator_ColumnPropNameInRow="Disegno" msprop:Generator_ColumnVarNameInTable="columnDisegno" minOccurs="0">
<xs:element name="Disegno" msprop:Generator_ColumnPropNameInTable="DisegnoColumn" msprop:Generator_ColumnPropNameInRow="Disegno" msprop:Generator_UserColumnName="Disegno" msprop:Generator_ColumnVarNameInTable="columnDisegno" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumPezzi" msprop:Generator_UserColumnName="NumPezzi" msprop:Generator_ColumnPropNameInTable="NumPezziColumn" msprop:Generator_ColumnPropNameInRow="NumPezzi" msprop:Generator_ColumnVarNameInTable="columnNumPezzi" type="xs:int" minOccurs="0" />
<xs:element name="TCAssegnato" msprop:Generator_UserColumnName="TCAssegnato" msprop:Generator_ColumnPropNameInTable="TCAssegnatoColumn" msprop:Generator_ColumnPropNameInRow="TCAssegnato" msprop:Generator_ColumnVarNameInTable="columnTCAssegnato" type="xs:decimal" minOccurs="0" />
<xs:element name="DataInizioODL" msprop:Generator_UserColumnName="DataInizioODL" msprop:Generator_ColumnPropNameInTable="DataInizioODLColumn" msprop:Generator_ColumnPropNameInRow="DataInizioODL" msprop:Generator_ColumnVarNameInTable="columnDataInizioODL" type="xs:dateTime" minOccurs="0" />
<xs:element name="Semaforo" msprop:Generator_UserColumnName="Semaforo" msprop:Generator_ColumnPropNameInTable="SemaforoColumn" msprop:Generator_ColumnPropNameInRow="Semaforo" msprop:Generator_ColumnVarNameInTable="columnSemaforo" minOccurs="0">
<xs:element name="NumPezzi" msprop:Generator_ColumnPropNameInTable="NumPezziColumn" msprop:Generator_ColumnPropNameInRow="NumPezzi" msprop:Generator_UserColumnName="NumPezzi" msprop:Generator_ColumnVarNameInTable="columnNumPezzi" type="xs:int" minOccurs="0" />
<xs:element name="TCAssegnato" msprop:Generator_ColumnPropNameInTable="TCAssegnatoColumn" msprop:Generator_ColumnPropNameInRow="TCAssegnato" msprop:Generator_UserColumnName="TCAssegnato" msprop:Generator_ColumnVarNameInTable="columnTCAssegnato" type="xs:decimal" minOccurs="0" />
<xs:element name="DataInizioODL" msprop:Generator_ColumnPropNameInTable="DataInizioODLColumn" msprop:Generator_ColumnPropNameInRow="DataInizioODL" msprop:Generator_UserColumnName="DataInizioODL" msprop:Generator_ColumnVarNameInTable="columnDataInizioODL" type="xs:dateTime" minOccurs="0" />
<xs:element name="Semaforo" msprop:Generator_ColumnPropNameInTable="SemaforoColumn" msprop:Generator_ColumnPropNameInRow="Semaforo" msprop:Generator_UserColumnName="Semaforo" msprop:Generator_ColumnVarNameInTable="columnSemaforo" minOccurs="0">
<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_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" type="xs:int" minOccurs="0" />
<xs:element name="DescrizioneStato" msprop:Generator_UserColumnName="DescrizioneStato" msprop:Generator_ColumnPropNameInTable="DescrizioneStatoColumn" msprop:Generator_ColumnPropNameInRow="DescrizioneStato" msprop:Generator_ColumnVarNameInTable="columnDescrizioneStato" minOccurs="0">
<xs:element name="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" type="xs:int" minOccurs="0" />
<xs:element name="DescrizioneStato" msprop:Generator_ColumnPropNameInTable="DescrizioneStatoColumn" msprop:Generator_ColumnPropNameInRow="DescrizioneStato" msprop:Generator_UserColumnName="DescrizioneStato" msprop:Generator_ColumnVarNameInTable="columnDescrizioneStato" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="durata" msprop:Generator_UserColumnName="durata" msprop:Generator_ColumnPropNameInTable="durataColumn" msprop:Generator_ColumnPropNameInRow="durata" msprop:Generator_ColumnVarNameInTable="columndurata" type="xs:double" minOccurs="0" />
<xs:element name="PezziProd" msprop:Generator_UserColumnName="PezziProd" msprop:Generator_ColumnPropNameInTable="PezziProdColumn" msprop:Generator_ColumnPropNameInRow="PezziProd" msprop:Generator_ColumnVarNameInTable="columnPezziProd" type="xs:int" minOccurs="0" />
<xs:element name="PezziConf" msprop:Generator_UserColumnName="PezziConf" msprop:Generator_ColumnPropNameInTable="PezziConfColumn" msprop:Generator_ColumnPropNameInRow="PezziConf" msprop:Generator_ColumnVarNameInTable="columnPezziConf" type="xs:int" minOccurs="0" />
<xs:element name="TempoOn" msprop:Generator_UserColumnName="TempoOn" msprop:Generator_ColumnPropNameInTable="TempoOnColumn" msprop:Generator_ColumnPropNameInRow="TempoOn" msprop:Generator_ColumnVarNameInTable="columnTempoOn" type="xs:decimal" minOccurs="0" />
<xs:element name="TempoAuto" msprop:Generator_UserColumnName="TempoAuto" msprop:Generator_ColumnPropNameInTable="TempoAutoColumn" msprop:Generator_ColumnPropNameInRow="TempoAuto" msprop:Generator_ColumnVarNameInTable="columnTempoAuto" type="xs:decimal" minOccurs="0" />
<xs:element name="TempoRun" msprop:Generator_UserColumnName="TempoRun" msprop:Generator_ColumnPropNameInTable="TempoRunColumn" msprop:Generator_ColumnPropNameInRow="TempoRun" msprop:Generator_ColumnVarNameInTable="columnTempoRun" type="xs:decimal" minOccurs="0" />
<xs:element name="TCMedio" msprop:Generator_UserColumnName="TCMedio" msprop:Generator_ColumnPropNameInTable="TCMedioColumn" msprop:Generator_ColumnPropNameInRow="TCMedio" msprop:Generator_ColumnVarNameInTable="columnTCMedio" type="xs:decimal" minOccurs="0" />
<xs:element name="TCLav" msprop:Generator_UserColumnName="TCLav" msprop:Generator_ColumnPropNameInTable="TCLavColumn" msprop:Generator_ColumnPropNameInRow="TCLav" msprop:Generator_ColumnVarNameInTable="columnTCLav" type="xs:decimal" minOccurs="0" />
<xs:element name="TCEff" msprop:Generator_UserColumnName="TCEff" msprop:Generator_ColumnPropNameInTable="TCEffColumn" msprop:Generator_ColumnPropNameInRow="TCEff" msprop:Generator_ColumnVarNameInTable="columnTCEff" type="xs:decimal" minOccurs="0" />
<xs:element name="TCMedioRT" msprop:Generator_UserColumnName="TCMedioRT" msprop:Generator_ColumnPropNameInTable="TCMedioRTColumn" msprop:Generator_ColumnPropNameInRow="TCMedioRT" msprop:Generator_ColumnVarNameInTable="columnTCMedioRT" type="xs:decimal" minOccurs="0" />
<xs:element name="TCLavRT" msprop:Generator_UserColumnName="TCLavRT" msprop:Generator_ColumnPropNameInTable="TCLavRTColumn" msprop:Generator_ColumnPropNameInRow="TCLavRT" msprop:Generator_ColumnVarNameInTable="columnTCLavRT" type="xs:decimal" minOccurs="0" />
<xs:element name="TCEffRT" msprop:Generator_UserColumnName="TCEffRT" msprop:Generator_ColumnPropNameInTable="TCEffRTColumn" msprop:Generator_ColumnPropNameInRow="TCEffRT" msprop:Generator_ColumnVarNameInTable="columnTCEffRT" type="xs:decimal" minOccurs="0" />
<xs:element name="durata" msprop:Generator_ColumnPropNameInTable="durataColumn" msprop:Generator_ColumnPropNameInRow="durata" msprop:Generator_UserColumnName="durata" msprop:Generator_ColumnVarNameInTable="columndurata" type="xs:double" minOccurs="0" />
<xs:element name="PezziProd" msprop:Generator_ColumnPropNameInTable="PezziProdColumn" msprop:Generator_ColumnPropNameInRow="PezziProd" msprop:Generator_UserColumnName="PezziProd" msprop:Generator_ColumnVarNameInTable="columnPezziProd" type="xs:int" minOccurs="0" />
<xs:element name="PezziConf" msprop:Generator_ColumnPropNameInTable="PezziConfColumn" msprop:Generator_ColumnPropNameInRow="PezziConf" msprop:Generator_UserColumnName="PezziConf" msprop:Generator_ColumnVarNameInTable="columnPezziConf" type="xs:int" minOccurs="0" />
<xs:element name="TempoOn" msprop:Generator_ColumnPropNameInTable="TempoOnColumn" msprop:Generator_ColumnPropNameInRow="TempoOn" msprop:Generator_UserColumnName="TempoOn" msprop:Generator_ColumnVarNameInTable="columnTempoOn" type="xs:decimal" minOccurs="0" />
<xs:element name="TempoAuto" msprop:Generator_ColumnPropNameInTable="TempoAutoColumn" msprop:Generator_ColumnPropNameInRow="TempoAuto" msprop:Generator_UserColumnName="TempoAuto" msprop:Generator_ColumnVarNameInTable="columnTempoAuto" type="xs:decimal" minOccurs="0" />
<xs:element name="TempoRun" msprop:Generator_ColumnPropNameInTable="TempoRunColumn" msprop:Generator_ColumnPropNameInRow="TempoRun" msprop:Generator_UserColumnName="TempoRun" msprop:Generator_ColumnVarNameInTable="columnTempoRun" type="xs:decimal" minOccurs="0" />
<xs:element name="TCMedio" msprop:Generator_ColumnPropNameInTable="TCMedioColumn" msprop:Generator_ColumnPropNameInRow="TCMedio" msprop:Generator_UserColumnName="TCMedio" msprop:Generator_ColumnVarNameInTable="columnTCMedio" type="xs:decimal" minOccurs="0" />
<xs:element name="TCLav" msprop:Generator_ColumnPropNameInTable="TCLavColumn" msprop:Generator_ColumnPropNameInRow="TCLav" msprop:Generator_UserColumnName="TCLav" msprop:Generator_ColumnVarNameInTable="columnTCLav" type="xs:decimal" minOccurs="0" />
<xs:element name="TCEff" msprop:Generator_ColumnPropNameInTable="TCEffColumn" msprop:Generator_ColumnPropNameInRow="TCEff" msprop:Generator_UserColumnName="TCEff" msprop:Generator_ColumnVarNameInTable="columnTCEff" type="xs:decimal" minOccurs="0" />
<xs:element name="TCMedioRT" msprop:Generator_ColumnPropNameInTable="TCMedioRTColumn" msprop:Generator_ColumnPropNameInRow="TCMedioRT" msprop:Generator_UserColumnName="TCMedioRT" msprop:Generator_ColumnVarNameInTable="columnTCMedioRT" type="xs:decimal" minOccurs="0" />
<xs:element name="TCLavRT" msprop:Generator_ColumnPropNameInTable="TCLavRTColumn" msprop:Generator_ColumnPropNameInRow="TCLavRT" msprop:Generator_UserColumnName="TCLavRT" msprop:Generator_ColumnVarNameInTable="columnTCLavRT" type="xs:decimal" minOccurs="0" />
<xs:element name="TCEffRT" msprop:Generator_ColumnPropNameInTable="TCEffRTColumn" msprop:Generator_ColumnPropNameInRow="TCEffRT" msprop:Generator_UserColumnName="TCEffRT" msprop:Generator_ColumnVarNameInTable="columnTCEffRT" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -3390,15 +3363,15 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCli" msprop:Generator_ColumnPropNameInRow="CodCli" msprop:Generator_ColumnPropNameInTable="CodCliColumn" msprop:Generator_ColumnVarNameInTable="columnCodCli" msprop:Generator_UserColumnName="CodCli">
<xs:element name="CodCli" msprop:Generator_ColumnPropNameInTable="CodCliColumn" msprop:Generator_ColumnPropNameInRow="CodCli" msprop:Generator_UserColumnName="CodCli" msprop:Generator_ColumnVarNameInTable="columnCodCli">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InsertDate" msprop:Generator_ColumnPropNameInRow="InsertDate" msprop:Generator_ColumnPropNameInTable="InsertDateColumn" msprop:Generator_ColumnVarNameInTable="columnInsertDate" msprop:Generator_UserColumnName="InsertDate" type="xs:dateTime" />
<xs:element name="Recipe" msprop:Generator_ColumnPropNameInRow="Recipe" msprop:Generator_ColumnPropNameInTable="RecipeColumn" msprop:Generator_ColumnVarNameInTable="columnRecipe" msprop:Generator_UserColumnName="Recipe">
<xs:element name="InsertDate" msprop:Generator_ColumnPropNameInTable="InsertDateColumn" msprop:Generator_ColumnPropNameInRow="InsertDate" msprop:Generator_UserColumnName="InsertDate" msprop:Generator_ColumnVarNameInTable="columnInsertDate" type="xs:dateTime" />
<xs:element name="Recipe" msprop:Generator_ColumnPropNameInTable="RecipeColumn" msprop:Generator_ColumnPropNameInRow="Recipe" msprop:Generator_UserColumnName="Recipe" msprop:Generator_ColumnVarNameInTable="columnRecipe">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
+4 -4
View File
@@ -4,17 +4,17 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="29" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:TempiCicloRilevati" ZOrder="15" X="20" Y="81" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ODL" ZOrder="1" X="588" Y="452" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="2" X="20" Y="388" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ODL" ZOrder="2" X="588" Y="452" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="1" X="20" Y="343" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:DatiMacchine" ZOrder="21" X="949" Y="353" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:PostazioniMapo" ZOrder="24" X="950" Y="39" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:stp_PzProd_getByMacchina" ZOrder="8" X="23" Y="754" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DatiConfermati" ZOrder="23" X="585" Y="50" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="13" X="346" Y="364" Height="115" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_TempoByIdxMaccPeriodClass" ZOrder="5" X="31" Y="991" Height="97" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="46" SplitterPosition="46" />
<Shape ID="DesignTable:stp_TempoByIdxMaccPeriodClass" ZOrder="5" X="31" Y="976" Height="97" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="46" SplitterPosition="46" />
<Shape ID="DesignTable:DatiProduzione" ZOrder="20" X="554" Y="922" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_repDonati_getDatiProdMacchina" ZOrder="11" X="949" Y="688" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_repDonati_getLastStatoDurataMacchina" ZOrder="22" X="957" Y="1072" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
+138 -409
View File
@@ -1978,6 +1978,8 @@ namespace MapoDb {
private global::System.Data.DataColumn columnCodArticolo;
private global::System.Data.DataColumn columnDisegno;
private global::System.Data.DataColumn columnDescArticolo;
private global::System.Data.DataColumn columnCurrRev;
@@ -1986,10 +1988,10 @@ namespace MapoDb {
private global::System.Data.DataColumn columnFlagIsNew;
private global::System.Data.DataColumn columnDisegno;
private global::System.Data.DataColumn columnTipo;
private global::System.Data.DataColumn columnAzienda;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public AnagArticoliDataTable() {
@@ -2031,6 +2033,14 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn DisegnoColumn {
get {
return this.columnDisegno;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn DescArticoloColumn {
@@ -2065,17 +2075,17 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn DisegnoColumn {
public global::System.Data.DataColumn TipoColumn {
get {
return this.columnDisegno;
return this.columnTipo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn TipoColumn {
public global::System.Data.DataColumn AziendaColumn {
get {
return this.columnTipo;
return this.columnAzienda;
}
}
@@ -2116,16 +2126,17 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string DescArticolo, string CurrRev, string ProdRev, bool FlagIsNew, string Disegno, string Tipo) {
public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string Disegno, string DescArticolo, string CurrRev, string ProdRev, bool FlagIsNew, string Tipo, string Azienda) {
AnagArticoliRow rowAnagArticoliRow = ((AnagArticoliRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodArticolo,
Disegno,
DescArticolo,
CurrRev,
ProdRev,
FlagIsNew,
Disegno,
Tipo};
Tipo,
Azienda};
rowAnagArticoliRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAnagArticoliRow);
return rowAnagArticoliRow;
@@ -2156,12 +2167,13 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal void InitVars() {
this.columnCodArticolo = base.Columns["CodArticolo"];
this.columnDisegno = base.Columns["Disegno"];
this.columnDescArticolo = base.Columns["DescArticolo"];
this.columnCurrRev = base.Columns["CurrRev"];
this.columnProdRev = base.Columns["ProdRev"];
this.columnFlagIsNew = base.Columns["FlagIsNew"];
this.columnDisegno = base.Columns["Disegno"];
this.columnTipo = base.Columns["Tipo"];
this.columnAzienda = base.Columns["Azienda"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2169,6 +2181,8 @@ namespace MapoDb {
private void InitClass() {
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodArticolo);
this.columnDisegno = new global::System.Data.DataColumn("Disegno", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDisegno);
this.columnDescArticolo = new global::System.Data.DataColumn("DescArticolo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescArticolo);
this.columnCurrRev = new global::System.Data.DataColumn("CurrRev", typeof(string), null, global::System.Data.MappingType.Element);
@@ -2177,15 +2191,17 @@ namespace MapoDb {
base.Columns.Add(this.columnProdRev);
this.columnFlagIsNew = new global::System.Data.DataColumn("FlagIsNew", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFlagIsNew);
this.columnDisegno = new global::System.Data.DataColumn("Disegno", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDisegno);
this.columnTipo = new global::System.Data.DataColumn("Tipo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTipo);
this.columnAzienda = new global::System.Data.DataColumn("Azienda", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnAzienda);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodArticolo}, true));
this.columnCodArticolo.AllowDBNull = false;
this.columnCodArticolo.Unique = true;
this.columnCodArticolo.MaxLength = 50;
this.columnDisegno.AllowDBNull = false;
this.columnDisegno.MaxLength = 50;
this.columnDescArticolo.AllowDBNull = false;
this.columnDescArticolo.MaxLength = 250;
this.columnCurrRev.AllowDBNull = false;
@@ -2193,10 +2209,10 @@ namespace MapoDb {
this.columnProdRev.AllowDBNull = false;
this.columnProdRev.MaxLength = 50;
this.columnFlagIsNew.ReadOnly = true;
this.columnDisegno.AllowDBNull = false;
this.columnDisegno.MaxLength = 50;
this.columnTipo.AllowDBNull = false;
this.columnTipo.MaxLength = 50;
this.columnAzienda.AllowDBNull = false;
this.columnAzienda.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11049,6 +11065,17 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string Disegno {
get {
return ((string)(this[this.tableAnagArticoli.DisegnoColumn]));
}
set {
this[this.tableAnagArticoli.DisegnoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string DescArticolo {
@@ -11098,17 +11125,6 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string Disegno {
get {
return ((string)(this[this.tableAnagArticoli.DisegnoColumn]));
}
set {
this[this.tableAnagArticoli.DisegnoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string Tipo {
@@ -11120,6 +11136,17 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string Azienda {
get {
return ((string)(this[this.tableAnagArticoli.AziendaColumn]));
}
set {
this[this.tableAnagArticoli.AziendaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsFlagIsNewNull() {
@@ -19228,55 +19255,14 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "AnagArticoli";
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
tableMapping.ColumnMappings.Add("Disegno", "Disegno");
tableMapping.ColumnMappings.Add("DescArticolo", "DescArticolo");
tableMapping.ColumnMappings.Add("CurrRev", "CurrRev");
tableMapping.ColumnMappings.Add("ProdRev", "ProdRev");
tableMapping.ColumnMappings.Add("FlagIsNew", "FlagIsNew");
tableMapping.ColumnMappings.Add("Disegno", "Disegno");
tableMapping.ColumnMappings.Add("Tipo", "Tipo");
tableMapping.ColumnMappings.Add("Azienda", "Azienda");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ([Disegno] = @Original_Disegno) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)) AND ([Tipo] = @Original_Tipo))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Disegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Disegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FlagIsNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FlagIsNew", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [AnagArticoli] ([CodArticolo], [Disegno], [DescArticolo], [CurrRev], [ProdRev], [Tipo]) VALUES (@CodArticolo, @Disegno, @DescArticolo, @CurrRev, @ProdRev, @Tipo);
SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Disegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [AnagArticoli] SET [CodArticolo] = @CodArticolo, [Disegno] = @Disegno, [DescArticolo] = @DescArticolo, [CurrRev] = @CurrRev, [ProdRev] = @ProdRev, [Tipo] = @Tipo WHERE (([CodArticolo] = @Original_CodArticolo) AND ([Disegno] = @Original_Disegno) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)) AND ([Tipo] = @Original_Tipo));
SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Disegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Disegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Disegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FlagIsNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FlagIsNew", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -19289,7 +19275,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM v_AnagArticoli";
@@ -19341,28 +19327,39 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
this._commandCollection[7].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[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_ART_rowCount";
this._commandCollection[8].CommandText = "dbo.stp_ART_insert";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Azienda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "dbo.stp_ART_setNewRev";
this._commandCollection[9].CommandText = "dbo.stp_ART_rowCount";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection;
this._commandCollection[10].CommandText = "dbo.stp_ART_update";
this._commandCollection[10].CommandText = "dbo.stp_ART_setNewRev";
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[11].Connection = this.Connection;
this._commandCollection[11].CommandText = "dbo.stp_ART_update";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -19486,266 +19483,6 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_ProdTempi.AnagArticoliDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_ProdTempi dataSet) {
return this.Adapter.Update(dataSet, "AnagArticoli");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_CodArticolo, string Original_Disegno, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable<bool> Original_FlagIsNew, string Original_Tipo) {
if ((Original_CodArticolo == null)) {
throw new global::System.ArgumentNullException("Original_CodArticolo");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodArticolo));
}
if ((Original_Disegno == null)) {
throw new global::System.ArgumentNullException("Original_Disegno");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Disegno));
}
if ((Original_DescArticolo == null)) {
throw new global::System.ArgumentNullException("Original_DescArticolo");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescArticolo));
}
if ((Original_CurrRev == null)) {
throw new global::System.ArgumentNullException("Original_CurrRev");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CurrRev));
}
if ((Original_ProdRev == null)) {
throw new global::System.ArgumentNullException("Original_ProdRev");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProdRev));
}
if ((Original_FlagIsNew.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_FlagIsNew.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
}
if ((Original_Tipo == null)) {
throw new global::System.ArgumentNullException("Original_Tipo");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Tipo));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string CodArticolo, string Disegno, string DescArticolo, string CurrRev, string ProdRev, string Tipo) {
if ((CodArticolo == null)) {
throw new global::System.ArgumentNullException("CodArticolo");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodArticolo));
}
if ((Disegno == null)) {
throw new global::System.ArgumentNullException("Disegno");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Disegno));
}
if ((DescArticolo == null)) {
throw new global::System.ArgumentNullException("DescArticolo");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescArticolo));
}
if ((CurrRev == null)) {
throw new global::System.ArgumentNullException("CurrRev");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CurrRev));
}
if ((ProdRev == null)) {
throw new global::System.ArgumentNullException("ProdRev");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProdRev));
}
if ((Tipo == null)) {
throw new global::System.ArgumentNullException("Tipo");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Tipo));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string CodArticolo, string Disegno, string DescArticolo, string CurrRev, string ProdRev, string Tipo, string Original_CodArticolo, string Original_Disegno, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable<bool> Original_FlagIsNew, string Original_Tipo) {
if ((CodArticolo == null)) {
throw new global::System.ArgumentNullException("CodArticolo");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodArticolo));
}
if ((Disegno == null)) {
throw new global::System.ArgumentNullException("Disegno");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Disegno));
}
if ((DescArticolo == null)) {
throw new global::System.ArgumentNullException("DescArticolo");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescArticolo));
}
if ((CurrRev == null)) {
throw new global::System.ArgumentNullException("CurrRev");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CurrRev));
}
if ((ProdRev == null)) {
throw new global::System.ArgumentNullException("ProdRev");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProdRev));
}
if ((Tipo == null)) {
throw new global::System.ArgumentNullException("Tipo");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Tipo));
}
if ((Original_CodArticolo == null)) {
throw new global::System.ArgumentNullException("Original_CodArticolo");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodArticolo));
}
if ((Original_Disegno == null)) {
throw new global::System.ArgumentNullException("Original_Disegno");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Disegno));
}
if ((Original_DescArticolo == null)) {
throw new global::System.ArgumentNullException("Original_DescArticolo");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescArticolo));
}
if ((Original_CurrRev == null)) {
throw new global::System.ArgumentNullException("Original_CurrRev");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CurrRev));
}
if ((Original_ProdRev == null)) {
throw new global::System.ArgumentNullException("Original_ProdRev");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_ProdRev));
}
if ((Original_FlagIsNew.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_FlagIsNew.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
if ((Original_Tipo == null)) {
throw new global::System.ArgumentNullException("Original_Tipo");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Tipo));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string Disegno, string DescArticolo, string CurrRev, string ProdRev, string Tipo, string Original_CodArticolo, string Original_Disegno, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable<bool> Original_FlagIsNew, string Original_Tipo) {
return this.Update(Original_CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, Tipo, Original_CodArticolo, Original_Disegno, Original_DescArticolo, Original_CurrRev, Original_ProdRev, Original_FlagIsNew, Original_Tipo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -19824,8 +19561,66 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object rowCount(string searchVal, string tipo) {
public virtual int insert(string CodArticolo, string DescArticolo, string CurrRev, string Disegno, string Tipo, string Azienda) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((CodArticolo == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodArticolo));
}
if ((DescArticolo == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(DescArticolo));
}
if ((CurrRev == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(CurrRev));
}
if ((Disegno == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(Disegno));
}
if ((Tipo == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(Tipo));
}
if ((Azienda == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
else {
command.Parameters[6].Value = ((string)(Azienda));
}
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();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object rowCount(string searchVal, string tipo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((searchVal == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -19865,7 +19660,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int setNewRev(string Original_CodArticolo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((Original_CodArticolo == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -19893,7 +19688,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateQry(string Original_CodArticolo, string DescArticolo, string CurrRev, string CodArticolo, string Disegno, string Tipo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
if ((Original_CodArticolo == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -29811,8 +29606,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
private TempiCicloRilevatiTableAdapter _tempiCicloRilevatiTableAdapter;
private AnagArticoliTableAdapter _anagArticoliTableAdapter;
private PostazioniMapoTableAdapter _postazioniMapoTableAdapter;
private DatiConfermatiTableAdapter _datiConfermatiTableAdapter;
@@ -29856,20 +29649,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public AnagArticoliTableAdapter AnagArticoliTableAdapter {
get {
return this._anagArticoliTableAdapter;
}
set {
this._anagArticoliTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
@@ -29991,10 +29770,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
&& (this._tempiCicloRilevatiTableAdapter.Connection != null))) {
return this._tempiCicloRilevatiTableAdapter.Connection;
}
if (((this._anagArticoliTableAdapter != null)
&& (this._anagArticoliTableAdapter.Connection != null))) {
return this._anagArticoliTableAdapter.Connection;
}
if (((this._postazioniMapoTableAdapter != null)
&& (this._postazioniMapoTableAdapter.Connection != null))) {
return this._postazioniMapoTableAdapter.Connection;
@@ -30039,9 +29814,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
if ((this._tempiCicloRilevatiTableAdapter != null)) {
count = (count + 1);
}
if ((this._anagArticoliTableAdapter != null)) {
count = (count + 1);
}
if ((this._postazioniMapoTableAdapter != null)) {
count = (count + 1);
}
@@ -30137,15 +29909,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagArticoliTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagArticoliTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._macchine2SlaveTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Macchine2Slave.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -30221,14 +29984,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagArticoliTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagArticoliTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._macchine2SlaveTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Macchine2Slave.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -30255,14 +30010,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagArticoliTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagArticoliTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._postazioniMapoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -30363,11 +30110,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._anagArticoliTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._anagArticoliTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._postazioniMapoTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._postazioniMapoTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
@@ -30444,15 +30186,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
adaptersWithAcceptChangesDuringUpdate.Add(this._tempiCicloRilevatiTableAdapter.Adapter);
}
}
if ((this._anagArticoliTableAdapter != null)) {
revertConnections.Add(this._anagArticoliTableAdapter, this._anagArticoliTableAdapter.Connection);
this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._anagArticoliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._anagArticoliTableAdapter.Adapter);
}
}
if ((this._postazioniMapoTableAdapter != null)) {
revertConnections.Add(this._postazioniMapoTableAdapter, this._postazioniMapoTableAdapter.Connection);
this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
@@ -30578,10 +30311,6 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I
this._tempiCicloRilevatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tempiCicloRilevatiTableAdapter]));
this._tempiCicloRilevatiTableAdapter.Transaction = null;
}
if ((this._anagArticoliTableAdapter != null)) {
this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagArticoliTableAdapter]));
this._anagArticoliTableAdapter.Transaction = null;
}
if ((this._postazioniMapoTableAdapter != null)) {
this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._postazioniMapoTableAdapter]));
this._postazioniMapoTableAdapter.Transaction = null;
+701
View File
@@ -52,6 +52,8 @@ namespace MapoDb {
private v_selTipoArticoliDataTable tablev_selTipoArticoli;
private ConfigDataTable tableConfig;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -122,6 +124,9 @@ namespace MapoDb {
if ((ds.Tables["v_selTipoArticoli"] != null)) {
base.Tables.Add(new v_selTipoArticoliDataTable(ds.Tables["v_selTipoArticoli"]));
}
if ((ds.Tables["Config"] != null)) {
base.Tables.Add(new ConfigDataTable(ds.Tables["Config"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -280,6 +285,16 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public ConfigDataTable Config {
get {
return this.tableConfig;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -389,6 +404,9 @@ namespace MapoDb {
if ((ds.Tables["v_selTipoArticoli"] != null)) {
base.Tables.Add(new v_selTipoArticoliDataTable(ds.Tables["v_selTipoArticoli"]));
}
if ((ds.Tables["Config"] != null)) {
base.Tables.Add(new ConfigDataTable(ds.Tables["Config"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -506,6 +524,12 @@ namespace MapoDb {
this.tablev_selTipoArticoli.InitVars();
}
}
this.tableConfig = ((ConfigDataTable)(base.Tables["Config"]));
if ((initTable == true)) {
if ((this.tableConfig != null)) {
this.tableConfig.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -544,6 +568,8 @@ namespace MapoDb {
base.Tables.Add(this.tablev_selListVal);
this.tablev_selTipoArticoli = new v_selTipoArticoliDataTable();
base.Tables.Add(this.tablev_selTipoArticoli);
this.tableConfig = new ConfigDataTable();
base.Tables.Add(this.tableConfig);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -630,6 +656,12 @@ namespace MapoDb {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private bool ShouldSerializeConfig() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -727,6 +759,9 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void v_selTipoArticoliRowChangeEventHandler(object sender, v_selTipoArticoliRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void ConfigRowChangeEventHandler(object sender, ConfigRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -5040,6 +5075,310 @@ namespace MapoDb {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class ConfigDataTable : global::System.Data.TypedTableBase<ConfigRow> {
private global::System.Data.DataColumn columnchiave;
private global::System.Data.DataColumn columnvalore;
private global::System.Data.DataColumn columnvaloreStd;
private global::System.Data.DataColumn columnnote;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigDataTable() {
this.TableName = "Config";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal ConfigDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected ConfigDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn chiaveColumn {
get {
return this.columnchiave;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn valoreColumn {
get {
return this.columnvalore;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn valoreStdColumn {
get {
return this.columnvaloreStd;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn noteColumn {
get {
return this.columnnote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRow this[int index] {
get {
return ((ConfigRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event ConfigRowChangeEventHandler ConfigRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event ConfigRowChangeEventHandler ConfigRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event ConfigRowChangeEventHandler ConfigRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event ConfigRowChangeEventHandler ConfigRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void AddConfigRow(ConfigRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRow AddConfigRow(string chiave, string valore, string valoreStd, string note) {
ConfigRow rowConfigRow = ((ConfigRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
chiave,
valore,
valoreStd,
note};
rowConfigRow.ItemArray = columnValuesArray;
this.Rows.Add(rowConfigRow);
return rowConfigRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRow FindBychiave(string chiave) {
return ((ConfigRow)(this.Rows.Find(new object[] {
chiave})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public override global::System.Data.DataTable Clone() {
ConfigDataTable cln = ((ConfigDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new ConfigDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal void InitVars() {
this.columnchiave = base.Columns["chiave"];
this.columnvalore = base.Columns["valore"];
this.columnvaloreStd = base.Columns["valoreStd"];
this.columnnote = base.Columns["note"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitClass() {
this.columnchiave = new global::System.Data.DataColumn("chiave", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnchiave);
this.columnvalore = new global::System.Data.DataColumn("valore", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalore);
this.columnvaloreStd = new global::System.Data.DataColumn("valoreStd", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvaloreStd);
this.columnnote = new global::System.Data.DataColumn("note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnnote);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnchiave}, true));
this.columnchiave.AllowDBNull = false;
this.columnchiave.Unique = true;
this.columnchiave.MaxLength = 50;
this.columnvalore.MaxLength = 2147483647;
this.columnvaloreStd.MaxLength = 2147483647;
this.columnnote.MaxLength = 2147483647;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRow NewConfigRow() {
return ((ConfigRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new ConfigRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(ConfigRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.ConfigRowChanged != null)) {
this.ConfigRowChanged(this, new ConfigRowChangeEvent(((ConfigRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.ConfigRowChanging != null)) {
this.ConfigRowChanging(this, new ConfigRowChangeEvent(((ConfigRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.ConfigRowDeleted != null)) {
this.ConfigRowDeleted(this, new ConfigRowChangeEvent(((ConfigRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.ConfigRowDeleting != null)) {
this.ConfigRowDeleting(this, new ConfigRowChangeEvent(((ConfigRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void RemoveConfigRow(ConfigRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Utility ds = new DS_Utility();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "ConfigDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -6589,6 +6928,116 @@ namespace MapoDb {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class ConfigRow : global::System.Data.DataRow {
private ConfigDataTable tableConfig;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal ConfigRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableConfig = ((ConfigDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string chiave {
get {
return ((string)(this[this.tableConfig.chiaveColumn]));
}
set {
this[this.tableConfig.chiaveColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string valore {
get {
try {
return ((string)(this[this.tableConfig.valoreColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'valore\' in table \'Config\' is DBNull.", e);
}
}
set {
this[this.tableConfig.valoreColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string valoreStd {
get {
try {
return ((string)(this[this.tableConfig.valoreStdColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'valoreStd\' in table \'Config\' is DBNull.", e);
}
}
set {
this[this.tableConfig.valoreStdColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string note {
get {
try {
return ((string)(this[this.tableConfig.noteColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'note\' in table \'Config\' is DBNull.", e);
}
}
set {
this[this.tableConfig.noteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsvaloreNull() {
return this.IsNull(this.tableConfig.valoreColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetvaloreNull() {
this[this.tableConfig.valoreColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsvaloreStdNull() {
return this.IsNull(this.tableConfig.valoreStdColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetvaloreStdNull() {
this[this.tableConfig.valoreStdColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsnoteNull() {
return this.IsNull(this.tableConfig.noteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetnoteNull() {
this[this.tableConfig.noteColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -7064,6 +7513,40 @@ namespace MapoDb {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public class ConfigRowChangeEvent : global::System.EventArgs {
private ConfigRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRowChangeEvent(ConfigRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MapoDb.DS_UtilityTableAdapters {
@@ -10381,6 +10864,224 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class ConfigTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ConfigTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "Config";
tableMapping.ColumnMappings.Add("chiave", "chiave");
tableMapping.ColumnMappings.Add("valore", "valore");
tableMapping.ColumnMappings.Add("valoreStd", "valoreStd");
tableMapping.ColumnMappings.Add("note", "note");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM COnfig";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_config_insertQuery";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chiave", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valore", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Utility.ConfigDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Utility.ConfigDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.ConfigDataTable dataTable = new DS_Utility.ConfigDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertQuery(string chiave, string valore, string note) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((chiave == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(chiave));
}
if ((valore == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(valore));
}
if ((note == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(note));
}
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();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+149 -78
View File
@@ -546,44 +546,77 @@ FROM dbo.v_selTipoArticoli</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ConfigTableAdapter" GeneratorDataComponentClassName="ConfigTableAdapter" Name="Config" UserDataComponentName="ConfigTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.Config" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM COnfig</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="chiave" DataSetColumn="chiave" />
<Mapping SourceColumn="valore" DataSetColumn="valore" />
<Mapping SourceColumn="valoreStd" DataSetColumn="valoreStd" />
<Mapping SourceColumn="note" DataSetColumn="note" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_config_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_config_insertQuery</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="nvarchar" DbType="String" Direction="Input" ParameterName="@chiave" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@valore" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@note" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_UserDSName="DS_Utility" msprop:Generator_DataSetName="DS_Utility">
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_Utility" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="StatoMacchine" msprop:Generator_RowClassName="StatoMacchineRow" msprop:Generator_RowEvHandlerName="StatoMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoMacchineRowDeleted" msprop:Generator_RowDeletingName="StatoMacchineRowDeleting" msprop:Generator_RowEvArgName="StatoMacchineRowChangeEvent" msprop:Generator_TablePropName="StatoMacchine" msprop:Generator_RowChangedName="StatoMacchineRowChanged" msprop:Generator_UserTableName="StatoMacchine" msprop:Generator_RowChangingName="StatoMacchineRowChanging" msprop:Generator_TableClassName="StatoMacchineDataTable" msprop:Generator_TableVarName="tableStatoMacchine">
<xs:element name="StatoMacchine" msprop:Generator_RowEvHandlerName="StatoMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoMacchineRowDeleted" msprop:Generator_RowDeletingName="StatoMacchineRowDeleting" msprop:Generator_RowEvArgName="StatoMacchineRowChangeEvent" msprop:Generator_TablePropName="StatoMacchine" msprop:Generator_RowChangedName="StatoMacchineRowChanged" msprop:Generator_UserTableName="StatoMacchine" msprop:Generator_RowChangingName="StatoMacchineRowChanging" msprop:Generator_RowClassName="StatoMacchineRow" msprop:Generator_TableClassName="StatoMacchineDataTable" msprop:Generator_TableVarName="tableStatoMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_UserColumnName="IdxMacchina">
<xs:element name="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxStato" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" msprop:Generator_ColumnVarNameInTable="columnIdxStato" msprop:Generator_UserColumnName="IdxStato" type="xs:int" />
<xs:element name="InizioStato" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnVarNameInTable="columnInizioStato" msprop:Generator_UserColumnName="InizioStato" type="xs:dateTime" minOccurs="0" />
<xs:element name="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_UserColumnName="Value" minOccurs="0">
<xs:element name="IdxStato" msprop:Generator_UserColumnName="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnVarNameInTable="columnIdxStato" type="xs:int" />
<xs:element name="InizioStato" msprop:Generator_UserColumnName="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnVarNameInTable="columnInizioStato" type="xs:dateTime" minOccurs="0" />
<xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TempoCicloBase" msprop:Generator_ColumnPropNameInRow="TempoCicloBase" msprop:Generator_ColumnPropNameInTable="TempoCicloBaseColumn" msprop:Generator_ColumnVarNameInTable="columnTempoCicloBase" msprop:Generator_UserColumnName="TempoCicloBase" type="xs:double" minOccurs="0" />
<xs:element name="PzPalletProd" msprop:Generator_ColumnPropNameInRow="PzPalletProd" msprop:Generator_ColumnPropNameInTable="PzPalletProdColumn" msprop:Generator_ColumnVarNameInTable="columnPzPalletProd" msprop:Generator_UserColumnName="PzPalletProd" type="xs:int" minOccurs="0" />
<xs:element name="MatrOpr" msprop:Generator_ColumnPropNameInRow="MatrOpr" msprop:Generator_ColumnPropNameInTable="MatrOprColumn" msprop:Generator_ColumnVarNameInTable="columnMatrOpr" msprop:Generator_UserColumnName="MatrOpr" type="xs:int" minOccurs="0" />
<xs:element name="pallet" msprop:Generator_ColumnPropNameInRow="pallet" msprop:Generator_ColumnPropNameInTable="palletColumn" msprop:Generator_ColumnVarNameInTable="columnpallet" msprop:Generator_UserColumnName="pallet" minOccurs="0">
<xs:element name="TempoCicloBase" msprop:Generator_UserColumnName="TempoCicloBase" msprop:Generator_ColumnPropNameInTable="TempoCicloBaseColumn" msprop:Generator_ColumnPropNameInRow="TempoCicloBase" msprop:Generator_ColumnVarNameInTable="columnTempoCicloBase" type="xs:double" minOccurs="0" />
<xs:element name="PzPalletProd" msprop:Generator_UserColumnName="PzPalletProd" msprop:Generator_ColumnPropNameInTable="PzPalletProdColumn" msprop:Generator_ColumnPropNameInRow="PzPalletProd" msprop:Generator_ColumnVarNameInTable="columnPzPalletProd" type="xs:int" minOccurs="0" />
<xs:element name="MatrOpr" msprop:Generator_UserColumnName="MatrOpr" msprop:Generator_ColumnPropNameInTable="MatrOprColumn" msprop:Generator_ColumnPropNameInRow="MatrOpr" msprop:Generator_ColumnVarNameInTable="columnMatrOpr" type="xs:int" minOccurs="0" />
<xs:element name="pallet" msprop:Generator_UserColumnName="pallet" msprop:Generator_ColumnPropNameInTable="palletColumn" msprop:Generator_ColumnPropNameInRow="pallet" msprop:Generator_ColumnVarNameInTable="columnpallet" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_UserColumnName="CodArticolo" minOccurs="0">
<xs:element name="CodArticolo" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -593,17 +626,17 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selArticoli" msprop:Generator_RowClassName="v_selArticoliRow" msprop:Generator_RowEvHandlerName="v_selArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selArticoliRowDeleted" msprop:Generator_RowDeletingName="v_selArticoliRowDeleting" msprop:Generator_RowEvArgName="v_selArticoliRowChangeEvent" msprop:Generator_TablePropName="v_selArticoli" msprop:Generator_RowChangedName="v_selArticoliRowChanged" msprop:Generator_UserTableName="v_selArticoli" msprop:Generator_RowChangingName="v_selArticoliRowChanging" msprop:Generator_TableClassName="v_selArticoliDataTable" msprop:Generator_TableVarName="tablev_selArticoli">
<xs:element name="v_selArticoli" msprop:Generator_RowEvHandlerName="v_selArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selArticoliRowDeleted" msprop:Generator_RowDeletingName="v_selArticoliRowDeleting" msprop:Generator_RowEvArgName="v_selArticoliRowChangeEvent" msprop:Generator_TablePropName="v_selArticoli" msprop:Generator_RowChangedName="v_selArticoliRowChanged" msprop:Generator_UserTableName="v_selArticoli" msprop:Generator_RowChangingName="v_selArticoliRowChanging" msprop:Generator_RowClassName="v_selArticoliRow" msprop:Generator_TableClassName="v_selArticoliDataTable" msprop:Generator_TableVarName="tablev_selArticoli">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
@@ -613,11 +646,11 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperatori" msprop:Generator_RowClassName="v_selOperatoriRow" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_TableVarName="tablev_selOperatori">
<xs:element name="v_selOperatori" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_RowClassName="v_selOperatoriRow" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_TableVarName="tablev_selOperatori">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
@@ -627,26 +660,26 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selODL" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_RowClassName="v_selODLRow" msprop:Generator_TableVarName="tablev_selODL" msprop:Generator_UserTableName="v_selODL">
<xs:element name="v_selODL" msprop:Generator_RowClassName="v_selODLRow" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_UserTableName="v_selODL" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_TableVarName="tablev_selODL">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio" type="xs:dateTime" minOccurs="0" />
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selEventiBCode" msprop:Generator_RowClassName="v_selEventiBCodeRow" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_TableVarName="tablev_selEventiBCode">
<xs:element name="v_selEventiBCode" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_RowClassName="v_selEventiBCodeRow" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_TableVarName="tablev_selEventiBCode">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000" />
@@ -656,17 +689,17 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selMacchine" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_TableVarName="tablev_selMacchine">
<xs:element name="v_selMacchine" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -676,102 +709,102 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_statusCorrente" msprop:Generator_RowClassName="stp_statusCorrenteRow" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_TableVarName="tablestp_statusCorrente">
<xs:element name="stp_statusCorrente" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_RowClassName="stp_statusCorrenteRow" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_TableVarName="tablestp_statusCorrente">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_UserColumnName="IdxMacchina">
<xs:element name="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMacchina" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" msprop:Generator_UserColumnName="CodMacchina" minOccurs="0">
<xs:element name="CodMacchina" msprop:Generator_UserColumnName="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxFamigliaIngresso" msprop:Generator_ColumnPropNameInRow="idxFamigliaIngresso" msprop:Generator_ColumnPropNameInTable="idxFamigliaIngressoColumn" msprop:Generator_ColumnVarNameInTable="columnidxFamigliaIngresso" msprop:Generator_UserColumnName="idxFamigliaIngresso" type="xs:int" />
<xs:element name="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_UserColumnName="Nome" minOccurs="0">
<xs:element name="idxFamigliaIngresso" msprop:Generator_UserColumnName="idxFamigliaIngresso" msprop:Generator_ColumnPropNameInTable="idxFamigliaIngressoColumn" msprop:Generator_ColumnPropNameInRow="idxFamigliaIngresso" msprop:Generator_ColumnVarNameInTable="columnidxFamigliaIngresso" type="xs:int" />
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_UserColumnName="Descrizione" minOccurs="0">
<xs:element name="Descrizione" msprop:Generator_UserColumnName="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="url" msprop:Generator_ColumnPropNameInRow="url" msprop:Generator_ColumnPropNameInTable="urlColumn" msprop:Generator_ColumnVarNameInTable="columnurl" msprop:Generator_UserColumnName="url" minOccurs="0">
<xs:element name="url" msprop:Generator_UserColumnName="url" msprop:Generator_ColumnPropNameInTable="urlColumn" msprop:Generator_ColumnPropNameInRow="url" msprop:Generator_ColumnVarNameInTable="columnurl" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="locazione" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="locazione" msprop:Generator_ColumnPropNameInTable="locazioneColumn" msprop:Generator_ColumnVarNameInTable="columnlocazione" msprop:Generator_UserColumnName="locazione" minOccurs="0">
<xs:element name="locazione" msdata:ReadOnly="true" msprop:Generator_UserColumnName="locazione" msprop:Generator_ColumnPropNameInTable="locazioneColumn" msprop:Generator_ColumnPropNameInRow="locazione" msprop:Generator_ColumnVarNameInTable="columnlocazione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataOraServer" msprop:Generator_ColumnPropNameInRow="DataOraServer" msprop:Generator_ColumnPropNameInTable="DataOraServerColumn" msprop:Generator_ColumnVarNameInTable="columnDataOraServer" msprop:Generator_UserColumnName="DataOraServer" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataOraMacchina" msprop:Generator_ColumnPropNameInRow="DataOraMacchina" msprop:Generator_ColumnPropNameInTable="DataOraMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnDataOraMacchina" msprop:Generator_UserColumnName="DataOraMacchina" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataOraStart" msprop:Generator_ColumnPropNameInRow="DataOraStart" msprop:Generator_ColumnPropNameInTable="DataOraStartColumn" msprop:Generator_ColumnVarNameInTable="columnDataOraStart" msprop:Generator_UserColumnName="DataOraStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="IPv4" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="IPv4" msprop:Generator_ColumnPropNameInTable="IPv4Column" msprop:Generator_ColumnVarNameInTable="columnIPv4" msprop:Generator_UserColumnName="IPv4" minOccurs="0">
<xs:element name="DataOraServer" msprop:Generator_UserColumnName="DataOraServer" msprop:Generator_ColumnPropNameInTable="DataOraServerColumn" msprop:Generator_ColumnPropNameInRow="DataOraServer" msprop:Generator_ColumnVarNameInTable="columnDataOraServer" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataOraMacchina" msprop:Generator_UserColumnName="DataOraMacchina" msprop:Generator_ColumnPropNameInTable="DataOraMacchinaColumn" msprop:Generator_ColumnPropNameInRow="DataOraMacchina" msprop:Generator_ColumnVarNameInTable="columnDataOraMacchina" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataOraStart" msprop:Generator_UserColumnName="DataOraStart" msprop:Generator_ColumnPropNameInTable="DataOraStartColumn" msprop:Generator_ColumnPropNameInRow="DataOraStart" msprop:Generator_ColumnVarNameInTable="columnDataOraStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="IPv4" msdata:ReadOnly="true" msprop:Generator_UserColumnName="IPv4" msprop:Generator_ColumnPropNameInTable="IPv4Column" msprop:Generator_ColumnPropNameInRow="IPv4" msprop:Generator_ColumnVarNameInTable="columnIPv4" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lastReboot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="lastReboot" msprop:Generator_ColumnPropNameInTable="lastRebootColumn" msprop:Generator_ColumnVarNameInTable="columnlastReboot" msprop:Generator_UserColumnName="lastReboot" type="xs:dateTime" minOccurs="0" />
<xs:element name="uptime" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="uptime" msprop:Generator_ColumnPropNameInTable="uptimeColumn" msprop:Generator_ColumnVarNameInTable="columnuptime" msprop:Generator_UserColumnName="uptime" minOccurs="0">
<xs:element name="lastReboot" msdata:ReadOnly="true" msprop:Generator_UserColumnName="lastReboot" msprop:Generator_ColumnPropNameInTable="lastRebootColumn" msprop:Generator_ColumnPropNameInRow="lastReboot" msprop:Generator_ColumnVarNameInTable="columnlastReboot" type="xs:dateTime" minOccurs="0" />
<xs:element name="uptime" msdata:ReadOnly="true" msprop:Generator_UserColumnName="uptime" msprop:Generator_ColumnPropNameInTable="uptimeColumn" msprop:Generator_ColumnPropNameInRow="uptime" msprop:Generator_ColumnVarNameInTable="columnuptime" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lastEvent" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="lastEvent" msprop:Generator_ColumnPropNameInTable="lastEventColumn" msprop:Generator_ColumnVarNameInTable="columnlastEvent" msprop:Generator_UserColumnName="lastEvent" type="xs:dateTime" minOccurs="0" />
<xs:element name="idxStato" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_UserColumnName="idxStato" type="xs:int" minOccurs="0" />
<xs:element name="lastEvent" msdata:ReadOnly="true" msprop:Generator_UserColumnName="lastEvent" msprop:Generator_ColumnPropNameInTable="lastEventColumn" msprop:Generator_ColumnPropNameInRow="lastEvent" msprop:Generator_ColumnVarNameInTable="columnlastEvent" type="xs:dateTime" minOccurs="0" />
<xs:element name="idxStato" msdata:ReadOnly="true" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Commenti" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowEvArgName="CommentiRowChangeEvent" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_RowClassName="CommentiRow" msprop:Generator_TableVarName="tableCommenti" msprop:Generator_UserTableName="Commenti">
<xs:element name="Commenti" msprop:Generator_RowClassName="CommentiRow" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowEvArgName="CommentiRowChangeEvent" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_UserTableName="Commenti" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_TableVarName="tableCommenti">
<xs:complexType>
<xs:sequence>
<xs:element name="idxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_ColumnVarNameInTable="columnidxODL" msprop:Generator_UserColumnName="idxODL" type="xs:int" />
<xs:element name="CodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_UserColumnName="CodArticolo">
<xs:element name="idxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_ColumnVarNameInTable="columnidxODL" type="xs:int" />
<xs:element name="CodArticolo" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_UserColumnName="IdxMacchina">
<xs:element name="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InizioStato" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnVarNameInTable="columnInizioStato" msprop:Generator_UserColumnName="InizioStato" type="xs:dateTime" />
<xs:element name="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_UserColumnName="Value" minOccurs="0">
<xs:element name="InizioStato" msprop:Generator_UserColumnName="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnVarNameInTable="columnInizioStato" type="xs:dateTime" />
<xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Operatore" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="Operatore" msprop:Generator_ColumnPropNameInTable="OperatoreColumn" msprop:Generator_ColumnVarNameInTable="columnOperatore" msprop:Generator_UserColumnName="Operatore" minOccurs="0">
<xs:element name="Operatore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Operatore" msprop:Generator_ColumnPropNameInTable="OperatoreColumn" msprop:Generator_ColumnPropNameInRow="Operatore" msprop:Generator_ColumnVarNameInTable="columnOperatore" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="124" />
@@ -781,48 +814,48 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FermiNonQual" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_RowClassName="FermiNonQualRow" msprop:Generator_TableVarName="tableFermiNonQual" msprop:Generator_UserTableName="FermiNonQual">
<xs:element name="FermiNonQual" msprop:Generator_RowClassName="FermiNonQualRow" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_UserTableName="FermiNonQual" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_TableVarName="tableFermiNonQual">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_UserColumnName="IdxMacchina">
<xs:element name="IdxMacchina" msprop:Generator_UserColumnName="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InizioStato" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnVarNameInTable="columnInizioStato" msprop:Generator_UserColumnName="InizioStato" type="xs:dateTime" />
<xs:element name="Macchina" msprop:Generator_ColumnPropNameInRow="Macchina" msprop:Generator_ColumnPropNameInTable="MacchinaColumn" msprop:Generator_ColumnVarNameInTable="columnMacchina" msprop:Generator_UserColumnName="Macchina" minOccurs="0">
<xs:element name="InizioStato" msprop:Generator_UserColumnName="InizioStato" msprop:Generator_ColumnPropNameInTable="InizioStatoColumn" msprop:Generator_ColumnPropNameInRow="InizioStato" msprop:Generator_ColumnVarNameInTable="columnInizioStato" type="xs:dateTime" />
<xs:element name="Macchina" msprop:Generator_UserColumnName="Macchina" msprop:Generator_ColumnPropNameInTable="MacchinaColumn" msprop:Generator_ColumnPropNameInRow="Macchina" msprop:Generator_ColumnVarNameInTable="columnMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxStato" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" msprop:Generator_ColumnVarNameInTable="columnIdxStato" msprop:Generator_UserColumnName="IdxStato" type="xs:int" />
<xs:element name="Stato" msprop:Generator_ColumnPropNameInRow="Stato" msprop:Generator_ColumnPropNameInTable="StatoColumn" msprop:Generator_ColumnVarNameInTable="columnStato" msprop:Generator_UserColumnName="Stato" minOccurs="0">
<xs:element name="IdxStato" msprop:Generator_UserColumnName="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnVarNameInTable="columnIdxStato" type="xs:int" />
<xs:element name="Stato" msprop:Generator_UserColumnName="Stato" msprop:Generator_ColumnPropNameInTable="StatoColumn" msprop:Generator_ColumnPropNameInRow="Stato" msprop:Generator_ColumnVarNameInTable="columnStato" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Semaforo" msprop:Generator_ColumnPropNameInRow="Semaforo" msprop:Generator_ColumnPropNameInTable="SemaforoColumn" msprop:Generator_ColumnVarNameInTable="columnSemaforo" msprop:Generator_UserColumnName="Semaforo" minOccurs="0">
<xs:element name="Semaforo" msprop:Generator_UserColumnName="Semaforo" msprop:Generator_ColumnPropNameInTable="SemaforoColumn" msprop:Generator_ColumnPropNameInRow="Semaforo" msprop:Generator_ColumnVarNameInTable="columnSemaforo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DurataMinuti" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="DurataMinuti" msprop:Generator_ColumnPropNameInTable="DurataMinutiColumn" msprop:Generator_ColumnVarNameInTable="columnDurataMinuti" msprop:Generator_UserColumnName="DurataMinuti" type="xs:double" minOccurs="0" />
<xs:element name="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_UserColumnName="Value" minOccurs="0">
<xs:element name="DurataMinuti" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DurataMinuti" msprop:Generator_ColumnPropNameInTable="DurataMinutiColumn" msprop:Generator_ColumnPropNameInRow="DurataMinuti" msprop:Generator_ColumnVarNameInTable="columnDurataMinuti" type="xs:double" minOccurs="0" />
<xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_UserColumnName="CodArticolo" minOccurs="0">
<xs:element name="CodArticolo" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -832,39 +865,39 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTally" msprop:Generator_RowClassName="v_selTallyRow" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_UserTableName="v_selTally" msprop:Generator_TableVarName="tablev_selTally">
<xs:element name="v_selTally" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_UserTableName="v_selTally" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_RowClassName="v_selTallyRow" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_TableVarName="tablev_selTally">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" type="xs:long" minOccurs="0" />
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" type="xs:long" minOccurs="0" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" type="xs:long" minOccurs="0" />
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" type="xs:long" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCauScarto" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_RowClassName="v_selCauScartoRow" msprop:Generator_TableVarName="tablev_selCauScarto" msprop:Generator_UserTableName="v_selCauScarto">
<xs:element name="v_selCauScarto" msprop:Generator_RowClassName="v_selCauScartoRow" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_UserTableName="v_selCauScarto" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_TableVarName="tablev_selCauScarto">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cssClass" msprop:Generator_ColumnPropNameInRow="cssClass" msprop:Generator_ColumnPropNameInTable="cssClassColumn" msprop:Generator_ColumnVarNameInTable="columncssClass" msprop:Generator_UserColumnName="cssClass">
<xs:element name="cssClass" msprop:Generator_UserColumnName="cssClass" msprop:Generator_ColumnPropNameInTable="cssClassColumn" msprop:Generator_ColumnPropNameInRow="cssClass" msprop:Generator_ColumnVarNameInTable="columncssClass">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="icona" msprop:Generator_ColumnPropNameInRow="icona" msprop:Generator_ColumnPropNameInTable="iconaColumn" msprop:Generator_ColumnVarNameInTable="columnicona" msprop:Generator_UserColumnName="icona">
<xs:element name="icona" msprop:Generator_UserColumnName="icona" msprop:Generator_ColumnPropNameInTable="iconaColumn" msprop:Generator_ColumnPropNameInRow="icona" msprop:Generator_ColumnVarNameInTable="columnicona">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -874,24 +907,24 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selGruppi" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_RowClassName="v_selGruppiRow" msprop:Generator_TableVarName="tablev_selGruppi" msprop:Generator_UserTableName="v_selGruppi">
<xs:element name="v_selGruppi" msprop:Generator_RowClassName="v_selGruppiRow" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_UserTableName="v_selGruppi" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_TableVarName="tablev_selGruppi">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_UserColumnName="conditio">
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -901,17 +934,17 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selListVal" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_TableVarName="tablev_selListVal">
<xs:element name="v_selListVal" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="112" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -921,17 +954,17 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTipoArticoli" msprop:Generator_RowEvHandlerName="v_selTipoArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTipoArticoliRowDeleted" msprop:Generator_RowDeletingName="v_selTipoArticoliRowDeleting" msprop:Generator_RowEvArgName="v_selTipoArticoliRowChangeEvent" msprop:Generator_TablePropName="v_selTipoArticoli" msprop:Generator_RowChangedName="v_selTipoArticoliRowChanged" msprop:Generator_RowChangingName="v_selTipoArticoliRowChanging" msprop:Generator_TableClassName="v_selTipoArticoliDataTable" msprop:Generator_RowClassName="v_selTipoArticoliRow" msprop:Generator_TableVarName="tablev_selTipoArticoli" msprop:Generator_UserTableName="v_selTipoArticoli">
<xs:element name="v_selTipoArticoli" msprop:Generator_RowClassName="v_selTipoArticoliRow" msprop:Generator_RowEvHandlerName="v_selTipoArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTipoArticoliRowDeleted" msprop:Generator_RowDeletingName="v_selTipoArticoliRowDeleting" msprop:Generator_RowEvArgName="v_selTipoArticoliRowChangeEvent" msprop:Generator_TablePropName="v_selTipoArticoli" msprop:Generator_RowChangedName="v_selTipoArticoliRowChanged" msprop:Generator_UserTableName="v_selTipoArticoli" msprop:Generator_RowChangingName="v_selTipoArticoliRowChanging" msprop:Generator_TableClassName="v_selTipoArticoliDataTable" msprop:Generator_TableVarName="tablev_selTipoArticoli">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_UserColumnName="label">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_UserColumnName="value">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -941,6 +974,40 @@ FROM dbo.v_selTipoArticoli</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Config" msprop:Generator_RowEvHandlerName="ConfigRowChangeEventHandler" msprop:Generator_RowDeletedName="ConfigRowDeleted" msprop:Generator_RowDeletingName="ConfigRowDeleting" msprop:Generator_RowEvArgName="ConfigRowChangeEvent" msprop:Generator_TablePropName="Config" msprop:Generator_RowChangedName="ConfigRowChanged" msprop:Generator_RowChangingName="ConfigRowChanging" msprop:Generator_TableClassName="ConfigDataTable" msprop:Generator_RowClassName="ConfigRow" msprop:Generator_TableVarName="tableConfig" msprop:Generator_UserTableName="Config">
<xs:complexType>
<xs:sequence>
<xs:element name="chiave" msprop:Generator_ColumnPropNameInRow="chiave" msprop:Generator_ColumnPropNameInTable="chiaveColumn" msprop:Generator_ColumnVarNameInTable="columnchiave" msprop:Generator_UserColumnName="chiave">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="valore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnPropNameInTable="valoreColumn" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_UserColumnName="valore" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="valoreStd" msprop:Generator_ColumnPropNameInRow="valoreStd" msprop:Generator_ColumnPropNameInTable="valoreStdColumn" msprop:Generator_ColumnVarNameInTable="columnvaloreStd" msprop:Generator_UserColumnName="valoreStd" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="note" msprop:Generator_ColumnPropNameInRow="note" msprop:Generator_ColumnPropNameInTable="noteColumn" msprop:Generator_ColumnVarNameInTable="columnnote" msprop:Generator_UserColumnName="note" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -985,5 +1052,9 @@ FROM dbo.v_selTipoArticoli</CommandText>
<xs:selector xpath=".//mstns:v_selGruppi" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="Config_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Config" />
<xs:field xpath="mstns:chiave" />
</xs:unique>
</xs:element>
</xs:schema>
+15 -14
View File
@@ -6,20 +6,21 @@
</autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:StatoMacchine" ZOrder="14" X="472" Y="274" Height="267" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selArticoli" ZOrder="13" X="941" Y="372" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selOperatori" ZOrder="12" X="443" Y="654" Height="115" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selODL" ZOrder="2" X="885" Y="554" Height="188" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_selEventiBCode" ZOrder="11" X="117" Y="526" Height="158" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="8" X="637" Y="784" Height="181" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:stp_statusCorrente" ZOrder="10" X="265" Y="848" Height="305" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Commenti" ZOrder="6" X="591" Y="984" Height="314" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="188" />
<Shape ID="DesignTable:FermiNonQual" ZOrder="9" X="978" Y="925" Height="304" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="245" />
<Shape ID="DesignTable:v_selTally" ZOrder="7" X="734" Y="147" Height="181" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selCauScarto" ZOrder="5" X="155" Y="1312" Height="181" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:v_selGruppi" ZOrder="4" X="80" Y="194" Height="189" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_selListVal" ZOrder="3" X="696" Y="1381" Height="181" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selTipoArticoli" ZOrder="1" X="291" Y="80" Height="115" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:StatoMacchine" ZOrder="15" X="472" Y="274" Height="267" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selArticoli" ZOrder="14" X="941" Y="372" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selOperatori" ZOrder="13" X="443" Y="654" Height="115" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selODL" ZOrder="3" X="885" Y="554" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selEventiBCode" ZOrder="12" X="117" Y="526" Height="134" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="9" X="637" Y="784" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_statusCorrente" ZOrder="11" X="294" Y="864" Height="305" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Commenti" ZOrder="7" X="591" Y="984" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:FermiNonQual" ZOrder="10" X="978" Y="925" Height="248" Width="281" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selTally" ZOrder="8" X="734" Y="147" Height="153" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCauScarto" ZOrder="6" X="163" Y="1256" Height="153" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selGruppi" ZOrder="5" X="80" Y="194" Height="153" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selListVal" ZOrder="4" X="531" Y="1284" Height="153" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selTipoArticoli" ZOrder="2" X="291" Y="80" Height="115" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Config" ZOrder="1" X="26" Y="675" Height="172" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors />
</DiagramLayout>
+47
View File
@@ -40,6 +40,7 @@ namespace MapoDb
public DS_ProdTempiTableAdapters.CalendFesteFerieTableAdapter taCalFF;
public DS_UtilityTableAdapters.CommentiTableAdapter taComm;
public DS_DossParTableAdapters.ConfFluxTableAdapter taConfFlux;
public DS_UtilityTableAdapters.ConfigTableAdapter taConfig;
public DS_ProdTempiTableAdapters.DatiConfermatiTableAdapter taDatiConf;
public DS_ProdTempiTableAdapters.DatiMacchineTableAdapter taDatiMacchine;
public DS_ProdTempiTableAdapters.DatiProduzioneTableAdapter taDatiProd;
@@ -1643,6 +1644,50 @@ namespace MapoDb
return resultList;
}
/// <summary>
/// Effettua force Start PODL [CurrProdStatus = 1] se fosse già in essere ODL collegato
/// --&gt; lascia aperto [CurrProdStatus = 2] se esistesse un ODL da altro PODL x diverso
/// articolo/fase --&gt; chiude vecchio x poi far partire nuovo [CurrProdStatus = 3] se
/// fosse chiuso ODL collegato --&gt; duplica PODL e poi avvia nuovo ODL [CurrProdStatus =
/// 4] se fosse già in essere ODL non collegato --&gt; lascia aperto e collego
/// </summary>
/// <param name="idxMacchina">macchina</param>
/// <param name="CodArt">Codice articolo x PODL da creare</param>
/// <param name="NumPz">Qty assegnata</param>
/// <param name="CodGruppo">Codice Gruppo opzionale, default = ND-00</param>
/// <param name="TCiclo">TCiclo assegnato opzionale, default = 1</param>
/// <returns></returns>
public int ForceCreatePOdl(string idxMacchina, string CodArt, int NumPz, string CodGruppo = "ND-00", decimal TCiclo = 1)
{
int answ = 0;
DateTime adesso = DateTime.Now;
// creazione record articolo SE non ci fosse...
var listArt = taAnagArt.getByCod(CodArt);
if (listArt == null || listArt.Count == 0)
{
// recupero conf azienda...
string CodAzienda = "*";
var listConf = taConfig.GetData();
var recAzienda = listConf.Where(x => x.chiave == "Azienda").FirstOrDefault();
if (recAzienda != null)
{
CodAzienda = recAzienda.valore != "*" ? recAzienda.valore : recAzienda.valoreStd;
}
taAnagArt.insert(CodArt, CodArt, "", CodArt, "ART", CodAzienda);
}
// creazione richiesta
string keyRich = $"{idxMacchina}-{adesso:yyyyMMdd-HHmmss}";
taPODL.insertQuery(keyRich, keyRich, true, CodArt, CodGruppo, idxMacchina, NumPz, TCiclo, adesso, 1, 1, "");
// cerco PODL da chiave...
var listPOdl = taPODL.getByCodArt(CodArt, true);
var thisPodl = listPOdl.Where(x => x.KeyRichiesta == keyRich).FirstOrDefault();
if (thisPodl != null)
{
answ = thisPodl.idxPromessa;
}
return answ;
}
/// <summary>
/// Effettua force Start PODL [CurrProdStatus = 1] se fosse già in essere ODL collegato
/// --&gt; lascia aperto [CurrProdStatus = 2] se esistesse un ODL da altro PODL x diverso
@@ -4147,6 +4192,7 @@ namespace MapoDb
taCalFF = new DS_ProdTempiTableAdapters.CalendFesteFerieTableAdapter();
taComm = new DS_UtilityTableAdapters.CommentiTableAdapter();
taConfFlux = new DS_DossParTableAdapters.ConfFluxTableAdapter();
taConfig = new DS_UtilityTableAdapters.ConfigTableAdapter();
taDatiConf = new DS_ProdTempiTableAdapters.DatiConfermatiTableAdapter();
taDatiMacchine = new DS_ProdTempiTableAdapters.DatiMacchineTableAdapter();
taDatiProd = new DS_ProdTempiTableAdapters.DatiProduzioneTableAdapter();
@@ -4218,6 +4264,7 @@ namespace MapoDb
taAs400.Connection.ConnectionString = connectionStringIS;
taArcaGiac.Connection.ConnectionString = connectionStringArca;
taCalFF.Connection.ConnectionString = connectionString;
taConfig.Connection.ConnectionString = connectionString;
taComm.Connection.ConnectionString = connectionString;
taConfFlux.Connection.ConnectionString = connectionString;
taDatiConf.Connection.ConnectionString = connectionString;