@using MP.MONO.Data @using MP.MONO.UI.Components @using MP.MONO.Core.DTO @using MP.MONO.UI.Data @inject CurrentDataService MMDataService @if (@ListRecords != null) {
@if (ListRecords.Count != 0) {
ALARMS
@ListRecords.Count
} else {
NO ALARMS
} @if (!compMode) {
@if (!compMode) { Current alarms @if (ListRecords.Count == 0) { @ListRecords.Count }@* else { @ListRecords.Count }*@ } else { @if (ListRecords.Count == 0) {
ACTIVE ALARMS:@ListRecords.Count
} @*else {
ACTIVE ALARMS:@ListRecords.Count
}*@ }
Alarm Analysis
@if (ListRecords.Count == 0) {
All OK
} else { @*@if (compMode) {
    @foreach (var item in ListRecords.Take(4).ToList()) {
  • @item.Title
    @item.Value
  • }
} else*@
    @foreach (var item in ListRecords) {
  • @item.Title
    @item.Value
  • }
}
}
} else { }