131 lines
2.9 KiB
C#
131 lines
2.9 KiB
C#
namespace MapoSDK
|
|
{
|
|
|
|
/// <summary>
|
|
/// Elenco task ammessi (x IOB-WIN da eseguire...)
|
|
/// </summary>
|
|
public enum taskType
|
|
{
|
|
/// <summary>
|
|
/// Task nullo / fake
|
|
/// </summary>
|
|
nihil,
|
|
/// <summary>
|
|
/// Rimanda a PLC eventuale segnale NON in setup (MA NON RESETTA)
|
|
/// </summary>
|
|
fixStopSetup,
|
|
/// <summary>
|
|
/// Indica al PLC di forzare il reset del contapezzi
|
|
/// </summary>
|
|
forceResetPzCount,
|
|
/// <summary>
|
|
/// Indica al PLC di forzare il NUOVO valore di contapezzi (impostato come value)
|
|
/// </summary>
|
|
forceSetPzCount,
|
|
/// <summary>
|
|
/// Imposta Articolo su PLC
|
|
/// </summary>
|
|
setArt,
|
|
/// <summary>
|
|
/// Imposta Commessa su PLC
|
|
/// </summary>
|
|
setComm,
|
|
/// <summary>
|
|
/// Set Programma CNC su PLC
|
|
/// </summary>
|
|
setProg,
|
|
/// <summary>
|
|
/// Indica al PLC iniziato setup (e secondo casi ferma contapezzi /resetta)
|
|
/// </summary>
|
|
startSetup,
|
|
/// <summary>
|
|
/// Indica al PLC finito setup (e secondo casi ferma contapezzi /resetta)
|
|
/// </summary>
|
|
stopSetup,
|
|
/// <summary>
|
|
/// Richiesta invio watchdog a PLC
|
|
/// </summary>
|
|
sendWatchDogMes2Plc
|
|
}
|
|
/// <summary>
|
|
/// Tipologia di selettore
|
|
/// </summary>
|
|
public enum tipoSelettore
|
|
{
|
|
articoli
|
|
}
|
|
/// <summary>
|
|
/// Tipo di IOB
|
|
/// </summary>
|
|
public enum IobType
|
|
{
|
|
/// <summary>
|
|
/// Non definito
|
|
/// </summary>
|
|
ND,
|
|
/// <summary>
|
|
/// IOB rPI
|
|
/// </summary>
|
|
rPi,
|
|
/// <summary>
|
|
/// IOB Windows
|
|
/// </summary>
|
|
WIN
|
|
}
|
|
|
|
/// <summary>
|
|
/// tipologia di evento (generico) segnalato
|
|
/// </summary>
|
|
public enum tipoEvento
|
|
{
|
|
/// <summary>
|
|
/// evento di reset
|
|
/// </summary>
|
|
reset,
|
|
/// <summary>
|
|
/// richiesta editing
|
|
/// </summary>
|
|
edit,
|
|
/// <summary>
|
|
/// nuova selezione
|
|
/// </summary>
|
|
selection,
|
|
/// <summary>
|
|
/// eliminazione record(s)
|
|
/// </summary>
|
|
delete
|
|
}
|
|
|
|
public enum tipoBarcode
|
|
{
|
|
/// <summary>
|
|
/// tipo non riconosciuto
|
|
/// </summary>
|
|
nd,
|
|
/// <summary>
|
|
/// identifica una matricola operatore nel formato OPxxxxx (xxxxx è un intero che rappresenta la matricola, std fino a 8 cifre)
|
|
/// </summary>
|
|
matrOperatore,
|
|
/// <summary>
|
|
/// identifica un cartellino di tipo CodArticolo
|
|
/// </summary>
|
|
codArticolo,
|
|
/// <summary>
|
|
/// identifica un codice per le attività di inizio/fine attrezzaggio e inizio/fine produzione
|
|
/// </summary>
|
|
attrezzaggio,
|
|
/// <summary>
|
|
/// identifica un codice per le attività di conferma produzione/fermi
|
|
/// </summary>
|
|
confermaProduzione,
|
|
/// <summary>
|
|
/// identifica un cartellino di dichiarazione fermata nel formato FExxxx dove xxxx è idxEvento dichiarato...
|
|
/// </summary>
|
|
dichiaraFermata,
|
|
/// <summary>
|
|
/// indentifica un codice di modifica turno
|
|
/// </summary>
|
|
modificaTurno
|
|
}
|
|
}
|