Merge branch 'develop'

This commit is contained in:
Samuele E. Locatelli
2018-10-23 00:17:22 +02:00
22 changed files with 740 additions and 673 deletions
Vendored
+1 -1
View File
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=871']) {
withEnv(['NEXT_BUILD_NUMBER=888']) {
// 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'
-16
View File
@@ -194,7 +194,6 @@
<Content Include="App_Readme\Elmah.txt" />
<Content Include="Barcode.aspx" />
<Content Include="BCode.aspx" />
<Content Include="caricaUpdateOperatori.aspx" />
<Content Include="Content\bootstrap-grid.css" />
<Content Include="Content\bootstrap-grid.min.css" />
<Content Include="Content\bootstrap-reboot.css" />
@@ -423,13 +422,6 @@
<Compile Include="calendChiusura.aspx.designer.cs">
<DependentUpon>calendChiusura.aspx</DependentUpon>
</Compile>
<Compile Include="caricaUpdateOperatori.aspx.cs">
<DependentUpon>caricaUpdateOperatori.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="caricaUpdateOperatori.aspx.designer.cs">
<DependentUpon>caricaUpdateOperatori.aspx</DependentUpon>
</Compile>
<Compile Include="Default.aspx.cs">
<SubType>ASPXCodeBehind</SubType>
<DependentUpon>Default.aspx</DependentUpon>
@@ -581,13 +573,6 @@
<Compile Include="WebUserControls\mod_calChiusura.ascx.designer.cs">
<DependentUpon>mod_calChiusura.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_caricaOperatoriCSV.ascx.cs">
<DependentUpon>mod_caricaOperatoriCSV.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_caricaOperatoriCSV.ascx.designer.cs">
<DependentUpon>mod_caricaOperatoriCSV.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_fixCal.ascx.cs">
<DependentUpon>mod_fixCal.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -860,7 +845,6 @@
<Content Include="WebUserControls\mod_approvProd.ascx" />
<Content Include="WebUserControls\mod_barcode.ascx" />
<Content Include="WebUserControls\mod_calChiusura.ascx" />
<Content Include="WebUserControls\mod_caricaOperatoriCSV.ascx" />
<Content Include="WebUserControls\mod_fixCal.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
<Content Include="WebUserControls\mod_gestioneDatiMacchine.ascx" />
-53
View File
@@ -11,65 +11,12 @@
<appSettings>
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--conf base-->
<add key="appName" value="MoonProAdmin" />
<add key="CodModulo" value="MoonPro" />
<add key="_righeDataGrid" value="30" />
<add key="_righeDataGridAnagr" value="20" />
<add key="_righeDataGridMed" value="10" />
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="MoonPro@steamware.net" />
<!-- Logging -->
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<!--altro-->
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx" />
<add key="_treeMaxChar" value="35" />
<add key="_showAllTree" value="false" />
<add key="_adminEmail" value="samuele@steamware.net" />
<add key="_smtpCli" value="localhost" />
<add key="keepAliveMin" value="60" />
<add key="MinCharAutocomplete" value="1" />
<add key="_pdwUpdateForzato" value="colmecc" />
<add key="_pdwRefreshDb" value="steamware" />
<!--area codici per barcode, dichiarazioni produzione-->
<add key="prefDichProd" value="XX" />
<add key="MostraProd" value="XXPRD" />
<add key="ConfermaProd" value="XXOK" />
<add key="AnnullaProd" value="XXCAN" />
<add key="AumentaProd" value="XXP" />
<add key="DiminuisciProd" value="XXM" />
<!--area codici per barcode, dichiarazioni fermate-->
<add key="prefDichFerm" value="FE" />
<!--area codici per barcode, dichiarazioni operatore-->
<add key="prefDichOp" value="OP" />
<!--area codici per barcode, attrezzaggi-->
<add key="prefDichAttrezzaggio" value="AT" />
<add key="StartSetup" value="AT02" />
<add key="EndSetup" value="AT01" />
<add key="EndProd" value="AT07" />
<!--area config termini tooltip sequencer-->
<add key="codV" value="Lavora" />
<add key="codG" value="???" />
<add key="codR" value="Ferma" />
<add key="codS" value="Spenta" />
<!--area oggetti di stampa-->
<add key="exportFormat1" value="~/ExportPdf.aspx?tipo={0}&amp;idx={1}" />
<!--abilita auth solo con username-->
<add key="authSenzaDominio" value="true" />
<!--<add key="UtenteCdcConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer;" />-->
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="MoonProConnectionStringIS" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_ColCom;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
<!--gestione charting-->
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
</appSettings>
<connectionStrings>
<add name="MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
@@ -1,53 +0,0 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="MoonPro_site.WebUserControls.mod_caricaOperatoriCSV" Codebehind="mod_caricaOperatoriCSV.ascx.cs" %>
<h2>
Aggiornamento dati Operatori</h2>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:Panel ID="pnlUpload" Visible="false" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
Selezionare il file da caricare:
</td>
</tr>
<tr>
<td>
<asp:FileUpload ID="FileUpload1" runat="server" />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="CheckBox1" runat="server" Text="Con intestazioni" Checked="true" />
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Carica File" />
<asp:Label ID="lblWarning" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</td>
</tr>
<tr>
<td>
<asp:GridView ID="GridView2" runat="server">
</asp:GridView>
</td>
</tr>
</table>
</asp:Panel>
</td>
<td valign="top">
<asp:Panel ID="pnlPasswd" runat="server" Visible="true">
Password di autorizzazione:&nbsp;<asp:TextBox ID="txtPwd" runat="server" TextMode="Password"
AutoPostBack="true" OnTextChanged="txtPwd_TextChanged"></asp:TextBox>
</asp:Panel>
</td>
</tr>
</table>
@@ -1,84 +0,0 @@
using MapoDb;
using SteamWare;
using System;
using System.Configuration;
using System.Data;
namespace MoonPro_site.WebUserControls
{
public partial class mod_caricaOperatoriCSV : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
checkAuth();
}
private void checkAuth()
{
// se in session è auth alora mostro pannello caricamento..
if (Convert.ToBoolean(Session["isAuthUpdForced"]))
{
pnlUpload.Visible = true;
pnlPasswd.Visible = false;
}
else
{
pnlUpload.Visible = false;
pnlPasswd.Visible = true;
}
}
protected void Button1_Click(object sender, EventArgs e)
{
// controllo se c'è il file
if (FileUpload1.HasFile)
{
// salvo file in locale...
string _dirPath = System.Web.HttpContext.Current.Server.MapPath("./upload/");
string _logPath = System.Web.HttpContext.Current.Server.MapPath("./logs/");
FileUpload1.PostedFile.SaveAs(string.Format("{0}importOpr.csv", _dirPath));
// leggo il file locale in una tabella
fileMover fm = new fileMover(_dirPath, _dirPath);
DataTable tabIn = CsvParser.Parse(fm.scaricaFileString("importOpr.csv"), CheckBox1.Checked);
// svuoto vecchia tab inserting...
DataLayer.obj.taOp2ins.DeleteAll();
int _errori = 0;
logger lg = new logger(_logPath);
foreach (DataRow riga in tabIn.Rows)
{
try
{
DataLayer.obj.taOp2ins.Insert(Convert.ToInt32(riga[0]), riga[1].ToString(), riga[2].ToString());
}
catch
{
_errori++;
lg.scriviLog(string.Format("Importazione dati operatore: errore nell'inserimento dell'operatore con matricola {0}", riga[0]));
}
}
DataLayer.obj.taOp2ins.UpdateOperatori();
lblWarning.Text = "Dati operatore caricati!";
if (_errori > 0) lblWarning.Text = lblWarning.Text + string.Format(" - riscontrati {0} errori, vedere log!", _errori);
}
else
{
lblWarning.Text = "Indicare il file da caricare!";
}
}
protected void txtPwd_TextChanged(object sender, EventArgs e)
{
string _pwdOk = ConfigurationManager.AppSettings.Get("_pdwUpdateForzato");
// verifico la password ed eventualmente mostro pannello caricamento..
if (txtPwd.Text != "" && txtPwd.Text == _pwdOk)
{
Session["isAuthUpdForced"] = true;
checkAuth();
}
else
{
Session["isAuthUpdForced"] = false;
checkAuth();
}
}
}
}
@@ -1,98 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonPro_site.WebUserControls
{
public partial class mod_caricaOperatoriCSV {
/// <summary>
/// pnlUpload control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlUpload;
/// <summary>
/// FileUpload1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload FileUpload1;
/// <summary>
/// CheckBox1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox CheckBox1;
/// <summary>
/// Button1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button1;
/// <summary>
/// lblWarning control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblWarning;
/// <summary>
/// GridView1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GridView1;
/// <summary>
/// GridView2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView GridView2;
/// <summary>
/// pnlPasswd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlPasswd;
/// <summary>
/// txtPwd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPwd;
}
}
-7
View File
@@ -1,7 +0,0 @@
<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MoonPro_noAjax.master" AutoEventWireup="true" Inherits="caricaUpdateOperatori" Codebehind="caricaUpdateOperatori.aspx.cs" %>
<%@ Register Src="~/WebUserControls/mod_caricaOperatoriCSV.ascx" TagName="mod_caricaOperatoriCSV" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<uc1:mod_caricaOperatoriCSV ID="Mod_caricaOperatoriCSV1" runat="server" />
</asp:Content>
-9
View File
@@ -1,9 +0,0 @@
using System;
public partial class caricaUpdateOperatori : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
-22
View File
@@ -1,22 +0,0 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
public partial class caricaUpdateOperatori {
/// <summary>
/// Controllo Mod_caricaOperatoriCSV1.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MoonPro_site.WebUserControls.mod_caricaOperatoriCSV Mod_caricaOperatoriCSV1;
}
+1 -1
View File
@@ -8,7 +8,7 @@ namespace MP_IO.Controllers
{
public class IOBController : Controller
{
// GET: IOB (è un check alive)
// GET: IOB (è un check alive del server)
public string Index()
{
if (memLayer.ML.CRB("IOB_RedEnab"))
-22
View File
@@ -5,28 +5,8 @@
-->
<configuration>
<appSettings>
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="maxAgeAppConf_min" value="10" />
<add key="IOB_RedEnab" value="true" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--keep alive!-->
<add key="resetConnKA" value="false" />
<add key="forceResetKeepAlive" value="true" />
<add key="kaMinUpdSec" value="30" />
<add key="checkConnStatus" value="true" />
<add key="disable_verificaIdxMacchina" value="true" />
<add key="disable_singleton" value="true" />
<!--conf base-->
<add key="appName" value="MP-IO" />
<add key="CodModulo" value="MoonPro" />
<!-- Logging -->
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<!--caching dati in REDIS-->
<add key="currOdlCacheDur" value="300" />
<!--stringhe connessione-->
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
@@ -34,8 +14,6 @@
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DevicesConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<!--gestione charting-->
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
</appSettings>
<connectionStrings>
<add name="MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
-63
View File
@@ -13,19 +13,6 @@
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<!--default valori-->
<add key="appVers" value="beta" />
<add key="downloadPath" value="c:\Steamware\installers\MP\" />
<add key="Environment" value="DEV" />
<add key="Cliente" value="Cliente DEMO" />
<add key="appName" value="MoonPro.18" />
<add key="seq_gg" value="1" />
<add key="seq_height" value="40" />
<add key="seq_numSpl" value="1000" />
<add key="UpdateToDefault" value="true" />
<add key="refreshShort" value="50000" />
<add key="refreshLong" value="300000" />
<add key="baseAuthUrl" value="http://10.74.82.219/MP/TAB/jumper?" />
<!--URL se DB non andasse..-->
<add key="UrlMpSite" value="../MP/SITE" />
<add key="UrlMpAdmin" value="../MP/ADM" />
@@ -34,56 +21,6 @@
<add key="UrlMpTAB" value="../MP/TAB" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--conf base-->
<add key="CodModulo" value="MoonPro" />
<add key="_righeDataGrid" value="30" />
<add key="_righeDataGridAnagr" value="20" />
<add key="_righeDataGridMed" value="10" />
<add key="_righeDataGridShort" value="10" />
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx" />
<add key="_treeMaxChar" value="35" />
<add key="_showAllTree" value="false" />
<add key="_fromEmail" value="MoonPro@steamware.net" />
<add key="_adminEmail" value="samuele@steamware.net" />
<add key="_smtpCli" value="localhost" />
<add key="keepAliveMin" value="10" />
<add key="MinCharAutocomplete" value="1" />
<add key="_pdwRefreshDb" value="steamware" />
<add key="prefDichProd" value="XX" />
<add key="MostraProd" value="XXPRD" />
<add key="ConfermaProd" value="XXOK" />
<add key="AnnullaProd" value="XXCAN" />
<add key="AumentaProd" value="XXP" />
<add key="DiminuisciProd" value="XXM" />
<add key="prefDichFerm" value="FE" />
<add key="prefDichOp" value="OP" />
<add key="prefDichAttrezzaggio" value="AT" />
<add key="StartSetup" value="AT02" />
<add key="EndSetup" value="AT01" />
<add key="EndProd" value="AT07" />
<add key="prefModTurno" value="MT" />
<add key="modTurno1" value="MT01" />
<add key="modTurno2" value="MT02" />
<add key="modTurno3" value="MT03" />
<add key="idxPostazioneStd" value="P1005" />
<add key="idxMacchinaStd" value="1005" />
<add key="minutiUpdateAdmin" value="5" />
<add key="showSeqStati" value="true" />
<add key="showSeqTC" value="true" />
<add key="codV" value="Lavora" />
<add key="codG" value="???" />
<add key="codR" value="Ferma" />
<add key="codS" value="Spenta" />
<add key="authSenzaDominio" value="true" />
<add key="TcMaxFactor" value="2" />
<add key="chkIdxOdlEndProd" value="false" />
<add key="AutoCleanUpInterval" value="10" />
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
<!--stringhe connessione SQL2016-->
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
</appSettings>
+8 -7
View File
@@ -1,4 +1,5 @@
using MP_MON.Models;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -20,7 +21,7 @@ namespace MP_MON.Controllers
ViewBag.cssSemBase = "sem";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
pageRefreshSec = memLayer.ML.CRS("pageRefreshSec");
}
catch
{ }
@@ -42,7 +43,7 @@ namespace MP_MON.Controllers
ViewBag.cssSemBase = "semBlink";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
pageRefreshSec = memLayer.ML.CRS("pageRefreshSec");
}
catch
{ }
@@ -64,7 +65,7 @@ namespace MP_MON.Controllers
ViewBag.cssSemBase = "semFix";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
pageRefreshSec = memLayer.ML.CRS("pageRefreshSec");
}
catch
{ }
@@ -90,7 +91,7 @@ namespace MP_MON.Controllers
int keepAliveMin = 1;
try
{
keepAliveMin = Convert.ToInt32(WebConfigurationManager.AppSettings["keepAliveMin"]);
keepAliveMin = memLayer.ML.CRI("keepAliveMin");
}
catch
{ }
@@ -103,8 +104,8 @@ namespace MP_MON.Controllers
// scrivo esito
esito = string.Format("Trovate {0} schede offline", numKO);
// invio email...
string from = WebConfigurationManager.AppSettings["_fromEmail"];
string to = WebConfigurationManager.AppSettings["_checkIobEmail"];
string from = memLayer.ML.CRS("_fromEmail");
string to = memLayer.ML.CRS("_checkIobEmail");
string subject = "MapoIOB - ciclo di controllo schede MapoIOB";
string body = string.Format("<h2>Attenzione!</h2> durante l'ultimo ciclo di controllo sono state {1}{0}", Environment.NewLine, esito);
foreach (MappaStatoExpl item in risultato)
@@ -112,7 +113,7 @@ namespace MP_MON.Controllers
body += string.Format("{2}<b>{0}</b> \t\t | Art: {1}", item.Nome, item.CodArticolo, Environment.NewLine);
}
// se ho una pwd/user utilizzo smtp auth, altrimenti base...
if ((WebConfigurationManager.AppSettings["_emailUser"] != "") && (WebConfigurationManager.AppSettings["_emailPwd"] != ""))
if ((memLayer.ML.CRS("_emailUser") != "") && (memLayer.ML.CRS("_emailPwd") != ""))
{
SteamWare.gestEmail.geAuth.mandaEmail(from, to, subject, body);
}
+3 -48
View File
@@ -1,4 +1,5 @@
using MP_MON.Models;
using SteamWare;
using System.Web.Configuration;
using System.Web.Mvc;
@@ -21,7 +22,7 @@ namespace MP_MON.Controllers
ViewBag.cssSemBase = "sem";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
pageRefreshSec = memLayer.ML.CRS("pageRefreshSec");
}
catch
{ }
@@ -49,7 +50,7 @@ namespace MP_MON.Controllers
ViewBag.IdxMacchina = id;
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
pageRefreshSec = memLayer.ML.CRS("pageRefreshSec");
}
catch
{ }
@@ -62,52 +63,6 @@ namespace MP_MON.Controllers
Response.AddHeader("Refresh", pageRefreshSec);
return View();
}
#if false
public ActionResult Blink()
{
// ricarico ogni minuto COMUNQUE tutto...
string pageRefreshSec = "60";
// se ho animazione refresh è ogni 2 sec...
int pageRefreshMs = 2000;
ViewBag.cssSemBase = "semBlink";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
}
catch
{ }
if (pageRefreshSec == "")
{
pageRefreshSec = "60";
}
ViewBag.pageRefreshMs = pageRefreshMs;
Response.AddHeader("Refresh", pageRefreshSec);
return View("Index");
}
public ActionResult Fix()
{
// ricarico ogni minuto COMUNQUE tutto...
string pageRefreshSec = "60";
// refresh std ogni sec
int pageRefreshMs = 1000;
ViewBag.cssSemBase = "semFix";
try
{
pageRefreshSec = WebConfigurationManager.AppSettings["pageRefreshSec"];
}
catch
{ }
if (pageRefreshSec == "")
{
pageRefreshSec = "60";
}
ViewBag.pageRefreshMs = pageRefreshMs;
Response.AddHeader("Refresh", pageRefreshSec);
return View("Index");
}
#endif
public ActionResult GetClock()
{
return PartialView("_mmClock");
+1 -1
View File
@@ -31,7 +31,7 @@
cssStatus += "_b";
}
}
// verifico se mostrare sarticolo o disegno...
// verifico se mostrare articolo o disegno...
string sArticolo = "";
if (System.Web.Configuration.WebConfigurationManager.AppSettings["sART"] == "CodArticolo")
{
-25
View File
@@ -11,35 +11,11 @@
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<appSettings>
<!--area redis!-->
<add key="RedEnab" value="true" />
<add key="MSE_cacheDuration" value="2" />
<!--area generale!-->
<add key="CodModulo" value="MoonPro" />
<!--gestione logs-->
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<!--conf base MVC-->
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<!--definizione campi mostrati-->
<add key="sART" value="Disegno" />
<!--modalità operativa e refresh-->
<add key="Environment" value="Dev" />
<add key="dataRefreshMs" value="5000" />
<add key="pageRefreshSec" value="600" />
<add key="doAnimate" value="1" />
<!--gestione email ed avvisi-->
<add key="_fromEmail" value="MAPO@steamware.net" />
<add key="_checkIobEmail" value="samuele@steamware.net" />
<add key="_smtpCli" value="smtp.gmail.com" />
<add key="_emailUser" value="steamwarebot@gmail.com" />
<add key="_emailPwd" value="drmfsls16" />
<add key="_enableSSL" value="true" />
<add key="keepAliveMin" value="10" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--stringhe connessione SQL2016-->
@@ -123,6 +99,5 @@
</entityFramework>
<connectionStrings>
<add name="MoonProEntities" connectionString="metadata=res://*/Models.MapoModel.csdl|res://*/Models.MapoModel.ssdl|res://*/Models.MapoModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL2016DEV;initial catalog=MoonPro;persist security info=True;user id=sa;password=keyhammer16;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />
<!--<add name="MoonProEntities" connectionString="metadata=res://*/Models.MapoModel.csdl|res://*/Models.MapoModel.ssdl|res://*/Models.MapoModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL2016DEV;initial catalog=MoonPro;persist security info=True;user id=sa;password=keyhammer16;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />-->
</connectionStrings>
</configuration>
-67
View File
@@ -9,75 +9,8 @@
</sectionGroup>
</configSections>
<appSettings>
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="maxAgeAppConf_min" value="10" />
<add key="IOB_RedEnab" value="true" />
<add key="RedEnab" value="true" />
<!--valore durata cache x seq stati in minuti per 1 gg-->
<add key="seqCacheDurMin" value="15" />
<!--default valori-->
<add key="appName" value="MoonPro.18" />
<add key="seq_gg" value="15" />
<add key="seq_height" value="40" />
<add key="seq_numSpl" value="1000" />
<!--<add key="seq_numSpl" value="1000" />-->
<add key="UpdateToDefault" value="true" />
<add key="refreshShort" value="50000" />
<add key="refreshLong" value="300000" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--conf base-->
<add key="CodModulo" value="MoonPro" />
<add key="_righeDataGrid" value="30" />
<add key="_righeDataGridAnagr" value="20" />
<add key="_righeDataGridMed" value="10" />
<add key="_righeDataGridShort" value="5" />
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx" />
<add key="_treeMaxChar" value="35" />
<add key="_showAllTree" value="false" />
<add key="_fromEmail" value="MoonPro@steamware.net" />
<add key="_adminEmail" value="samuele@steamware.net" />
<add key="_smtpCli" value="localhost" />
<add key="keepAliveMin" value="10" />
<add key="MinCharAutocomplete" value="1" />
<add key="_pdwRefreshDb" value="steamware" />
<add key="prefDichProd" value="XX" />
<add key="MostraProd" value="XXPRD" />
<add key="ConfermaProd" value="XXOK" />
<add key="AnnullaProd" value="XXCAN" />
<add key="AumentaProd" value="XXP" />
<add key="DiminuisciProd" value="XXM" />
<add key="prefDichFerm" value="FE" />
<add key="prefDichOp" value="OP" />
<add key="prefDichCodArt" value="KA" />
<add key="prefDichAttrezzaggio" value="AT" />
<add key="StartSetup" value="AT02" />
<add key="EndSetup" value="AT01" />
<add key="EndProd" value="AT07" />
<add key="prefModTurno" value="MT" />
<add key="modTurno1" value="MT01" />
<add key="modTurno2" value="MT02" />
<add key="modTurno3" value="MT03" />
<add key="idxPostazioneStd" value="P1005" />
<add key="idxMacchinaStd" value="1005" />
<add key="minutiUpdateAdmin" value="5" />
<add key="showSeqStati" value="true" />
<add key="showSeqTC" value="true" />
<add key="enableGraphJS" value="false" />
<add key="codV" value="Lavora" />
<add key="codG" value="???" />
<add key="codR" value="Ferma" />
<add key="codB" value="Attesa" />
<add key="codS" value="Spenta" />
<add key="authSenzaDominio" value="true" />
<add key="TcMaxFactor" value="2" />
<add key="chkIdxOdlEndProd" value="false" />
<!--charting-->
<add key="fastColorDecode" value="true" />
<add key="AutoCleanUpInterval" value="10" />
-73
View File
@@ -59,81 +59,8 @@
</sessionState>
</system.web>
<appSettings>
<!--area redis!-->
<add key="RedEnab" value="true" />
<add key="MSE_cacheDuration" value="2" />
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="maxAgeAppConf_min" value="10" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--Conf generale-->
<add key="Environment" value="DEV" />
<add key="appVers" value="develop" />
<add key="doShrinkFolder" value="true" />
<add key="CodModulo" value="MoonPro" />
<!--impostazione cambio tempo calcolato tra minuti-ore-gg-->
<add key="maxMinuti" value="60" />
<add key="maxOre" value="1440" />
<!--preselezione valori da sessione-->
<add key="preselFromSession" value="false" />
<!--area gestione documenti/disegni -->
<add key="urlDisegni" value="~/Files/Disegni/{0}.pdf" />
<!--gestione check / warning-->
<add key="durMinWarning" value="20" />
<add key="intervalloControlli" value="90" />
<!--gg precedenti da visualizzare standard-->
<add key="defDayFrom" value="90" />
<!--refresh MSE-->
<add key="refrMSE_0" value="1001" />
<add key="intUpdatePagina_ms" value="1000" />
<!--!!!FARE!!! riportare a 0!!!-->
<add key="refrMSE_5" value="5" />
<add key="dtTimerInt" value="30000" />
<!-- Logging -->
<add key="_logDir" value="~/logs/" />
<add key="_logLevel" value="7" />
<add key="_logMaxMb" value="30" />
<!--Gestione auth dispositivi mobile-->
<add key="cookieName" value="Auth_MP_TAB" />
<add key="mainPage" value="~/MappaStato.aspx" />
<add key="dominio" value="Donati" />
<add key="user" value="Mobile" />
<add key="cookieDayExpire" value="3650" />
<add key="safePages" value="Test#regNewDevice" />
<add key="EmbedQRead" value="true" />
<add key="forceSecurePages" value="regNewDevice" />
<!--conf commenti e ricalcoli-->
<add key="idxTipoCommento" value="999" />
<add key="commEnableEditDel" value="true" />
<add key="minAnticipoRicalcolo" value="-2" />
<add key="dltMinRealtime" value="5" />
<add key="rdm_nEvStep" value="100" />
<add key="rdm_nEvCheck" value="40" />
<add key="rdm_ChkOnly" value="false" />
<!--Gestione ODL-->
<add key="enableSplitODL" value="false" />
<!--caching dati in REDIS-->
<add key="currOdlCacheDur" value="300" />
<!--conf URL-->
<add key="baseUrlAdmin" value="http://iis02/MP/ADM/" />
<add key="pageUrlApprODL" value="approvazioneODL.aspx" />
<!--conf modalità conferma produzione: 1=gg, 2=turni, 0=periodo intero -->
<add key="modoConfProd" value="1" />
<!--Gestione email-->
<!--<add key="_adminEmail" value="samuele@steamware.net" />-->
<add key="_adminEmail" value="samuele@steamware.net,info@steamware.net" />
<add key="_fromEmail" value="MoonPro@steamware.net" />
<!-- <add key="_useAuthSmtp" value="false" />
<add key="_smtpCli" value="keyhammer.ath.cx" />-->
<add key="_useAuthSmtp" value="true" />
<add key="_smtpCli" value="smtp.gmail.com" />
<add key="_emailUser" value="steamwarebot@gmail.com" />
<add key="_emailPwd" value="drmfsls16" />
<add key="_enableSSL" value="true" />
<!--gestione approvazione ODL-->
<add key="oggettoChgTc" value="Richiesta modifica tempo ciclo da autorizzare" />
<add key="corpoChgTc" value="E' stata inserita una richiesta di modifica Tempo Ciclo in fase di attrezzaggio.{0}Per proseguire cliccare sul link seguente:{0}{0}{1}{0}{0}{0}{0}MoonPro@Steamware" />
<!--stringhe connessione SQL2016-->
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
+1 -1
View File
@@ -40,7 +40,7 @@
<div class="input-group-prepend">
<asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="input-group-text" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="SteamWare.DS_UtilityTableAdapters.v_selListValTableAdapter">
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MapoDb.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="All" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="SelPeriodo" Name="FieldName" Type="String" />
+639
View File
@@ -48,6 +48,8 @@ namespace MapoDb {
private v_selGruppiDataTable tablev_selGruppi;
private v_selListValDataTable tablev_selListVal;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -112,6 +114,9 @@ namespace MapoDb {
if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
}
if ((ds.Tables["v_selListVal"] != null)) {
base.Tables.Add(new v_selListValDataTable(ds.Tables["v_selListVal"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -250,6 +255,16 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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 v_selListValDataTable v_selListVal {
get {
return this.tablev_selListVal;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -353,6 +368,9 @@ namespace MapoDb {
if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
}
if ((ds.Tables["v_selListVal"] != null)) {
base.Tables.Add(new v_selListValDataTable(ds.Tables["v_selListVal"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -458,6 +476,12 @@ namespace MapoDb {
this.tablev_selGruppi.InitVars();
}
}
this.tablev_selListVal = ((v_selListValDataTable)(base.Tables["v_selListVal"]));
if ((initTable == true)) {
if ((this.tablev_selListVal != null)) {
this.tablev_selListVal.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -492,6 +516,8 @@ namespace MapoDb {
base.Tables.Add(this.tablev_selCauScarto);
this.tablev_selGruppi = new v_selGruppiDataTable();
base.Tables.Add(this.tablev_selGruppi);
this.tablev_selListVal = new v_selListValDataTable();
base.Tables.Add(this.tablev_selListVal);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -566,6 +592,12 @@ namespace MapoDb {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private bool ShouldSerializev_selListVal() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -657,6 +689,9 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public delegate void v_selGruppiRowChangeEventHandler(object sender, v_selGruppiRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public delegate void v_selListValRowChangeEventHandler(object sender, v_selListValRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -4441,6 +4476,270 @@ namespace MapoDb {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class v_selListValDataTable : global::System.Data.TypedTableBase<v_selListValRow> {
private global::System.Data.DataColumn columnvalue;
private global::System.Data.DataColumn columnlabel;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selListValDataTable() {
this.TableName = "v_selListVal";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal v_selListValDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected v_selListValDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn valueColumn {
get {
return this.columnvalue;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn labelColumn {
get {
return this.columnlabel;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selListValRow this[int index] {
get {
return ((v_selListValRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selListValRowChangeEventHandler v_selListValRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selListValRowChangeEventHandler v_selListValRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selListValRowChangeEventHandler v_selListValRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selListValRowChangeEventHandler v_selListValRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void Addv_selListValRow(v_selListValRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selListValRow Addv_selListValRow(string value, string label) {
v_selListValRow rowv_selListValRow = ((v_selListValRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
value,
label};
rowv_selListValRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_selListValRow);
return rowv_selListValRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public override global::System.Data.DataTable Clone() {
v_selListValDataTable cln = ((v_selListValDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[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 v_selListValDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal void InitVars() {
this.columnvalue = base.Columns["value"];
this.columnlabel = base.Columns["label"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitClass() {
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalue);
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlabel);
this.columnvalue.ReadOnly = true;
this.columnvalue.MaxLength = 112;
this.columnlabel.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selListValRow Newv_selListValRow() {
return ((v_selListValRow)(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 v_selListValRow(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(v_selListValRow);
}
[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.v_selListValRowChanged != null)) {
this.v_selListValRowChanged(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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.v_selListValRowChanging != null)) {
this.v_selListValRowChanging(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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.v_selListValRowDeleted != null)) {
this.v_selListValRowDeleted(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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.v_selListValRowDeleting != null)) {
this.v_selListValRowDeleting(this, new v_selListValRowChangeEvent(((v_selListValRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void Removev_selListValRow(v_selListValRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Utility ds = new DS_Utility();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "v_selListValDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -5888,6 +6187,77 @@ namespace MapoDb {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class v_selListValRow : global::System.Data.DataRow {
private v_selListValDataTable tablev_selListVal;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal v_selListValRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablev_selListVal = ((v_selListValDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string value {
get {
try {
return ((string)(this[this.tablev_selListVal.valueColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'value\' nella tabella \'v_selListVal\' è DBNull.", e);
}
}
set {
this[this.tablev_selListVal.valueColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string label {
get {
try {
return ((string)(this[this.tablev_selListVal.labelColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'label\' nella tabella \'v_selListVal\' è DBNull.", e);
}
}
set {
this[this.tablev_selListVal.labelColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IsvalueNull() {
return this.IsNull(this.tablev_selListVal.valueColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void SetvalueNull() {
this[this.tablev_selListVal.valueColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IslabelNull() {
return this.IsNull(this.tablev_selListVal.labelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void SetlabelNull() {
this[this.tablev_selListVal.labelColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -6295,6 +6665,40 @@ namespace MapoDb {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public class v_selListValRowChangeEvent : global::System.EventArgs {
private v_selListValRow 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 v_selListValRowChangeEvent(v_selListValRow 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 v_selListValRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MapoDb.DS_UtilityTableAdapters {
@@ -9172,6 +9576,241 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class v_selListValTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selListValTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "v_selListVal";
tableMapping.ColumnMappings.Add("value", "value");
tableMapping.ColumnMappings.Add("label", "label");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selListVal";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_listValues_getValidValues";
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("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_listValues_getValidValuesTrad";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lingua", global::System.Data.SqlDbType.NVarChar, 3, 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_Utility.v_selListValDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "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_Utility.v_selListValDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.v_selListValDataTable dataTable = new DS_Utility.v_selListValDataTable();
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_Utility.v_selListValDataTable getByTableField(string TableName, string FieldName) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((TableName == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
}
if ((FieldName == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
}
DS_Utility.v_selListValDataTable dataTable = new DS_Utility.v_selListValDataTable();
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_Utility.v_selListValDataTable getByTableFieldLang(string TableName, string FieldName, string Lingua) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((TableName == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
}
if ((FieldName == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
}
if ((Lingua == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Lingua));
}
DS_Utility.v_selListValDataTable dataTable = new DS_Utility.v_selListValDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+73 -10
View File
@@ -472,6 +472,49 @@ FROM dbo.v_selCauScarto</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selListValTableAdapter" GeneratorDataComponentClassName="v_selListValTableAdapter" Name="v_selListVal" UserDataComponentName="v_selListValTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.v_selListVal" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selListVal</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_listValues_getValidValues" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTableField" GetMethodModifier="Public" GetMethodName="getByTableField" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTableField" UserSourceName="getByTableField">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_listValues_getValidValues</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="@TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_listValues_getValidValuesTrad" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTableFieldLang" GetMethodModifier="Public" GetMethodName="getByTableFieldLang" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTableFieldLang" UserSourceName="getByTableFieldLang">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_listValues_getValidValuesTrad</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="@TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Lingua" Precision="0" ProviderType="NVarChar" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -539,7 +582,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperatori" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_TableVarName="tablev_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_RowClassName="v_selOperatoriRow" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent">
<xs:element name="v_selOperatori" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_TableVarName="tablev_selOperatori" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent" msprop:Generator_RowClassName="v_selOperatoriRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -553,7 +596,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selODL" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_TableVarName="tablev_selODL" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_UserTableName="v_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent" msprop:Generator_RowClassName="v_selODLRow">
<xs:element name="v_selODL" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_TableVarName="tablev_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_RowClassName="v_selODLRow" msprop:Generator_UserTableName="v_selODL" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -568,7 +611,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selEventiBCode" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_TableVarName="tablev_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_RowClassName="v_selEventiBCodeRow" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent">
<xs:element name="v_selEventiBCode" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_TableVarName="tablev_selEventiBCode" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent" msprop:Generator_RowClassName="v_selEventiBCodeRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -582,7 +625,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent">
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowClassName="v_selMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -602,7 +645,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_statusCorrente" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_TableVarName="tablestp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_RowClassName="stp_statusCorrenteRow" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent">
<xs:element name="stp_statusCorrente" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_TableVarName="tablestp_statusCorrente" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent" msprop:Generator_RowClassName="stp_statusCorrenteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -671,7 +714,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Commenti" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_TableVarName="tableCommenti" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_UserTableName="Commenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_RowEvArgName="CommentiRowChangeEvent" msprop:Generator_RowClassName="CommentiRow">
<xs:element name="Commenti" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_TableVarName="tableCommenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_RowClassName="CommentiRow" msprop:Generator_UserTableName="Commenti" msprop:Generator_RowEvArgName="CommentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxODL" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_UserColumnName="idxODL" type="xs:int" />
@@ -707,7 +750,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FermiNonQual" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_TableVarName="tableFermiNonQual" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_UserTableName="FermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent" msprop:Generator_RowClassName="FermiNonQualRow">
<xs:element name="FermiNonQual" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_TableVarName="tableFermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_RowClassName="FermiNonQualRow" msprop:Generator_UserTableName="FermiNonQual" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -758,7 +801,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTally" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_TableVarName="tablev_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_RowClassName="v_selTallyRow" msprop:Generator_UserTableName="v_selTally" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent">
<xs:element name="v_selTally" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_TableVarName="tablev_selTally" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_UserTableName="v_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent" msprop:Generator_RowClassName="v_selTallyRow">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" type="xs:long" minOccurs="0" />
@@ -766,7 +809,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCauScarto" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_TableVarName="tablev_selCauScarto" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_UserTableName="v_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent" msprop:Generator_RowClassName="v_selCauScartoRow">
<xs:element name="v_selCauScarto" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_TableVarName="tablev_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_RowClassName="v_selCauScartoRow" msprop:Generator_UserTableName="v_selCauScarto" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -800,7 +843,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selGruppi" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_TableVarName="tablev_selGruppi" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_UserTableName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_RowClassName="v_selGruppiRow">
<xs:element name="v_selGruppi" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_TableVarName="tablev_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_RowClassName="v_selGruppiRow" msprop:Generator_UserTableName="v_selGruppi" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -827,6 +870,26 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selListVal" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_RowClassName="v_selListValRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="112" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
+13 -12
View File
@@ -6,18 +6,19 @@
</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="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:StatoMacchine" ZOrder="12" X="472" Y="274" Height="267" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selArticoli" ZOrder="11" X="941" Y="372" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selOperatori" ZOrder="10" X="443" Y="654" Height="115" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selODL" ZOrder="2" X="885" Y="554" Height="181" Width="285" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_selEventiBCode" ZOrder="9" X="117" Y="526" Height="158" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="6" X="637" Y="784" Height="181" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:stp_statusCorrente" ZOrder="8" X="265" Y="848" Height="305" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Commenti" ZOrder="4" X="591" Y="984" Height="314" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="188" />
<Shape ID="DesignTable:FermiNonQual" ZOrder="7" X="978" Y="925" Height="304" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="245" />
<Shape ID="DesignTable:v_selTally" ZOrder="5" X="734" Y="147" Height="181" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selCauScarto" ZOrder="3" X="155" Y="1312" Height="181" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:v_selGruppi" ZOrder="1" X="80" Y="194" Height="189" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:StatoMacchine" ZOrder="13" X="472" Y="274" Height="267" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:v_selArticoli" ZOrder="12" X="941" Y="372" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selOperatori" ZOrder="11" X="443" Y="654" Height="115" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selODL" ZOrder="3" X="885" Y="554" Height="181" Width="285" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_selEventiBCode" ZOrder="10" X="117" Y="526" Height="158" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="7" X="637" Y="784" Height="181" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:stp_statusCorrente" ZOrder="9" X="265" Y="848" Height="305" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Commenti" ZOrder="5" X="591" Y="984" Height="314" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="188" />
<Shape ID="DesignTable:FermiNonQual" ZOrder="8" X="978" Y="925" Height="304" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="245" />
<Shape ID="DesignTable:v_selTally" ZOrder="6" X="734" Y="147" Height="181" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:v_selCauScarto" ZOrder="4" X="155" Y="1312" Height="181" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:v_selGruppi" ZOrder="2" X="80" Y="194" Height="189" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_selListVal" ZOrder="1" X="696" Y="1381" Height="181" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
</Shapes>
<Connectors />
</DiagramLayout>