update objItem:

- aggiunto description oltre a nome
- fatto x evitare ambiguità scrittura parametri
This commit is contained in:
Samuele Locatelli
2022-09-22 18:24:32 +02:00
parent 9935eb3cb7
commit 5581f97e75
+33 -25
View File
@@ -151,22 +151,7 @@ namespace MapoSDK
/// </summary>
public class BaseRawTransf
{
#region Public Properties
/// <summary>
/// Data-Ora riferimento (x ordinamento fifo)
/// </summary>
public DateTime dataRif { get; set; } = DateTime.Now;
/// <summary>
/// Messaggio in modalità raw/stringa
/// </summary>
public JObject mesContent { get; set; } = new JObject();
/// <summary>
/// Tipo di messaggio trasmesso
/// </summary>
public rawTransfType mesType { get; set; } = rawTransfType.ND;
#region Public Constructors
/// <summary>
/// Costruttore senza parametri
@@ -191,18 +176,24 @@ namespace MapoSDK
this.mesType = mesType;
}
#endregion Public Properties
}
#endregion Public Constructors
/// <summary>
/// Array valori tipo BaseRawTransf inviati come JSon
/// </summary>
public class rawTransfJsonPayload
{
#region Public Properties
public List<BaseRawTransf> rawTransfData { get; set; }
/// <summary>
/// Data-Ora riferimento (x ordinamento fifo)
/// </summary>
public DateTime dataRif { get; set; } = DateTime.Now;
/// <summary>
/// Messaggio in modalità raw/stringa
/// </summary>
public JObject mesContent { get; set; } = new JObject();
/// <summary>
/// Tipo di messaggio trasmesso
/// </summary>
public rawTransfType mesType { get; set; } = rawTransfType.ND;
#endregion Public Properties
}
@@ -385,6 +376,11 @@ namespace MapoSDK
{
#region Public Properties
/// <summary>
/// DESCRIZIONE item
/// </summary>
public string description { get; set; } = "";
/// <summary>
/// Ultimo messaggio associato (conferma scrittura, errore, ...)
/// </summary>
@@ -488,6 +484,18 @@ namespace MapoSDK
#endregion Public Properties
}
/// <summary>
/// Array valori tipo BaseRawTransf inviati come JSon
/// </summary>
public class rawTransfJsonPayload
{
#region Public Properties
public List<BaseRawTransf> rawTransfData { get; set; }
#endregion Public Properties
}
public class StCheckOverride
{
#region Public Properties