NK
const attributes = c.value;
const technologyIdx = attributes.findIndex(attr => attr.attribute.name === 'Technology');
const techControl = c.controls[technologyIdx];
// Check if signalMeterConfig isset, and then we should disable technology for control.
const signalMeter = s.virtualRegisters.some(vr => !!vr.signalMeterConfig);
console.log({signalMeter});
const newTechControl = signalMeter ? disable(techControl) : enable(techControl);
c.controls[technologyIdx] = newTechControl;
return c;
}
})(state);


