ASCU_ALL/ApiServer/Structures/Discret.cs
2024-09-22 04:27:05 +05:00

22 lines
560 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiServer.Structures
{
public class Discret
{
public int Index { get; set; }
public string Start { get { return start.ToString("yyyy.MM.dd HH:mm:ss"); } }
public DateTime start = new DateTime();
public byte? State { get; set; }
}
public class DiscretMatrix
{
public string Dt { get { return start.ToString("yyyy.MM.dd HH:mm:ss"); } }
public DateTime start = new DateTime();
public byte?[] M { get; set; }
}
}