20 lines
441 B
C#
20 lines
441 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ApiServer.Structures
|
|||
|
{
|
|||
|
public class Analog
|
|||
|
{
|
|||
|
public string Start { get { return start.ToString("yyyy.MM.dd HH:mm:ss"); } }
|
|||
|
public DateTime start = new DateTime();
|
|||
|
public double? Value { get; set; }
|
|||
|
}
|
|||
|
public class AnalogArr
|
|||
|
{
|
|||
|
public int Index { get; set; }
|
|||
|
public Analog[] Analogs { get; set; }
|
|||
|
}
|
|||
|
}
|