GENERAL.SYSTEM_STATE @if (edge && components) { @if (edge.currentData | async; as currentData) { @if (currentData.summary.system; as sum) { {{"GENERAL.TOTAL_STATE" | translate}} @switch (sum.state) { @case (0) { } @case (1) { } @case (2) { } @case (3) { } } } @for (category of components; track category) { {{category.category.title}} @for (item of category.components; track item) { @if (item.id !== '_sum') {

{{ item.alias }} @if (item.id !== item.alias) { {{ item.id }} } @if (!item.isEnabled) { (GENERAL.COMPONENT_INACTIVE) }

@if (config.factories[item.factoryId]; as factory) {

{{ factory.name }}

} @if (item['showProperties']) { @for (address of subscribedInfoChannels; track address) { @if (address.componentId === item.id && address.channelId !== 'State') { @if (currentData.channel[address.toString()] === 1) { @switch (channels[address.componentId][address.channelId].level) { @case ('INFO') { GENERAL.INFO  } @case ('WARNING') { GENERAL.WARNING  } @case ('FAULT') { GENERAL.FAULT  } } @if (channels[address.componentId][address.channelId].text.length > 0) { {{ channels[address.componentId][address.channelId].text }} } @else { {{ address.channelId.toString() }} } } } } }
@if ((currentData.channel[item.id+'/State'] ?? -1) > 0 && !item['showProperties']) { } @if (item['showProperties']) { } @switch (currentData.channel[item.id+'/State']) { @case (0) { } @case (1) { } @case (2) { } @case (3) { } }
} } }
} }