ekmmeters.py
def initHldyDates(self):
        """ Initialize holidays :class:`~ekmmeters.SerialBlock` """
        self.m_hldy["reserved_20"] = [6, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_hldy["Holiday_1_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_1_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_2_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_2_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_3_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_3_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_4_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_4_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_5_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_5_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_6_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_6_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_7_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_7_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_8_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_8_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_9_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_9_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_10_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_10_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_11_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_11_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_12_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_12_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_13_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_13_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_14_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_14_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_15_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_15_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_16_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_16_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_17_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_17_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_18_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_18_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_19_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_19_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_20_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_20_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Weekend_Schd"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_Schd"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["reserved_21"] = [163, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_hldy["crc16"] = [2, FieldType.Hex, ScaleType.No, "", 0, False, False]
        pass
def initHldyDates(self):
        """ Initialize holidays :class:`~ekmmeters.SerialBlock` """
        self.m_hldy["reserved_20"] = [6, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_hldy["Holiday_1_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_1_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_2_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_2_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_3_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_3_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_4_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_4_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_5_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_5_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_6_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_6_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_7_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_7_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_8_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_8_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_9_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_9_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_10_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_10_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_11_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_11_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_12_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_12_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_13_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_13_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_14_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_14_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_15_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_15_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_16_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_16_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_17_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_17_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_18_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_18_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_19_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_19_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_20_Mon"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_20_Day"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Weekend_Schd"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["Holiday_Schd"] = [2, FieldType.Int, ScaleType.No, "", 0, False, True]
        self.m_hldy["reserved_21"] = [163, FieldType.Hex, ScaleType.No, "", 0, False, False]
        self.m_hldy["crc16"] = [2, FieldType.Hex, ScaleType.No, "", 0, False, False]
        pass
def initHldyDates ( self ) : self . m_hldy [ "reserved_20" ] = [ 6 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] self . m_hldy [ "Holiday_1_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_1_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_2_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_2_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_3_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_3_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_4_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_4_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_5_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_5_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_6_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_6_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_7_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_7_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_8_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_8_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_9_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_9_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_10_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_10_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_11_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_11_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_12_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_12_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_13_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_13_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_14_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_14_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_15_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_15_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_16_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_16_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_17_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_17_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_18_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_18_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_19_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_19_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_20_Mon" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_20_Day" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Weekend_Schd" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "Holiday_Schd" ] = [ 2 , FieldType . Int , ScaleType . No , "" , 0 , False , True ] self . m_hldy [ "reserved_21" ] = [ 163 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] self . m_hldy [ "crc16" ] = [ 2 , FieldType . Hex , ScaleType . No , "" , 0 , False , False ] pass
Initialize holidays :class:`~ekmmeters.SerialBlock`
Initialize holidays : class : ~ekmmeters . SerialBlock