Abbozzata suddivisione in componenti x MachineUnload

This commit is contained in:
Samuele E. Locatelli
2020-01-18 17:57:07 +01:00
parent de8c9659e2
commit a4403b4938
20 changed files with 604 additions and 440 deletions
+92
View File
@@ -0,0 +1,92 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MU_bins.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MU_bins" %>
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header bg-primary text-light">BINS</h5>
<div class="card-body py-1">
<div class="row">
<div class="col-12 px-0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th scope="col">Cod</th>
<th scope="col">D/T</th>
<th scope="col">%</th>
</tr>
</thead>
<tbody>
<tr class="text-success">
<th scope="row">BIN00008</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">BIN00009</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">BIN00010</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">BIN00011</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-warning">
<th scope="row">BIN00012</th>
<td>12/50</td>
<td>24%</td>
</tr>
<tr class="text-warning">
<th scope="row">BIN00013</th>
<td>10/50</td>
<td>20%</td>
</tr>
<tr class="text-warning">
<th scope="row">BIN00014</th>
<td>1/50</td>
<td>2%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00015</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00016</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00017</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00018</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00019</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00020</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">BIN00021</th>
<td>0/50</td>
<td>0%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_bins : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_bins
{
}
}
+92
View File
@@ -0,0 +1,92 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MU_carts.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MU_carts" %>
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header bg-success">CARTS</h5>
<div class="card-body py-1">
<div class="row">
<div class="col-12 px-0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th scope="col">Cod</th>
<th scope="col">D/T</th>
<th scope="col">%</th>
</tr>
</thead>
<tbody>
<tr class="text-success">
<th scope="row">CR00007</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">CR00008</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">CR00009</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">CR00010</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-success">
<th scope="row">CR00011</th>
<td>50/50</td>
<td>100%</td>
</tr>
<tr class="text-warning">
<th scope="row">CR00012</th>
<td>12/50</td>
<td>24%</td>
</tr>
<tr class="text-warning">
<th scope="row">CR00013</th>
<td>10/50</td>
<td>20%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00014</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00015</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00016</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00017</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00018</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00019</th>
<td>0/50</td>
<td>0%</td>
</tr>
<tr class="text-danger">
<th scope="row">CR00020</th>
<td>0/50</td>
<td>0%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_carts : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_carts
{
}
}
+124
View File
@@ -0,0 +1,124 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MU_stats.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MU_stats" %>
<div class="row mt-2">
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-primary text-light">BINS</h5>
<div class="card-body py-1">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">WAIT</th>
<th scope="col">WIP</th>
<th scope="col">DONE</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-danger">12</td>
<td class="text-warning">3</td>
<td class="text-success">5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-warning">SHEET SH00000123</h5>
<div class="card-body py-1">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">DONE</th>
<th scope="col">TOT</th>
<th scope="col">RATIO</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-success">5</td>
<td class="text-warning">25</td>
<td class="text-success">20%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-1">
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-secondary text-light">BUNK ST00000A2</h5>
<div class="card-body py-1">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">DONE</th>
<th scope="col">TOT</th>
<th scope="col">RATIO</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-success">3</td>
<td class="text-warning">12</td>
<td class="text-success">25%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-1">
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-info">SHIFT B20190916.0</h5>
<div class="card-body py-1">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">DONE</th>
<th scope="col">TOT</th>
<th scope="col">RATIO</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-success">2</td>
<td class="text-warning">5</td>
<td class="text-success">40%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-success">CARTS</h5>
<div class="card-body py-1">
<table class="table table-sm mb-0">
<thead>
<tr>
<th scope="col">WAIT</th>
<th scope="col">WIP</th>
<th scope="col">DONE</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-danger">24</td>
<td class="text-warning">2</td>
<td class="text-success">6</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_stats : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_stats
{
}
}
@@ -0,0 +1,64 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MU_suggestions.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MU_suggestions" %>
<div class="row mt-2">
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-primary text-light">TO BIN</h5>
<div class="card-body py-1">
<div class="text-primary row">
<div class="col-5">
BIN00010
</div>
<div class="col-2">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</div>
<div class="col-5">
<b>IT000002</b>
</div>
</div>
</div>
</div>
</div>
<div class="col-2">
</div>
<div class="col-2">
</div>
<div class="col-2">
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-success text-light">TO CART</h5>
<div class="card-body py-1">
<div class="text-success row">
<div class="col-5">
<b>IT000001</b>
</div>
<div class="col-2">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</div>
<div class="col-5">
CR00007
</div>
</div>
</div>
</div>
</div>
<div class="col-2">
<div class="card text-center mb-2" style="width: 100%;">
<h5 class="card-header py-1 bg-success text-light">TO CART</h5>
<div class="card-body py-1">
<div class="bg-warning text-danger row">
<div class="col-5">
<b>IT000003</b>
</div>
<div class="col-2">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</div>
<div class="col-5">
CR00012
</div>
</div>
</div>
</div>
</div>
</div>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_suggestions : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_suggestions
{
}
}
@@ -1,4 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_svgViewer.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_svgViewer" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_MU_svgViewer.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_MU_svgViewer" %>
<div id="uplTavola">
<link href="../api/getMUCss" rel="stylesheet" id="dynCss" />
@@ -10,7 +10,7 @@ using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_svgViewer : System.Web.UI.UserControl
public partial class cmp_MU_svgViewer : System.Web.UI.UserControl
{
/// <summary>
/// Batch corrente...
@@ -37,6 +37,7 @@ namespace NKC_WF.WebUserControls
string filename = "";
try
{
// FORSE 5/5?!?
var sheetList = DataLayer.man.taSHL.getByMLStatus(BatchId, 3, 5);
if (sheetList.Count > 0)
{
@@ -11,7 +11,7 @@ namespace NKC_WF.WebUserControls
{
public partial class cmp_svgViewer
public partial class cmp_MU_svgViewer
{
/// <summary>