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

18 lines
516 B
C#
Raw Normal View History

namespace InnovEnergy.App.Backend.Websockets;
public class StatusMessage
{
public required Int32 InstallationId { get; set; }
public required int 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
}