ekmmeters.py
def initRevMons(self):
        """ Initialize second (and last) month tarifff :class:`~ekmmeters.SerialBlock` for meter. """
        self.m_rev_mons["reserved_echo_cmd"] = [6, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_rev_mons["Month_1_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["reserved_1"] = [7, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_rev_mons["crc16"] = [2, FieldType.Hex, ScaleType.No, "", 0, False, False]
        pass
def initRevMons(self):
        """ Initialize second (and last) month tarifff :class:`~ekmmeters.SerialBlock` for meter. """
        self.m_rev_mons["reserved_echo_cmd"] = [6, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_rev_mons["Month_1_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_1_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_2_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_3_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_4_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_5_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tot"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_1"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_2"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_3"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["Month_6_Tariff_4"] = [8, FieldType.Float, ScaleType.KWH, "", 0, False, False]
        self.m_rev_mons["reserved_1"] = [7, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_rev_mons["crc16"] = [2, FieldType.Hex, ScaleType.No, "", 0, False, False]
        pass
def initRevMons ( self ) : self . m_rev_mons [ "reserved_echo_cmd" ] = [ 6 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] self . m_rev_mons [ "Month_1_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_1_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_1_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_1_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_1_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_2_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_2_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_2_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_2_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_2_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_3_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_3_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_3_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_3_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_3_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_4_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_4_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_4_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_4_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_4_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_5_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_5_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_5_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_5_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_5_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_6_Tot" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_6_Tariff_1" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_6_Tariff_2" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_6_Tariff_3" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "Month_6_Tariff_4" ] = [ 8 , FieldType . Float , ScaleType . KWH , "" , 0 , False , False ] self . m_rev_mons [ "reserved_1" ] = [ 7 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] self . m_rev_mons [ "crc16" ] = [ 2 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] pass
Initialize second (and last) month tarifff :class:`~ekmmeters.SerialBlock` for meter.
Initialize second ( and last ) month tarifff : class : ~ekmmeters . SerialBlock for meter .