Innovenergy_trunk/csharp/App/Backend/Websockets/StatusMessage.cs

19 lines
591 B
C#

namespace InnovEnergy.App.Backend.Websockets;
public class StatusMessage
{
public required Int32 InstallationId { get; set; }
public required Int32 Product { get; set; }
public required Int32 Status { get; set; }
public required MessageType Type { get; set; }
public List<AlarmOrWarning>? Warnings { get; set; }
public List<AlarmOrWarning>? Alarms { get; set; }
}
public enum MessageType
{
AlarmOrWarning,
Heartbit
}