46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace MapoSDK
|
|
{
|
|
/// <summary>
|
|
/// Tracciato UserLog in formato JSON valido
|
|
/// </summary>
|
|
public class ulogData : evData
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Nome del flusso (RC/RS/DI)
|
|
/// </summary>
|
|
public string flux { get; set; } = "DI";
|
|
|
|
/// <summary>
|
|
/// [OPZIONALE] label = causale scarto / tagCode
|
|
/// </summary>
|
|
public string label { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Operatore di riferimento
|
|
/// </summary>
|
|
public int matrOpr { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// [OPZIONALE] valNum = esitoOk (0/1) / Quantità di scarto associata
|
|
/// </summary>
|
|
public int valNum { get; set; } = 0;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
|
|
/// <summary>
|
|
/// Array valori tipo flogData inviati come JSon
|
|
/// </summary>
|
|
public class ulogJsonPayload
|
|
{
|
|
#region Public Properties
|
|
|
|
public List<ulogData> fluxData { get; set; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |