ekmmeters.py
def combineAB(self):
        """ Use the serial block definitions in V3 and V4 to create one field list. """
        v4definition_meter = V4Meter()
        v4definition_meter.makeAB()
        defv4 = v4definition_meter.getReadBuffer()

        v3definition_meter = V3Meter()
        v3definition_meter.makeReturnFormat()
        defv3 = v3definition_meter.getReadBuffer()

        for fld in defv3:
            if fld not in self.m_all_fields:
                compare_fld = fld.upper()
                if not "RESERVED" in compare_fld and not "CRC" in compare_fld:
                    self.m_all_fields[fld] = defv3[fld]

        for fld in defv4:
            if fld not in self.m_all_fields:
                compare_fld = fld.upper()
                if not "RESERVED" in compare_fld and not "CRC" in compare_fld:
                    self.m_all_fields[fld] = defv4[fld]
        pass
def combineAB(self):
        v4definition_meter = V4Meter()
        v4definition_meter.makeAB()
        defv4 = v4definition_meter.getReadBuffer()

        v3definition_meter = V3Meter()
        v3definition_meter.makeReturnFormat()
        defv3 = v3definition_meter.getReadBuffer()

        for fld in defv3:
            if fld not in self.m_all_fields:
                compare_fld = fld.upper()
                if not "RESERVED" in compare_fld and not "CRC" in compare_fld:
                    self.m_all_fields[fld] = defv3[fld]

        for fld in defv4:
            if fld not in self.m_all_fields:
                compare_fld = fld.upper()
                if not "RESERVED" in compare_fld and not "CRC" in compare_fld:
                    self.m_all_fields[fld] = defv4[fld]
        pass
def combineAB ( self ) : v4definition_meter = V4Meter ( ) v4definition_meter . makeAB ( ) defv4 = v4definition_meter . getReadBuffer ( ) v3definition_meter = V3Meter ( ) v3definition_meter . makeReturnFormat ( ) defv3 = v3definition_meter . getReadBuffer ( ) for fld in defv3 : if fld not in self . m_all_fields : compare_fld = fld . upper ( ) if not "RESERVED" in compare_fld and not "CRC" in compare_fld : self . m_all_fields [ fld ] = defv3 [ fld ] for fld in defv4 : if fld not in self . m_all_fields : compare_fld = fld . upper ( ) if not "RESERVED" in compare_fld and not "CRC" in compare_fld : self . m_all_fields [ fld ] = defv4 [ fld ] pass
Use the serial block definitions in V3 and V4 to create one field list.
Use the serial block definitions in V3 and V4 to create one field list .