Merge remote-tracking branch 'googs.steamware/develop' into develop

This commit is contained in:
Samuele E. Locatelli
2018-10-23 21:38:52 +02:00
22 changed files with 2151 additions and 423 deletions
Vendored
+1 -1
View File
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=888']) {
withEnv(['NEXT_BUILD_NUMBER=906']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
+2
View File
@@ -9,6 +9,8 @@
</sectionGroup>
</configSections>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
+2
View File
@@ -5,6 +5,8 @@
-->
<configuration>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--stringhe connessione-->
+3
View File
@@ -9,6 +9,9 @@
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--conf base MVC-->
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
+32 -16
View File
@@ -19,21 +19,10 @@
string TCAssegnato = TCAss.ToString(@"mm\:ss");
string TCLavorato = TCLav.ToString(@"mm\:ss");
// verifico SE è disabilitata modalità animazione -> blink a stati (e refresh 1s)
if (System.Web.Configuration.WebConfigurationManager.AppSettings["doAnimate"] == "1")
{
// blink se secondo pari...
DateTime adesso = DateTime.Now;
int resto = 0;
Math.DivRem(adesso.Second, 2, out resto);
if (resto == 0)
{
cssStatus += "_b";
}
}
// verifico se mostrare articolo o disegno...
string sArticolo = "";
if (System.Web.Configuration.WebConfigurationManager.AppSettings["sART"] == "CodArticolo")
if (SteamWare.memLayer.ML.CRS("sART") == "CodArticolo")
{
sArticolo = item.CodArticolo;
}
@@ -46,11 +35,29 @@
{
sArticolo = string.Format("[{0}]", item.CodArticolo);
}
// se NON trova update da oltre 1 minuto rosso lo status comunicazione
// se NON trova update da oltre "keepAliveMin" / 2 minuti rosso lo status comunicazione
string cssComStatus = cssStatus;
if (DateTime.Now.Subtract((DateTime)item.lastUpdate).TotalMinutes>1)
string showComErr = "invisible";
if (DateTime.Now.Subtract((DateTime)item.lastUpdate).TotalSeconds > SteamWare.memLayer.ML.CRI("keepAliveMin") * 60 / 2)
{
cssComStatus = ViewBag.baseCss + "Ro";
showComErr = "visible";
}
// verifico SE è disabilitata modalità animazione -> blink a stati (e refresh 1s)
if (SteamWare.memLayer.ML.CRS("doAnimate") == "1")
{
// blink se secondo pari...
DateTime adesso = DateTime.Now;
int resto = 0;
Math.DivRem(adesso.Second, 2, out resto);
if (resto == 0)
{
cssStatus += "_b";
if (cssComStatus.EndsWith("Ro"))
{
cssComStatus += "_b";
}
}
}
<div class="col-4 col-sm-4 col-md-3 col-lg-2" style="padding:2px;">
<div class="@cssStatus p-1">
@@ -77,7 +84,16 @@
<div class="@cssComStatus p-1">
<div class="row fontSmaller mt-1">
<div class="col-12">
<div class="text-right ui-footer px-2">last update: @Html.DisplayFor(modelItem => item.lastUpdate)</div>
<div class="text-right ui-footer px-2">
<div class="row">
<div class="col-2 text-warning @showComErr">
<b>C.101</b>
</div>
<div class="col-10">
last update: @Html.DisplayFor(modelItem => item.lastUpdate)
</div>
</div>
</div>
</div>
</div>
</div>
+31 -16
View File
@@ -19,21 +19,9 @@
string TCAssegnato = TCAss.ToString(@"mm\:ss");
string TCLavorato = TCLav.ToString(@"mm\:ss");
// verifico SE è disabilitata modalità animazione -> blink a stati (e refresh 1s)
if (System.Web.Configuration.WebConfigurationManager.AppSettings["doAnimate"] == "1")
{
// blink se secondo pari...
DateTime adesso = DateTime.Now;
int resto = 0;
Math.DivRem(adesso.Second, 2, out resto);
if (resto == 0)
{
cssStatus += "_b";
}
}
// verifico se mostrare sarticolo o disegno...
string sArticolo = "";
if (System.Web.Configuration.WebConfigurationManager.AppSettings["sART"] == "CodArticolo")
if (SteamWare.memLayer.ML.CRS("sART") == "CodArticolo")
{
sArticolo = item.CodArticolo;
}
@@ -46,11 +34,29 @@
{
sArticolo = string.Format("[{0}]", item.CodArticolo);
}
// se NON trova update da oltre 1 minuto rosso lo status comunicazione
// se NON trova update da oltre "keepAliveMin" / 2 minuti rosso lo status comunicazione
string cssComStatus = cssStatus;
if (DateTime.Now.Subtract((DateTime)item.lastUpdate).TotalMinutes>1)
string showComErr = "invisible";
if (DateTime.Now.Subtract((DateTime)item.lastUpdate).TotalSeconds > SteamWare.memLayer.ML.CRI("keepAliveMin") * 60 / 2)
{
cssComStatus = ViewBag.baseCss + "Ro";
showComErr = "visible";
}
// verifico SE è disabilitata modalità animazione -> blink a stati (e refresh 1s)
if (SteamWare.memLayer.ML.CRS("doAnimate") == "1")
{
// blink se secondo pari...
DateTime adesso = DateTime.Now;
int resto = 0;
Math.DivRem(adesso.Second, 2, out resto);
if (resto == 0)
{
cssStatus += "_b";
}
else if (cssComStatus.EndsWith("Ro"))
{
cssComStatus += "_b";
}
}
<div class="col-12" style="padding:2px; font-size:2.5em; line-height:1.5em;">
<div class="@cssStatus p-1">
@@ -77,7 +83,16 @@
<div class="@cssComStatus p-1">
<div class="row fontSmaller mt-1">
<div class="col-12">
<div class="text-right ui-footer px-2">last update: @Html.DisplayFor(modelItem => item.lastUpdate)</div>
<div class="text-right ui-footer px-2">
<div class="row">
<div class="col-2 text-warning @showComErr">
<b>C.101</b>
</div>
<div class="col-10">
last update: @Html.DisplayFor(modelItem => item.lastUpdate)
</div>
</div>
</div>
</div>
</div>
</div>
+2
View File
@@ -11,6 +11,8 @@
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--conf base MVC-->
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
+2
View File
@@ -9,6 +9,8 @@
</sectionGroup>
</configSections>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--charting-->
+11 -2
View File
@@ -5,7 +5,15 @@
<div class="card">
<div class="card-header py-1 bg-success">
<h4>Promesse ODL</h4>
<div class="row">
<div class="col-4"></div>
<div class="col-4">
<h4>Promesse ODL</h4>
</div>
<div class="col-4 text-right">
<asp:CheckBox runat="server" ID="chkByGroup" Checked="false" Text="Gruppo Impianti" AutoPostBack="True" />
</div>
</div>
</div>
<div class="card-body p-1 table-success">
<asp:GridView ID="grView" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="ods" DataKeyNames="idxPromessa" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-sm bg-light" AllowPaging="True" OnPageIndexChanged="grView_PageIndexChanged" OnSorted="grView_Sorted">
@@ -36,6 +44,7 @@
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByMultiMacc" TypeName="MapoDb.DS_ProdTempiTableAdapters.PromesseODLTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfIdxMulti" Name="idxMulti" PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="chkByGroup" DefaultValue="0" Name="byGroup" PropertyName="Checked" Type="Boolean" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfIdxMulti" />
@@ -43,4 +52,4 @@
<div class="card-footer">
<uc2:mod_righePag ID="mod_righePag" runat="server" />
</div>
</div>
</div>
+9
View File
@@ -12,6 +12,15 @@ namespace MoonPro.WebUserControls {
public partial class mod_AnPro_PODL {
/// <summary>
/// Controllo chkByGroup.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkByGroup;
/// <summary>
/// Controllo grView.
/// </summary>
+174 -201
View File
@@ -1,204 +1,177 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_infoAggiuntive.ascx.cs"
Inherits="MoonPro.WebUserControls.mod_infoAggiuntive" %>
Inherits="MoonPro.WebUserControls.mod_infoAggiuntive" %>
<div id="InfoAggiuntive">
<%--Tabella dati ODL--%>
<table cellpadding="3" cellspacing="0" style="font-size: x-small; border: solid 1px #666666;">
<tr>
<td colspan="4" style="width: 500px; color: White; background-color: #333333;">
<asp:Label runat="server" ID="lblOdl" Font-Bold="true" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center; font-size: x-small">
<td>
Cod articolo
</td>
<td>
Nr pezzi lanciati
</td>
<td>
Nr pezzi confermati
</td>
<td>
Nr pezzi fatti
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblCodArticolo" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzLanciati" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzConf" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzFatti" Font-Bold="false" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>
Nr pezzi restanti
</td>
<td>
T. disp. impiegato
</td>
<td>
T. rimanente
</td>
<td>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblPezziRestantiConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblPezziRestanti" />
</td>
<td>
<asp:Label runat="server" ID="lblTDispImpiegatoConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblTDispImpiegato" />
</td>
<td>
<asp:Label runat="server" ID="lblTRimanenteConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblTRimanente" />
</td>
<td>
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td colspan="1">
Efficienza Globale (V+G+R)
</td>
<td colspan="1">
Efficienza Lavoro (V+G)
</td>
<td colspan="1">
Efficienza Teorica (V)
</td>
<td>
</td>
</tr>
<tr>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaTot" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaTotRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaLavoro" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaLavoroRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaEff" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaEffRT" />
</td>
<td>
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>
Tc Medio (V+G+R)
</td>
<td>
Tc Lavoro (V+G)
</td>
<td>
Tc Tecnico (V)
</td>
<td>
Tc impostato
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblTcMedio" />
<br />
<asp:Label runat="server" ID="lblTcMedioRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcLavoro" />
<br />
<asp:Label runat="server" ID="lblTcLavoroRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcEffettivo" />
<br />
<asp:Label runat="server" ID="lblTcEffettivoRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcImpostato" />
</td>
</tr>
</table>
<br />
<%--Tabella dati Periodo visualizzato--%>
<table cellpadding="3" cellspacing="0" style="font-size: x-small; border: solid 1px #666666;
background-color: #ABABEF; color:White;">
<tr>
<td colspan="4" style="width: 500px; color: White; background-color: #333333;">
<asp:Label runat="server" ID="lblPeriodo" Font-Bold="true" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td colspan="1">
Efficienza Globale (V+G+R)
</td>
<td colspan="1">
Efficienza Lavoro (V+G)
</td>
<td colspan="1">
Efficienza Teorica (V)
</td>
<td>
Nr pezzi fatti
</td>
</tr>
<tr>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaTotPerRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaLavoroPerRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaEffPerRT" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzFattiPer" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>
Tc Medio (V+G+R)
</td>
<td>
Tc Lavoro (V+G)
</td>
<td>
Tc Tecnico (V)
</td>
<td>
Tc impostato
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblTcMedioPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcLavoroPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcEffettivoPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcImpostatoPerRT" />
</td>
</tr>
</table>
<%--Tabella dati ODL--%>
<table cellpadding="3" cellspacing="0" style="font-size: x-small; border: solid 1px #666666;">
<tr>
<td colspan="4" style="width: 500px; color: White; background-color: #333333;">
<asp:Label runat="server" ID="lblOdl" Font-Bold="true" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center; font-size: x-small">
<td>Cod articolo
</td>
<td>Nr pezzi lanciati
</td>
<td>Nr pezzi confermati
</td>
<td>Nr pezzi fatti
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblCodArticolo" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzLanciati" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzConf" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzFatti" Font-Bold="false" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>Nr pezzi restanti
</td>
<td>T. disp. impiegato
</td>
<td>T. rimanente
</td>
<td></td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblPezziRestantiConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblPezziRestanti" />
</td>
<td>
<asp:Label runat="server" ID="lblTDispImpiegatoConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblTDispImpiegato" />
</td>
<td>
<asp:Label runat="server" ID="lblTRimanenteConf" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblTRimanente" />
</td>
<td></td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td colspan="1">Efficienza Globale (V+G+R)
</td>
<td colspan="1">Efficienza Lavoro (V+G)
</td>
<td colspan="1">Efficienza Teorica (V)
</td>
<td></td>
</tr>
<tr>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaTot" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaTotRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaLavoro" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaLavoroRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaEff" Font-Bold="true" />
<br />
<asp:Label runat="server" ID="lblEfficienzaEffRT" />
</td>
<td></td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>Tc Medio (V+G+R)
</td>
<td>Tc Lavoro (V+G)
</td>
<td>Tc Tecnico (V)
</td>
<td>Tc impostato
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblTcMedio" />
<br />
<asp:Label runat="server" ID="lblTcMedioRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcLavoro" />
<br />
<asp:Label runat="server" ID="lblTcLavoroRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcEffettivo" />
<br />
<asp:Label runat="server" ID="lblTcEffettivoRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcImpostato" />
</td>
</tr>
</table>
<br />
<%--Tabella dati Periodo visualizzato--%>
<table cellpadding="3" cellspacing="0" style="font-size: x-small; border: solid 1px #666666; background-color: #ABABEF; color: White;">
<tr>
<td colspan="4" style="width: 500px; color: White; background-color: #333333;">
<asp:Label runat="server" ID="lblPeriodo" Font-Bold="true" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td colspan="1">Efficienza Globale (V+G+R)
</td>
<td colspan="1">Efficienza Lavoro (V+G)
</td>
<td colspan="1">Efficienza Teorica (V)
</td>
<td>Nr pezzi fatti
</td>
</tr>
<tr>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaTotPerRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaLavoroPerRT" />
</td>
<td colspan="1">
<asp:Label runat="server" ID="lblEfficienzaEffPerRT" />
</td>
<td>
<asp:Label runat="server" ID="lblNumPzFattiPer" />
</td>
</tr>
<tr style="background-color: #CDCDEF; color: Black; text-align: center;">
<td>Tc Medio (V+G+R)
</td>
<td>Tc Lavoro (V+G)
</td>
<td>Tc Tecnico (V)
</td>
<td>Tc impostato
</td>
</tr>
<tr style="font-weight: bold;">
<td>
<asp:Label runat="server" ID="lblTcMedioPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcLavoroPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcEffettivoPerRT" Font-Bold="false" />
</td>
<td>
<asp:Label runat="server" ID="lblTcImpostatoPerRT" />
</td>
</tr>
</table>
</div>
+107 -108
View File
@@ -1,312 +1,311 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MoonPro.WebUserControls
{
namespace MoonPro.WebUserControls {
public partial class mod_infoAggiuntive {
/// <summary>
/// lblOdl control.
/// Controllo lblOdl.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblOdl;
/// <summary>
/// lblCodArticolo control.
/// Controllo lblCodArticolo.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblCodArticolo;
/// <summary>
/// lblNumPzLanciati control.
/// Controllo lblNumPzLanciati.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumPzLanciati;
/// <summary>
/// lblNumPzConf control.
/// Controllo lblNumPzConf.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumPzConf;
/// <summary>
/// lblNumPzFatti control.
/// Controllo lblNumPzFatti.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumPzFatti;
/// <summary>
/// lblPezziRestantiConf control.
/// Controllo lblPezziRestantiConf.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPezziRestantiConf;
/// <summary>
/// lblPezziRestanti control.
/// Controllo lblPezziRestanti.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPezziRestanti;
/// <summary>
/// lblTDispImpiegatoConf control.
/// Controllo lblTDispImpiegatoConf.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTDispImpiegatoConf;
/// <summary>
/// lblTDispImpiegato control.
/// Controllo lblTDispImpiegato.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTDispImpiegato;
/// <summary>
/// lblTRimanenteConf control.
/// Controllo lblTRimanenteConf.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTRimanenteConf;
/// <summary>
/// lblTRimanente control.
/// Controllo lblTRimanente.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTRimanente;
/// <summary>
/// lblEfficienzaTot control.
/// Controllo lblEfficienzaTot.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaTot;
/// <summary>
/// lblEfficienzaTotRT control.
/// Controllo lblEfficienzaTotRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaTotRT;
/// <summary>
/// lblEfficienzaLavoro control.
/// Controllo lblEfficienzaLavoro.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaLavoro;
/// <summary>
/// lblEfficienzaLavoroRT control.
/// Controllo lblEfficienzaLavoroRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaLavoroRT;
/// <summary>
/// lblEfficienzaEff control.
/// Controllo lblEfficienzaEff.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaEff;
/// <summary>
/// lblEfficienzaEffRT control.
/// Controllo lblEfficienzaEffRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaEffRT;
/// <summary>
/// lblTcMedio control.
/// Controllo lblTcMedio.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcMedio;
/// <summary>
/// lblTcMedioRT control.
/// Controllo lblTcMedioRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcMedioRT;
/// <summary>
/// lblTcLavoro control.
/// Controllo lblTcLavoro.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcLavoro;
/// <summary>
/// lblTcLavoroRT control.
/// Controllo lblTcLavoroRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcLavoroRT;
/// <summary>
/// lblTcEffettivo control.
/// Controllo lblTcEffettivo.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcEffettivo;
/// <summary>
/// lblTcEffettivoRT control.
/// Controllo lblTcEffettivoRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcEffettivoRT;
/// <summary>
/// lblTcImpostato control.
/// Controllo lblTcImpostato.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcImpostato;
/// <summary>
/// lblPeriodo control.
/// Controllo lblPeriodo.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPeriodo;
/// <summary>
/// lblEfficienzaTotPerRT control.
/// Controllo lblEfficienzaTotPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaTotPerRT;
/// <summary>
/// lblEfficienzaLavoroPerRT control.
/// Controllo lblEfficienzaLavoroPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaLavoroPerRT;
/// <summary>
/// lblEfficienzaEffPerRT control.
/// Controllo lblEfficienzaEffPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblEfficienzaEffPerRT;
/// <summary>
/// lblNumPzFattiPer control.
/// Controllo lblNumPzFattiPer.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumPzFattiPer;
/// <summary>
/// lblTcMedioPerRT control.
/// Controllo lblTcMedioPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcMedioPerRT;
/// <summary>
/// lblTcLavoroPerRT control.
/// Controllo lblTcLavoroPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcLavoroPerRT;
/// <summary>
/// lblTcEffettivoPerRT control.
/// Controllo lblTcEffettivoPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcEffettivoPerRT;
/// <summary>
/// lblTcImpostatoPerRT control.
/// Controllo lblTcImpostatoPerRT.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTcImpostatoPerRT;
}
@@ -9,19 +9,19 @@
<div class="row small p-1">
<div class="col-12">
<asp:LinkButton ID="lnkMacchina" runat="server" OnClick="lnkMacchina_Click">
<div class="d-flex">
<div class="p-0">
<div class="row">
<div class="col-3">
<asp:Label ID="lblCodArticolo" runat="server" />
</div>
<div class="p-0 flex-grow-1 text-right">
<div class="col-9 text-right">
<asp:Label ID="valCodArticolo" runat="server" />
</div>
</div>
<div class="d-flex">
<div class="p-0">
<div class="row">
<div class="col-3">
<asp:Label ID="lblProd" runat="server" />
</div>
<div class="p-0 flex-grow-1 text-right">
<div class="col-9 text-right">
<asp:Label ID="valProd" runat="server" />
</div>
</div>
@@ -20,7 +20,6 @@ namespace MoonPro.WebUserControls
protected DS_ProdTempi.MappaStatoExplDataTable tabMSE;
protected DS_applicazione.AnagraficaStatiDataTable tabAnagStati;
protected DS_applicazione.KeepAliveDataTable tabKeepAlive;
/// <summary>
/// caricamento pagina
/// </summary>
@@ -38,7 +37,6 @@ namespace MoonPro.WebUserControls
//SE E SOLO SE ho una macchina e/o locazione...
if (IdxMacchina != "")
{
//DateTime tick = DateTime.Now;
// effettua update visualizzazione
retrieveData();
updateLayout();
@@ -63,16 +61,36 @@ namespace MoonPro.WebUserControls
/// </summary>
private void retrieveData()
{
try
// cerco se ho i dati in REDIS x non richiederli...
string hashKeyMSE = memLayer.ML.redHash("Tab:MSE:" + IdxMacchina);
string hashKeyAS = memLayer.ML.redHash("Tab:AnagStati");
string serVal = "";
if (memLayer.ML.redHashPresent(hashKeyMSE))
{
// popolazione tabelle
tabMSE = DataLayer.obj.taMSE.getByIdxMacchina(IdxMacchina);
serVal = memLayer.ML.getRSV(hashKeyMSE);
tabMSE = (DS_ProdTempi.MappaStatoExplDataTable)memLayer.ML.deserializeVal(serVal);
tabAnagStati = DataLayer.obj.taAnagStati.GetData();
tabKeepAlive = DataLayer.obj.taKeepAlive.GetData();
serVal = memLayer.ML.getRSV(hashKeyAS);
tabAnagStati = (DS_applicazione.AnagraficaStatiDataTable)memLayer.ML.deserializeVal(serVal);
}
else
{
// altrimenti prendo da DB...
try
{
// popolazione tabelle
tabMSE = DataLayer.obj.taMSE.getByIdxMacchina(IdxMacchina);
tabAnagStati = DataLayer.obj.taAnagStati.GetData();
}
catch
{ }
// salvo su DB! dati principali x 30 secondi...
serVal = memLayer.ML.serializeVal(tabMSE);
memLayer.ML.setRSV(hashKeyMSE, serVal, 30);
// anche il resto...
serVal = memLayer.ML.serializeVal(tabAnagStati);
memLayer.ML.setRSV(hashKeyAS, serVal);
}
catch
{ }
}
/// <summary>
/// sistema il testo
@@ -82,9 +100,9 @@ namespace MoonPro.WebUserControls
if (_IdxMacchina != "nd" && _IdxMacchina != "")
{
// labels
lblCodArticolo.Text = "Articolo";
lblCodArticolo.Text = "Art.";
lblStato.Text = "Stato";
lblProd.Text = "T.Ciclo medio"; // era OEE
lblProd.Text = "T.Ciclo"; // era OEE
lblDurata.Text = "Durata";
// 2018.02.05 cambio x fix nuovi impianti
// valMacchina.Text = tabMacchine.FindByIdxMacchina(IdxMacchina).Nome;
@@ -99,7 +117,7 @@ namespace MoonPro.WebUserControls
float minuti = 0;
try
{
MapoDb.DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaRow rigaStato = DataLayer.obj.taDatiStatoMacch.GetData(IdxMacchina, 0.1)[0];
DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaRow rigaStato = DataLayer.obj.taDatiStatoMacch.GetData(IdxMacchina, 0.1)[0];
idxStato = rigaStato.idxStato;
oreTot = Convert.ToInt32(Math.Floor(rigaStato.Minuti / 60));
minuti = (float)rigaStato.Minuti - 60 * oreTot;
@@ -250,26 +268,23 @@ namespace MoonPro.WebUserControls
}
}
/// <summary>
/// sistema hiperLink
/// sistema hyperLink
/// </summary>
private void updateHL()
{
bool answ = false;
bool answ = true;
int minuti = memLayer.ML.CRI("keepAliveMin");
// controllo se il keep alive è oltre il termine...
DateTime lastKA = DateTime.Now.AddMinutes(-minuti);
if (_IdxMacchina != "nd")
{
int minuti = SteamWare.memLayer.ML.CRI("keepAliveMin");
// controllo se il keep alive è oltre il termine...
DateTime lastKA = DateTime.Now.AddMinutes(-minuti);
try
string nomeVar = string.Format("KeepAlive:{0}", _IdxMacchina);
var _lastKA = memLayer.ML.objCacheObj(nomeVar);
if (_lastKA != null)
{
lastKA = tabKeepAlive.FindByIdxMacchina(IdxMacchina).DataOraServer;
}
catch
{ }
if (lastKA.AddMinutes(minuti) < DateTime.Now)
{
answ = true;
DateTime.TryParse(_lastKA.ToString(), out lastKA);
}
answ = (lastKA.AddMinutes(minuti) < DateTime.Now) || _lastKA == null;
}
hlComWarning.Visible = answ;
}
+2 -23
View File
@@ -31,34 +31,13 @@
</pages>
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki -->
<!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. -->
<!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. -->
<!--
<add name="MySessionStateStore"
host = "127.0.0.1" [String]
port = "" [number]
accessKey = "" [String]
ssl = "false" [true|false]
throwOnError = "true" [true|false]
retryTimeoutInMilliseconds = "5000" [number]
databaseId = "0" [number]
applicationName = "" [String]
connectionTimeoutInMilliseconds = "5000" [number]
operationTimeoutInMilliseconds = "1000" [number]
connectionString = "<Valid StackExchange.Redis connection string>" [String]
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
/>
-->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="MP_TAB" />
</providers>
</sessionState>
</system.web>
<appSettings>
<add key="CodModulo" value="MoonPro" />
<add key="cacheOnRedis" value="true" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--stringhe connessione SQL2016-->
+1553
View File
File diff suppressed because it is too large Load Diff
+140 -1
View File
@@ -79,6 +79,102 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagKITTableAdapter" GeneratorDataComponentClassName="AnagKITTableAdapter" Name="AnagKIT" UserDataComponentName="AnagKITTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.AnagKIT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagKIT] WHERE (([CodArtParent] = @Original_CodArtParent))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagKIT] ([CodArtParent]) VALUES (@CodArtParent);
SELECT CodArtParent FROM AnagKIT WHERE (CodArtParent = @CodArtParent)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodArtParent FROM dbo.AnagKIT</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagKIT] SET [CodArtParent] = @CodArtParent WHERE (([CodArtParent] = @Original_CodArtParent));
SELECT CodArtParent FROM AnagKIT WHERE (CodArtParent = @CodArtParent)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodArtParent" DataSetColumn="CodArtParent" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CompKITTableAdapter" GeneratorDataComponentClassName="CompKITTableAdapter" Name="CompKIT" UserDataComponentName="CompKITTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.CompKIT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[CompKIT] WHERE (([CodArtParent] = @Original_CodArtParent) AND ([CodArtChild] = @Original_CodArtChild) AND ([Qty] = @Original_Qty))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[CompKIT] ([CodArtParent], [CodArtChild], [Qty]) VALUES (@CodArtParent, @CodArtChild, @Qty);
SELECT CodArtParent, CodArtChild, Qty FROM CompKIT WHERE (CodArtChild = @CodArtChild) AND (CodArtParent = @CodArtParent)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodArtParent, CodArtChild, Qty FROM dbo.CompKIT</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[CompKIT] SET [CodArtParent] = @CodArtParent, [CodArtChild] = @CodArtChild, [Qty] = @Qty WHERE (([CodArtParent] = @Original_CodArtParent) AND ([CodArtChild] = @Original_CodArtChild) AND ([Qty] = @Original_Qty));
SELECT CodArtParent, CodArtChild, Qty FROM CompKIT WHERE (CodArtChild = @CodArtChild) AND (CodArtParent = @CodArtParent)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodArtParent" DataSetColumn="CodArtParent" />
<Mapping SourceColumn="CodArtChild" DataSetColumn="CodArtChild" />
<Mapping SourceColumn="Qty" DataSetColumn="Qty" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -87,7 +183,7 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
<xs:element name="DS_IntServ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_IntServ" msprop:Generator_UserDSName="DS_IntServ">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_RowClassName="TransitoDatiRow" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent">
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent" msprop:Generator_RowClassName="TransitoDatiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxRequest" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRequest" msprop:Generator_ColumnPropNameInRow="IdxRequest" msprop:Generator_ColumnPropNameInTable="IdxRequestColumn" msprop:Generator_UserColumnName="IdxRequest" type="xs:int" />
@@ -116,11 +212,54 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagKIT" msprop:Generator_TableClassName="AnagKITDataTable" msprop:Generator_TableVarName="tableAnagKIT" msprop:Generator_TablePropName="AnagKIT" msprop:Generator_RowDeletingName="AnagKITRowDeleting" msprop:Generator_RowChangingName="AnagKITRowChanging" msprop:Generator_RowEvHandlerName="AnagKITRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagKITRowDeleted" msprop:Generator_UserTableName="AnagKIT" msprop:Generator_RowChangedName="AnagKITRowChanged" msprop:Generator_RowEvArgName="AnagKITRowChangeEvent" msprop:Generator_RowClassName="AnagKITRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CompKIT" msprop:Generator_TableClassName="CompKITDataTable" msprop:Generator_TableVarName="tableCompKIT" msprop:Generator_TablePropName="CompKIT" msprop:Generator_RowDeletingName="CompKITRowDeleting" msprop:Generator_RowChangingName="CompKITRowChanging" msprop:Generator_RowEvHandlerName="CompKITRowChangeEventHandler" msprop:Generator_RowDeletedName="CompKITRowDeleted" msprop:Generator_UserTableName="CompKIT" msprop:Generator_RowChangedName="CompKITRowChanged" msprop:Generator_RowEvArgName="CompKITRowChangeEvent" msprop:Generator_RowClassName="CompKITRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodArtChild" msprop:Generator_ColumnVarNameInTable="columnCodArtChild" msprop:Generator_ColumnPropNameInRow="CodArtChild" msprop:Generator_ColumnPropNameInTable="CodArtChildColumn" msprop:Generator_UserColumnName="CodArtChild">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TransitoDati" />
<xs:field xpath="mstns:IdxRequest" />
</xs:unique>
<xs:unique name="AnagKIT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagKIT" />
<xs:field xpath="mstns:CodArtParent" />
</xs:unique>
<xs:unique name="CompKIT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CompKIT" />
<xs:field xpath="mstns:CodArtParent" />
<xs:field xpath="mstns:CodArtChild" />
</xs:unique>
</xs:element>
</xs:schema>
+3 -1
View File
@@ -6,7 +6,9 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:TransitoDati" ZOrder="1" X="143" Y="127" Height="227" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:TransitoDati" ZOrder="3" X="143" Y="127" Height="227" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:AnagKIT" ZOrder="2" X="648" Y="149" Height="112" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="54" />
<Shape ID="DesignTable:CompKIT" ZOrder="1" X="630" Y="335" Height="158" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
</Shapes>
<Connectors />
</DiagramLayout>
+8 -1
View File
@@ -27694,6 +27694,7 @@ FROM MappaStatoExpl";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMulti", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@byGroup", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_PODL_insertQuery";
@@ -27811,7 +27812,7 @@ FROM MappaStatoExpl";
[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_ProdTempi.PromesseODLDataTable getByMultiMacc(string idxMulti) {
public virtual DS_ProdTempi.PromesseODLDataTable getByMultiMacc(string idxMulti, global::System.Nullable<bool> byGroup) {
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((idxMulti == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -27819,6 +27820,12 @@ FROM MappaStatoExpl";
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMulti));
}
if ((byGroup.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(byGroup.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+11 -10
View File
@@ -2148,6 +2148,7 @@ ORDER BY idxPromessa DESC</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="@idxMulti" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@byGroup" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -2672,7 +2673,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MappaStatoExpl" msprop:Generator_TableClassName="MappaStatoExplDataTable" msprop:Generator_TableVarName="tableMappaStatoExpl" msprop:Generator_RowChangedName="MappaStatoExplRowChanged" msprop:Generator_TablePropName="MappaStatoExpl" msprop:Generator_RowDeletingName="MappaStatoExplRowDeleting" msprop:Generator_RowChangingName="MappaStatoExplRowChanging" msprop:Generator_RowEvHandlerName="MappaStatoExplRowChangeEventHandler" msprop:Generator_RowDeletedName="MappaStatoExplRowDeleted" msprop:Generator_RowClassName="MappaStatoExplRow" msprop:Generator_UserTableName="MappaStatoExpl" msprop:Generator_RowEvArgName="MappaStatoExplRowChangeEvent">
<xs:element name="MappaStatoExpl" msprop:Generator_TableClassName="MappaStatoExplDataTable" msprop:Generator_TableVarName="tableMappaStatoExpl" msprop:Generator_TablePropName="MappaStatoExpl" msprop:Generator_RowDeletingName="MappaStatoExplRowDeleting" msprop:Generator_RowChangingName="MappaStatoExplRowChanging" msprop:Generator_RowEvHandlerName="MappaStatoExplRowChangeEventHandler" msprop:Generator_RowDeletedName="MappaStatoExplRowDeleted" msprop:Generator_UserTableName="MappaStatoExpl" msprop:Generator_RowChangedName="MappaStatoExplRowChanged" msprop:Generator_RowEvArgName="MappaStatoExplRowChangeEvent" msprop:Generator_RowClassName="MappaStatoExplRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RowNum" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnRowNum" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_UserColumnName="RowNum" type="xs:int" />
@@ -2753,7 +2754,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProduzioneAs400" msprop:Generator_TableClassName="ProduzioneAs400DataTable" msprop:Generator_TableVarName="tableProduzioneAs400" msprop:Generator_TablePropName="ProduzioneAs400" msprop:Generator_RowDeletingName="ProduzioneAs400RowDeleting" msprop:Generator_RowChangingName="ProduzioneAs400RowChanging" msprop:Generator_RowEvHandlerName="ProduzioneAs400RowChangeEventHandler" msprop:Generator_RowDeletedName="ProduzioneAs400RowDeleted" msprop:Generator_UserTableName="ProduzioneAs400" msprop:Generator_RowChangedName="ProduzioneAs400RowChanged" msprop:Generator_RowEvArgName="ProduzioneAs400RowChangeEvent" msprop:Generator_RowClassName="ProduzioneAs400Row">
<xs:element name="ProduzioneAs400" msprop:Generator_TableClassName="ProduzioneAs400DataTable" msprop:Generator_TableVarName="tableProduzioneAs400" msprop:Generator_RowChangedName="ProduzioneAs400RowChanged" msprop:Generator_TablePropName="ProduzioneAs400" msprop:Generator_RowDeletingName="ProduzioneAs400RowDeleting" msprop:Generator_RowChangingName="ProduzioneAs400RowChanging" msprop:Generator_RowEvHandlerName="ProduzioneAs400RowChangeEventHandler" msprop:Generator_RowDeletedName="ProduzioneAs400RowDeleted" msprop:Generator_RowClassName="ProduzioneAs400Row" msprop:Generator_UserTableName="ProduzioneAs400" msprop:Generator_RowEvArgName="ProduzioneAs400RowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxODL" msprop:Generator_ColumnVarNameInTable="columnIdxODL" msprop:Generator_ColumnPropNameInRow="IdxODL" msprop:Generator_ColumnPropNameInTable="IdxODLColumn" msprop:Generator_UserColumnName="IdxODL" type="xs:int" />
@@ -2782,7 +2783,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResProdDett_splitODL" msprop:Generator_TableClassName="ResProdDett_splitODLDataTable" msprop:Generator_TableVarName="tableResProdDett_splitODL" msprop:Generator_RowChangedName="ResProdDett_splitODLRowChanged" msprop:Generator_TablePropName="ResProdDett_splitODL" msprop:Generator_RowDeletingName="ResProdDett_splitODLRowDeleting" msprop:Generator_RowChangingName="ResProdDett_splitODLRowChanging" msprop:Generator_RowEvHandlerName="ResProdDett_splitODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdDett_splitODLRowDeleted" msprop:Generator_RowClassName="ResProdDett_splitODLRow" msprop:Generator_UserTableName="ResProdDett_splitODL" msprop:Generator_RowEvArgName="ResProdDett_splitODLRowChangeEvent">
<xs:element name="ResProdDett_splitODL" msprop:Generator_TableClassName="ResProdDett_splitODLDataTable" msprop:Generator_TableVarName="tableResProdDett_splitODL" msprop:Generator_TablePropName="ResProdDett_splitODL" msprop:Generator_RowDeletingName="ResProdDett_splitODLRowDeleting" msprop:Generator_RowChangingName="ResProdDett_splitODLRowChanging" msprop:Generator_RowEvHandlerName="ResProdDett_splitODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdDett_splitODLRowDeleted" msprop:Generator_UserTableName="ResProdDett_splitODL" msprop:Generator_RowChangedName="ResProdDett_splitODLRowChanged" msprop:Generator_RowEvArgName="ResProdDett_splitODLRowChangeEvent" msprop:Generator_RowClassName="ResProdDett_splitODLRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxODL" msprop:Generator_ColumnVarNameInTable="columnIdxODL" msprop:Generator_ColumnPropNameInRow="IdxODL" msprop:Generator_ColumnPropNameInTable="IdxODLColumn" msprop:Generator_UserColumnName="IdxODL" type="xs:int" minOccurs="0" />
@@ -2794,7 +2795,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResProdDett_splitGG" msprop:Generator_TableClassName="ResProdDett_splitGGDataTable" msprop:Generator_TableVarName="tableResProdDett_splitGG" msprop:Generator_RowChangedName="ResProdDett_splitGGRowChanged" msprop:Generator_TablePropName="ResProdDett_splitGG" msprop:Generator_RowDeletingName="ResProdDett_splitGGRowDeleting" msprop:Generator_RowChangingName="ResProdDett_splitGGRowChanging" msprop:Generator_RowEvHandlerName="ResProdDett_splitGGRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdDett_splitGGRowDeleted" msprop:Generator_RowClassName="ResProdDett_splitGGRow" msprop:Generator_UserTableName="ResProdDett_splitGG" msprop:Generator_RowEvArgName="ResProdDett_splitGGRowChangeEvent">
<xs:element name="ResProdDett_splitGG" msprop:Generator_TableClassName="ResProdDett_splitGGDataTable" msprop:Generator_TableVarName="tableResProdDett_splitGG" msprop:Generator_TablePropName="ResProdDett_splitGG" msprop:Generator_RowDeletingName="ResProdDett_splitGGRowDeleting" msprop:Generator_RowChangingName="ResProdDett_splitGGRowChanging" msprop:Generator_RowEvHandlerName="ResProdDett_splitGGRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdDett_splitGGRowDeleted" msprop:Generator_UserTableName="ResProdDett_splitGG" msprop:Generator_RowChangedName="ResProdDett_splitGGRowChanged" msprop:Generator_RowEvArgName="ResProdDett_splitGGRowChangeEvent" msprop:Generator_RowClassName="ResProdDett_splitGGRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" minOccurs="0" />
@@ -2819,7 +2820,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResProdTot" msprop:Generator_TableClassName="ResProdTotDataTable" msprop:Generator_TableVarName="tableResProdTot" msprop:Generator_TablePropName="ResProdTot" msprop:Generator_RowDeletingName="ResProdTotRowDeleting" msprop:Generator_RowChangingName="ResProdTotRowChanging" msprop:Generator_RowEvHandlerName="ResProdTotRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdTotRowDeleted" msprop:Generator_UserTableName="ResProdTot" msprop:Generator_RowChangedName="ResProdTotRowChanged" msprop:Generator_RowEvArgName="ResProdTotRowChangeEvent" msprop:Generator_RowClassName="ResProdTotRow">
<xs:element name="ResProdTot" msprop:Generator_TableClassName="ResProdTotDataTable" msprop:Generator_TableVarName="tableResProdTot" msprop:Generator_RowChangedName="ResProdTotRowChanged" msprop:Generator_TablePropName="ResProdTot" msprop:Generator_RowDeletingName="ResProdTotRowDeleting" msprop:Generator_RowChangingName="ResProdTotRowChanging" msprop:Generator_RowEvHandlerName="ResProdTotRowChangeEventHandler" msprop:Generator_RowDeletedName="ResProdTotRowDeleted" msprop:Generator_RowClassName="ResProdTotRow" msprop:Generator_UserTableName="ResProdTot" msprop:Generator_RowEvArgName="ResProdTotRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome">
@@ -2857,7 +2858,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegistroControlli" msprop:Generator_TableClassName="RegistroControlliDataTable" msprop:Generator_TableVarName="tableRegistroControlli" msprop:Generator_RowChangedName="RegistroControlliRowChanged" msprop:Generator_TablePropName="RegistroControlli" msprop:Generator_RowDeletingName="RegistroControlliRowDeleting" msprop:Generator_RowChangingName="RegistroControlliRowChanging" msprop:Generator_RowEvHandlerName="RegistroControlliRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroControlliRowDeleted" msprop:Generator_RowClassName="RegistroControlliRow" msprop:Generator_UserTableName="RegistroControlli" msprop:Generator_RowEvArgName="RegistroControlliRowChangeEvent">
<xs:element name="RegistroControlli" msprop:Generator_TableClassName="RegistroControlliDataTable" msprop:Generator_TableVarName="tableRegistroControlli" msprop:Generator_TablePropName="RegistroControlli" msprop:Generator_RowDeletingName="RegistroControlliRowDeleting" msprop:Generator_RowChangingName="RegistroControlliRowChanging" msprop:Generator_RowEvHandlerName="RegistroControlliRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroControlliRowDeleted" msprop:Generator_UserTableName="RegistroControlli" msprop:Generator_RowChangedName="RegistroControlliRowChanged" msprop:Generator_RowEvArgName="RegistroControlliRowChangeEvent" msprop:Generator_RowClassName="RegistroControlliRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxControllo" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxControllo" msprop:Generator_ColumnPropNameInRow="IdxControllo" msprop:Generator_ColumnPropNameInTable="IdxControlloColumn" msprop:Generator_UserColumnName="IdxControllo" type="xs:int" />
@@ -2896,7 +2897,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegistroScarti" msprop:Generator_TableClassName="RegistroScartiDataTable" msprop:Generator_TableVarName="tableRegistroScarti" msprop:Generator_RowChangedName="RegistroScartiRowChanged" msprop:Generator_TablePropName="RegistroScarti" msprop:Generator_RowDeletingName="RegistroScartiRowDeleting" msprop:Generator_RowChangingName="RegistroScartiRowChanging" msprop:Generator_RowEvHandlerName="RegistroScartiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroScartiRowDeleted" msprop:Generator_RowClassName="RegistroScartiRow" msprop:Generator_UserTableName="RegistroScarti" msprop:Generator_RowEvArgName="RegistroScartiRowChangeEvent">
<xs:element name="RegistroScarti" msprop:Generator_TableClassName="RegistroScartiDataTable" msprop:Generator_TableVarName="tableRegistroScarti" msprop:Generator_TablePropName="RegistroScarti" msprop:Generator_RowDeletingName="RegistroScartiRowDeleting" msprop:Generator_RowChangingName="RegistroScartiRowChanging" msprop:Generator_RowEvHandlerName="RegistroScartiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroScartiRowDeleted" msprop:Generator_UserTableName="RegistroScarti" msprop:Generator_RowChangedName="RegistroScartiRowChanged" msprop:Generator_RowEvArgName="RegistroScartiRowChangeEvent" msprop:Generator_RowClassName="RegistroScartiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -2962,7 +2963,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StatoProd" msprop:Generator_TableClassName="StatoProdDataTable" msprop:Generator_TableVarName="tableStatoProd" msprop:Generator_RowChangedName="StatoProdRowChanged" msprop:Generator_TablePropName="StatoProd" msprop:Generator_RowDeletingName="StatoProdRowDeleting" msprop:Generator_RowChangingName="StatoProdRowChanging" msprop:Generator_RowEvHandlerName="StatoProdRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoProdRowDeleted" msprop:Generator_RowClassName="StatoProdRow" msprop:Generator_UserTableName="StatoProd" msprop:Generator_RowEvArgName="StatoProdRowChangeEvent">
<xs:element name="StatoProd" msprop:Generator_TableClassName="StatoProdDataTable" msprop:Generator_TableVarName="tableStatoProd" msprop:Generator_TablePropName="StatoProd" msprop:Generator_RowDeletingName="StatoProdRowDeleting" msprop:Generator_RowChangingName="StatoProdRowChanging" msprop:Generator_RowEvHandlerName="StatoProdRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoProdRowDeleted" msprop:Generator_UserTableName="StatoProd" msprop:Generator_RowChangedName="StatoProdRowChanged" msprop:Generator_RowEvArgName="StatoProdRowChangeEvent" msprop:Generator_RowClassName="StatoProdRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxMacchina" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" msprop:Generator_UserColumnName="idxMacchina" minOccurs="0">
@@ -2984,7 +2985,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PromesseODL" msprop:Generator_TableClassName="PromesseODLDataTable" msprop:Generator_TableVarName="tablePromesseODL" msprop:Generator_TablePropName="PromesseODL" msprop:Generator_RowDeletingName="PromesseODLRowDeleting" msprop:Generator_RowChangingName="PromesseODLRowChanging" msprop:Generator_RowEvHandlerName="PromesseODLRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseODLRowDeleted" msprop:Generator_UserTableName="PromesseODL" msprop:Generator_RowChangedName="PromesseODLRowChanged" msprop:Generator_RowEvArgName="PromesseODLRowChangeEvent" msprop:Generator_RowClassName="PromesseODLRow">
<xs:element name="PromesseODL" msprop:Generator_TableClassName="PromesseODLDataTable" msprop:Generator_TableVarName="tablePromesseODL" msprop:Generator_RowChangedName="PromesseODLRowChanged" msprop:Generator_TablePropName="PromesseODL" msprop:Generator_RowDeletingName="PromesseODLRowDeleting" msprop:Generator_RowChangingName="PromesseODLRowChanging" msprop:Generator_RowEvHandlerName="PromesseODLRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseODLRowDeleted" msprop:Generator_RowClassName="PromesseODLRow" msprop:Generator_UserTableName="PromesseODL" msprop:Generator_RowEvArgName="PromesseODLRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -3054,7 +3055,7 @@ FROM v_ECP</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoConfermeProd" msprop:Generator_TableClassName="ElencoConfermeProdDataTable" msprop:Generator_TableVarName="tableElencoConfermeProd" msprop:Generator_TablePropName="ElencoConfermeProd" msprop:Generator_RowDeletingName="ElencoConfermeProdRowDeleting" msprop:Generator_RowChangingName="ElencoConfermeProdRowChanging" msprop:Generator_RowEvHandlerName="ElencoConfermeProdRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoConfermeProdRowDeleted" msprop:Generator_UserTableName="ElencoConfermeProd" msprop:Generator_RowChangedName="ElencoConfermeProdRowChanged" msprop:Generator_RowEvArgName="ElencoConfermeProdRowChangeEvent" msprop:Generator_RowClassName="ElencoConfermeProdRow">
<xs:element name="ElencoConfermeProd" msprop:Generator_TableClassName="ElencoConfermeProdDataTable" msprop:Generator_TableVarName="tableElencoConfermeProd" msprop:Generator_RowChangedName="ElencoConfermeProdRowChanged" msprop:Generator_TablePropName="ElencoConfermeProd" msprop:Generator_RowDeletingName="ElencoConfermeProdRowDeleting" msprop:Generator_RowChangingName="ElencoConfermeProdRowChanging" msprop:Generator_RowEvHandlerName="ElencoConfermeProdRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoConfermeProdRowDeleted" msprop:Generator_RowClassName="ElencoConfermeProdRow" msprop:Generator_UserTableName="ElencoConfermeProd" msprop:Generator_RowEvArgName="ElencoConfermeProdRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataOraConf" msprop:Generator_ColumnVarNameInTable="columnDataOraConf" msprop:Generator_ColumnPropNameInRow="DataOraConf" msprop:Generator_ColumnPropNameInTable="DataOraConfColumn" msprop:Generator_UserColumnName="DataOraConf" type="xs:dateTime" />
+11 -11
View File
@@ -4,32 +4,32 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="29" ViewPortY="410" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="10" ViewPortY="778" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:TempiCicloRilevati" ZOrder="3" X="20" Y="81" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:TempiCicloRilevati" ZOrder="4" X="20" Y="81" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:ODL" ZOrder="11" X="590" Y="407" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="2" X="261" Y="516" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="3" X="261" Y="516" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:DatiMacchine" ZOrder="16" X="985" Y="402" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:PostazioniMapo" ZOrder="24" X="950" Y="39" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:stp_PzProd_getByMacchina" ZOrder="17" X="181" Y="769" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:DatiConfermati" ZOrder="23" X="585" Y="50" Height="411" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="5" X="346" Y="364" Height="135" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="6" X="346" Y="364" Height="135" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:stp_TempoByIdxMaccPeriodClass" ZOrder="22" X="154" Y="970" Height="113" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="54" />
<Shape ID="DesignTable:DatiProduzione" ZOrder="15" X="554" Y="922" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:stp_repDonati_getDatiProdMacchina" ZOrder="21" X="1005" Y="771" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:stp_repDonati_getLastStatoDurataMacchina" ZOrder="20" X="1003" Y="1118" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:stp_repDonati_getDatiProdMacchinaPeriodo" ZOrder="19" X="166" Y="1132" Height="204" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:TurniMacchina" ZOrder="4" X="363" Y="94" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:MappaStatoExpl" ZOrder="1" X="907" Y="1262" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:TurniMacchina" ZOrder="5" X="363" Y="94" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:MappaStatoExpl" ZOrder="2" X="907" Y="1262" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ProduzioneAs400" ZOrder="18" X="177" Y="1342" Height="227" Width="292" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:ResProdDett_splitODL" ZOrder="7" X="928" Y="2187" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:ResProdDett_splitGG" ZOrder="6" X="924" Y="2426" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:ResProdTot" ZOrder="8" X="544" Y="2122" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:ResProdDett_splitODL" ZOrder="8" X="928" Y="2187" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:ResProdDett_splitGG" ZOrder="7" X="924" Y="2426" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:ResProdTot" ZOrder="9" X="544" Y="2122" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:RegistroControlli" ZOrder="14" X="536" Y="1403" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
<Shape ID="DesignTable:RegistroScarti" ZOrder="13" X="172" Y="1581" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:StatoProd" ZOrder="12" X="539" Y="1784" Height="319" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
<Shape ID="DesignTable:PromesseODL" ZOrder="10" X="927" Y="1708" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ElencoConfermeProd" ZOrder="9" X="166" Y="2050" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="283" />
<Shape ID="DesignTable:PromesseODL" ZOrder="1" X="927" Y="1708" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ElencoConfermeProd" ZOrder="10" X="166" Y="2050" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="283" />
</Shapes>
<Connectors />
</DiagramLayout>
+1 -1
View File
@@ -1259,7 +1259,7 @@ namespace MapoDb
{
// salvo in variabile boolean se registrare keep alive su db o meno
bool doWrite = false;
string nomeVar = string.Format("KA{0}", IdxMacchina);
string nomeVar = string.Format("KeepAlive:{0}", IdxMacchina);
// in primis controllo se in cache c'è oggetto keep alive x macchina... formato KA{ID-MACCHINA}
DateTime adesso = DateTime.Now;
if (memLayer.ML.isInCacheObject(nomeVar))