28 lines
599 B
C#
28 lines
599 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DataClient.Struct
|
|
{
|
|
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>();
|
|
}
|
|
}
|