This commit is contained in:
2021-07-07 16:36:28 +05:00
parent a2fef8a2a4
commit 066c0187f2
30 changed files with 637 additions and 36 deletions

View File

@@ -6,23 +6,22 @@ using System.Threading.Tasks;
namespace DataClient.Struct
{
public class ConfAnalog
{
public int id = 0;
public string name = null;
public string sname = null;
public string measure = null;
public double min = double.MinValue;
public double max = double.MaxValue;
public double norm = 0;
public int precision = 0;
public double mul = 1;
public bool log = false;
public int[] byteId = Array.Empty<int>();
}
public class Analog
{
public double? value = null;
public DateTime date = DateTime.Now;
}
public class ConfAnalog
{
public int id = -1;
public string name = null;
public string sname = null;
public string measure = null;
public double min = double.MinValue;
public double max = double.MaxValue;
public double zero = 0;
public double mul = 1;
public bool logarithm = false;
public int[] byteId = Array.Empty<int>();
}
}