Edit the StatusMessage class
This commit is contained in:
parent
1204a28ab5
commit
229321cd1c
|
@ -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; }
|
||||
}
|
|
@ -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; }
|
||||
}
|
Loading…
Reference in New Issue