Aggiunta modifica x mostrare operatore che FA il setup
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=810']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=811']) {
|
||||
// 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'
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArticolo">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCod" runat="server" Text='<%# Bind("CodArticolo") %>'></asp:Label>
|
||||
<div style="color: #696969; font-size: 0.9em;">
|
||||
<div style="color: #696969; font-size: 0.7em;"">
|
||||
<asp:Label ID="lblDesc" runat="server" Text='<%# Bind("DescArticolo") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
@@ -49,7 +49,7 @@
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />--%>
|
||||
<asp:BoundField DataField="OperSetup" HeaderText="Oper." SortExpression="OperSetup" />
|
||||
<asp:TemplateField HeaderText="TC Assegnato" SortExpression="TCAssegnato">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblTCAssMS" runat="server" Text='<%# minSec(Eval("TCAssegnato", "{0:N3}")) %>' />
|
||||
|
||||
+17
-18
@@ -1,42 +1,41 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProAdmin.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
namespace MoonProAdmin.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_approvazioneODL {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// odsTempi control.
|
||||
/// Controllo odsTempi.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsTempi;
|
||||
|
||||
/// <summary>
|
||||
/// txtPageSize control.
|
||||
/// Controllo txtPageSize.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtPageSize;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_footer.ascx" TagPrefix="uc1" TagName="mod_footer" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it">
|
||||
<head runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
@@ -149,7 +149,10 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
((WebControl)lbtn).CssClass = ((WebControl)lbtn).CssClass.Replace("disabled", "");
|
||||
// se richiesto metto disabled...
|
||||
if (!((WebControl)lbtn).Enabled) ((WebControl)lbtn).CssClass += " disabled";
|
||||
if (!((WebControl)lbtn).Enabled)
|
||||
{
|
||||
((WebControl)lbtn).CssClass += " disabled";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -256,13 +259,19 @@ namespace MoonProTablet.WebUserControls
|
||||
// processo evento...
|
||||
inCmd = controllerMapo.scriviRigaEventoBarcode(idxMacchina, idxEvento, CodArticolo, "", rigaStato.MatrOpr, rigaStato.pallet);
|
||||
// verifico se serva refresh
|
||||
if (inCmd.needStatusRefresh) needStRefresh = true;
|
||||
if (inCmd.needStatusRefresh)
|
||||
{
|
||||
needStRefresh = true;
|
||||
}
|
||||
// se la macchina è MULTI (cod#tavola) e sonoa INIZIO/FINE attrezzaggio (idxEv <=2) processo ANCHE per la macchina madre...
|
||||
if (idxMacchina.IndexOf('#') > 0 && idxEvento <= 2)
|
||||
{
|
||||
string idxMacchinaParent = idxMacchina.Substring(0, idxMacchina.IndexOf('#'));
|
||||
inCmd2 = controllerMapo.scriviRigaEventoBarcode(idxMacchinaParent, idxEvento, CodArticolo, "", rigaStato.MatrOpr, rigaStato.pallet);
|
||||
if (inCmd2.needStatusRefresh) needStRefresh = true;
|
||||
if (inCmd2.needStatusRefresh)
|
||||
{
|
||||
needStRefresh = true;
|
||||
}
|
||||
}
|
||||
if (needStRefresh)
|
||||
{
|
||||
@@ -326,7 +335,8 @@ namespace MoonProTablet.WebUserControls
|
||||
int idxODL_curr = 0;
|
||||
confermaProdOdl(false);
|
||||
if (idxODLSel > 0)
|
||||
{ // se vedesse TCRich a zero lo reimposta a quello assegnato...
|
||||
{
|
||||
// se vedesse TCRich a zero lo reimposta a quello assegnato...
|
||||
if (TCRichAttr == 0)
|
||||
{
|
||||
TCRichAttr = TCAssegnato(idxODLSel);
|
||||
|
||||
Generated
+48
-2
@@ -1408,6 +1408,8 @@ namespace MapoDb {
|
||||
|
||||
private global::System.Data.DataColumn columnPzPallet;
|
||||
|
||||
private global::System.Data.DataColumn columnOperSetup;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public ODLDataTable() {
|
||||
@@ -1585,6 +1587,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn OperSetupColumn {
|
||||
get {
|
||||
return this.columnOperSetup;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -1639,7 +1649,8 @@ namespace MapoDb {
|
||||
decimal TCRichAttr,
|
||||
bool ToAs400,
|
||||
string CommessaAs400,
|
||||
int PzPallet) {
|
||||
int PzPallet,
|
||||
string OperSetup) {
|
||||
ODLRow rowODLRow = ((ODLRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -1659,7 +1670,8 @@ namespace MapoDb {
|
||||
TCRichAttr,
|
||||
ToAs400,
|
||||
CommessaAs400,
|
||||
PzPallet};
|
||||
PzPallet,
|
||||
OperSetup};
|
||||
rowODLRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowODLRow);
|
||||
return rowODLRow;
|
||||
@@ -1707,6 +1719,7 @@ namespace MapoDb {
|
||||
this.columnToAs400 = base.Columns["ToAs400"];
|
||||
this.columnCommessaAs400 = base.Columns["CommessaAs400"];
|
||||
this.columnPzPallet = base.Columns["PzPallet"];
|
||||
this.columnOperSetup = base.Columns["OperSetup"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1748,6 +1761,8 @@ namespace MapoDb {
|
||||
base.Columns.Add(this.columnCommessaAs400);
|
||||
this.columnPzPallet = new global::System.Data.DataColumn("PzPallet", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnPzPallet);
|
||||
this.columnOperSetup = new global::System.Data.DataColumn("OperSetup", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnOperSetup);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnIdxODL}, true));
|
||||
this.columnIdxODL.AutoIncrement = true;
|
||||
@@ -1771,6 +1786,8 @@ namespace MapoDb {
|
||||
this.columnCommessaAs400.AllowDBNull = false;
|
||||
this.columnCommessaAs400.MaxLength = 50;
|
||||
this.columnPzPallet.AllowDBNull = false;
|
||||
this.columnOperSetup.ReadOnly = true;
|
||||
this.columnOperSetup.MaxLength = 101;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -10116,6 +10133,22 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string OperSetup {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableODL.OperSetupColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'OperSetup\' nella tabella \'ODL\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableODL.OperSetupColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsIdxMacchinaNull() {
|
||||
@@ -10235,6 +10268,18 @@ namespace MapoDb {
|
||||
public void SetTCRichAttrNull() {
|
||||
this[this.tableODL.TCRichAttrColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsOperSetupNull() {
|
||||
return this.IsNull(this.tableODL.OperSetupColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetOperSetupNull() {
|
||||
this[this.tableODL.OperSetupColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -16244,6 +16289,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile
|
||||
tableMapping.ColumnMappings.Add("ToAs400", "ToAs400");
|
||||
tableMapping.ColumnMappings.Add("CommessaAs400", "CommessaAs400");
|
||||
tableMapping.ColumnMappings.Add("PzPallet", "PzPallet");
|
||||
tableMapping.ColumnMappings.Add("OperSetup", "OperSetup");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user