ASCU_ALL/DataClient/Struct/Analog.cs

28 lines
599 B
C#
Raw Normal View History

2021-06-06 20:52:44 +05:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2021-06-08 20:57:54 +05:00
namespace DataClient.Struct
2021-06-06 20:52:44 +05:00
{
2021-07-07 16:36:28 +05:00
public class Analog
{
public double? value = null;
public DateTime date = DateTime.Now;
}
2021-06-10 16:56:05 +05:00
public class ConfAnalog
2021-06-08 20:57:54 +05:00
{
2021-07-07 16:36:28 +05:00
public int id = -1;
2021-06-10 16:56:05 +05:00
public string name = null;
public string sname = null;
public string measure = null;
public double min = double.MinValue;
public double max = double.MaxValue;
2021-07-07 16:36:28 +05:00
public double zero = 0;
2021-06-10 16:56:05 +05:00
public double mul = 1;
2021-07-07 16:36:28 +05:00
public bool logarithm = false;
2021-06-10 16:56:05 +05:00
public int[] byteId = Array.Empty<int>();
}
2021-06-06 20:52:44 +05:00
}