def get_map_tuple(self, type_code):
    map_list = self.get_map_list()
    for item in map_list.list:
        if (item.type.get_enum_value() == type_code):
            return (item.size, item.offset)
    return (0, 0)
def get_map_tuple(self, type_code):
    map_list = self.get_map_list()
    for item in map_list.list:
        if (item.type.get_enum_value() == type_code):
            return (item.size, item.offset)
    return (0, 0)