22 lines
560 B
C#
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; }
|
|
}
|
|
}
|