Aggiunto in SDK gestione unità di misura

This commit is contained in:
Samuele Locatelli
2021-10-26 18:35:52 +02:00
parent d5978304e7
commit d3efe7688a
+19 -10
View File
@@ -310,6 +310,11 @@ namespace MapoSDK
[JsonConverter(typeof(StringEnumConverter))]
public plcDataType tipoMem { get; set; } = plcDataType.Int;
/// <summary>
/// Unità di misura del parametro
/// </summary>
public string unit { get; set; } = "";
/// <summary>
/// Valore parametro (come stringa, decimali con ",", default VUOTO), poi LETTO da PLC (o appena scritto)
/// </summary>
@@ -819,6 +824,20 @@ namespace MapoSDK
#endregion Public Properties
}
public class StCheckOverride
{
#region Public Properties
public bool CanForce { get; set; } = false;
public string CodGruppo { get; set; } = "";
public string CodTipo { get; set; } = "";
public int IdxST { get; set; } = 0;
public int Num { get; set; } = 0;
public int Oggetto { get; set; } = 0;
#endregion Public Properties
}
/// <summary>
/// Classe oggetto base TimeSeries
/// </summary>
@@ -982,14 +1001,4 @@ namespace MapoSDK
#endregion Public Properties
}
public class StCheckOverride
{
public bool CanForce { get; set; } = false;
public string CodGruppo { get; set; } = "";
public string CodTipo { get; set; } = "";
public int IdxST { get; set; } = 0;
public int Num { get; set; } = 0;
public int Oggetto { get; set; } = 0;
}
}