@for (deviceProfileCommunication of communicationConfigFormArray.controls; track $index) {
device-profile.snmp.scope @for (snmpSpecType of snmpSpecTypes; track snmpSpecType) { {{ snmpSpecTypeTranslationMap.get(snmpSpecType) }} } @if (deviceProfileCommunication.get('spec').hasError('required')) { {{ 'device-profile.snmp.scope-required' | translate }} }
@if (isShowFrequency(deviceProfileCommunication.get('spec').value)) { device-profile.snmp.querying-frequency @if (deviceProfileCommunication.get('queryingFrequencyMs').hasError('required')) { {{ 'device-profile.snmp.querying-frequency-required' | translate }} } @if (deviceProfileCommunication.get('queryingFrequencyMs').hasError('pattern') || deviceProfileCommunication.get('queryingFrequencyMs').hasError('min')) { {{ 'device-profile.snmp.querying-frequency-invalid-format' | translate }} } }
@if (!disabled) { }
} @if (!communicationConfigFormArray.controls.length && !disabled) {
device-profile.snmp.please-add-communication-config
} @if (!disabled && isAddEnabled) {
}