Aggiunta oggetti estesi x SheetExt e prodWorkSheet
This commit is contained in:
+15
-2
@@ -1213,10 +1213,23 @@ namespace AppData
|
||||
memLayer.ML.setRSV(redNextBunkKey(currBunkId), "");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Elenco di sheet in lavorazione su una data macchina:
|
||||
/// - da macchina recupera il BATCH
|
||||
/// - dal batch prende i BUNK attivi sulla macchina (posizione 3)
|
||||
/// - filtra i fogli già lavorati
|
||||
/// </summary>
|
||||
/// <param name="machineName"></param>
|
||||
/// <returns></returns>
|
||||
public static SheetWorkList prodGetSheetWorkList(string machineName)
|
||||
{
|
||||
SheetWorkList answ = null;
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce il BUNK che è il primo della lissta:
|
||||
/// - posizione = 5 (ho letto da webApp il BUNK e preso in carico)
|
||||
/// Restituisce il BUNK che è il primo della lista:
|
||||
/// - posizione = 3 (ho letto da webApp il BUNK e preso in carico)
|
||||
/// - NumSheet > NumSheetUnload
|
||||
/// - Ordinato per StackIndex (crescente) x avere il più VECCHIO
|
||||
/// </summary>
|
||||
|
||||
+42
-3
@@ -525,6 +525,16 @@ namespace NKC_SDK
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Estensione classe sheet comprensiva di BunkId
|
||||
/// </summary>
|
||||
public class ProdSheetExt: ProdSheet
|
||||
{
|
||||
/// <summary>
|
||||
/// Identificativo univoco BUNK / Stack
|
||||
/// </summary>
|
||||
public int BunkId { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Singolo Pannello IN LAVORAZIONE
|
||||
@@ -558,13 +568,42 @@ namespace NKC_SDK
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Classe che rappresenta un insieme di Sheet da lavorare (contenuti in 1 o + bunk)
|
||||
/// </summary>
|
||||
public class SheetWorkList
|
||||
{
|
||||
/// <summary>
|
||||
/// Elenco dei pannelli (sheets) in lavorazione
|
||||
/// </summary>
|
||||
public List<ProdSheetExt> SheetList { get; set; }
|
||||
/// <summary>
|
||||
/// Numero di Sheets da lavorare
|
||||
/// </summary>
|
||||
public int NumSheets
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
answ = SheetList.Count;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Classe che rappresenta i BUNK da lavorare
|
||||
/// </summary>
|
||||
public class ProdBunk
|
||||
{
|
||||
/// <summary>
|
||||
/// Identificativo univoco stack
|
||||
/// Identificativo univoco BUNK / Stack
|
||||
/// </summary>
|
||||
public int BunkId { get; set; }
|
||||
/// <summary>
|
||||
@@ -572,11 +611,11 @@ namespace NKC_SDK
|
||||
/// </summary>
|
||||
public CStatus Status { get; set; }
|
||||
/// <summary>
|
||||
/// Codice dataMAtrix dello stack
|
||||
/// Codice dataMatrix del BUNK
|
||||
/// </summary>
|
||||
public string DataMatrix { get; set; }
|
||||
/// <summary>
|
||||
/// Data inizio processing dello Stack
|
||||
/// Data inizio processing del BUNK
|
||||
/// </summary>
|
||||
public DateTime DtStart { get; set; }
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user