Modifica x altri test prima della gestione redis di tutto IOB
This commit is contained in:
@@ -249,11 +249,11 @@ namespace MP_IO.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
int idxFamMacch = Convert.ToInt32(id);
|
||||
int idxFamIn = Convert.ToInt32(id);
|
||||
answ = "";
|
||||
try
|
||||
{
|
||||
KeyValuePair<string, string>[] valori = DataLayer.mTabSMI(idxFamMacch);
|
||||
KeyValuePair<string, string>[] valori = DataLayer.mTabSMI(idxFamIn);
|
||||
splitTime = stopWatch.ElapsedMilliseconds;
|
||||
foreach (var item in valori)
|
||||
{
|
||||
@@ -271,5 +271,85 @@ namespace MP_IO.Controllers
|
||||
// ritorno
|
||||
return answ;
|
||||
}
|
||||
// GET BENCH/fSMI/18?idxMS=1&valore=1
|
||||
public string fSMI(int? id, int? idxMS, int? valore)
|
||||
{
|
||||
string answ = "ND";
|
||||
Stopwatch stopWatch = new Stopwatch();
|
||||
stopWatch.Start();
|
||||
// se id nullo --> KO!
|
||||
if (id == null)
|
||||
{
|
||||
answ = "KO";
|
||||
}
|
||||
else
|
||||
{
|
||||
// recupero dati x sapere quale famiglia SMI è necessaria e quale stato / segnale si sia ricevuto
|
||||
int idxFamIn = Convert.ToInt32(id);
|
||||
int idxMicroStato = Convert.ToInt32(idxMS);
|
||||
int valIOB = Convert.ToInt32(valore);
|
||||
// recupero microstato macchina da chiave relativa
|
||||
answ = "";
|
||||
try
|
||||
{
|
||||
// verifico se ci sia in memoria tab della fam macchina relativa (sennò carico)
|
||||
string fiHASH = DataLayer.hSMI(idxFamIn);
|
||||
string outVal = "";
|
||||
bool trovato = memLayer.ML.redHashPresentSz(fiHASH);
|
||||
if (!trovato)
|
||||
{
|
||||
// ricarico tabella!
|
||||
KeyValuePair<string, string>[] valori = DataLayer.mTabSMI(idxFamIn);
|
||||
answ = string.Format("Ricaricata SMI per famiglia {0}<br/>", fiHASH);
|
||||
}
|
||||
answ += string.Format("Trovata {0} Hash per {1}<br />", memLayer.ML.redCountKey(fiHASH), fiHASH);
|
||||
// recupero singolo valore (stringa) x chiave
|
||||
outVal = DataLayer.valoreSMI(idxFamIn, idxMicroStato, valIOB);
|
||||
// mostro output
|
||||
answ += string.Format("idxFamIN: {0} | idxMS: {1} | valIOB: {2} | out: {3} <br/>", idxFamIn, idxMicroStato, valIOB, outVal);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
stopWatch.Stop();
|
||||
// Get the elapsed time as a TimeSpan value.
|
||||
TimeSpan ts = stopWatch.Elapsed;
|
||||
// accodo tempo!
|
||||
answ += string.Format("<hr/>Total Time Elapsed: {0}ms", ts.TotalMilliseconds);
|
||||
// ritorno
|
||||
return answ;
|
||||
}
|
||||
// GET BENCH/INSEN/2004
|
||||
public string INSEN(string id)
|
||||
{
|
||||
string answ = "ND";
|
||||
Stopwatch stopWatch = new Stopwatch();
|
||||
stopWatch.Start();
|
||||
// se id nullo --> KO!
|
||||
if (id == null)
|
||||
{
|
||||
answ = "KO";
|
||||
}
|
||||
else
|
||||
{
|
||||
// recupero dati x sapere quale famiglia SMI è necessaria e quale stato / segnale si sia ricevuto
|
||||
int idxMacchina = Convert.ToInt32(id);
|
||||
// recupero microstato macchina da chiave relativa
|
||||
answ = "";
|
||||
try
|
||||
{
|
||||
answ += string.Format("Macchina {0}, insEnabled {1}<br />", idxMacchina, DataLayer.insEnab(idxMacchina));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
stopWatch.Stop();
|
||||
// Get the elapsed time as a TimeSpan value.
|
||||
TimeSpan ts = stopWatch.Elapsed;
|
||||
// accodo tempo!
|
||||
answ += string.Format("<hr/>Total Time Elapsed: {0}ms", ts.TotalMilliseconds);
|
||||
// ritorno
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
-21
@@ -3,7 +3,7 @@
|
||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
<!--
|
||||
In the example below, the "SetAttributes" transform will change the value of
|
||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
||||
finds an attribute "name" that has a value of "MyDB".
|
||||
@@ -14,25 +14,26 @@
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<appSettings>
|
||||
<add key="resetConnKA" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="forceResetKeepAlive" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="kaMinUpdSec" value="120" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="EnableCdnJQ" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="MoonProConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Vocabolario;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DevicesConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="MoonProConnectionString" connectionString="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
<appSettings>
|
||||
<add key="resetConnKA" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="forceResetKeepAlive" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="kaMinUpdSec" value="120" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="EnableCdnJQ" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DbConfConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="MoonProConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Vocabolario;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DevicesConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="MoonProConnectionString" connectionString="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=localhost\sqlexpress;Initial Catalog=Donati_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
@@ -43,5 +44,5 @@
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="DbConfConnectionString" value="Data Source=localhost\sql2012;Initial Catalog=MoonPro_DemoWeb;Persist Security Info=True;User ID=sa;Password=keyhammer16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="MoonProConnectionString" value="Data Source=localhost\sql2012;Initial Catalog=MoonPro_DemoWeb;Persist Security Info=True;User ID=sa;Password=keyhammer16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=localhost\sql2012;Initial Catalog=MoonPro_DemoWeb;Persist Security Info=True;User ID=sa;Password=keyhammer16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sql2012;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
|
||||
@@ -15,27 +15,14 @@
|
||||
</connectionStrings>
|
||||
-->
|
||||
<appSettings>
|
||||
<add key="_logLevel"
|
||||
value="5"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="EnableCdnJQ"
|
||||
value="false"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="MoonProConnectionString"
|
||||
value="Data Source=localhost\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString"
|
||||
value="Data Source=localhost\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString"
|
||||
value="Data Source=localhost\sqlexpress;Initial Catalog=Anagrafica;Persist Security Info=True;User ID=sa;Password=viadante16"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString"
|
||||
value="Data Source=localhost\sqlexpress;Initial Catalog=Vocabolario;Persist Security Info=True;User ID=sa;Password=viadante16"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DevicesConnectionString"
|
||||
value="Data Source=localhost\sqlexpress;Initial Catalog=Anagrafica;Persist Security Info=True;User ID=sa;Password=viadante16"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="EnableCdnJQ" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DbConfConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="MoonProConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Anagrafica;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Vocabolario;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DevicesConnectionString" value="Data Source=localhost\sqlexpress;Initial Catalog=Anagrafica;Persist Security Info=True;User ID=sa;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="MoonProConnectionString"
|
||||
|
||||
+3
-2
@@ -7,8 +7,8 @@
|
||||
<appSettings>
|
||||
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
|
||||
<add key="serializeSession" value="true" />
|
||||
<add key="redDtMacTOut" value="300" /> <!--scade dopo 5 min-->
|
||||
<add key="redSMITOut" value="3600" /> <!--rilegge ogni 1h-->
|
||||
<add key="maxAgeAppConf_min" value="1"/>
|
||||
<add key="hashSecTimeout" value="10"/>
|
||||
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
||||
<add key="sqlLongCommandTimeout" value="600"/>
|
||||
<!--keep alive!-->
|
||||
@@ -26,6 +26,7 @@
|
||||
<add key="_logLevel" value="7"/>
|
||||
<add key="_logMaxMb" value="30"/>
|
||||
<!--stringhe connessione-->
|
||||
<add key="DbConfConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
||||
|
||||
Generated
+196
-141
@@ -70,7 +70,7 @@ namespace MapoDb {
|
||||
|
||||
private AnagArticoliDataTable tableAnagArticoli;
|
||||
|
||||
private MS_FullDataDataTable tableMS_FullData;
|
||||
private MSFDDataTable tableMSFD;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_Macchine2FamiglieMacchine_FamiglieMacchine;
|
||||
|
||||
@@ -209,8 +209,8 @@ namespace MapoDb {
|
||||
if ((ds.Tables["AnagArticoli"] != null)) {
|
||||
base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
|
||||
}
|
||||
if ((ds.Tables["MS_FullData"] != null)) {
|
||||
base.Tables.Add(new MS_FullDataDataTable(ds.Tables["MS_FullData"]));
|
||||
if ((ds.Tables["MSFD"] != null)) {
|
||||
base.Tables.Add(new MSFDDataTable(ds.Tables["MSFD"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
@@ -464,9 +464,9 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public MS_FullDataDataTable MS_FullData {
|
||||
public MSFDDataTable MSFD {
|
||||
get {
|
||||
return this.tableMS_FullData;
|
||||
return this.tableMSFD;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -606,8 +606,8 @@ namespace MapoDb {
|
||||
if ((ds.Tables["AnagArticoli"] != null)) {
|
||||
base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
|
||||
}
|
||||
if ((ds.Tables["MS_FullData"] != null)) {
|
||||
base.Tables.Add(new MS_FullDataDataTable(ds.Tables["MS_FullData"]));
|
||||
if ((ds.Tables["MSFD"] != null)) {
|
||||
base.Tables.Add(new MSFDDataTable(ds.Tables["MSFD"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
@@ -780,10 +780,10 @@ namespace MapoDb {
|
||||
this.tableAnagArticoli.InitVars();
|
||||
}
|
||||
}
|
||||
this.tableMS_FullData = ((MS_FullDataDataTable)(base.Tables["MS_FullData"]));
|
||||
this.tableMSFD = ((MSFDDataTable)(base.Tables["MSFD"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tableMS_FullData != null)) {
|
||||
this.tableMS_FullData.InitVars();
|
||||
if ((this.tableMSFD != null)) {
|
||||
this.tableMSFD.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationFK_Macchine2FamiglieMacchine_FamiglieMacchine = this.Relations["FK_Macchine2FamiglieMacchine_FamiglieMacchine"];
|
||||
@@ -862,8 +862,8 @@ namespace MapoDb {
|
||||
base.Tables.Add(this.tableSignalLog);
|
||||
this.tableAnagArticoli = new AnagArticoliDataTable();
|
||||
base.Tables.Add(this.tableAnagArticoli);
|
||||
this.tableMS_FullData = new MS_FullDataDataTable();
|
||||
base.Tables.Add(this.tableMS_FullData);
|
||||
this.tableMSFD = new MSFDDataTable();
|
||||
base.Tables.Add(this.tableMSFD);
|
||||
this.relationFK_Macchine2FamiglieMacchine_FamiglieMacchine = new global::System.Data.DataRelation("FK_Macchine2FamiglieMacchine_FamiglieMacchine", new global::System.Data.DataColumn[] {
|
||||
this.tableFamiglieMacchine.IdxFamigliaColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tableMacchine2FamiglieMacchine.IdxFamigliaColumn}, false);
|
||||
@@ -1086,7 +1086,7 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private bool ShouldSerializeMS_FullData() {
|
||||
private bool ShouldSerializeMSFD() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1215,7 +1215,7 @@ namespace MapoDb {
|
||||
public delegate void AnagArticoliRowChangeEventHandler(object sender, AnagArticoliRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public delegate void MS_FullDataRowChangeEventHandler(object sender, MS_FullDataRowChangeEvent e);
|
||||
public delegate void MSFDRowChangeEventHandler(object sender, MSFDRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
@@ -8613,7 +8613,7 @@ namespace MapoDb {
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class MS_FullDataDataTable : global::System.Data.TypedTableBase<MS_FullDataRow> {
|
||||
public partial class MSFDDataTable : global::System.Data.TypedTableBase<MSFDRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnidxmacchina;
|
||||
|
||||
@@ -8649,10 +8649,12 @@ namespace MapoDb {
|
||||
|
||||
private global::System.Data.DataColumn columnMatrOpr;
|
||||
|
||||
private global::System.Data.DataColumn columnpallet;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataDataTable() {
|
||||
this.TableName = "MS_FullData";
|
||||
public MSFDDataTable() {
|
||||
this.TableName = "MSFD";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
@@ -8660,7 +8662,7 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal MS_FullDataDataTable(global::System.Data.DataTable table) {
|
||||
internal MSFDDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
@@ -8677,7 +8679,7 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected MS_FullDataDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
protected MSFDDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
@@ -8818,6 +8820,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn palletColumn {
|
||||
get {
|
||||
return this.columnpallet;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -8829,33 +8839,33 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataRow this[int index] {
|
||||
public MSFDRow this[int index] {
|
||||
get {
|
||||
return ((MS_FullDataRow)(this.Rows[index]));
|
||||
return ((MSFDRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event MS_FullDataRowChangeEventHandler MS_FullDataRowChanging;
|
||||
public event MSFDRowChangeEventHandler MSFDRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event MS_FullDataRowChangeEventHandler MS_FullDataRowChanged;
|
||||
public event MSFDRowChangeEventHandler MSFDRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event MS_FullDataRowChangeEventHandler MS_FullDataRowDeleting;
|
||||
public event MSFDRowChangeEventHandler MSFDRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event MS_FullDataRowChangeEventHandler MS_FullDataRowDeleted;
|
||||
public event MSFDRowChangeEventHandler MSFDRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void AddMS_FullDataRow(MS_FullDataRow row) {
|
||||
public void AddMSFDRow(MSFDRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataRow AddMS_FullDataRow(
|
||||
public MSFDRow AddMSFDRow(
|
||||
string idxmacchina,
|
||||
string codmacchina,
|
||||
bool palletChange,
|
||||
@@ -8872,8 +8882,9 @@ namespace MapoDb {
|
||||
string CodArticolo,
|
||||
double TempoCicloBase,
|
||||
int PzPalletProd,
|
||||
int MatrOpr) {
|
||||
MS_FullDataRow rowMS_FullDataRow = ((MS_FullDataRow)(this.NewRow()));
|
||||
int MatrOpr,
|
||||
string pallet) {
|
||||
MSFDRow rowMSFDRow = ((MSFDRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
idxmacchina,
|
||||
codmacchina,
|
||||
@@ -8891,23 +8902,24 @@ namespace MapoDb {
|
||||
CodArticolo,
|
||||
TempoCicloBase,
|
||||
PzPalletProd,
|
||||
MatrOpr};
|
||||
rowMS_FullDataRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowMS_FullDataRow);
|
||||
return rowMS_FullDataRow;
|
||||
MatrOpr,
|
||||
pallet};
|
||||
rowMSFDRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowMSFDRow);
|
||||
return rowMSFDRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataRow FindByidxmacchina(string idxmacchina) {
|
||||
return ((MS_FullDataRow)(this.Rows.Find(new object[] {
|
||||
public MSFDRow FindByidxmacchina(string idxmacchina) {
|
||||
return ((MSFDRow)(this.Rows.Find(new object[] {
|
||||
idxmacchina})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
MS_FullDataDataTable cln = ((MS_FullDataDataTable)(base.Clone()));
|
||||
MSFDDataTable cln = ((MSFDDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
@@ -8915,7 +8927,7 @@ namespace MapoDb {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new MS_FullDataDataTable();
|
||||
return new MSFDDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8938,6 +8950,7 @@ namespace MapoDb {
|
||||
this.columnTempoCicloBase = base.Columns["TempoCicloBase"];
|
||||
this.columnPzPalletProd = base.Columns["PzPalletProd"];
|
||||
this.columnMatrOpr = base.Columns["MatrOpr"];
|
||||
this.columnpallet = base.Columns["pallet"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8977,6 +8990,8 @@ namespace MapoDb {
|
||||
base.Columns.Add(this.columnPzPalletProd);
|
||||
this.columnMatrOpr = new global::System.Data.DataColumn("MatrOpr", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnMatrOpr);
|
||||
this.columnpallet = new global::System.Data.DataColumn("pallet", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnpallet);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidxmacchina}, true));
|
||||
this.columnidxmacchina.AllowDBNull = false;
|
||||
@@ -8992,32 +9007,33 @@ namespace MapoDb {
|
||||
this.columnIdxStato.AllowDBNull = false;
|
||||
this.columnlastVal.MaxLength = 50;
|
||||
this.columnCodArticolo.MaxLength = 50;
|
||||
this.columnpallet.MaxLength = 20;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataRow NewMS_FullDataRow() {
|
||||
return ((MS_FullDataRow)(this.NewRow()));
|
||||
public MSFDRow NewMSFDRow() {
|
||||
return ((MSFDRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new MS_FullDataRow(builder);
|
||||
return new MSFDRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(MS_FullDataRow);
|
||||
return typeof(MSFDRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.MS_FullDataRowChanged != null)) {
|
||||
this.MS_FullDataRowChanged(this, new MS_FullDataRowChangeEvent(((MS_FullDataRow)(e.Row)), e.Action));
|
||||
if ((this.MSFDRowChanged != null)) {
|
||||
this.MSFDRowChanged(this, new MSFDRowChangeEvent(((MSFDRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9025,8 +9041,8 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.MS_FullDataRowChanging != null)) {
|
||||
this.MS_FullDataRowChanging(this, new MS_FullDataRowChangeEvent(((MS_FullDataRow)(e.Row)), e.Action));
|
||||
if ((this.MSFDRowChanging != null)) {
|
||||
this.MSFDRowChanging(this, new MSFDRowChangeEvent(((MSFDRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9034,8 +9050,8 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.MS_FullDataRowDeleted != null)) {
|
||||
this.MS_FullDataRowDeleted(this, new MS_FullDataRowChangeEvent(((MS_FullDataRow)(e.Row)), e.Action));
|
||||
if ((this.MSFDRowDeleted != null)) {
|
||||
this.MSFDRowDeleted(this, new MSFDRowChangeEvent(((MSFDRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9043,14 +9059,14 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.MS_FullDataRowDeleting != null)) {
|
||||
this.MS_FullDataRowDeleting(this, new MS_FullDataRowChangeEvent(((MS_FullDataRow)(e.Row)), e.Action));
|
||||
if ((this.MSFDRowDeleting != null)) {
|
||||
this.MSFDRowDeleting(this, new MSFDRowChangeEvent(((MSFDRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void RemoveMS_FullDataRow(MS_FullDataRow row) {
|
||||
public void RemoveMSFDRow(MSFDRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
@@ -9077,7 +9093,7 @@ namespace MapoDb {
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "MS_FullDataDataTable";
|
||||
attribute2.FixedValue = "MSFDDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
@@ -12299,25 +12315,25 @@ namespace MapoDb {
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class MS_FullDataRow : global::System.Data.DataRow {
|
||||
public partial class MSFDRow : global::System.Data.DataRow {
|
||||
|
||||
private MS_FullDataDataTable tableMS_FullData;
|
||||
private MSFDDataTable tableMSFD;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal MS_FullDataRow(global::System.Data.DataRowBuilder rb) :
|
||||
internal MSFDRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tableMS_FullData = ((MS_FullDataDataTable)(this.Table));
|
||||
this.tableMSFD = ((MSFDDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string idxmacchina {
|
||||
get {
|
||||
return ((string)(this[this.tableMS_FullData.idxmacchinaColumn]));
|
||||
return ((string)(this[this.tableMSFD.idxmacchinaColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.idxmacchinaColumn] = value;
|
||||
this[this.tableMSFD.idxmacchinaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12326,14 +12342,14 @@ namespace MapoDb {
|
||||
public string codmacchina {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMS_FullData.codmacchinaColumn]));
|
||||
return ((string)(this[this.tableMSFD.codmacchinaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codmacchina\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'codmacchina\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.codmacchinaColumn] = value;
|
||||
this[this.tableMSFD.codmacchinaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12342,14 +12358,14 @@ namespace MapoDb {
|
||||
public bool palletChange {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableMS_FullData.palletChangeColumn]));
|
||||
return ((bool)(this[this.tableMSFD.palletChangeColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'palletChange\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'palletChange\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.palletChangeColumn] = value;
|
||||
this[this.tableMSFD.palletChangeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12358,14 +12374,14 @@ namespace MapoDb {
|
||||
public string CodArticolo_A {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMS_FullData.CodArticolo_AColumn]));
|
||||
return ((string)(this[this.tableMSFD.CodArticolo_AColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_A\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_A\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.CodArticolo_AColumn] = value;
|
||||
this[this.tableMSFD.CodArticolo_AColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12374,14 +12390,14 @@ namespace MapoDb {
|
||||
public string CodArticolo_B {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMS_FullData.CodArticolo_BColumn]));
|
||||
return ((string)(this[this.tableMSFD.CodArticolo_BColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_B\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_B\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.CodArticolo_BColumn] = value;
|
||||
this[this.tableMSFD.CodArticolo_BColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12390,14 +12406,14 @@ namespace MapoDb {
|
||||
public bool simplePallet {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableMS_FullData.simplePalletColumn]));
|
||||
return ((bool)(this[this.tableMSFD.simplePalletColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'simplePallet\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'simplePallet\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.simplePalletColumn] = value;
|
||||
this[this.tableMSFD.simplePalletColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12406,14 +12422,14 @@ namespace MapoDb {
|
||||
public bool insEnabled {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableMS_FullData.insEnabledColumn]));
|
||||
return ((bool)(this[this.tableMSFD.insEnabledColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'insEnabled\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'insEnabled\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.insEnabledColumn] = value;
|
||||
this[this.tableMSFD.insEnabledColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12421,10 +12437,10 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool sLogEnabled {
|
||||
get {
|
||||
return ((bool)(this[this.tableMS_FullData.sLogEnabledColumn]));
|
||||
return ((bool)(this[this.tableMSFD.sLogEnabledColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.sLogEnabledColumn] = value;
|
||||
this[this.tableMSFD.sLogEnabledColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12432,10 +12448,10 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int IdxFamigliaIngresso {
|
||||
get {
|
||||
return ((int)(this[this.tableMS_FullData.IdxFamigliaIngressoColumn]));
|
||||
return ((int)(this[this.tableMSFD.IdxFamigliaIngressoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.IdxFamigliaIngressoColumn] = value;
|
||||
this[this.tableMSFD.IdxFamigliaIngressoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12443,10 +12459,10 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int IdxMicroStato {
|
||||
get {
|
||||
return ((int)(this[this.tableMS_FullData.IdxMicroStatoColumn]));
|
||||
return ((int)(this[this.tableMSFD.IdxMicroStatoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.IdxMicroStatoColumn] = value;
|
||||
this[this.tableMSFD.IdxMicroStatoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12454,10 +12470,10 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int IdxFamiglia {
|
||||
get {
|
||||
return ((int)(this[this.tableMS_FullData.IdxFamigliaColumn]));
|
||||
return ((int)(this[this.tableMSFD.IdxFamigliaColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.IdxFamigliaColumn] = value;
|
||||
this[this.tableMSFD.IdxFamigliaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12465,10 +12481,10 @@ namespace MapoDb {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int IdxStato {
|
||||
get {
|
||||
return ((int)(this[this.tableMS_FullData.IdxStatoColumn]));
|
||||
return ((int)(this[this.tableMSFD.IdxStatoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.IdxStatoColumn] = value;
|
||||
this[this.tableMSFD.IdxStatoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12477,14 +12493,14 @@ namespace MapoDb {
|
||||
public string lastVal {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMS_FullData.lastValColumn]));
|
||||
return ((string)(this[this.tableMSFD.lastValColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'lastVal\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'lastVal\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.lastValColumn] = value;
|
||||
this[this.tableMSFD.lastValColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12493,14 +12509,14 @@ namespace MapoDb {
|
||||
public string CodArticolo {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMS_FullData.CodArticoloColumn]));
|
||||
return ((string)(this[this.tableMSFD.CodArticoloColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.CodArticoloColumn] = value;
|
||||
this[this.tableMSFD.CodArticoloColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12509,14 +12525,14 @@ namespace MapoDb {
|
||||
public double TempoCicloBase {
|
||||
get {
|
||||
try {
|
||||
return ((double)(this[this.tableMS_FullData.TempoCicloBaseColumn]));
|
||||
return ((double)(this[this.tableMSFD.TempoCicloBaseColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoCicloBase\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoCicloBase\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.TempoCicloBaseColumn] = value;
|
||||
this[this.tableMSFD.TempoCicloBaseColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12525,14 +12541,14 @@ namespace MapoDb {
|
||||
public int PzPalletProd {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableMS_FullData.PzPalletProdColumn]));
|
||||
return ((int)(this[this.tableMSFD.PzPalletProdColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzPalletProd\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzPalletProd\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.PzPalletProdColumn] = value;
|
||||
this[this.tableMSFD.PzPalletProdColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12541,147 +12557,175 @@ namespace MapoDb {
|
||||
public int MatrOpr {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableMS_FullData.MatrOprColumn]));
|
||||
return ((int)(this[this.tableMSFD.MatrOprColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'MatrOpr\' nella tabella \'MS_FullData\' è DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'MatrOpr\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMS_FullData.MatrOprColumn] = value;
|
||||
this[this.tableMSFD.MatrOprColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string pallet {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableMSFD.palletColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'pallet\' nella tabella \'MSFD\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableMSFD.palletColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IscodmacchinaNull() {
|
||||
return this.IsNull(this.tableMS_FullData.codmacchinaColumn);
|
||||
return this.IsNull(this.tableMSFD.codmacchinaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetcodmacchinaNull() {
|
||||
this[this.tableMS_FullData.codmacchinaColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.codmacchinaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IspalletChangeNull() {
|
||||
return this.IsNull(this.tableMS_FullData.palletChangeColumn);
|
||||
return this.IsNull(this.tableMSFD.palletChangeColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetpalletChangeNull() {
|
||||
this[this.tableMS_FullData.palletChangeColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.palletChangeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsCodArticolo_ANull() {
|
||||
return this.IsNull(this.tableMS_FullData.CodArticolo_AColumn);
|
||||
return this.IsNull(this.tableMSFD.CodArticolo_AColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetCodArticolo_ANull() {
|
||||
this[this.tableMS_FullData.CodArticolo_AColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.CodArticolo_AColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsCodArticolo_BNull() {
|
||||
return this.IsNull(this.tableMS_FullData.CodArticolo_BColumn);
|
||||
return this.IsNull(this.tableMSFD.CodArticolo_BColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetCodArticolo_BNull() {
|
||||
this[this.tableMS_FullData.CodArticolo_BColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.CodArticolo_BColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IssimplePalletNull() {
|
||||
return this.IsNull(this.tableMS_FullData.simplePalletColumn);
|
||||
return this.IsNull(this.tableMSFD.simplePalletColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetsimplePalletNull() {
|
||||
this[this.tableMS_FullData.simplePalletColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.simplePalletColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsinsEnabledNull() {
|
||||
return this.IsNull(this.tableMS_FullData.insEnabledColumn);
|
||||
return this.IsNull(this.tableMSFD.insEnabledColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetinsEnabledNull() {
|
||||
this[this.tableMS_FullData.insEnabledColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.insEnabledColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IslastValNull() {
|
||||
return this.IsNull(this.tableMS_FullData.lastValColumn);
|
||||
return this.IsNull(this.tableMSFD.lastValColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetlastValNull() {
|
||||
this[this.tableMS_FullData.lastValColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.lastValColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsCodArticoloNull() {
|
||||
return this.IsNull(this.tableMS_FullData.CodArticoloColumn);
|
||||
return this.IsNull(this.tableMSFD.CodArticoloColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetCodArticoloNull() {
|
||||
this[this.tableMS_FullData.CodArticoloColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.CodArticoloColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsTempoCicloBaseNull() {
|
||||
return this.IsNull(this.tableMS_FullData.TempoCicloBaseColumn);
|
||||
return this.IsNull(this.tableMSFD.TempoCicloBaseColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetTempoCicloBaseNull() {
|
||||
this[this.tableMS_FullData.TempoCicloBaseColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.TempoCicloBaseColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsPzPalletProdNull() {
|
||||
return this.IsNull(this.tableMS_FullData.PzPalletProdColumn);
|
||||
return this.IsNull(this.tableMSFD.PzPalletProdColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetPzPalletProdNull() {
|
||||
this[this.tableMS_FullData.PzPalletProdColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.PzPalletProdColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsMatrOprNull() {
|
||||
return this.IsNull(this.tableMS_FullData.MatrOprColumn);
|
||||
return this.IsNull(this.tableMSFD.MatrOprColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetMatrOprNull() {
|
||||
this[this.tableMS_FullData.MatrOprColumn] = global::System.Convert.DBNull;
|
||||
this[this.tableMSFD.MatrOprColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IspalletNull() {
|
||||
return this.IsNull(this.tableMSFD.palletColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetpalletNull() {
|
||||
this[this.tableMSFD.palletColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13471,22 +13515,22 @@ namespace MapoDb {
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public class MS_FullDataRowChangeEvent : global::System.EventArgs {
|
||||
public class MSFDRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private MS_FullDataRow eventRow;
|
||||
private MSFDRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataRowChangeEvent(MS_FullDataRow row, global::System.Data.DataRowAction action) {
|
||||
public MSFDRowChangeEvent(MSFDRow 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", "15.0.0.0")]
|
||||
public MS_FullDataRow Row {
|
||||
public MSFDRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
@@ -24390,7 +24434,7 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
[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 MS_FullDataTableAdapter : global::System.ComponentModel.Component {
|
||||
public partial class MSFDTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
@@ -24402,7 +24446,7 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public MS_FullDataTableAdapter() {
|
||||
public MSFDTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
@@ -24473,7 +24517,7 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
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 = "MS_FullData";
|
||||
tableMapping.DataSetTable = "MSFD";
|
||||
tableMapping.ColumnMappings.Add("idxmacchina", "idxmacchina");
|
||||
tableMapping.ColumnMappings.Add("codmacchina", "codmacchina");
|
||||
tableMapping.ColumnMappings.Add("palletChange", "palletChange");
|
||||
@@ -24491,6 +24535,7 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
tableMapping.ColumnMappings.Add("TempoCicloBase", "TempoCicloBase");
|
||||
tableMapping.ColumnMappings.Add("PzPalletProd", "PzPalletProd");
|
||||
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
|
||||
tableMapping.ColumnMappings.Add("pallet", "pallet");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
@@ -24504,27 +24549,26 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
||||
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 = "dbo.stp_MS_FullData";
|
||||
this._commandCollection[0].CommandText = "dbo.stp_MSFD_getAll";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = "dbo.stp_MSFD_getMacc";
|
||||
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("@IdxMacchina", 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()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_applicazione.MS_FullDataDataTable dataTable, string IdxMacchina) {
|
||||
public virtual int Fill(DS_applicazione.MSFDDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((IdxMacchina == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
@@ -24536,15 +24580,26 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_applicazione.MS_FullDataDataTable GetData(string IdxMacchina) {
|
||||
public virtual DS_applicazione.MSFDDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_applicazione.MSFDDataTable dataTable = new DS_applicazione.MSFDDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_applicazione.MSFDDataTable getByIdxMacc(string IdxMacchina) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((IdxMacchina == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
||||
}
|
||||
DS_applicazione.MS_FullDataDataTable dataTable = new DS_applicazione.MS_FullDataDataTable();
|
||||
DS_applicazione.MSFDDataTable dataTable = new DS_applicazione.MSFDDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
@@ -2333,15 +2333,14 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MS_FullDataTableAdapter" GeneratorDataComponentClassName="MS_FullDataTableAdapter" Name="MS_FullData" UserDataComponentName="MS_FullDataTableAdapter">
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MSFDTableAdapter" GeneratorDataComponentClassName="MSFDTableAdapter" Name="MSFD" UserDataComponentName="MSFDTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="Donati_MoonProLAV_prod.dbo.stp_MS_FullData" DbObjectType="StoredProcedure" 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">
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="Donati_MoonProLAV_prod.dbo.stp_MSFD_getAll" DbObjectType="StoredProcedure" 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">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_MS_FullData</CommandText>
|
||||
<CommandText>dbo.stp_MSFD_getAll</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="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -2365,8 +2364,21 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
<Mapping SourceColumn="TempoCicloBase" DataSetColumn="TempoCicloBase" />
|
||||
<Mapping SourceColumn="PzPalletProd" DataSetColumn="PzPalletProd" />
|
||||
<Mapping SourceColumn="MatrOpr" DataSetColumn="MatrOpr" />
|
||||
<Mapping SourceColumn="pallet" DataSetColumn="pallet" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="Donati_MoonProLAV_prod.dbo.stp_MSFD_getMacc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxMacc" GetMethodModifier="Public" GetMethodName="getByIdxMacc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxMacc" UserSourceName="getByIdxMacc">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_MSFD_getMacc</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="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
@@ -2965,7 +2977,7 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MS_FullData" msprop:Generator_TableClassName="MS_FullDataDataTable" msprop:Generator_TableVarName="tableMS_FullData" msprop:Generator_TablePropName="MS_FullData" msprop:Generator_RowDeletingName="MS_FullDataRowDeleting" msprop:Generator_RowChangingName="MS_FullDataRowChanging" msprop:Generator_RowEvHandlerName="MS_FullDataRowChangeEventHandler" msprop:Generator_RowDeletedName="MS_FullDataRowDeleted" msprop:Generator_UserTableName="MS_FullData" msprop:Generator_RowChangedName="MS_FullDataRowChanged" msprop:Generator_RowEvArgName="MS_FullDataRowChangeEvent" msprop:Generator_RowClassName="MS_FullDataRow">
|
||||
<xs:element name="MSFD" msprop:Generator_TableClassName="MSFDDataTable" msprop:Generator_TableVarName="tableMSFD" msprop:Generator_TablePropName="MSFD" msprop:Generator_RowDeletingName="MSFDRowDeleting" msprop:Generator_RowChangingName="MSFDRowChanging" msprop:Generator_RowEvHandlerName="MSFDRowChangeEventHandler" msprop:Generator_RowDeletedName="MSFDRowDeleted" msprop:Generator_UserTableName="MSFD" msprop:Generator_RowChangedName="MSFDRowChanged" msprop:Generator_RowEvArgName="MSFDRowChangeEvent" msprop:Generator_RowClassName="MSFDRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxmacchina" msprop:Generator_ColumnVarNameInTable="columnidxmacchina" msprop:Generator_ColumnPropNameInRow="idxmacchina" msprop:Generator_ColumnPropNameInTable="idxmacchinaColumn" msprop:Generator_UserColumnName="idxmacchina">
|
||||
@@ -3021,6 +3033,13 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
<xs:element name="TempoCicloBase" msprop:Generator_ColumnVarNameInTable="columnTempoCicloBase" msprop:Generator_ColumnPropNameInRow="TempoCicloBase" msprop:Generator_ColumnPropNameInTable="TempoCicloBaseColumn" msprop:Generator_UserColumnName="TempoCicloBase" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="PzPalletProd" msprop:Generator_ColumnVarNameInTable="columnPzPalletProd" msprop:Generator_ColumnPropNameInRow="PzPalletProd" msprop:Generator_ColumnPropNameInTable="PzPalletProdColumn" msprop:Generator_UserColumnName="PzPalletProd" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="MatrOpr" msprop:Generator_ColumnVarNameInTable="columnMatrOpr" msprop:Generator_ColumnPropNameInRow="MatrOpr" msprop:Generator_ColumnPropNameInTable="MatrOprColumn" msprop:Generator_UserColumnName="MatrOpr" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="pallet" msprop:Generator_ColumnVarNameInTable="columnpallet" msprop:Generator_ColumnPropNameInRow="pallet" msprop:Generator_ColumnPropNameInTable="palletColumn" msprop:Generator_UserColumnName="pallet" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -3131,8 +3150,8 @@ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli
|
||||
<xs:selector xpath=".//mstns:AnagArticoli" />
|
||||
<xs:field xpath="mstns:CodArticolo" />
|
||||
</xs:unique>
|
||||
<xs:unique name="MS_FullData_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:MS_FullData" />
|
||||
<xs:unique name="MSFD_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:MSFD" />
|
||||
<xs:field xpath="mstns:idxmacchina" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
+41
-41
@@ -6,30 +6,30 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-28" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Macchine2FamiglieMacchine" ZOrder="14" X="553" Y="715" Height="115" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:FamiglieMacchine" ZOrder="17" X="519" Y="1007" Height="115" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Macchine" ZOrder="13" X="619" Y="324" Height="234" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:TransizioneStati" ZOrder="11" X="870" Y="916" Height="219" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="113" />
|
||||
<Shape ID="DesignTable:StatoMacchine" ZOrder="5" X="237" Y="667" Height="305" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagraficaStati" ZOrder="24" X="245" Y="455" Height="164" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:EventList" ZOrder="2" X="920" Y="145" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="29" X="1285" Y="228" Height="134" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:DiarioDiBordo" ZOrder="3" X="230" Y="-18" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:TransizioneEventi" ZOrder="21" X="1279" Y="409" Height="210" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:KeepAlive" ZOrder="6" X="1296" Y="935" Height="221" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="113" />
|
||||
<Shape ID="DesignTable:Macchine2FamigliaIngressi" ZOrder="26" X="596" Y="1155" Height="130" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:FamigliaTipoIngressi" ZOrder="34" X="943" Y="1212" Height="130" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
|
||||
<Shape ID="DesignTable:Macchine2FamiglieMacchine" ZOrder="14" X="553" Y="715" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:FamiglieMacchine" ZOrder="17" X="519" Y="1007" Height="135" Width="296" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:Macchine" ZOrder="13" X="619" Y="324" Height="273" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
|
||||
<Shape ID="DesignTable:TransizioneStati" ZOrder="11" X="870" Y="916" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:StatoMacchine" ZOrder="5" X="237" Y="667" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
|
||||
<Shape ID="DesignTable:AnagraficaStati" ZOrder="24" X="245" Y="455" Height="181" Width="277" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
<Shape ID="DesignTable:EventList" ZOrder="2" X="920" Y="145" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
|
||||
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="29" X="1285" Y="228" Height="158" Width="288" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:DiarioDiBordo" ZOrder="3" X="230" Y="-18" Height="434" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="283" />
|
||||
<Shape ID="DesignTable:TransizioneEventi" ZOrder="21" X="1279" Y="409" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:KeepAlive" ZOrder="6" X="1296" Y="935" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:Macchine2FamigliaIngressi" ZOrder="26" X="596" Y="1155" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:FamigliaTipoIngressi" ZOrder="34" X="943" Y="1212" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:TransizioneIngressi" ZOrder="18" X="192" Y="1255" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:AnagraficaOperatori" ZOrder="20" X="965" Y="641" Height="210" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagraficaOperatori2ins" ZOrder="27" X="1250" Y="1161" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:DatiMacchine" ZOrder="4" X="1299" Y="634" Height="286" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:MicroStatoMacchina" ZOrder="19" X="231" Y="993" Height="191" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:LinkMenuJQM" ZOrder="16" X="15" Y="266" Height="210" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:RemoteRebootLog" ZOrder="12" X="603" Y="1298" Height="229" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:ParetoDurate" ZOrder="10" X="5" Y="14" Height="191" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:SignalLog" ZOrder="9" X="18" Y="523" Height="191" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AnagArticoli" ZOrder="8" X="627" Y="31" Height="172" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:MS_FullData" ZOrder="1" X="939" Y="1453" Height="365" Width="284" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:AnagraficaOperatori" ZOrder="20" X="965" Y="641" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:AnagraficaOperatori2ins" ZOrder="27" X="1250" Y="1161" Height="204" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
<Shape ID="DesignTable:DatiMacchine" ZOrder="4" X="1299" Y="634" Height="342" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
|
||||
<Shape ID="DesignTable:MicroStatoMacchina" ZOrder="19" X="231" Y="993" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:LinkMenuJQM" ZOrder="16" X="15" Y="266" Height="250" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:RemoteRebootLog" ZOrder="12" X="603" Y="1298" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:ParetoDurate" ZOrder="10" X="5" Y="14" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:SignalLog" ZOrder="9" X="18" Y="523" Height="227" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:AnagArticoli" ZOrder="8" X="627" Y="31" Height="204" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:MSFD" ZOrder="1" X="965" Y="1412" Height="388" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Macchine2FamiglieMacchine_FamiglieMacchine" ZOrder="44" LineWidth="11">
|
||||
@@ -40,7 +40,7 @@
|
||||
</Point>
|
||||
<Point>
|
||||
<X>667</X>
|
||||
<Y>830</Y>
|
||||
<Y>850</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
@@ -48,7 +48,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>699</X>
|
||||
<Y>558</Y>
|
||||
<Y>597</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>699</X>
|
||||
@@ -59,7 +59,7 @@
|
||||
<Connector ID="DesignRelation:FK_TransizioneStati_FamiglieMacchine" ZOrder="42" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>754</X>
|
||||
<X>815</X>
|
||||
<Y>1061</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
@@ -72,14 +72,14 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>636</X>
|
||||
<Y>558</Y>
|
||||
<Y>597</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>636</X>
|
||||
<Y>684</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>500</X>
|
||||
<X>537</X>
|
||||
<Y>684</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
@@ -88,7 +88,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>386</X>
|
||||
<Y>619</Y>
|
||||
<Y>636</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>386</X>
|
||||
@@ -104,7 +104,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>336</X>
|
||||
<Y>619</Y>
|
||||
<Y>636</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>336</X>
|
||||
@@ -115,7 +115,7 @@
|
||||
<Connector ID="DesignRelation:FK_EventList_Macchine" ZOrder="39" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>814</X>
|
||||
<X>853</X>
|
||||
<Y>359</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
@@ -168,7 +168,7 @@
|
||||
</Point>
|
||||
<Point>
|
||||
<X>298</X>
|
||||
<Y>401</Y>
|
||||
<Y>416</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
@@ -188,7 +188,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1444</X>
|
||||
<Y>362</Y>
|
||||
<Y>386</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1444</X>
|
||||
@@ -200,7 +200,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>716</X>
|
||||
<Y>558</Y>
|
||||
<Y>597</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>716</X>
|
||||
@@ -215,7 +215,7 @@
|
||||
<Y>1231</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>832</X>
|
||||
<X>896</X>
|
||||
<Y>1231</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
@@ -264,7 +264,7 @@
|
||||
</Point>
|
||||
<Point>
|
||||
<X>513</X>
|
||||
<Y>401</Y>
|
||||
<Y>416</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
@@ -276,7 +276,7 @@
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1108</X>
|
||||
<Y>431</Y>
|
||||
<Y>487</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
@@ -284,15 +284,15 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>982</X>
|
||||
<Y>851</Y>
|
||||
<Y>891</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>982</X>
|
||||
<Y>892</Y>
|
||||
<Y>899</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>500</X>
|
||||
<Y>892</Y>
|
||||
<X>537</X>
|
||||
<Y>899</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
+59
-19
@@ -521,7 +521,7 @@ namespace MapoDb
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hash Redis contenente i dati MP di una specifico TYPE (es status, enabled...)
|
||||
/// Hash Redis contenente i dati MP di una specifico TYPE (es StsatusMacchina, StateMachineIngressi, ...)
|
||||
/// </summary>
|
||||
/// <param name="dataType"></param>
|
||||
/// <returns></returns>
|
||||
@@ -588,11 +588,9 @@ namespace MapoDb
|
||||
string currHash = dtMaccHash(idxMacchina);
|
||||
// inizio con un bel reset...
|
||||
memLayer.ML.redFlushKey(currHash);
|
||||
KeyValuePair<string, string>[] answ = new KeyValuePair<string, string>[14];
|
||||
DS_applicazione.DatiMacchineDataTable tabDt = MapoDb.obj.taDatiMacch.GetByIdx(idxMacchina);
|
||||
DS_applicazione.StatoMacchineDataTable tabSt = MapoDb.obj.taStatoMacchine.GetDataByIdxMacchina(idxMacchina.ToString());
|
||||
// salvo tutti i valori Dt...
|
||||
foreach (var item in tabDt)
|
||||
KeyValuePair<string, string>[] answ = new KeyValuePair<string, string>[18];
|
||||
DS_applicazione.MSFDDataTable tabMSFD = MapoDb.obj.taMSFD.getByIdxMacc(idxMacchina.ToString());
|
||||
foreach (var item in tabMSFD)
|
||||
{
|
||||
// salvo 1:1 i valori...
|
||||
answ[0] = new KeyValuePair<string, string>("palletChange", item.palletChange.ToString());
|
||||
@@ -601,22 +599,25 @@ namespace MapoDb
|
||||
answ[3] = new KeyValuePair<string, string>("simplePallet", item.simplePallet.ToString());
|
||||
answ[4] = new KeyValuePair<string, string>("insEnabled", item.insEnabled.ToString());
|
||||
answ[5] = new KeyValuePair<string, string>("sLogEnabled", item.sLogEnabled.ToString());
|
||||
}
|
||||
// salvo tutti i valori St...
|
||||
foreach (var item in tabSt)
|
||||
{
|
||||
// salvo 1:1 i valori...
|
||||
answ[6] = new KeyValuePair<string, string>("IdxStato", item.IdxStato.ToString());
|
||||
answ[7] = new KeyValuePair<string, string>("InizioStato", item.InizioStato.ToString());
|
||||
answ[8] = new KeyValuePair<string, string>("Value", item.Value);
|
||||
answ[7] = new KeyValuePair<string, string>("IdxFamIn", item.IdxFamigliaIngresso.ToString());
|
||||
answ[8] = new KeyValuePair<string, string>("IdxFamMacc", item.IdxFamiglia.ToString());
|
||||
answ[9] = new KeyValuePair<string, string>("CodArticolo", item.CodArticolo);
|
||||
answ[10] = new KeyValuePair<string, string>("TempoCicloBase", item.TempoCicloBase.ToString());
|
||||
answ[11] = new KeyValuePair<string, string>("PzPalletProd", item.PzPalletProd.ToString());
|
||||
answ[12] = new KeyValuePair<string, string>("MatrOpr", item.MatrOpr.ToString());
|
||||
answ[13] = new KeyValuePair<string, string>("pallet", item.pallet);
|
||||
answ[13] = new KeyValuePair<string, string>("IdxMicroStato", item.IdxMicroStato.ToString());
|
||||
answ[14] = new KeyValuePair<string, string>("pallet", item.pallet);
|
||||
answ[15] = new KeyValuePair<string, string>("lastVal", item.lastVal);
|
||||
answ[16] = new KeyValuePair<string, string>("TCBase", item.TempoCicloBase.ToString());
|
||||
answ[17] = new KeyValuePair<string, string>("CodMacc", item.codmacchina);
|
||||
}
|
||||
// verifico il timeout (default 60 sec...
|
||||
int redDtMacTOut = (memLayer.ML.CRI("redDtMacTOut") <= 0) ? 60 : memLayer.ML.CRI("redDtMacTOut");
|
||||
// verifico il timeout che cambia a seconda che sia vero o falso insEnabled...
|
||||
int tOutShort = memLayer.ML.cdvi("TmOut.MS.S");
|
||||
int tOutLong = memLayer.ML.cdvi("TmOut.MS.L");
|
||||
int redDtMacTOut = (answ[4].Value=="true") ? tOutShort: tOutLong;
|
||||
|
||||
//int redDtMacTOut = (memLayer.ML.CRI("redDtMacTOut") <= 0) ? 60 : memLayer.ML.CRI("redDtMacTOut");
|
||||
// salvo in redis!
|
||||
memLayer.ML.redSaveHash(currHash, answ, redDtMacTOut);
|
||||
return answ;
|
||||
@@ -660,7 +661,7 @@ namespace MapoDb
|
||||
/// <summary>
|
||||
/// Resetta (rileggendo) i dati della State Machine ingressi nel formato
|
||||
/// key: cState_nVal (current MICRO-STATE + "_" + new Value)
|
||||
/// value: iTipoEv_nState (IdxTipoEv da trasmettere + New MICRO-STATE
|
||||
/// value: iTipoEv_nState (IdxTipoEv da trasmettere + New MICRO-STATE)
|
||||
/// </summary>
|
||||
/// <param name="idxFamIn"></param>
|
||||
/// <returns></returns>
|
||||
@@ -682,9 +683,48 @@ namespace MapoDb
|
||||
i++;
|
||||
}
|
||||
// verifico il timeout (default 60 sec...
|
||||
int redSMITOut = (memLayer.ML.CRI("redSMITOut") <= 0) ? 60 : memLayer.ML.CRI("redSMITOut");
|
||||
int tOut = (memLayer.ML.cdvi("TmOut.SMI") <= 0) ? 60 : memLayer.ML.cdvi("TmOut.SMI");
|
||||
// salvo in redis!
|
||||
memLayer.ML.redSaveHash(currHash, answ, redSMITOut);
|
||||
memLayer.ML.redSaveHash(currHash, answ, tOut);
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// Restituisce il valore SPECIFICATO per la state machine ingressi
|
||||
/// value: iTipoEv_nState (IdxTipoEv da trasmettere + New MICRO-STATE)
|
||||
/// </summary>
|
||||
/// <param name="idxFamIn"></param>
|
||||
/// <param name="idxMicroStato"></param>
|
||||
/// <param name="valoreIn"></param>
|
||||
/// <returns></returns>
|
||||
public static string valoreSMI(int idxFamIn, int idxMicroStato, int valoreIn)
|
||||
{
|
||||
string currHash = hSMI(idxFamIn);
|
||||
string field = string.Format("{0}_{1}", idxMicroStato, valoreIn);
|
||||
return memLayer.ML.redGetHashField(currHash, field);
|
||||
}
|
||||
/// <summary>
|
||||
/// Restituisce il valore booleano se la macchina sia abilitata all'input
|
||||
/// </summary>
|
||||
/// <param name="idxMacchina"></param>
|
||||
/// <returns></returns>
|
||||
public static bool insEnab(int idxMacchina)
|
||||
{
|
||||
bool answ = false;
|
||||
string currHash = dtMaccHash(idxMacchina);
|
||||
string field = "insEnabled";
|
||||
try
|
||||
{
|
||||
// verifico se ne ho altrimenti ricarico...
|
||||
bool trovato = memLayer.ML.redHashPresentSz(currHash);
|
||||
if (!trovato)
|
||||
{
|
||||
// ricarico tabella!
|
||||
KeyValuePair<string, string>[] valori = DataLayer.mDatiMacchine(idxMacchina);
|
||||
}
|
||||
answ = Convert.ToBoolean(memLayer.ML.redGetHashField(currHash, field));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ namespace MapoDb
|
||||
taAnOpr = new DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter();
|
||||
taDatiMacch = new DS_applicazioneTableAdapters.DatiMacchineTableAdapter();
|
||||
taMSM = new DS_applicazioneTableAdapters.MicroStatoMacchinaTableAdapter();
|
||||
taMSFD = new DS_applicazioneTableAdapters.MSFDTableAdapter();
|
||||
|
||||
taDatiMacchine = new DS_ProdTempiTableAdapters.DatiMacchineTableAdapter();
|
||||
taTCRilevati = new DS_ProdTempiTableAdapters.TempiCicloRilevatiTableAdapter();
|
||||
@@ -112,6 +113,7 @@ namespace MapoDb
|
||||
taAnOpr.Connection.ConnectionString = _connectionString;
|
||||
taDatiMacch.Connection.ConnectionString = _connectionString;
|
||||
taMSM.Connection.ConnectionString = _connectionString;
|
||||
taMSFD.Connection.ConnectionString = _connectionString;
|
||||
taDatiMacchine.Connection.ConnectionString = _connectionString;
|
||||
taTCRilevati.Connection.ConnectionString = _connectionString;
|
||||
}
|
||||
@@ -299,6 +301,7 @@ namespace MapoDb
|
||||
public DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter taAnOpr;
|
||||
public DS_applicazioneTableAdapters.DatiMacchineTableAdapter taDatiMacch;
|
||||
public DS_applicazioneTableAdapters.MicroStatoMacchinaTableAdapter taMSM;
|
||||
public DS_applicazioneTableAdapters.MSFDTableAdapter taMSFD;
|
||||
|
||||
// area tempi ciclo
|
||||
public DS_ProdTempiTableAdapters.DatiMacchineTableAdapter taDatiMacchine;
|
||||
|
||||
Reference in New Issue
Block a user