Edit the StatusMessage class

This commit is contained in:
atef 2023-11-22 11:55:11 +01:00
parent 1204a28ab5
commit 229321cd1c
2 changed files with 13 additions and 6 deletions

View File

@ -0,0 +1,9 @@
namespace InnovEnergy.App.SaliMax.MiddlewareClasses;
public class AlarmOrWarning
{
public String Date { get; set; }
public String Time { get; set; }
public String Description { get; set; }
public String CreatedBy { get; set; }
}

View File

@ -4,10 +4,8 @@ namespace InnovEnergy.App.SaliMax.MiddlewareClasses;
public class StatusMessage
{
public required int InstallationId { get; set; }
public required int Status { get; set; }
public String Date { get; set; } = null!;
public String Time { get; set; } = null!;
public String Description { get; set; } = null!;
public String CreatedBy { get; set; } = null!;
public required Int32 InstallationId { get; set; }
public required Int32 Status { get; set; }
public List<AlarmOrWarning> Warnings { get; set; }
public List<AlarmOrWarning> Alarms { get; set; }
}