Completato gestione spostamenti tranne
- grafica (mostrare stato dei gitterbox attivati...) - sql (finire diff) git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@361 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -156,6 +156,11 @@
|
||||
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC"/>
|
||||
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC"/>
|
||||
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="cmd" />
|
||||
<add key="cmdSvuotaGitterBox" value="cmdRstGB" />
|
||||
<add key="cmdEsci" value="cmdEsci" />
|
||||
|
||||
<!-- setup odette -->
|
||||
<add key="qtaOdette" value="18"/>
|
||||
<add key="indStabFrom" value="San Possidonio, via..."/>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_spostaDataMatrix.ascx.cs"
|
||||
Inherits="GMW.WebUserControls.mod_spostaDataMatrix" %>
|
||||
<asp:Panel runat="server" ID="pnlAll" CssClass="gitterBoxAttesa">
|
||||
<p>
|
||||
Area colorata di base x indicare cosa faccia, in alto codice gitterbox attivato</p>
|
||||
<asp:Panel runat="server" ID="pnlAll" CssClass="gitterBoxAttesa" Height="100%">
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblGitterBoxAttivo" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblBarcode" Text="Barcode" />
|
||||
<br />
|
||||
|
||||
@@ -5,14 +5,73 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using GMW_data;
|
||||
using SteamWare;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_spostaDataMatrix : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// controlli al caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// se primo caricamento resetto gitterbox...)
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
currGitterBox = "";
|
||||
}
|
||||
checkBarcode();
|
||||
if (currGitterBox != "")
|
||||
{
|
||||
lblGitterBoxAttivo.Text = string.Format("Gitterbox selezionato <b>{0}</b>", currGitterBox);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblGitterBoxAttivo.Text = "...";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// indica il gitterbox correntemente selezionato
|
||||
/// </summary>
|
||||
protected string currGitterBox
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("currGitterBox");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("currGitterBox", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// controllo booleano sul gitterbox se sia ok x caricamento altri pezzi (ovvero en contiene meno del max consentito
|
||||
/// </summary>
|
||||
protected bool gitterboxOk
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
int maxPezzi = memLayer.ML.confReadInt("qtaOdette");
|
||||
int numPezzi = maxPezzi;
|
||||
try
|
||||
{
|
||||
numPezzi = (int)MagClass.magazzino.taElencoCartellini.getByUdc(currGitterBox)[0].Qta;
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Non sono riuscito a torvare dati per il gitterbox {0}", currGitterBox), tipoLog.ERROR);
|
||||
}
|
||||
// controllo se il codice sia "Pieno", ovvero max pezzi
|
||||
if (numPezzi < maxPezzi)
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// controlla se ci sia un barcode
|
||||
@@ -25,15 +84,31 @@ namespace GMW.WebUserControls
|
||||
switch (tipoBCode)
|
||||
{
|
||||
case tipoCodiceBarcode.Gitterbox:
|
||||
// imposto il gitterbox di destinazione al nuovo codice
|
||||
|
||||
lblMessaggi.Text += " - impostato nuovo gitterbox di destinazione!";
|
||||
// imposto il gitterbox corrente
|
||||
currGitterBox = barcodeIn;
|
||||
if (gitterboxOk)
|
||||
{
|
||||
lblMessaggi.Text += " - impostato nuovo gitterbox di destinazione!";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblMessaggi.Text += " - gitterbox <b>pieno</b>!!! impostato, ma non si possono versare altri pezzi.";
|
||||
}
|
||||
break;
|
||||
case tipoCodiceBarcode.DataMatrix:
|
||||
// se c'è un gitterbox attivo sposto il datamatrix
|
||||
if (true)
|
||||
if (currGitterBox != "")
|
||||
{
|
||||
lblMessaggi.Text += " - spostato nel gitterbox attivo!";
|
||||
if (gitterboxOk)
|
||||
{
|
||||
// effettuo spostamento del datamatrix nel nuovo gitterbox
|
||||
DataMatrix.mgr.taElencoDM.spostaInGitterbox(Convert.ToDecimal(barcodeIn), currGitterBox);
|
||||
lblMessaggi.Text += " - spostato nel gitterbox attivo!";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblMessaggi.Text += " - il gitterbox è <b>pieno</b>!!!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -41,6 +116,25 @@ namespace GMW.WebUserControls
|
||||
lblMessaggi.Text += " - <b>errore</b>, manca un gitterbox di destinazione!";
|
||||
}
|
||||
break;
|
||||
case tipoCodiceBarcode.Comando:
|
||||
// controllo se è svuota gitterbox, nel caso lo svuoto
|
||||
string cmdSvuotaGbox = memLayer.ML.confReadString("cmdSvuotaGitterBox");
|
||||
string cmdEsci = memLayer.ML.confReadString("cmdEsci");
|
||||
if (barcodeIn == cmdSvuotaGbox)
|
||||
{
|
||||
DataMatrix.mgr.taElencoDM.svuotaGitterbox(currGitterBox);
|
||||
lblMessaggi.Text += " - <b>Gitterbox svuotato</b>!";
|
||||
}
|
||||
else if (barcodeIn == cmdEsci)
|
||||
{
|
||||
currGitterBox = "";
|
||||
Response.Redirect("~/menu.aspx");
|
||||
}
|
||||
else
|
||||
{
|
||||
lblMessaggi.Text += " - codice comando <b>non riconosciuto</b>!";
|
||||
}
|
||||
break;
|
||||
default:
|
||||
lblMessaggi.Text += " - codice <b>non riconosciuto</b>!";
|
||||
break;
|
||||
@@ -62,26 +156,36 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
try
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
// cerco tra gitterbox (UDC)...
|
||||
trovati = MagClass.magazzino.taElencoCartellini.getByUdc(barcodeIn).Rows.Count;
|
||||
// cerco tra datamatrix
|
||||
if (trovati> 0)
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
answ = tipoCodiceBarcode.Gitterbox;
|
||||
}
|
||||
else
|
||||
{
|
||||
trovati = DataMatrix.mgr.taElencoDM.getByCode(Convert.ToDecimal(barcodeIn)).Rows.Count;
|
||||
// cerco tra gitterbox (UDC)...
|
||||
trovati = MagClass.magazzino.taElencoCartellini.getByUdc(barcodeIn).Rows.Count;
|
||||
// cerco tra datamatrix
|
||||
if (trovati > 0)
|
||||
{
|
||||
answ = tipoCodiceBarcode.DataMatrix;
|
||||
answ = tipoCodiceBarcode.Gitterbox;
|
||||
}
|
||||
else
|
||||
{
|
||||
trovati = DataMatrix.mgr.taElencoDM.getByCode(Convert.ToDecimal(barcodeIn)).Rows.Count;
|
||||
if (trovati > 0)
|
||||
{
|
||||
answ = tipoCodiceBarcode.DataMatrix;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
@@ -100,5 +204,15 @@ namespace GMW.WebUserControls
|
||||
txtBarcode.Text = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// indica se i caratteri vadano forzati a maiuscoli
|
||||
/// </summary>
|
||||
public bool forceUppsercase
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.confReadBool("forceUppercase");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,15 @@ namespace GMW.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlAll;
|
||||
|
||||
/// <summary>
|
||||
/// lblGitterBoxAttivo 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 lblGitterBoxAttivo;
|
||||
|
||||
/// <summary>
|
||||
/// lblBarcode control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -101,6 +101,11 @@
|
||||
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC"/>
|
||||
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC"/>
|
||||
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="cmd" />
|
||||
<add key="cmdSvuotaGitterBox" value="cmdRstGB" />
|
||||
<add key="cmdEsci" value="cmdEsci" />
|
||||
|
||||
<!-- setup odette -->
|
||||
<add key="qtaOdette" value="18"/>
|
||||
<add key="indStabFrom" value="San Possidonio, via..."/>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Generated
+67
-5
@@ -1880,7 +1880,7 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, " +
|
||||
@@ -1895,11 +1895,24 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 13, global::System.Data.ParameterDirection.Input, 23, 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_DtMtrx_import";
|
||||
this._commandCollection[2].CommandText = "dbo.stp_EDM_spostaDataMtx";
|
||||
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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 13, global::System.Data.ParameterDirection.Input, 23, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_DtMtrx_import";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_EDM_svuotaGitterbox";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1940,6 +1953,28 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_DataMatrix.ElencoDataMatrixDataTable spostaInGitterbox(global::System.Nullable<decimal> CodDataMatrix, string CodGitterbox) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((CodDataMatrix.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(CodDataMatrix.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodGitterbox == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodGitterbox));
|
||||
}
|
||||
DS_DataMatrix.ElencoDataMatrixDataTable dataTable = new DS_DataMatrix.ElencoDataMatrixDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(DS_DataMatrix.ElencoDataMatrixDataTable dataTable) {
|
||||
@@ -2390,7 +2425,7 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int stp_DtMtrx_import(string CodCS, global::System.Nullable<int> IdxPosizione) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((CodCS == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -2419,6 +2454,33 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int svuotaGitterbox(string CodGitterbox) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((CodGitterbox == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(CodGitterbox));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -189,6 +189,18 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_EDM_spostaDataMtx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="spostaInGitterbox" GetMethodModifier="Public" GetMethodName="spostaInGitterbox" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="spostaInGitterbox" UserSourceName="spostaInGitterbox">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_EDM_spostaDataMtx</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="numeric" DbType="Decimal" Direction="Input" ParameterName="@CodDataMatrix" Precision="23" ProviderType="Decimal" Scale="0" Size="13" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodGitterbox" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_DtMtrx_import" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_DtMtrx_import" Modifier="Public" Name="stp_DtMtrx_import" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_DtMtrx_import">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -201,6 +213,17 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_EDM_svuotaGitterbox" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="svuotaGitterbox" Modifier="Public" Name="svuotaGitterbox" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="svuotaGitterbox">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_EDM_svuotaGitterbox</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="@CodGitterbox" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:TranscodificaParticolari" ZOrder="2" X="876" Y="187" Height="134" Width="281" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoDataMatrix" ZOrder="1" X="234" Y="342" Height="343" Width="283" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoDataMatrix" ZOrder="1" X="234" Y="342" Height="362" Width="283" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -195,6 +195,7 @@
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="SqlScripts\GMW_00370.sql" />
|
||||
<None Include="SqlScripts\GMW_00365.sql" />
|
||||
<None Include="SqlScripts\GMW_00361.sql" />
|
||||
<None Include="SqlScripts\GMW_00350.sql" />
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(365, GETDATE())
|
||||
GO
|
||||
@@ -285,7 +285,11 @@ public enum tipoCodiceBarcode
|
||||
/// <summary>
|
||||
/// Codice datamatrix
|
||||
/// </summary>
|
||||
DataMatrix
|
||||
DataMatrix,
|
||||
/// <summary>
|
||||
/// codice che indica un comando (prefisso da web.config)
|
||||
/// </summary>
|
||||
Comando
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco degli esiti per una sessione di login da terminalino
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user