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

20 lines
666 B
C#
Raw Permalink Normal View History

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 Int32 Timestamp { get; set; }
}
public enum MessageType
{
AlarmOrWarning,
Heartbit
}