angular.module("c8y.deviceDatabase4").component("c8yDeviceTypeHoldingRegisters",{templateUrl:":::PLUGIN_PATH:::/detail/holding-registers.html",bindings:{features:"<",holdingRegistersCategorized:"<",isEmpty:"<",addHoldingRegister:"<",editHoldingRegister:"<",removeHoldingRegister:"<"},controllerAs:"vm",controller:function(){var t,s,i=this;_.assign(i,{$onChanges:function(e){e.features&&(e=i.features.holdingRegisters,t=_.result(e,"dataType.choices.values",[]),s=_.result(e,"accessType.choices.values",[]))},getDataTypeLabel:function(e){return e=_.find(t,{value:e.dataType}),_.get(e,"label")},getAccessTypeLabel:function(e){return e=_.find(s,{value:e.accessType}),_.get(e,"label")}})}});