completamento pagina x inserimento delibera Prove Meccaniche

This commit is contained in:
Samuele Locatelli
2014-03-17 12:42:45 +01:00
parent 8232e903fe
commit 8a02ad4380
12 changed files with 167 additions and 81 deletions
@@ -8,6 +8,8 @@
<div class="panel-body">
<div class="bg-primary">
<asp:Label runat="server" ID="lblNtDelib" />
<asp:LinkButton runat="server" ID="lbtnResetPM" CssClass="btn btn-primary btn-sm" OnClick="lbtnResetPM_Click"><%:traduci("Reset") %></asp:LinkButton>
</div>
<asp:GridView ID="grViewDPM" runat="server" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="Trattamento" DataSourceID="odsDPM" Width="100%" OnSelectedIndexChanged="grViewDPM_SelectedIndexChanged">
@@ -55,6 +57,7 @@
<SelectParameters>
<asp:SessionParameter Name="DataStart" SessionField="_inizio" Type="DateTime" />
<asp:SessionParameter Name="DataEnd" SessionField="_fine" Type="DateTime" />
<asp:ControlParameter Name="Trattamento" ControlID="lblNtDelib" DefaultValue="*" Type="String" />
<asp:Parameter DefaultValue="1" Name="HasPM" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
@@ -90,6 +93,7 @@
<div class="panel-body">
<div class="bg-primary">
<asp:Label runat="server" ID="lblNtNoDelib" />
<asp:LinkButton runat="server" ID="lbtnResetNoPM" CssClass="btn btn-primary btn-sm" OnClick="lbtnResetNoPM_Click"><%:traduci("Reset") %></asp:LinkButton>
</div>
<asp:GridView ID="grViewTT" runat="server" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="Trattamento" DataSourceID="odsTratt" Width="100%" OnSelectedIndexChanged="grViewTT_SelectedIndexChanged">
@@ -137,6 +141,7 @@
<SelectParameters>
<asp:SessionParameter Name="DataStart" SessionField="_inizio" Type="DateTime" />
<asp:SessionParameter Name="DataEnd" SessionField="_fine" Type="DateTime" />
<asp:ControlParameter Name="Trattamento" ControlID="lblNtNoDelib" DefaultValue="*" Type="String" />
<asp:Parameter DefaultValue="0" Name="HasPM" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
+86 -39
View File
@@ -79,9 +79,11 @@ namespace GMW.WebUserControls
/// </summary>
private void resetIN()
{
grViewDPM.SelectedIndex = -1;
grViewTT.SelectedIndex = -1;
barcodeIn = "";
NumTT_Delib = "";
NumTT_Delib = "";
NumTT_NoDelib = "";
EsitoPM = "";
}
/// <summary>
@@ -108,6 +110,34 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// Verifica l'AL se sia ok x procedere:
/// - Tipo "R"
/// - Attivo
/// </summary>
/// <param name="AL"></param>
/// <returns></returns>
protected bool checkAL(string AL)
{
bool answ = false;
try
{
answ = MagClass.magazzino.taEA.getByAL_TipoAttivo(AL, "T").Rows.Count > 0;
}
catch
{ }
if (!answ)
{
Postazione.warningText = traduci("ErroreAlNonRxAttivo");
Postazione.CssClass = "stileComandoKo";
}
else
{
Postazione.warningText = "";
Postazione.CssClass = "stileComandoOk";
}
return answ;
}
/// <summary>
/// controlla se ci sia un barcode
/// </summary>
private void checkBarcode()
@@ -128,7 +158,6 @@ namespace GMW.WebUserControls
*
* */
#if false
if (barcodeIn != "")
{
Postazione.messaggiText = string.Format("{0}: {1}", traduci("BCodeIns"), barcodeIn);
@@ -138,35 +167,17 @@ namespace GMW.WebUserControls
// verifico AL
if (checkAL(barcodeIn))
{
sourceAL = barcodeIn;
// calcolo TT
NumTT_NoDelib = MagClass.magazzino.taET.getByAL(barcodeIn)[0].Trattamento;
// lo imposto come source o dest...
NumTT_Delib = NumTT_NoDelib;
}
doUpdate();
break;
case tipoCodiceBarcode.UDC:
// verifico UDC
if (checkUDC(barcodeIn))
{
string AL = "";
// recupero da UDC
try
{
AL = MagClass.magazzino.taAL2UDC.getByUDC(barcodeIn)[0].AL;
}
catch
{
Postazione.warningText = traduci("ErroreUdcNonAl");
Postazione.CssClass = "stileComandoKo";
}
if (AL != "")
{
// verifico AL
if (checkAL(AL))
{
sourceAL = AL;
}
}
}
doUpdate();
case tipoCodiceBarcode.TT:
// imposto il trattamento termico nei 2 filtri...
NumTT_NoDelib = barcodeIn;
NumTT_Delib = barcodeIn;
break;
case tipoCodiceBarcode.Comando:
// se è reset cancello tutto!
@@ -191,8 +202,7 @@ namespace GMW.WebUserControls
{
Postazione.messaggiText = traduci("AttesaBCode");
Postazione.CssClass = "stileAttesa";
}
#endif
}
doUpdate();
}
/// <summary>
@@ -208,22 +218,22 @@ namespace GMW.WebUserControls
{
eh_reqUpdate(this, new EventArgs());
}
// controllo SE ho AL allora seleziono NumTratt o EsitoPM...
if (barcodeIn == "")
// determino focus a seconda di cosa ho già in selezione..
if (EsitoPM != "")
{
txtBarcode.Focus();
lbtDeliberaTT.Focus();
}
else
{
if (EsitoPM== "")
if (NumTT_Delib != "" || NumTT_NoDelib != "")
{
txtEsitoPM.Focus();
}
else
{
lbtDeliberaTT.Focus();
txtBarcode.Focus();
}
}
}
}
/// <summary>
/// fix visibilità btnStampa
@@ -234,7 +244,7 @@ namespace GMW.WebUserControls
bool btnVis = (NumTT_Delib != "" || NumTT_NoDelib != "");
divEsitoPM.Visible = btnVis;
// posso stampare se ho numero tratt ed EsitoPM..
btnVis = (NumTT_Delib != "" || NumTT_NoDelib != "" && EsitoPM != "");
btnVis = ((NumTT_Delib != "" || NumTT_NoDelib != "") && EsitoPM != "");
divDelibera.Visible = btnVis;
}
/// <summary>
@@ -248,12 +258,21 @@ namespace GMW.WebUserControls
decimal PM = 0;
try
{
PM = Convert.ToDecimal(txtEsitoPM.Text.Trim().Replace(".",","));
PM = Convert.ToDecimal(txtEsitoPM.Text.Trim().Replace(".", ","));
}
catch { }
if (PM != 0)
{
MagClass.magazzino.taET.updatePM(barcodeIn, PM, DateTime.Now, MagClass.magazzino.CodSoggCurrUser);
string numTratt = "";
if (NumTT_Delib != "")
{
numTratt = NumTT_Delib;
}
else if (NumTT_NoDelib != "")
{
numTratt = NumTT_NoDelib;
}
MagClass.magazzino.taET.updatePM(numTratt, PM, DateTime.Now, MagClass.magazzino.CodSoggCurrUser);
// svuota selezioni delibere
resetIN();
Postazione.CssClass = "stileAttesa";
@@ -294,7 +313,9 @@ namespace GMW.WebUserControls
protected void grViewDPM_SelectedIndexChanged(object sender, EventArgs e)
{
NumTT_Delib = grViewDPM.SelectedDataKey["Trattamento"].ToString();
NumTT_NoDelib = NumTT_Delib;
barcodeIn = NumTT_Delib;
//grViewDPM.SelectedIndex = -1;
checkBarcode();
}
/// <summary>
@@ -305,8 +326,34 @@ namespace GMW.WebUserControls
protected void grViewTT_SelectedIndexChanged(object sender, EventArgs e)
{
NumTT_NoDelib = grViewTT.SelectedDataKey["Trattamento"].ToString();
NumTT_Delib = NumTT_NoDelib;
barcodeIn = NumTT_NoDelib;
//grViewTT.SelecktedIndex = -1;
checkBarcode();
}
/// <summary>
/// reset selezione AL non deliberato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtnResetNoPM_Click(object sender, EventArgs e)
{
NumTT_Delib = "";
NumTT_NoDelib = "";
doUpdate();
}
/// <summary>
/// reset selezione AL già deliberato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtnResetPM_Click(object sender, EventArgs e)
{
NumTT_Delib = "";
NumTT_NoDelib = "";
doUpdate();
}
}
}
+18
View File
@@ -21,6 +21,15 @@ namespace GMW.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNtDelib;
/// <summary>
/// lbtnResetPM 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.LinkButton lbtnResetPM;
/// <summary>
/// grViewDPM control.
/// </summary>
@@ -111,6 +120,15 @@ namespace GMW.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNtNoDelib;
/// <summary>
/// lbtnResetNoPM 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.LinkButton lbtnResetNoPM;
/// <summary>
/// grViewTT control.
/// </summary>
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+33 -26
View File
@@ -39807,18 +39807,19 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, ProveMecc, HasDtx FROM ElencoTrat
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.VarChar, 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_ET_getByKey";
this._commandCollection[2].CommandText = "dbo.stp_ET_getByPeriodoPM";
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("@DataStart", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataEnd", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Trattamento", global::System.Data.SqlDbType.VarChar, 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("@HasPM", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_ET_getByPeriodoPM";
this._commandCollection[3].CommandText = "dbo.stp_ET_getByTratt";
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("@DataStart", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataEnd", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HasPM", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Trattamento", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_ET_updatePM";
@@ -39875,25 +39876,8 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, ProveMecc, HasDtx FROM ElencoTrat
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoTrattamentiDataTable getByKey(string Trattamento) {
public virtual DS_magazzino.ElencoTrattamentiDataTable getByPeriodo(global::System.Nullable<global::System.DateTime> DataStart, global::System.Nullable<global::System.DateTime> DataEnd, string Trattamento, global::System.Nullable<int> HasPM) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((Trattamento == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Trattamento));
}
DS_magazzino.ElencoTrattamentiDataTable dataTable = new DS_magazzino.ElencoTrattamentiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoTrattamentiDataTable getByPeriodo(global::System.Nullable<global::System.DateTime> DataStart, global::System.Nullable<global::System.DateTime> DataEnd, global::System.Nullable<int> HasPM) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((DataStart.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataStart.Value));
}
@@ -39906,11 +39890,34 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, ProveMecc, HasDtx FROM ElencoTrat
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((HasPM.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(HasPM.Value));
if ((Trattamento == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Trattamento));
}
if ((HasPM.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(HasPM.Value));
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
DS_magazzino.ElencoTrattamentiDataTable dataTable = new DS_magazzino.ElencoTrattamentiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoTrattamentiDataTable getByTratt(string Trattamento) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((Trattamento == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Trattamento));
}
DS_magazzino.ElencoTrattamentiDataTable dataTable = new DS_magazzino.ElencoTrattamentiDataTable();
this.Adapter.Fill(dataTable);
+12 -11
View File
@@ -3822,17 +3822,6 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, ProveMecc, HasDtx FROM ElencoTrat
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ET_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ET_getByKey</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Trattamento" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ET_getByPeriodoPM" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriodo" GetMethodModifier="Public" GetMethodName="getByPeriodo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodo" UserSourceName="getByPeriodo">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -3841,11 +3830,23 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, ProveMecc, HasDtx FROM ElencoTrat
<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="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Trattamento" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HasPM" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ET_getByTratt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTratt" GetMethodModifier="Public" GetMethodName="getByTratt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTratt" UserSourceName="getByTratt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ET_getByTratt</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Trattamento" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ET_updatePM" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updatePM" Modifier="Public" Name="updatePM" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updatePM">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
+4
View File
@@ -2331,6 +2331,10 @@ namespace GMW_data
{
answ = tipoCodiceBarcode.PartNumber;
}
else if (magazzino.taET.getByTratt(valore).Rows.Count > 0)
{
answ = tipoCodiceBarcode.TT;
}
else
{
try
+5 -1
View File
@@ -367,7 +367,11 @@ public enum tipoCodiceBarcode
/// <summary>
/// Assieme Logico
/// </summary>
AL
AL,
/// <summary>
/// Trattamento Termico
/// </summary>
TT
}
/// <summary>
/// elenco degli esiti per una sessione di login da terminalino
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.622.1533")]
[assembly: AssemblyFileVersion("2.5.622.1533")]
[assembly: AssemblyVersion("2.5.623.1536")]
[assembly: AssemblyFileVersion("2.5.623.1536")]
//[assembly: AssemblyCopyright("© Steamware 2007-2014")]
//[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.622.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.622.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("2.5.623.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.623.<#= this.RevisionNumber #>")]
//[assembly: AssemblyCopyright("© Steamware 2007-<#= DateTime.Now.Year #>")]
//[assembly: AssemblyCompany("Steamware")]
<#+