ekmmeters.py
def getMonthsBuffer(self, direction):
        """ Get the months tariff SerialBlock for meter.

        Args:
            direction (int): A :class:`~ekmmeters.ReadMonths` value.

        Returns:
            SerialBlock: Requested months tariffs buffer.

        """
        if direction == ReadMonths.kWhReverse:
            return self.m_rev_mons

        # default direction == ReadMonths.kWh
        return self.m_mons
def getMonthsBuffer(self, direction):
        if direction == ReadMonths.kWhReverse:
            return self.m_rev_mons

        # default direction == ReadMonths.kWh
        return self.m_mons
def getMonthsBuffer ( self , direction ) : if direction == ReadMonths . kWhReverse : return self . m_rev_mons # default direction == ReadMonths.kWh return self . m_mons
Get the months tariff SerialBlock for meter.

        Args:
            direction (int): A :class:`~ekmmeters.ReadMonths` value.

        Returns:
            SerialBlock: Requested months tariffs buffer.
Get the months tariff SerialBlock for meter .