def load_functionalChannels(self, groups: Iterable[Group]):
        """ this function will load the functionalChannels into the device """
        self.functionalChannels = []
        for channel in self._rawJSONData["functionalChannels"].values():
            fc = self._parse_functionalChannel(channel, groups)
            self.functionalChannels.append(fc)
        self.functionalChannelCount = Counter(
            x.functionalChannelType for x in self.functionalChannels
        )
def load_functionalChannels ( self , groups : Iterable [ Group ] ) : self . functionalChannels = [ ] for channel in self . _rawJSONData [ "functionalChannels" ] . values ( ) : fc = self . _parse_functionalChannel ( channel , groups ) self . functionalChannels . append ( fc ) self . functionalChannelCount = Counter ( x . functionalChannelType for x in self . functionalChannels )
this function will load the functionalChannels into the device