ekmmeters.py
def getSchedulesBuffer(self, period_group):
        """ Return the requested tariff schedule :class:`~ekmmeters.SerialBlock` for meter.

        Args:
            period_group (int):  A :class:`~ekmmeters.ReadSchedules` value.

        Returns:
            SerialBlock: The requested tariff schedules for meter.
        """
        empty_return = SerialBlock()
        if period_group == ReadSchedules.Schedules_1_To_4:
            return self.m_schd_1_to_4
        elif period_group == ReadSchedules.Schedules_5_To_6:
            return self.m_schd_5_to_6
        else:
            return empty_return
def getSchedulesBuffer(self, period_group):
        """ Return the requested tariff schedule :class:`~ekmmeters.SerialBlock` for meter.

        Args:
            period_group (int):  A :class:`~ekmmeters.ReadSchedules` value.

        Returns:
            SerialBlock: The requested tariff schedules for meter.
        """
        empty_return = SerialBlock()
        if period_group == ReadSchedules.Schedules_1_To_4:
            return self.m_schd_1_to_4
        elif period_group == ReadSchedules.Schedules_5_To_6:
            return self.m_schd_5_to_6
        else:
            return empty_return
Return the requested tariff schedule :class:`~ekmmeters.SerialBlock` for meter.

        Args:
            period_group (int):  A :class:`~ekmmeters.ReadSchedules` value.

        Returns:
            SerialBlock: The requested tariff schedules for meter.