content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
count = 0 maximum = (-10) ** 9 for _ in range(4): x = int(input()) if x % 2 == 1: count += 1 if x > maximum: maximum = x if count > 0: print(count) print(maximum) else: print('NO')
count = 0 maximum = (-10) ** 9 for _ in range(4): x = int(input()) if x % 2 == 1: count += 1 if x > maximum: maximum = x if count > 0: print(count) print(maximum) else: print('NO')
raio = int(input('Raio: ')) format(r,'.2f') pi = 3.14159 volume = (4/3)*pi*raio**3 print("Volume = ", format(volume,'.3f')) #Para o URI: R = float(input()) format(R,'.2f') pi = 3.14159 v = (4/3)*pi*R**3 print("VOLUME = "+format(v,'.3f'))
raio = int(input('Raio: ')) format(r, '.2f') pi = 3.14159 volume = 4 / 3 * pi * raio ** 3 print('Volume = ', format(volume, '.3f')) r = float(input()) format(R, '.2f') pi = 3.14159 v = 4 / 3 * pi * R ** 3 print('VOLUME = ' + format(v, '.3f'))
# -*- coding: utf-8 -*- # @Time: 2020/7/16 11:38 # @Author: GraceKoo # @File: interview_8.py # @Desc: https://www.nowcoder.com/practice/8c82a5b80378478f9484d87d1c5f12a4?tpId=13&rp=1&ru=%2Fta%2Fcoding-interviews&qr # u=%2Fta%2Fcoding-interviews%2Fquestion-ranking class Solution: def climbStairs(self, n: int) -> int: if 0 <= n <= 2: return n dp = [i for i in range(n)] dp[0] = 1 dp[1] = 2 for i in range(2, n): dp[i] = dp[i - 1] + dp[i - 2] return dp[-1] so = Solution() print(so.climbStairs(3))
class Solution: def climb_stairs(self, n: int) -> int: if 0 <= n <= 2: return n dp = [i for i in range(n)] dp[0] = 1 dp[1] = 2 for i in range(2, n): dp[i] = dp[i - 1] + dp[i - 2] return dp[-1] so = solution() print(so.climbStairs(3))
class Solution: def permuteUnique(self, nums: List[int]) -> List[List[int]]: def BackTrack(m, per: list): if m == n: if per not in permutation: permutation.append(per) return per for i in range(n): if not visited[i]: per.append(nums[i]) visited[i] = True per = BackTrack(m + 1, per) per = per[:-1] visited[i] = False return per n = len(nums) visited = [False for _ in range(n)] per = [] permutation = [] BackTrack(0, []) return list(set(tuple(k) for k in permutation))
class Solution: def permute_unique(self, nums: List[int]) -> List[List[int]]: def back_track(m, per: list): if m == n: if per not in permutation: permutation.append(per) return per for i in range(n): if not visited[i]: per.append(nums[i]) visited[i] = True per = back_track(m + 1, per) per = per[:-1] visited[i] = False return per n = len(nums) visited = [False for _ in range(n)] per = [] permutation = [] back_track(0, []) return list(set((tuple(k) for k in permutation)))
def f(*args): summ = 0 for i in args: if isinstance(i, list): for s in i: summ += f(s) elif isinstance(i, tuple): for s in i: summ += s else: summ += i return summ a = [[1, 2, [3]], [1], 3] b = (1, 2, 3, 4, 5) print(f([[1, 2, [3]], [1], 3]))
def f(*args): summ = 0 for i in args: if isinstance(i, list): for s in i: summ += f(s) elif isinstance(i, tuple): for s in i: summ += s else: summ += i return summ a = [[1, 2, [3]], [1], 3] b = (1, 2, 3, 4, 5) print(f([[1, 2, [3]], [1], 3]))
EMPTY_WORDS_PATH = "./palabrasvacias.txt" # "palabrasvacias.txt" # "emptywords.txt" # None DIRPATH = "/home/agustin/Desktop/Recuperacion/colecciones/RI-tknz-data/" # "/home/agustin/Desktop/Recuperacion/colecciones/RI-tknz-data/" # "/home/agustin/Desktop/Recuperacion/colecciones/wiki-small/" # "/home/agustin/Desktop/Recuperacion/colecciones/wiki-txt/" # "/home/agustin/Desktop/Recuperacion/colecciones/collection_test/TestCollection/" # "/home/agustin/Desktop/Recuperacion/colecciones/collection_test_ER2/TestCollection/" #Tokenizer term size MIN_TERM_LENGTH = 3 MAX_TERM_LENGTH = 25 # STRING_STORE_CRITERION = "MAX" # MAX # STATIC # ONLY FOR STATIC STRING_STORE_CRITERION DOCNAMES_SIZE = 50 TERMS_SIZE = 50 STEMMING_LANGUAGE = "spanish" # Depends with the collection used # english # spanish # None #Evaluate RE or not (Email, Abbreviations, Dates, ...) EXTRACT_ENTITIES = False # CORPUS_FILES_ENCODING = "UTF-8" # Wiki-Txt = "ISO-8859-1" # All = "UTF-8" # True if doc_id is in doc_name. Example doc120.txt ID_IN_DOCNAME = False WORKERS_NUMBER = 10 INDEX_FILES_PATH = "./output/index_files/" DOCNAMES_IDS_FILENAME = "docnames_ids" VOCABULARY_FILENAME = "vocabulary" INVERTED_INDEX_FILENAME = "inverted_index" BIN_VOCABULARY_FILENAME = VOCABULARY_FILENAME+".bin" BIN_INVERTED_INDEX_FILENAME = INVERTED_INDEX_FILENAME+".bin" BIN_DOCNAMES_IDS_FILENAME = DOCNAMES_IDS_FILENAME+".bin" PART_INVERTED_INDEX_PATH = "./output/partial_index_files/" METADATA_FILE = "metadata.json" DOCUMENT_LIMIT = 302
empty_words_path = './palabrasvacias.txt' dirpath = '/home/agustin/Desktop/Recuperacion/colecciones/RI-tknz-data/' min_term_length = 3 max_term_length = 25 string_store_criterion = 'MAX' docnames_size = 50 terms_size = 50 stemming_language = 'spanish' extract_entities = False corpus_files_encoding = 'UTF-8' id_in_docname = False workers_number = 10 index_files_path = './output/index_files/' docnames_ids_filename = 'docnames_ids' vocabulary_filename = 'vocabulary' inverted_index_filename = 'inverted_index' bin_vocabulary_filename = VOCABULARY_FILENAME + '.bin' bin_inverted_index_filename = INVERTED_INDEX_FILENAME + '.bin' bin_docnames_ids_filename = DOCNAMES_IDS_FILENAME + '.bin' part_inverted_index_path = './output/partial_index_files/' metadata_file = 'metadata.json' document_limit = 302
# loop3 userinput = input("Enter a letter in the range A - C : ") while (userinput != "A") and (userinput != "a") and (userinput != "B") and (userinput != "b") and (userinput != "C") and (userinput != "c"): userinput = input("Enter a letter in the range A-C : ")
userinput = input('Enter a letter in the range A - C : ') while userinput != 'A' and userinput != 'a' and (userinput != 'B') and (userinput != 'b') and (userinput != 'C') and (userinput != 'c'): userinput = input('Enter a letter in the range A-C : ')
COLOR = { 'ORANGE': (255, 121, 0), 'LIGHT_YELLOW': (255, 230, 130), 'YELLOW': (255, 204, 0), 'LIGHT_BLUE': (148, 228, 228), 'BLUE': (51, 204, 204), 'LIGHT_RED': (255, 136, 106), 'RED': (255, 51, 0), 'LIGHT_GREEN': (206, 255, 60), 'GREEN': (153, 204, 0), 'CYAN': (0, 159, 218), 'BLUE_PAUL': (0, 59, 111), 'PURPLE': (161, 6, 132), 'WHITE': (255, 255, 255), 'BLACK': (0, 0, 0), 'GOLD': (245, 189, 2), 'SILVER': (187, 194, 204), 'BRONZE':(205, 127, 50), } PLAYER_COLORS = ["YELLOW", "BLUE", "RED", "GREEN"] PLATEAU_PLAYERS_COORDINATES = [(0, 0, 0), (308, 0, -90), (352, 308, 180), (0, 352, -270)] FONT_HEIGHT = [19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 85, 86, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101, 103, 104, 106, 107, 109, 110, 112, 113, 115, 116, 118, 119, 121, 122, 124, 125, 127, 128, 130, 131, 133, 134, 136, 137, 139, 140, 142, 144, 145, 147, 148, 150, 151, 153, 154, 156, 157, 159, 160, 162, 163, 165, 166, 168, 169, 171, 172, 174, 175, 177, 178, 180, 181, 183, 184, 186, 187, 189, 190, 192, 193, 195, 196, 198, 199, 201, 202, 204, 205, 207, 208, 210, 211, 213, 214, 216, 217, 219, 220, 222, 223, 225, 226, 228, 229, 231, 232, 234, 235, 237, 238, 240, 241, 243, 244, 246, 247, 249, 250, 252, 253, 255, 256, 258, 259, 261, 262, 264, 265, 267, 268, 270, 271, 273, 274, 276, 277, 279, 280, 282, 284, 285, 287, 288, 290, 291, 293, 294, 296, 297, 299, 300]
color = {'ORANGE': (255, 121, 0), 'LIGHT_YELLOW': (255, 230, 130), 'YELLOW': (255, 204, 0), 'LIGHT_BLUE': (148, 228, 228), 'BLUE': (51, 204, 204), 'LIGHT_RED': (255, 136, 106), 'RED': (255, 51, 0), 'LIGHT_GREEN': (206, 255, 60), 'GREEN': (153, 204, 0), 'CYAN': (0, 159, 218), 'BLUE_PAUL': (0, 59, 111), 'PURPLE': (161, 6, 132), 'WHITE': (255, 255, 255), 'BLACK': (0, 0, 0), 'GOLD': (245, 189, 2), 'SILVER': (187, 194, 204), 'BRONZE': (205, 127, 50)} player_colors = ['YELLOW', 'BLUE', 'RED', 'GREEN'] plateau_players_coordinates = [(0, 0, 0), (308, 0, -90), (352, 308, 180), (0, 352, -270)] font_height = [19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 85, 86, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101, 103, 104, 106, 107, 109, 110, 112, 113, 115, 116, 118, 119, 121, 122, 124, 125, 127, 128, 130, 131, 133, 134, 136, 137, 139, 140, 142, 144, 145, 147, 148, 150, 151, 153, 154, 156, 157, 159, 160, 162, 163, 165, 166, 168, 169, 171, 172, 174, 175, 177, 178, 180, 181, 183, 184, 186, 187, 189, 190, 192, 193, 195, 196, 198, 199, 201, 202, 204, 205, 207, 208, 210, 211, 213, 214, 216, 217, 219, 220, 222, 223, 225, 226, 228, 229, 231, 232, 234, 235, 237, 238, 240, 241, 243, 244, 246, 247, 249, 250, 252, 253, 255, 256, 258, 259, 261, 262, 264, 265, 267, 268, 270, 271, 273, 274, 276, 277, 279, 280, 282, 284, 285, 287, 288, 290, 291, 293, 294, 296, 297, 299, 300]
# -*- coding: utf-8 -*- class Solution: def minDeletionSize(self, A): return len([col for col in zip(*A) if col != tuple(sorted(col))]) if __name__ == '__main__': solution = Solution() assert 1 == solution.minDeletionSize(['cba', 'daf', 'ghi']) assert 0 == solution.minDeletionSize(['a', 'b']) assert 3 == solution.minDeletionSize(['zyx', 'wvu', 'tsr'])
class Solution: def min_deletion_size(self, A): return len([col for col in zip(*A) if col != tuple(sorted(col))]) if __name__ == '__main__': solution = solution() assert 1 == solution.minDeletionSize(['cba', 'daf', 'ghi']) assert 0 == solution.minDeletionSize(['a', 'b']) assert 3 == solution.minDeletionSize(['zyx', 'wvu', 'tsr'])
# https://leetcode.com/problems/simplify-path/ class Solution: def simplifyPath(self, path: str) -> str: stack = [] for d in path.split('/'): if d == '..': if len(stack) > 0: stack.pop() elif d == '.' or d == '': continue else: stack.append(d) return '/' + '/'.join(stack) s = Solution() tests = [ '/home/', '/../', '/home//foo/', '/a/./b/../../c/' ] for test in tests: print(s.simplifyPath(test))
class Solution: def simplify_path(self, path: str) -> str: stack = [] for d in path.split('/'): if d == '..': if len(stack) > 0: stack.pop() elif d == '.' or d == '': continue else: stack.append(d) return '/' + '/'.join(stack) s = solution() tests = ['/home/', '/../', '/home//foo/', '/a/./b/../../c/'] for test in tests: print(s.simplifyPath(test))
# Guess password and output the score chocolate = 2 playerlives = 1 playername = "Aung" # this loop clears the screen for i in range(1, 35): print() bonus = 0 numbercorrect = 0 # the player must try to guess the password print("Now you must ener each letter that you remember ") print("You will be given 3 times") # add code here for a while loop using that counts from 1 to 3, so player has 3 guesses: i = 0 while i < 3: i = i + 1 letter = input("Try number " + str(i)+" : ") if letter == "A" or letter == "R" or letter == "T": numbercorrect = numbercorrect + 1 print("CORRECT - welldone") else: print("Wrong - sorry") guess = input( "NOW try and guess the password **** - the clue is in this line four times. Use the letters you were gives to help : ") if guess == "star": print("You are a star - you have opened the treasure chest of sweets and earned 1000 points") bonus = 1000 score = (chocolate * 50) + (playerlives * 60) + bonus # add code here to output playername # add code here to output the number of bars of chocolate the player has # add code here to output number of lives he player has # add code here to output number of bonus points the player has # add code here to output the player's score print("Player Name : " + playername) print("Total Chocolate Bar = " + str(chocolate)) print("Playerlives = " + str(playerlives)) print("Bonus point = " + str(bonus)) print("Player's Score = " + str(score)) # end
chocolate = 2 playerlives = 1 playername = 'Aung' for i in range(1, 35): print() bonus = 0 numbercorrect = 0 print('Now you must ener each letter that you remember ') print('You will be given 3 times') i = 0 while i < 3: i = i + 1 letter = input('Try number ' + str(i) + ' : ') if letter == 'A' or letter == 'R' or letter == 'T': numbercorrect = numbercorrect + 1 print('CORRECT - welldone') else: print('Wrong - sorry') guess = input('NOW try and guess the password **** - the clue is in this line four times. Use the letters you were gives to help : ') if guess == 'star': print('You are a star - you have opened the treasure chest of sweets and earned 1000 points') bonus = 1000 score = chocolate * 50 + playerlives * 60 + bonus print('Player Name : ' + playername) print('Total Chocolate Bar = ' + str(chocolate)) print('Playerlives = ' + str(playerlives)) print('Bonus point = ' + str(bonus)) print("Player's Score = " + str(score))
#!/usr/bin/env python3 def best_stock(data): return sorted(data.items(), key=lambda x: x[1])[-1][0] if __name__ == '__main__': print(best_stock({ "CAL": 42.0, "GOG": 190.5, "DAG": 32.2 })) assert best_stock({ "CAL": 42.0, "GOG": 190.5, "DAG": 32.2 }) == "GOG" assert best_stock({ "CAL": 31.4, "GOG": 3.42, "APL": 170.34 }) == "APL"
def best_stock(data): return sorted(data.items(), key=lambda x: x[1])[-1][0] if __name__ == '__main__': print(best_stock({'CAL': 42.0, 'GOG': 190.5, 'DAG': 32.2})) assert best_stock({'CAL': 42.0, 'GOG': 190.5, 'DAG': 32.2}) == 'GOG' assert best_stock({'CAL': 31.4, 'GOG': 3.42, 'APL': 170.34}) == 'APL'
def find_position(matrix, size, symbol): positions = [] for row in range(size): for col in range(size): if matrix[row][col] == symbol: positions.append([row, col]) return positions def is_position_valid(row, col, size): return 0 <= row < size and 0 <= col < size def check_for_checkmate(queen_pos, size, matrix): for direction in CHANGES: q_row, q_col = queen_pos[0], queen_pos[1] change_row, change_col = CHANGES[direction][0], CHANGES[direction][1] while is_position_valid(q_row + change_row, q_col + change_col, size): q_row += change_row q_col += change_col if matrix[q_row][q_col] == "Q": break elif matrix[q_row][q_col] == "K": return True return False SIZE = 8 board = [input().split() for _ in range(SIZE)] king_pos = find_position(board, SIZE, "K")[0] queens_positions = find_position(board, SIZE, "Q") queens_winners = [] CHANGES = { "up": (-1, 0), "down": (1, 0), "right": (0, 1), "left": (0, -1), "up-left": (-1, -1), "down-left": (1, -1), "up-right": (-1, 1), "down-right": (1, 1), } for queen in queens_positions: if check_for_checkmate(queen, SIZE, board): queens_winners.append(queen) if queens_winners: [print(queen) for queen in queens_winners] else: print("The king is safe!")
def find_position(matrix, size, symbol): positions = [] for row in range(size): for col in range(size): if matrix[row][col] == symbol: positions.append([row, col]) return positions def is_position_valid(row, col, size): return 0 <= row < size and 0 <= col < size def check_for_checkmate(queen_pos, size, matrix): for direction in CHANGES: (q_row, q_col) = (queen_pos[0], queen_pos[1]) (change_row, change_col) = (CHANGES[direction][0], CHANGES[direction][1]) while is_position_valid(q_row + change_row, q_col + change_col, size): q_row += change_row q_col += change_col if matrix[q_row][q_col] == 'Q': break elif matrix[q_row][q_col] == 'K': return True return False size = 8 board = [input().split() for _ in range(SIZE)] king_pos = find_position(board, SIZE, 'K')[0] queens_positions = find_position(board, SIZE, 'Q') queens_winners = [] changes = {'up': (-1, 0), 'down': (1, 0), 'right': (0, 1), 'left': (0, -1), 'up-left': (-1, -1), 'down-left': (1, -1), 'up-right': (-1, 1), 'down-right': (1, 1)} for queen in queens_positions: if check_for_checkmate(queen, SIZE, board): queens_winners.append(queen) if queens_winners: [print(queen) for queen in queens_winners] else: print('The king is safe!')
items = {key: {} for key in input().split(", ")} n = int(input()) for _ in range(n): line = input().split(" - ") category, item = line[0], line[1] items_count = line[2].split(";") quantity = int(items_count[0].split(":")[1]) quality = int(items_count[1].split(":")[1]) items[category][item] = (quantity, quality) items_count = sum([sum([i[0] for i in list(items[x].values())]) for x in items]) avg_quality = sum([sum([i[1] for i in list(items[x].values())]) for x in items]) / len([x for x in items.keys()]) print(f"Count of items: {items_count}") print(f"Average quality: {avg_quality:.2f}") [print(f"{x} -> {', '.join(items[x])}") for x in items.keys()]
items = {key: {} for key in input().split(', ')} n = int(input()) for _ in range(n): line = input().split(' - ') (category, item) = (line[0], line[1]) items_count = line[2].split(';') quantity = int(items_count[0].split(':')[1]) quality = int(items_count[1].split(':')[1]) items[category][item] = (quantity, quality) items_count = sum([sum([i[0] for i in list(items[x].values())]) for x in items]) avg_quality = sum([sum([i[1] for i in list(items[x].values())]) for x in items]) / len([x for x in items.keys()]) print(f'Count of items: {items_count}') print(f'Average quality: {avg_quality:.2f}') [print(f"{x} -> {', '.join(items[x])}") for x in items.keys()]
cnt = int(input()) for i in range(cnt): s=input() a=s.lower() g=a.count('g') b=a.count('b') print(s,"is",end=" ") if g == b: print("NEUTRAL") elif g>b: print("GOOD") else: print("A BADDY")
cnt = int(input()) for i in range(cnt): s = input() a = s.lower() g = a.count('g') b = a.count('b') print(s, 'is', end=' ') if g == b: print('NEUTRAL') elif g > b: print('GOOD') else: print('A BADDY')
print("Enter a character:\n") ch=input() while(len(ch)!=1): print("\nShould Enter single Character...RETRY!") ch=input() print(ord(ch))
print('Enter a character:\n') ch = input() while len(ch) != 1: print('\nShould Enter single Character...RETRY!') ch = input() print(ord(ch))
class Solution: def parseTernary(self, expression: str) -> str: c, values = expression.split('?', 1) cnt = 0 p = 0 for i in range(len(values)): if values[i] == ':': if cnt > 0: cnt -= 1 else: p = i break elif values[i] == '?': cnt += 1 tv, fv = values[:p] , values[p+1:] if c == 'T': if tv.find('?') == -1: return tv else: return self.parseTernary(tv) else: if fv.find('?') == -1: return fv else: return self.parseTernary(fv)
class Solution: def parse_ternary(self, expression: str) -> str: (c, values) = expression.split('?', 1) cnt = 0 p = 0 for i in range(len(values)): if values[i] == ':': if cnt > 0: cnt -= 1 else: p = i break elif values[i] == '?': cnt += 1 (tv, fv) = (values[:p], values[p + 1:]) if c == 'T': if tv.find('?') == -1: return tv else: return self.parseTernary(tv) elif fv.find('?') == -1: return fv else: return self.parseTernary(fv)
class Solution: def findAnagrams(self, s: str, p: str) -> List[int]: # just use a sliding window np, ns = len(p), len(s) res = [] if np > ns: return [] map_ = [0] * 26 for i,x in enumerate(p): map_[ord(x) - 97] -= 1 map_[ord(s[i])-97] += 1 for i in range(ns-np+1): # the last index to check is ns-np if not any(map_): res.append(i) # kick out s[i] and add s[i+np] if i + np < ns: map_[ord(s[i])-97] -= 1 map_[ord(s[i+np])-97] += 1 return res
class Solution: def find_anagrams(self, s: str, p: str) -> List[int]: (np, ns) = (len(p), len(s)) res = [] if np > ns: return [] map_ = [0] * 26 for (i, x) in enumerate(p): map_[ord(x) - 97] -= 1 map_[ord(s[i]) - 97] += 1 for i in range(ns - np + 1): if not any(map_): res.append(i) if i + np < ns: map_[ord(s[i]) - 97] -= 1 map_[ord(s[i + np]) - 97] += 1 return res
memMap = {} def fibonacci (n): if (n not in memMap): if n <= 0: print("Invalid input") elif n == 1: memMap[n] = 0 elif n == 2: memMap[n] = 1 else: memMap[n] = fibonacci (n-1) + fibonacci (n-2) return memMap[n] def fibonacciSlow (n): if n <= 0: print("Invalid input") elif n == 1: return 0 elif n == 2: return 1 else: return fibonacci (n-1) + fibonacci (n-2) print(fibonacci (1000)) print("---------------") print(fibonacciSlow (1000))
mem_map = {} def fibonacci(n): if n not in memMap: if n <= 0: print('Invalid input') elif n == 1: memMap[n] = 0 elif n == 2: memMap[n] = 1 else: memMap[n] = fibonacci(n - 1) + fibonacci(n - 2) return memMap[n] def fibonacci_slow(n): if n <= 0: print('Invalid input') elif n == 1: return 0 elif n == 2: return 1 else: return fibonacci(n - 1) + fibonacci(n - 2) print(fibonacci(1000)) print('---------------') print(fibonacci_slow(1000))
def embarque(motorista:str, passageiro:str, saida:dict): fortwo = {'motorista': motorista, 'passageiro': passageiro} saida['pessoas'].remove(motorista) print(f"{fortwo['motorista']} embarcou como motorista") if passageiro != '': saida['pessoas'].remove(passageiro) print(f"{fortwo['passageiro']} embarcou como passageiro") return fortwo
def embarque(motorista: str, passageiro: str, saida: dict): fortwo = {'motorista': motorista, 'passageiro': passageiro} saida['pessoas'].remove(motorista) print(f"{fortwo['motorista']} embarcou como motorista") if passageiro != '': saida['pessoas'].remove(passageiro) print(f"{fortwo['passageiro']} embarcou como passageiro") return fortwo
class UnfoldingResult: def __init__(self, solution, error): self.solution = solution self.error = error
class Unfoldingresult: def __init__(self, solution, error): self.solution = solution self.error = error
# input number of testcases test=int(input()) for i in range(test): # input the number of predicted prices for WOT n=int(input()) # input array of predicted stock price a=list(map(int,input().split())) c=0 i=len(a)-1 while(i>=0): d=a[i] l=i p=0 while(a[i]<=d and i>=0): p+=a[i] i-=1 c+=(l-i)*a[l]-p continue # print 'test' lines each containing the maximum profit which can be obtained for the corresponding test case print (c)
test = int(input()) for i in range(test): n = int(input()) a = list(map(int, input().split())) c = 0 i = len(a) - 1 while i >= 0: d = a[i] l = i p = 0 while a[i] <= d and i >= 0: p += a[i] i -= 1 c += (l - i) * a[l] - p continue print(c)
class node: def __init__(self,value): self.data=value self.next=None self.prev=None class DoubleLinkedList: def __init__(self): self.head=None def insertAtBeg(self,value): newnode = node(value) if self.head==None: self.head=newnode else: self.head.prev = newnode newnode.next=self.head self.head=newnode def insertAtEnd(self,value): newnode=node(value) if self.head == None: self.head=newnode else: temp=self.head while temp.next is not None: temp=temp.next temp.next=newnode newnode.prev=temp def insertAtBet(self,value,pos): pass def deleteAtBeg(self): temp = self.head self.head=self.head.next def deleteAtEnd(self): temp=self.head while temp.next.next is not None: temp=temp.next temp.next = None def deleteAtBet(self,pos): pass def show(self): temp = self.head while(temp is not None): print(temp.data) temp=temp.next def revshow(self): temp = self.head while(temp.next is not None): temp=temp.next while(temp is not None): print(temp.data) temp=temp.prev def menu(): print('------------------------------------------------------------------------------') print() print('1. Insertion at beginning') print('2. Insertion at end') print('3. Insertion at between') print('4. Deletion at beginning') print('5. Deletion at end') print('6. Deletion at between') print('7. Show') print('8. Reverse show') print('9. Exit()') print() print('------------------------------------------------------------------------------') if __name__ == '__main__': ll = DoubleLinkedList() while(True): menu() ch = int(input('Enter your choice : ')) if ch==1: value= int(input('ENter your data : ')) ll.insertAtBeg(value) elif ch==2: value= int(input('ENter your data : ')) ll.insertAtEnd(value) elif ch==3: value= int(input('ENter your data : ')) pos= int(input('ENter your position : ')) ll.insertAtBet(value,pos) elif ch==4: ll.deleteAtBeg() elif ch==5: ll.deleteAtEnd() elif ch==6: pos=int('Enter the position : ') ll.deleteAtBet(pos) elif ch==7: print('***************************************************************************') ll.show() print('***************************************************************************') elif ch==8: print('***************************************************************************') ll.revshow() print('***************************************************************************') elif ch==9: exit() else: print("Enter some valid option")
class Node: def __init__(self, value): self.data = value self.next = None self.prev = None class Doublelinkedlist: def __init__(self): self.head = None def insert_at_beg(self, value): newnode = node(value) if self.head == None: self.head = newnode else: self.head.prev = newnode newnode.next = self.head self.head = newnode def insert_at_end(self, value): newnode = node(value) if self.head == None: self.head = newnode else: temp = self.head while temp.next is not None: temp = temp.next temp.next = newnode newnode.prev = temp def insert_at_bet(self, value, pos): pass def delete_at_beg(self): temp = self.head self.head = self.head.next def delete_at_end(self): temp = self.head while temp.next.next is not None: temp = temp.next temp.next = None def delete_at_bet(self, pos): pass def show(self): temp = self.head while temp is not None: print(temp.data) temp = temp.next def revshow(self): temp = self.head while temp.next is not None: temp = temp.next while temp is not None: print(temp.data) temp = temp.prev def menu(): print('------------------------------------------------------------------------------') print() print('1. Insertion at beginning') print('2. Insertion at end') print('3. Insertion at between') print('4. Deletion at beginning') print('5. Deletion at end') print('6. Deletion at between') print('7. Show') print('8. Reverse show') print('9. Exit()') print() print('------------------------------------------------------------------------------') if __name__ == '__main__': ll = double_linked_list() while True: menu() ch = int(input('Enter your choice : ')) if ch == 1: value = int(input('ENter your data : ')) ll.insertAtBeg(value) elif ch == 2: value = int(input('ENter your data : ')) ll.insertAtEnd(value) elif ch == 3: value = int(input('ENter your data : ')) pos = int(input('ENter your position : ')) ll.insertAtBet(value, pos) elif ch == 4: ll.deleteAtBeg() elif ch == 5: ll.deleteAtEnd() elif ch == 6: pos = int('Enter the position : ') ll.deleteAtBet(pos) elif ch == 7: print('***************************************************************************') ll.show() print('***************************************************************************') elif ch == 8: print('***************************************************************************') ll.revshow() print('***************************************************************************') elif ch == 9: exit() else: print('Enter some valid option')
#!usr/bin/python class Enviroment: sets = [] banned = []
class Enviroment: sets = [] banned = []
''' udata-schema-gouvfr Integration with schema.data.gouv.fr ''' __version__ = '1.3.3.dev' __description__ = 'Integration with schema.data.gouv.fr'
""" udata-schema-gouvfr Integration with schema.data.gouv.fr """ __version__ = '1.3.3.dev' __description__ = 'Integration with schema.data.gouv.fr'
# # PySNMP MIB module WIENER-CRATE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///home/tin/Dev/mibs.snmplabs.com/asn1/WIENER-CRATE-MIB # Produced by pysmi-0.3.4 at Fri Jan 31 21:36:11 2020 # On host bier platform Linux version 5.4.0-3-amd64 by user tin # Using Python version 3.7.6 (default, Jan 19 2020, 22:34:52) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, enterprises, NotificationType, Unsigned32, ModuleIdentity, IpAddress, MibIdentifier, Opaque, TimeTicks, Counter32, ObjectIdentity, Bits, Counter64, Gauge32, iso, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "enterprises", "NotificationType", "Unsigned32", "ModuleIdentity", "IpAddress", "MibIdentifier", "Opaque", "TimeTicks", "Counter32", "ObjectIdentity", "Bits", "Counter64", "Gauge32", "iso", "Integer32") MacAddress, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "DisplayString", "TextualConvention") wiener = ModuleIdentity((1, 3, 6, 1, 4, 1, 19947)) wiener.setRevisions(('2019-04-03 00:00', '2016-02-18 00:00', '2008-10-09 00:00', '2008-05-06 00:00', '2008-04-15 00:00', '2008-04-10 00:00', '2008-04-02 00:00', '2007-09-10 00:00', '2007-03-16 00:00', '2005-02-01 00:00', '2004-06-28 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: wiener.setRevisionsDescriptions(('Update the revision since 2016. ', 'This revision introduces new OIDs for slew control: outputResistance. ', 'New Stuff.', 'Introduction of the signal branch. ', 'Enlargement of u0..u11 -> u0..u1999 ', 'This revision uses again Integer32 instead of Counter32. ', 'This revision modifies the syntax of this file to be complient with smilint. ', 'This revision introduces new OIDs for debug functionality: sysDebugMemory8, sysDebugMemory16 and sysDebugMemory32. ', 'This revision introduces new OIDs for slew control: outputVoltageRiseRate and outputVoltageFallRate. ', 'This revision introduces new OIDs for group managment: groupTable ', 'WIENER Crate MIB, actual Firmware: UEL6E 4.02. Initial Version. ',)) if mibBuilder.loadTexts: wiener.setLastUpdated('201904030000Z') if mibBuilder.loadTexts: wiener.setOrganization('W-IE-NE-R Power Electronics GmbH') if mibBuilder.loadTexts: wiener.setContactInfo(' postal: W-IE-NE-R Power Electronics GmbH Linde 18 D-51399 Burscheid Germany email: info@wiener-d.com ') if mibBuilder.loadTexts: wiener.setDescription('Introduction of the communication.can branch. ') class Float(TextualConvention, Opaque): description = "A single precision floating-point number. The semantics and encoding are identical for type 'single' defined in IEEE Standard for Binary Floating-Point, ANSI/IEEE Std 754-1985. The value is restricted to the BER serialization of the following ASN.1 type: FLOATTYPE ::= [120] IMPLICIT FloatType (note: the value 120 is the sum of '30'h and '48'h) The BER serialization of the length for values of this type must use the definite length, short encoding form. For example, the BER serialization of value 123 of type FLOATTYPE is '9f780442f60000'h. (The tag is '9f78'h; the length is '04'h; and the value is '42f60000'h.) The BER serialization of value '9f780442f60000'h of data type Opaque is '44079f780442f60000'h. (The tag is '44'h; the length is '07'h; and the value is '9f780442f60000'h." status = 'current' subtypeSpec = Opaque.subtypeSpec + ValueSizeConstraint(7, 7) fixedLength = 7 class OutputTripTime(TextualConvention, Integer32): description = 'Special data type used for output trip time OIDs. Represents a 16 bit unsigned integer value. BER-coded as INTEGER' status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 65535) class OutputTripAction(TextualConvention, Integer32): description = 'Special data type used for outpot trip action OIDs.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3)) namedValues = NamedValues(("ignore", 0), ("channelOff", 1), ("specialOff", 2), ("allOff", 3)) crate = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1)) if mibBuilder.loadTexts: crate.setStatus('current') if mibBuilder.loadTexts: crate.setDescription("SNMP control for electronic crates. A crate is a complete electronic system and consists of the mechanical rack, a power supply, a fan tray and a backplane. All this things are necessary to provide an adequate housing for electronic modules (e.g. VME CPU's)") system = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 1)) if mibBuilder.loadTexts: system.setStatus('current') if mibBuilder.loadTexts: system.setDescription('A collection of objects which affect the complete crate') input = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 2)) if mibBuilder.loadTexts: input.setStatus('current') if mibBuilder.loadTexts: input.setDescription('All objects which are associated with the power input of the crate') output = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 3)) if mibBuilder.loadTexts: output.setStatus('current') if mibBuilder.loadTexts: output.setDescription('All objects which are associated with the power output of the crate') sensor = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 4)) if mibBuilder.loadTexts: sensor.setStatus('current') if mibBuilder.loadTexts: sensor.setDescription('All objects which are associated with temperature sensors in the crate') communication = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 5)) if mibBuilder.loadTexts: communication.setStatus('current') if mibBuilder.loadTexts: communication.setDescription('All objects which affect the remote control of the crate') powersupply = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 6)) if mibBuilder.loadTexts: powersupply.setStatus('current') if mibBuilder.loadTexts: powersupply.setDescription('All objects which are specific for the power supply of the crate') fantray = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 7)) if mibBuilder.loadTexts: fantray.setStatus('current') if mibBuilder.loadTexts: fantray.setDescription('All objects which are specific for the fan tray of the crate') rack = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 8)) if mibBuilder.loadTexts: rack.setStatus('current') if mibBuilder.loadTexts: rack.setDescription('All objects which are specific for the crate (BIN) of the crate') signal = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 9)) if mibBuilder.loadTexts: signal.setStatus('current') if mibBuilder.loadTexts: signal.setDescription('All objects which are associated with analog/digtal input/output in the crate') sysMainSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMainSwitch.setStatus('current') if mibBuilder.loadTexts: sysMainSwitch.setDescription('Read: An enumerated value which shows the current state of the crates main switch. Write: Try to switch the complete crate ON or OFF. Only the values ON or OFF are allowed.') sysStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 2), Bits().clone(namedValues=NamedValues(("mainOn", 0), ("mainInhibit", 1), ("localControlOnly", 2), ("inputFailure", 3), ("outputFailure", 4), ("fantrayFailure", 5), ("sensorFailure", 6), ("vmeSysfail", 7), ("plugAndPlayIncompatible", 8), ("busReset", 9), ("supplyDerating", 10), ("supplyFailure", 11), ("supplyDerating2", 12), ("supplyFailure2", 13)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysStatus.setStatus('current') if mibBuilder.loadTexts: sysStatus.setDescription('A bit string which shows the status (health) of the complete crate. If a bit is set (1), the explanation is satisfied mainOn (0), system is switched on, individual outputs may be controlled by their specific ON/INHIBIT mainInhibit(1), external (hardware-)inhibit of the complete system localControlOnly (2), local control only (CANBUS write access denied) inputFailure (3), any input failure (e.g. power fail) outputFailure (4), any output failure, details in outputTable fantrayFailure (5), fantray failure sensorFailure (6), temperature of the external sensors too high vmeSysfail(7), VME SYSFAIL signal is active plugAndPlayIncompatible (8) wrong power supply and rack connected busReset (9) The sytem bus (e.g. VME or CPCI) reset signal is active. supplyDerating (10) The (first) system power supply has the DEG signal active. supplyFailure (11) The (first) system power supply has the FAL signal active. supplyDerating2 (12) The second system power supply has the DEG signal active. supplyFailure2 (13) The second system power supply has the FAL signal active. ') sysVmeSysReset = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("trigger", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysVmeSysReset.setStatus('current') if mibBuilder.loadTexts: sysVmeSysReset.setDescription('Read: Always 0. Write: Trigger the generation of the VME SYSRESET or CPIC RESET signal. This signal will be active for a time of 200 ms') sysHardwareReset = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysHardwareReset.setStatus('current') if mibBuilder.loadTexts: sysHardwareReset.setDescription('Triggered a Reset via Watchdog or ResetLine.') sysFactoryDefaults = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysFactoryDefaults.setStatus('current') if mibBuilder.loadTexts: sysFactoryDefaults.setDescription('A set operation performs a complete factory reset of ALL data stored in the controller (e.g. community names, passwords, ...). ') sysConfigDoMeasurementCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 10), Bits().clone(namedValues=NamedValues(("ch0", 0), ("ch1", 1), ("ch2", 2), ("ch3", 3), ("ch4", 4), ("ch5", 5), ("ch6", 6), ("ch7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysConfigDoMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: sysConfigDoMeasurementCurrent.setDescription('CSet the analog inputs to measure voltage or current.') sysOperatingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 11), Integer32()).setUnits('s').setMaxAccess("readwrite") if mibBuilder.loadTexts: sysOperatingTime.setStatus('current') if mibBuilder.loadTexts: sysOperatingTime.setDescription('The time in seconds for how long the controller was in action.') sysDebugMemory8 = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1024), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebugMemory8.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory8.setDescription('Debug 16-bit memory access.') sysDebugMemory16 = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1025), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebugMemory16.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory16.setDescription('Debug 16-bit memory access.') sysDebugMemory32 = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1026), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebugMemory32.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory32.setDescription('Debug 32-bit memory access.') sysDebug = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1027), OctetString().subtype(subtypeSpec=ValueSizeConstraint(520, 520)).setFixedLength(520)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebug.setStatus('current') if mibBuilder.loadTexts: sysDebug.setDescription('Debug communication with the MPOD. This is a direct map to the ancient functions which are accessible via USB (without SLIP/SNMP). ') sysDebugDisplay = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1028), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebugDisplay.setStatus('current') if mibBuilder.loadTexts: sysDebugDisplay.setDescription('Debug communication with the MPOD display.') sysDebugBoot = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1029), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysDebugBoot.setStatus('current') if mibBuilder.loadTexts: sysDebugBoot.setDescription('Debug communication with the simple debug interface / bootloader.') outputNumber = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1999))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputNumber.setStatus('current') if mibBuilder.loadTexts: outputNumber.setDescription('The number of output channels of the crate.') outputTable = MibTable((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2), ) if mibBuilder.loadTexts: outputTable.setStatus('current') if mibBuilder.loadTexts: outputTable.setDescription('A list of output entries.') groupsNumber = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1999))).setMaxAccess("readonly") if mibBuilder.loadTexts: groupsNumber.setStatus('current') if mibBuilder.loadTexts: groupsNumber.setDescription('The number of output groups of the crate.') groupsTable = MibTable((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4), ) if mibBuilder.loadTexts: groupsTable.setStatus('current') if mibBuilder.loadTexts: groupsTable.setDescription('A list of output groups entries.') moduleNumber = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: moduleNumber.setStatus('current') if mibBuilder.loadTexts: moduleNumber.setDescription('The number of HV/LV modules of the crate.') moduleTable = MibTable((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6), ) if mibBuilder.loadTexts: moduleTable.setStatus('current') if mibBuilder.loadTexts: moduleTable.setDescription('A list of output module entries.') outputEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "outputIndex")) if mibBuilder.loadTexts: outputEntry.setStatus('current') if mibBuilder.loadTexts: outputEntry.setDescription('A table row') outputIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255), SingleValueConstraint(256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510), SingleValueConstraint(511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765), SingleValueConstraint(766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020), SingleValueConstraint(1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275), SingleValueConstraint(1276, 1277, 1278, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530), SingleValueConstraint(1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785), SingleValueConstraint(1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000))).clone(namedValues=NamedValues(("u0", 1), ("u1", 2), ("u2", 3), ("u3", 4), ("u4", 5), ("u5", 6), ("u6", 7), ("u7", 8), ("u8", 9), ("u9", 10), ("u10", 11), ("u11", 12), ("u12", 13), ("u13", 14), ("u14", 15), ("u15", 16), ("u16", 17), ("u17", 18), ("u18", 19), ("u19", 20), ("u20", 21), ("u21", 22), ("u22", 23), ("u23", 24), ("u24", 25), ("u25", 26), ("u26", 27), ("u27", 28), ("u28", 29), ("u29", 30), ("u30", 31), ("u31", 32), ("u32", 33), ("u33", 34), ("u34", 35), ("u35", 36), ("u36", 37), ("u37", 38), ("u38", 39), ("u39", 40), ("u40", 41), ("u41", 42), ("u42", 43), ("u43", 44), ("u44", 45), ("u45", 46), ("u46", 47), ("u47", 48), ("u48", 49), ("u49", 50), ("u50", 51), ("u51", 52), ("u52", 53), ("u53", 54), ("u54", 55), ("u55", 56), ("u56", 57), ("u57", 58), ("u58", 59), ("u59", 60), ("u60", 61), ("u61", 62), ("u62", 63), ("u63", 64), ("u64", 65), ("u65", 66), ("u66", 67), ("u67", 68), ("u68", 69), ("u69", 70), ("u70", 71), ("u71", 72), ("u72", 73), ("u73", 74), ("u74", 75), ("u75", 76), ("u76", 77), ("u77", 78), ("u78", 79), ("u79", 80), ("u80", 81), ("u81", 82), ("u82", 83), ("u83", 84), ("u84", 85), ("u85", 86), ("u86", 87), ("u87", 88), ("u88", 89), ("u89", 90), ("u90", 91), ("u91", 92), ("u92", 93), ("u93", 94), ("u94", 95), ("u95", 96), ("u96", 97), ("u97", 98), ("u98", 99), ("u99", 100), ("u100", 101), ("u101", 102), ("u102", 103), ("u103", 104), ("u104", 105), ("u105", 106), ("u106", 107), ("u107", 108), ("u108", 109), ("u109", 110), ("u110", 111), ("u111", 112), ("u112", 113), ("u113", 114), ("u114", 115), ("u115", 116), ("u116", 117), ("u117", 118), ("u118", 119), ("u119", 120), ("u120", 121), ("u121", 122), ("u122", 123), ("u123", 124), ("u124", 125), ("u125", 126), ("u126", 127), ("u127", 128), ("u128", 129), ("u129", 130), ("u130", 131), ("u131", 132), ("u132", 133), ("u133", 134), ("u134", 135), ("u135", 136), ("u136", 137), ("u137", 138), ("u138", 139), ("u139", 140), ("u140", 141), ("u141", 142), ("u142", 143), ("u143", 144), ("u144", 145), ("u145", 146), ("u146", 147), ("u147", 148), ("u148", 149), ("u149", 150), ("u150", 151), ("u151", 152), ("u152", 153), ("u153", 154), ("u154", 155), ("u155", 156), ("u156", 157), ("u157", 158), ("u158", 159), ("u159", 160), ("u160", 161), ("u161", 162), ("u162", 163), ("u163", 164), ("u164", 165), ("u165", 166), ("u166", 167), ("u167", 168), ("u168", 169), ("u169", 170), ("u170", 171), ("u171", 172), ("u172", 173), ("u173", 174), ("u174", 175), ("u175", 176), ("u176", 177), ("u177", 178), ("u178", 179), ("u179", 180), ("u180", 181), ("u181", 182), ("u182", 183), ("u183", 184), ("u184", 185), ("u185", 186), ("u186", 187), ("u187", 188), ("u188", 189), ("u189", 190), ("u190", 191), ("u191", 192), ("u192", 193), ("u193", 194), ("u194", 195), ("u195", 196), ("u196", 197), ("u197", 198), ("u198", 199), ("u199", 200), ("u200", 201), ("u201", 202), ("u202", 203), ("u203", 204), ("u204", 205), ("u205", 206), ("u206", 207), ("u207", 208), ("u208", 209), ("u209", 210), ("u210", 211), ("u211", 212), ("u212", 213), ("u213", 214), ("u214", 215), ("u215", 216), ("u216", 217), ("u217", 218), ("u218", 219), ("u219", 220), ("u220", 221), ("u221", 222), ("u222", 223), ("u223", 224), ("u224", 225), ("u225", 226), ("u226", 227), ("u227", 228), ("u228", 229), ("u229", 230), ("u230", 231), ("u231", 232), ("u232", 233), ("u233", 234), ("u234", 235), ("u235", 236), ("u236", 237), ("u237", 238), ("u238", 239), ("u239", 240), ("u240", 241), ("u241", 242), ("u242", 243), ("u243", 244), ("u244", 245), ("u245", 246), ("u246", 247), ("u247", 248), ("u248", 249), ("u249", 250), ("u250", 251), ("u251", 252), ("u252", 253), ("u253", 254), ("u254", 255)) + NamedValues(("u255", 256), ("u256", 257), ("u257", 258), ("u258", 259), ("u259", 260), ("u260", 261), ("u261", 262), ("u262", 263), ("u263", 264), ("u264", 265), ("u265", 266), ("u266", 267), ("u267", 268), ("u268", 269), ("u269", 270), ("u270", 271), ("u271", 272), ("u272", 273), ("u273", 274), ("u274", 275), ("u275", 276), ("u276", 277), ("u277", 278), ("u278", 279), ("u279", 280), ("u280", 281), ("u281", 282), ("u282", 283), ("u283", 284), ("u284", 285), ("u285", 286), ("u286", 287), ("u287", 288), ("u288", 289), ("u289", 290), ("u290", 291), ("u291", 292), ("u292", 293), ("u293", 294), ("u294", 295), ("u295", 296), ("u296", 297), ("u297", 298), ("u298", 299), ("u299", 300), ("u300", 301), ("u301", 302), ("u302", 303), ("u303", 304), ("u304", 305), ("u305", 306), ("u306", 307), ("u307", 308), ("u308", 309), ("u309", 310), ("u310", 311), ("u311", 312), ("u312", 313), ("u313", 314), ("u314", 315), ("u315", 316), ("u316", 317), ("u317", 318), ("u318", 319), ("u319", 320), ("u320", 321), ("u321", 322), ("u322", 323), ("u323", 324), ("u324", 325), ("u325", 326), ("u326", 327), ("u327", 328), ("u328", 329), ("u329", 330), ("u330", 331), ("u331", 332), ("u332", 333), ("u333", 334), ("u334", 335), ("u335", 336), ("u336", 337), ("u337", 338), ("u338", 339), ("u339", 340), ("u340", 341), ("u341", 342), ("u342", 343), ("u343", 344), ("u344", 345), ("u345", 346), ("u346", 347), ("u347", 348), ("u348", 349), ("u349", 350), ("u350", 351), ("u351", 352), ("u352", 353), ("u353", 354), ("u354", 355), ("u355", 356), ("u356", 357), ("u357", 358), ("u358", 359), ("u359", 360), ("u360", 361), ("u361", 362), ("u362", 363), ("u363", 364), ("u364", 365), ("u365", 366), ("u366", 367), ("u367", 368), ("u368", 369), ("u369", 370), ("u370", 371), ("u371", 372), ("u372", 373), ("u373", 374), ("u374", 375), ("u375", 376), ("u376", 377), ("u377", 378), ("u378", 379), ("u379", 380), ("u380", 381), ("u381", 382), ("u382", 383), ("u383", 384), ("u384", 385), ("u385", 386), ("u386", 387), ("u387", 388), ("u388", 389), ("u389", 390), ("u390", 391), ("u391", 392), ("u392", 393), ("u393", 394), ("u394", 395), ("u395", 396), ("u396", 397), ("u397", 398), ("u398", 399), ("u399", 400), ("u400", 401), ("u401", 402), ("u402", 403), ("u403", 404), ("u404", 405), ("u405", 406), ("u406", 407), ("u407", 408), ("u408", 409), ("u409", 410), ("u410", 411), ("u411", 412), ("u412", 413), ("u413", 414), ("u414", 415), ("u415", 416), ("u416", 417), ("u417", 418), ("u418", 419), ("u419", 420), ("u420", 421), ("u421", 422), ("u422", 423), ("u423", 424), ("u424", 425), ("u425", 426), ("u426", 427), ("u427", 428), ("u428", 429), ("u429", 430), ("u430", 431), ("u431", 432), ("u432", 433), ("u433", 434), ("u434", 435), ("u435", 436), ("u436", 437), ("u437", 438), ("u438", 439), ("u439", 440), ("u440", 441), ("u441", 442), ("u442", 443), ("u443", 444), ("u444", 445), ("u445", 446), ("u446", 447), ("u447", 448), ("u448", 449), ("u449", 450), ("u450", 451), ("u451", 452), ("u452", 453), ("u453", 454), ("u454", 455), ("u455", 456), ("u456", 457), ("u457", 458), ("u458", 459), ("u459", 460), ("u460", 461), ("u461", 462), ("u462", 463), ("u463", 464), ("u464", 465), ("u465", 466), ("u466", 467), ("u467", 468), ("u468", 469), ("u469", 470), ("u470", 471), ("u471", 472), ("u472", 473), ("u473", 474), ("u474", 475), ("u475", 476), ("u476", 477), ("u477", 478), ("u478", 479), ("u479", 480), ("u480", 481), ("u481", 482), ("u482", 483), ("u483", 484), ("u484", 485), ("u485", 486), ("u486", 487), ("u487", 488), ("u488", 489), ("u489", 490), ("u490", 491), ("u491", 492), ("u492", 493), ("u493", 494), ("u494", 495), ("u495", 496), ("u496", 497), ("u497", 498), ("u498", 499), ("u499", 500), ("u500", 501), ("u501", 502), ("u502", 503), ("u503", 504), ("u504", 505), ("u505", 506), ("u506", 507), ("u507", 508), ("u508", 509), ("u509", 510)) + NamedValues(("u510", 511), ("u511", 512), ("u512", 513), ("u513", 514), ("u514", 515), ("u515", 516), ("u516", 517), ("u517", 518), ("u518", 519), ("u519", 520), ("u520", 521), ("u521", 522), ("u522", 523), ("u523", 524), ("u524", 525), ("u525", 526), ("u526", 527), ("u527", 528), ("u528", 529), ("u529", 530), ("u530", 531), ("u531", 532), ("u532", 533), ("u533", 534), ("u534", 535), ("u535", 536), ("u536", 537), ("u537", 538), ("u538", 539), ("u539", 540), ("u540", 541), ("u541", 542), ("u542", 543), ("u543", 544), ("u544", 545), ("u545", 546), ("u546", 547), ("u547", 548), ("u548", 549), ("u549", 550), ("u550", 551), ("u551", 552), ("u552", 553), ("u553", 554), ("u554", 555), ("u555", 556), ("u556", 557), ("u557", 558), ("u558", 559), ("u559", 560), ("u560", 561), ("u561", 562), ("u562", 563), ("u563", 564), ("u564", 565), ("u565", 566), ("u566", 567), ("u567", 568), ("u568", 569), ("u569", 570), ("u570", 571), ("u571", 572), ("u572", 573), ("u573", 574), ("u574", 575), ("u575", 576), ("u576", 577), ("u577", 578), ("u578", 579), ("u579", 580), ("u580", 581), ("u581", 582), ("u582", 583), ("u583", 584), ("u584", 585), ("u585", 586), ("u586", 587), ("u587", 588), ("u588", 589), ("u589", 590), ("u590", 591), ("u591", 592), ("u592", 593), ("u593", 594), ("u594", 595), ("u595", 596), ("u596", 597), ("u597", 598), ("u598", 599), ("u599", 600), ("u600", 601), ("u601", 602), ("u602", 603), ("u603", 604), ("u604", 605), ("u605", 606), ("u606", 607), ("u607", 608), ("u608", 609), ("u609", 610), ("u610", 611), ("u611", 612), ("u612", 613), ("u613", 614), ("u614", 615), ("u615", 616), ("u616", 617), ("u617", 618), ("u618", 619), ("u619", 620), ("u620", 621), ("u621", 622), ("u622", 623), ("u623", 624), ("u624", 625), ("u625", 626), ("u626", 627), ("u627", 628), ("u628", 629), ("u629", 630), ("u630", 631), ("u631", 632), ("u632", 633), ("u633", 634), ("u634", 635), ("u635", 636), ("u636", 637), ("u637", 638), ("u638", 639), ("u639", 640), ("u640", 641), ("u641", 642), ("u642", 643), ("u643", 644), ("u644", 645), ("u645", 646), ("u646", 647), ("u647", 648), ("u648", 649), ("u649", 650), ("u650", 651), ("u651", 652), ("u652", 653), ("u653", 654), ("u654", 655), ("u655", 656), ("u656", 657), ("u657", 658), ("u658", 659), ("u659", 660), ("u660", 661), ("u661", 662), ("u662", 663), ("u663", 664), ("u664", 665), ("u665", 666), ("u666", 667), ("u667", 668), ("u668", 669), ("u669", 670), ("u670", 671), ("u671", 672), ("u672", 673), ("u673", 674), ("u674", 675), ("u675", 676), ("u676", 677), ("u677", 678), ("u678", 679), ("u679", 680), ("u680", 681), ("u681", 682), ("u682", 683), ("u683", 684), ("u684", 685), ("u685", 686), ("u686", 687), ("u687", 688), ("u688", 689), ("u689", 690), ("u690", 691), ("u691", 692), ("u692", 693), ("u693", 694), ("u694", 695), ("u695", 696), ("u696", 697), ("u697", 698), ("u698", 699), ("u699", 700), ("u700", 701), ("u701", 702), ("u702", 703), ("u703", 704), ("u704", 705), ("u705", 706), ("u706", 707), ("u707", 708), ("u708", 709), ("u709", 710), ("u710", 711), ("u711", 712), ("u712", 713), ("u713", 714), ("u714", 715), ("u715", 716), ("u716", 717), ("u717", 718), ("u718", 719), ("u719", 720), ("u720", 721), ("u721", 722), ("u722", 723), ("u723", 724), ("u724", 725), ("u725", 726), ("u726", 727), ("u727", 728), ("u728", 729), ("u729", 730), ("u730", 731), ("u731", 732), ("u732", 733), ("u733", 734), ("u734", 735), ("u735", 736), ("u736", 737), ("u737", 738), ("u738", 739), ("u739", 740), ("u740", 741), ("u741", 742), ("u742", 743), ("u743", 744), ("u744", 745), ("u745", 746), ("u746", 747), ("u747", 748), ("u748", 749), ("u749", 750), ("u750", 751), ("u751", 752), ("u752", 753), ("u753", 754), ("u754", 755), ("u755", 756), ("u756", 757), ("u757", 758), ("u758", 759), ("u759", 760), ("u760", 761), ("u761", 762), ("u762", 763), ("u763", 764), ("u764", 765)) + NamedValues(("u765", 766), ("u766", 767), ("u767", 768), ("u768", 769), ("u769", 770), ("u770", 771), ("u771", 772), ("u772", 773), ("u773", 774), ("u774", 775), ("u775", 776), ("u776", 777), ("u777", 778), ("u778", 779), ("u779", 780), ("u780", 781), ("u781", 782), ("u782", 783), ("u783", 784), ("u784", 785), ("u785", 786), ("u786", 787), ("u787", 788), ("u788", 789), ("u789", 790), ("u790", 791), ("u791", 792), ("u792", 793), ("u793", 794), ("u794", 795), ("u795", 796), ("u796", 797), ("u797", 798), ("u798", 799), ("u799", 800), ("u800", 801), ("u801", 802), ("u802", 803), ("u803", 804), ("u804", 805), ("u805", 806), ("u806", 807), ("u807", 808), ("u808", 809), ("u809", 810), ("u810", 811), ("u811", 812), ("u812", 813), ("u813", 814), ("u814", 815), ("u815", 816), ("u816", 817), ("u817", 818), ("u818", 819), ("u819", 820), ("u820", 821), ("u821", 822), ("u822", 823), ("u823", 824), ("u824", 825), ("u825", 826), ("u826", 827), ("u827", 828), ("u828", 829), ("u829", 830), ("u830", 831), ("u831", 832), ("u832", 833), ("u833", 834), ("u834", 835), ("u835", 836), ("u836", 837), ("u837", 838), ("u838", 839), ("u839", 840), ("u840", 841), ("u841", 842), ("u842", 843), ("u843", 844), ("u844", 845), ("u845", 846), ("u846", 847), ("u847", 848), ("u848", 849), ("u849", 850), ("u850", 851), ("u851", 852), ("u852", 853), ("u853", 854), ("u854", 855), ("u855", 856), ("u856", 857), ("u857", 858), ("u858", 859), ("u859", 860), ("u860", 861), ("u861", 862), ("u862", 863), ("u863", 864), ("u864", 865), ("u865", 866), ("u866", 867), ("u867", 868), ("u868", 869), ("u869", 870), ("u870", 871), ("u871", 872), ("u872", 873), ("u873", 874), ("u874", 875), ("u875", 876), ("u876", 877), ("u877", 878), ("u878", 879), ("u879", 880), ("u880", 881), ("u881", 882), ("u882", 883), ("u883", 884), ("u884", 885), ("u885", 886), ("u886", 887), ("u887", 888), ("u888", 889), ("u889", 890), ("u890", 891), ("u891", 892), ("u892", 893), ("u893", 894), ("u894", 895), ("u895", 896), ("u896", 897), ("u897", 898), ("u898", 899), ("u899", 900), ("u900", 901), ("u901", 902), ("u902", 903), ("u903", 904), ("u904", 905), ("u905", 906), ("u906", 907), ("u907", 908), ("u908", 909), ("u909", 910), ("u910", 911), ("u911", 912), ("u912", 913), ("u913", 914), ("u914", 915), ("u915", 916), ("u916", 917), ("u917", 918), ("u918", 919), ("u919", 920), ("u920", 921), ("u921", 922), ("u922", 923), ("u923", 924), ("u924", 925), ("u925", 926), ("u926", 927), ("u927", 928), ("u928", 929), ("u929", 930), ("u930", 931), ("u931", 932), ("u932", 933), ("u933", 934), ("u934", 935), ("u935", 936), ("u936", 937), ("u937", 938), ("u938", 939), ("u939", 940), ("u940", 941), ("u941", 942), ("u942", 943), ("u943", 944), ("u944", 945), ("u945", 946), ("u946", 947), ("u947", 948), ("u948", 949), ("u949", 950), ("u950", 951), ("u951", 952), ("u952", 953), ("u953", 954), ("u954", 955), ("u955", 956), ("u956", 957), ("u957", 958), ("u958", 959), ("u959", 960), ("u960", 961), ("u961", 962), ("u962", 963), ("u963", 964), ("u964", 965), ("u965", 966), ("u966", 967), ("u967", 968), ("u968", 969), ("u969", 970), ("u970", 971), ("u971", 972), ("u972", 973), ("u973", 974), ("u974", 975), ("u975", 976), ("u976", 977), ("u977", 978), ("u978", 979), ("u979", 980), ("u980", 981), ("u981", 982), ("u982", 983), ("u983", 984), ("u984", 985), ("u985", 986), ("u986", 987), ("u987", 988), ("u988", 989), ("u989", 990), ("u990", 991), ("u991", 992), ("u992", 993), ("u993", 994), ("u994", 995), ("u995", 996), ("u996", 997), ("u997", 998), ("u998", 999), ("u999", 1000), ("u1000", 1001), ("u1001", 1002), ("u1002", 1003), ("u1003", 1004), ("u1004", 1005), ("u1005", 1006), ("u1006", 1007), ("u1007", 1008), ("u1008", 1009), ("u1009", 1010), ("u1010", 1011), ("u1011", 1012), ("u1012", 1013), ("u1013", 1014), ("u1014", 1015), ("u1015", 1016), ("u1016", 1017), ("u1017", 1018), ("u1018", 1019), ("u1019", 1020)) + NamedValues(("u1020", 1021), ("u1021", 1022), ("u1022", 1023), ("u1023", 1024), ("u1024", 1025), ("u1025", 1026), ("u1026", 1027), ("u1027", 1028), ("u1028", 1029), ("u1029", 1030), ("u1030", 1031), ("u1031", 1032), ("u1032", 1033), ("u1033", 1034), ("u1034", 1035), ("u1035", 1036), ("u1036", 1037), ("u1037", 1038), ("u1038", 1039), ("u1039", 1040), ("u1040", 1041), ("u1041", 1042), ("u1042", 1043), ("u1043", 1044), ("u1044", 1045), ("u1045", 1046), ("u1046", 1047), ("u1047", 1048), ("u1048", 1049), ("u1049", 1050), ("u1050", 1051), ("u1051", 1052), ("u1052", 1053), ("u1053", 1054), ("u1054", 1055), ("u1055", 1056), ("u1056", 1057), ("u1057", 1058), ("u1058", 1059), ("u1059", 1060), ("u1060", 1061), ("u1061", 1062), ("u1062", 1063), ("u1063", 1064), ("u1064", 1065), ("u1065", 1066), ("u1066", 1067), ("u1067", 1068), ("u1068", 1069), ("u1069", 1070), ("u1070", 1071), ("u1071", 1072), ("u1072", 1073), ("u1073", 1074), ("u1074", 1075), ("u1075", 1076), ("u1076", 1077), ("u1077", 1078), ("u1078", 1079), ("u1079", 1080), ("u1080", 1081), ("u1081", 1082), ("u1082", 1083), ("u1083", 1084), ("u1084", 1085), ("u1085", 1086), ("u1086", 1087), ("u1087", 1088), ("u1088", 1089), ("u1089", 1090), ("u1090", 1091), ("u1091", 1092), ("u1092", 1093), ("u1093", 1094), ("u1094", 1095), ("u1095", 1096), ("u1096", 1097), ("u1097", 1098), ("u1098", 1099), ("u1099", 1100), ("u1100", 1101), ("u1101", 1102), ("u1102", 1103), ("u1103", 1104), ("u1104", 1105), ("u1105", 1106), ("u1106", 1107), ("u1107", 1108), ("u1108", 1109), ("u1109", 1110), ("u1110", 1111), ("u1111", 1112), ("u1112", 1113), ("u1113", 1114), ("u1114", 1115), ("u1115", 1116), ("u1116", 1117), ("u1117", 1118), ("u1118", 1119), ("u1119", 1120), ("u1120", 1121), ("u1121", 1122), ("u1122", 1123), ("u1123", 1124), ("u1124", 1125), ("u1125", 1126), ("u1126", 1127), ("u1127", 1128), ("u1128", 1129), ("u1129", 1130), ("u1130", 1131), ("u1131", 1132), ("u1132", 1133), ("u1133", 1134), ("u1134", 1135), ("u1135", 1136), ("u1136", 1137), ("u1137", 1138), ("u1138", 1139), ("u1139", 1140), ("u1140", 1141), ("u1141", 1142), ("u1142", 1143), ("u1143", 1144), ("u1144", 1145), ("u1145", 1146), ("u1146", 1147), ("u1147", 1148), ("u1148", 1149), ("u1149", 1150), ("u1150", 1151), ("u1151", 1152), ("u1152", 1153), ("u1153", 1154), ("u1154", 1155), ("u1155", 1156), ("u1156", 1157), ("u1157", 1158), ("u1158", 1159), ("u1159", 1160), ("u1160", 1161), ("u1161", 1162), ("u1162", 1163), ("u1163", 1164), ("u1164", 1165), ("u1165", 1166), ("u1166", 1167), ("u1167", 1168), ("u1168", 1169), ("u1169", 1170), ("u1170", 1171), ("u1171", 1172), ("u1172", 1173), ("u1173", 1174), ("u1174", 1175), ("u1175", 1176), ("u1176", 1177), ("u1177", 1178), ("u1178", 1179), ("u1179", 1180), ("u1180", 1181), ("u1181", 1182), ("u1182", 1183), ("u1183", 1184), ("u1184", 1185), ("u1185", 1186), ("u1186", 1187), ("u1187", 1188), ("u1188", 1189), ("u1189", 1190), ("u1190", 1191), ("u1191", 1192), ("u1192", 1193), ("u1193", 1194), ("u1194", 1195), ("u1195", 1196), ("u1196", 1197), ("u1197", 1198), ("u1198", 1199), ("u1199", 1200), ("u1200", 1201), ("u1201", 1202), ("u1202", 1203), ("u1203", 1204), ("u1204", 1205), ("u1205", 1206), ("u1206", 1207), ("u1207", 1208), ("u1208", 1209), ("u1209", 1210), ("u1210", 1211), ("u1211", 1212), ("u1212", 1213), ("u1213", 1214), ("u1214", 1215), ("u1215", 1216), ("u1216", 1217), ("u1217", 1218), ("u1218", 1219), ("u1219", 1220), ("u1220", 1221), ("u1221", 1222), ("u1222", 1223), ("u1223", 1224), ("u1224", 1225), ("u1225", 1226), ("u1226", 1227), ("u1227", 1228), ("u1228", 1229), ("u1229", 1230), ("u1230", 1231), ("u1231", 1232), ("u1232", 1233), ("u1233", 1234), ("u1234", 1235), ("u1235", 1236), ("u1236", 1237), ("u1237", 1238), ("u1238", 1239), ("u1239", 1240), ("u1240", 1241), ("u1241", 1242), ("u1242", 1243), ("u1243", 1244), ("u1244", 1245), ("u1245", 1246), ("u1246", 1247), ("u1247", 1248), ("u1248", 1249), ("u1249", 1250), ("u1250", 1251), ("u1251", 1252), ("u1252", 1253), ("u1253", 1254), ("u1254", 1255), ("u1255", 1256), ("u1256", 1257), ("u1257", 1258), ("u1258", 1259), ("u1259", 1260), ("u1260", 1261), ("u1261", 1262), ("u1262", 1263), ("u1263", 1264), ("u1264", 1265), ("u1265", 1266), ("u1266", 1267), ("u1267", 1268), ("u1268", 1269), ("u1269", 1270), ("u1270", 1271), ("u1271", 1272), ("u1272", 1273), ("u1273", 1274), ("u1274", 1275)) + NamedValues(("u1275", 1276), ("u1276", 1277), ("u1277", 1278), ("u1278", 1279), ("u1279", 1280), ("u1280", 1281), ("u1281", 1282), ("u1282", 1283), ("u1283", 1284), ("u1284", 1285), ("u1285", 1286), ("u1286", 1287), ("u1287", 1288), ("u1288", 1289), ("u1289", 1290), ("u1290", 1291), ("u1291", 1292), ("u1292", 1293), ("u1293", 1294), ("u1294", 1295), ("u1295", 1296), ("u1296", 1297), ("u1297", 1298), ("u1298", 1299), ("u1299", 1300), ("u1300", 1301), ("u1301", 1302), ("u1302", 1303), ("u1303", 1304), ("u1304", 1305), ("u1305", 1306), ("u1306", 1307), ("u1307", 1308), ("u1308", 1309), ("u1309", 1310), ("u1310", 1311), ("u1311", 1312), ("u1312", 1313), ("u1313", 1314), ("u1314", 1315), ("u1315", 1316), ("u1316", 1317), ("u1317", 1318), ("u1318", 1319), ("u1319", 1320), ("u1320", 1321), ("u1321", 1322), ("u1322", 1323), ("u1323", 1324), ("u1324", 1325), ("u1325", 1326), ("u1326", 1327), ("u1327", 1328), ("u1328", 1329), ("u1329", 1330), ("u1330", 1331), ("u1331", 1332), ("u1332", 1333), ("u1333", 1334), ("u1334", 1335), ("u1335", 1336), ("u1336", 1337), ("u1337", 1338), ("u1338", 1339), ("u1339", 1340), ("u1340", 1341), ("u1341", 1342), ("u1342", 1343), ("u1343", 1344), ("u1344", 1345), ("u1345", 1346), ("u1346", 1347), ("u1347", 1348), ("u1348", 1349), ("u1349", 1350), ("u1350", 1351), ("u1351", 1352), ("u1352", 1353), ("u1353", 1354), ("u1354", 1355), ("u1355", 1356), ("u1356", 1357), ("u1357", 1358), ("u1358", 1359), ("u1359", 1360), ("u1360", 1361), ("u1361", 1362), ("u1362", 1363), ("u1363", 1364), ("u1364", 1365), ("u1365", 1366), ("u1366", 1367), ("u1367", 1368), ("u1368", 1369), ("u1369", 1370), ("u1370", 1371), ("u1371", 1372), ("u1372", 1373), ("u1373", 1374), ("u1374", 1375), ("u1375", 1376), ("u1376", 1377), ("u1377", 1378), ("u1378", 1379), ("u1379", 1380), ("u1380", 1381), ("u1381", 1382), ("u1382", 1383), ("u1383", 1384), ("u1384", 1385), ("u1385", 1386), ("u1386", 1387), ("u1387", 1388), ("u1388", 1389), ("u1389", 1390), ("u1390", 1391), ("u1391", 1392), ("u1392", 1393), ("u1393", 1394), ("u1394", 1395), ("u1395", 1396), ("u1396", 1397), ("u1397", 1398), ("u1398", 1399), ("u1399", 1400), ("u1400", 1401), ("u1401", 1402), ("u1402", 1403), ("u1403", 1404), ("u1404", 1405), ("u1405", 1406), ("u1406", 1407), ("u1407", 1408), ("u1408", 1409), ("u1409", 1410), ("u1410", 1411), ("u1411", 1412), ("u1412", 1413), ("u1413", 1414), ("u1414", 1415), ("u1415", 1416), ("u1416", 1417), ("u1417", 1418), ("u1418", 1419), ("u1419", 1420), ("u1420", 1421), ("u1421", 1422), ("u1422", 1423), ("u1423", 1424), ("u1424", 1425), ("u1425", 1426), ("u1426", 1427), ("u1427", 1428), ("u1428", 1429), ("u1429", 1430), ("u1430", 1431), ("u1431", 1432), ("u1432", 1433), ("u1433", 1434), ("u1434", 1435), ("u1435", 1436), ("u1436", 1437), ("u1437", 1438), ("u1438", 1439), ("u1439", 1440), ("u1440", 1441), ("u1441", 1442), ("u1442", 1443), ("u1443", 1444), ("u1444", 1445), ("u1445", 1446), ("u1446", 1447), ("u1447", 1448), ("u1448", 1449), ("u1449", 1450), ("u1450", 1451), ("u1451", 1452), ("u1452", 1453), ("u1453", 1454), ("u1454", 1455), ("u1455", 1456), ("u1456", 1457), ("u1457", 1458), ("u1458", 1459), ("u1459", 1460), ("u1460", 1461), ("u1461", 1462), ("u1462", 1463), ("u1463", 1464), ("u1464", 1465), ("u1465", 1466), ("u1466", 1467), ("u1467", 1468), ("u1468", 1469), ("u1469", 1470), ("u1470", 1471), ("u1471", 1472), ("u1472", 1473), ("u1473", 1474), ("u1474", 1475), ("u1475", 1476), ("u1476", 1477), ("u1477", 1478), ("u1478", 1479), ("u1479", 1480), ("u1480", 1481), ("u1481", 1482), ("u1482", 1483), ("u1483", 1484), ("u1484", 1485), ("u1485", 1486), ("u1486", 1487), ("u1487", 1488), ("u1488", 1489), ("u1489", 1490), ("u1490", 1491), ("u1491", 1492), ("u1492", 1493), ("u1493", 1494), ("u1494", 1495), ("u1495", 1496), ("u1496", 1497), ("u1497", 1498), ("u1498", 1499), ("u1499", 1500), ("u1500", 1501), ("u1501", 1502), ("u1502", 1503), ("u1503", 1504), ("u1504", 1505), ("u1505", 1506), ("u1506", 1507), ("u1507", 1508), ("u1508", 1509), ("u1509", 1510), ("u1510", 1511), ("u1511", 1512), ("u1512", 1513), ("u1513", 1514), ("u1514", 1515), ("u1515", 1516), ("u1516", 1517), ("u1517", 1518), ("u1518", 1519), ("u1519", 1520), ("u1520", 1521), ("u1521", 1522), ("u1522", 1523), ("u1523", 1524), ("u1524", 1525), ("u1525", 1526), ("u1526", 1527), ("u1527", 1528), ("u1528", 1529), ("u1529", 1530)) + NamedValues(("u1530", 1531), ("u1531", 1532), ("u1532", 1533), ("u1533", 1534), ("u1534", 1535), ("u1535", 1536), ("u1536", 1537), ("u1537", 1538), ("u1538", 1539), ("u1539", 1540), ("u1540", 1541), ("u1541", 1542), ("u1542", 1543), ("u1543", 1544), ("u1544", 1545), ("u1545", 1546), ("u1546", 1547), ("u1547", 1548), ("u1548", 1549), ("u1549", 1550), ("u1550", 1551), ("u1551", 1552), ("u1552", 1553), ("u1553", 1554), ("u1554", 1555), ("u1555", 1556), ("u1556", 1557), ("u1557", 1558), ("u1558", 1559), ("u1559", 1560), ("u1560", 1561), ("u1561", 1562), ("u1562", 1563), ("u1563", 1564), ("u1564", 1565), ("u1565", 1566), ("u1566", 1567), ("u1567", 1568), ("u1568", 1569), ("u1569", 1570), ("u1570", 1571), ("u1571", 1572), ("u1572", 1573), ("u1573", 1574), ("u1574", 1575), ("u1575", 1576), ("u1576", 1577), ("u1577", 1578), ("u1578", 1579), ("u1579", 1580), ("u1580", 1581), ("u1581", 1582), ("u1582", 1583), ("u1583", 1584), ("u1584", 1585), ("u1585", 1586), ("u1586", 1587), ("u1587", 1588), ("u1588", 1589), ("u1589", 1590), ("u1590", 1591), ("u1591", 1592), ("u1592", 1593), ("u1593", 1594), ("u1594", 1595), ("u1595", 1596), ("u1596", 1597), ("u1597", 1598), ("u1598", 1599), ("u1599", 1600), ("u1600", 1601), ("u1601", 1602), ("u1602", 1603), ("u1603", 1604), ("u1604", 1605), ("u1605", 1606), ("u1606", 1607), ("u1607", 1608), ("u1608", 1609), ("u1609", 1610), ("u1610", 1611), ("u1611", 1612), ("u1612", 1613), ("u1613", 1614), ("u1614", 1615), ("u1615", 1616), ("u1616", 1617), ("u1617", 1618), ("u1618", 1619), ("u1619", 1620), ("u1620", 1621), ("u1621", 1622), ("u1622", 1623), ("u1623", 1624), ("u1624", 1625), ("u1625", 1626), ("u1626", 1627), ("u1627", 1628), ("u1628", 1629), ("u1629", 1630), ("u1630", 1631), ("u1631", 1632), ("u1632", 1633), ("u1633", 1634), ("u1634", 1635), ("u1635", 1636), ("u1636", 1637), ("u1637", 1638), ("u1638", 1639), ("u1639", 1640), ("u1640", 1641), ("u1641", 1642), ("u1642", 1643), ("u1643", 1644), ("u1644", 1645), ("u1645", 1646), ("u1646", 1647), ("u1647", 1648), ("u1648", 1649), ("u1649", 1650), ("u1650", 1651), ("u1651", 1652), ("u1652", 1653), ("u1653", 1654), ("u1654", 1655), ("u1655", 1656), ("u1656", 1657), ("u1657", 1658), ("u1658", 1659), ("u1659", 1660), ("u1660", 1661), ("u1661", 1662), ("u1662", 1663), ("u1663", 1664), ("u1664", 1665), ("u1665", 1666), ("u1666", 1667), ("u1667", 1668), ("u1668", 1669), ("u1669", 1670), ("u1670", 1671), ("u1671", 1672), ("u1672", 1673), ("u1673", 1674), ("u1674", 1675), ("u1675", 1676), ("u1676", 1677), ("u1677", 1678), ("u1678", 1679), ("u1679", 1680), ("u1680", 1681), ("u1681", 1682), ("u1682", 1683), ("u1683", 1684), ("u1684", 1685), ("u1685", 1686), ("u1686", 1687), ("u1687", 1688), ("u1688", 1689), ("u1689", 1690), ("u1690", 1691), ("u1691", 1692), ("u1692", 1693), ("u1693", 1694), ("u1694", 1695), ("u1695", 1696), ("u1696", 1697), ("u1697", 1698), ("u1698", 1699), ("u1699", 1700), ("u1700", 1701), ("u1701", 1702), ("u1702", 1703), ("u1703", 1704), ("u1704", 1705), ("u1705", 1706), ("u1706", 1707), ("u1707", 1708), ("u1708", 1709), ("u1709", 1710), ("u1710", 1711), ("u1711", 1712), ("u1712", 1713), ("u1713", 1714), ("u1714", 1715), ("u1715", 1716), ("u1716", 1717), ("u1717", 1718), ("u1718", 1719), ("u1719", 1720), ("u1720", 1721), ("u1721", 1722), ("u1722", 1723), ("u1723", 1724), ("u1724", 1725), ("u1725", 1726), ("u1726", 1727), ("u1727", 1728), ("u1728", 1729), ("u1729", 1730), ("u1730", 1731), ("u1731", 1732), ("u1732", 1733), ("u1733", 1734), ("u1734", 1735), ("u1735", 1736), ("u1736", 1737), ("u1737", 1738), ("u1738", 1739), ("u1739", 1740), ("u1740", 1741), ("u1741", 1742), ("u1742", 1743), ("u1743", 1744), ("u1744", 1745), ("u1745", 1746), ("u1746", 1747), ("u1747", 1748), ("u1748", 1749), ("u1749", 1750), ("u1750", 1751), ("u1751", 1752), ("u1752", 1753), ("u1753", 1754), ("u1754", 1755), ("u1755", 1756), ("u1756", 1757), ("u1757", 1758), ("u1758", 1759), ("u1759", 1760), ("u1760", 1761), ("u1761", 1762), ("u1762", 1763), ("u1763", 1764), ("u1764", 1765), ("u1765", 1766), ("u1766", 1767), ("u1767", 1768), ("u1768", 1769), ("u1769", 1770), ("u1770", 1771), ("u1771", 1772), ("u1772", 1773), ("u1773", 1774), ("u1774", 1775), ("u1775", 1776), ("u1776", 1777), ("u1777", 1778), ("u1778", 1779), ("u1779", 1780), ("u1780", 1781), ("u1781", 1782), ("u1782", 1783), ("u1783", 1784), ("u1784", 1785)) + NamedValues(("u1785", 1786), ("u1786", 1787), ("u1787", 1788), ("u1788", 1789), ("u1789", 1790), ("u1790", 1791), ("u1791", 1792), ("u1792", 1793), ("u1793", 1794), ("u1794", 1795), ("u1795", 1796), ("u1796", 1797), ("u1797", 1798), ("u1798", 1799), ("u1799", 1800), ("u1800", 1801), ("u1801", 1802), ("u1802", 1803), ("u1803", 1804), ("u1804", 1805), ("u1805", 1806), ("u1806", 1807), ("u1807", 1808), ("u1808", 1809), ("u1809", 1810), ("u1810", 1811), ("u1811", 1812), ("u1812", 1813), ("u1813", 1814), ("u1814", 1815), ("u1815", 1816), ("u1816", 1817), ("u1817", 1818), ("u1818", 1819), ("u1819", 1820), ("u1820", 1821), ("u1821", 1822), ("u1822", 1823), ("u1823", 1824), ("u1824", 1825), ("u1825", 1826), ("u1826", 1827), ("u1827", 1828), ("u1828", 1829), ("u1829", 1830), ("u1830", 1831), ("u1831", 1832), ("u1832", 1833), ("u1833", 1834), ("u1834", 1835), ("u1835", 1836), ("u1836", 1837), ("u1837", 1838), ("u1838", 1839), ("u1839", 1840), ("u1840", 1841), ("u1841", 1842), ("u1842", 1843), ("u1843", 1844), ("u1844", 1845), ("u1845", 1846), ("u1846", 1847), ("u1847", 1848), ("u1848", 1849), ("u1849", 1850), ("u1850", 1851), ("u1851", 1852), ("u1852", 1853), ("u1853", 1854), ("u1854", 1855), ("u1855", 1856), ("u1856", 1857), ("u1857", 1858), ("u1858", 1859), ("u1859", 1860), ("u1860", 1861), ("u1861", 1862), ("u1862", 1863), ("u1863", 1864), ("u1864", 1865), ("u1865", 1866), ("u1866", 1867), ("u1867", 1868), ("u1868", 1869), ("u1869", 1870), ("u1870", 1871), ("u1871", 1872), ("u1872", 1873), ("u1873", 1874), ("u1874", 1875), ("u1875", 1876), ("u1876", 1877), ("u1877", 1878), ("u1878", 1879), ("u1879", 1880), ("u1880", 1881), ("u1881", 1882), ("u1882", 1883), ("u1883", 1884), ("u1884", 1885), ("u1885", 1886), ("u1886", 1887), ("u1887", 1888), ("u1888", 1889), ("u1889", 1890), ("u1890", 1891), ("u1891", 1892), ("u1892", 1893), ("u1893", 1894), ("u1894", 1895), ("u1895", 1896), ("u1896", 1897), ("u1897", 1898), ("u1898", 1899), ("u1899", 1900), ("u1900", 1901), ("u1901", 1902), ("u1902", 1903), ("u1903", 1904), ("u1904", 1905), ("u1905", 1906), ("u1906", 1907), ("u1907", 1908), ("u1908", 1909), ("u1909", 1910), ("u1910", 1911), ("u1911", 1912), ("u1912", 1913), ("u1913", 1914), ("u1914", 1915), ("u1915", 1916), ("u1916", 1917), ("u1917", 1918), ("u1918", 1919), ("u1919", 1920), ("u1920", 1921), ("u1921", 1922), ("u1922", 1923), ("u1923", 1924), ("u1924", 1925), ("u1925", 1926), ("u1926", 1927), ("u1927", 1928), ("u1928", 1929), ("u1929", 1930), ("u1930", 1931), ("u1931", 1932), ("u1932", 1933), ("u1933", 1934), ("u1934", 1935), ("u1935", 1936), ("u1936", 1937), ("u1937", 1938), ("u1938", 1939), ("u1939", 1940), ("u1940", 1941), ("u1941", 1942), ("u1942", 1943), ("u1943", 1944), ("u1944", 1945), ("u1945", 1946), ("u1946", 1947), ("u1947", 1948), ("u1948", 1949), ("u1949", 1950), ("u1950", 1951), ("u1951", 1952), ("u1952", 1953), ("u1953", 1954), ("u1954", 1955), ("u1955", 1956), ("u1956", 1957), ("u1957", 1958), ("u1958", 1959), ("u1959", 1960), ("u1960", 1961), ("u1961", 1962), ("u1962", 1963), ("u1963", 1964), ("u1964", 1965), ("u1965", 1966), ("u1966", 1967), ("u1967", 1968), ("u1968", 1969), ("u1969", 1970), ("u1970", 1971), ("u1971", 1972), ("u1972", 1973), ("u1973", 1974), ("u1974", 1975), ("u1975", 1976), ("u1976", 1977), ("u1977", 1978), ("u1978", 1979), ("u1979", 1980), ("u1980", 1981), ("u1981", 1982), ("u1982", 1983), ("u1983", 1984), ("u1984", 1985), ("u1985", 1986), ("u1986", 1987), ("u1987", 1988), ("u1988", 1989), ("u1989", 1990), ("u1990", 1991), ("u1991", 1992), ("u1992", 1993), ("u1993", 1994), ("u1994", 1995), ("u1995", 1996), ("u1996", 1997), ("u1997", 1998), ("u1998", 1999), ("u1999", 2000)))) if mibBuilder.loadTexts: outputIndex.setStatus('current') if mibBuilder.loadTexts: outputIndex.setDescription('A unique number for each power output channel. Its value ranges between 1 and total number of output channels. This value is equivalent to the output channel number at the type label of the crate or power supply, but because the SMI index starts at 1, index 1 corresponds to U0. ') outputName = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputName.setStatus('current') if mibBuilder.loadTexts: outputName.setDescription('A textual string containing a short name of the output. If the crate is equipped with an alphanumeric display, this string is shown to identify a output channel. ') outputGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputGroup.setStatus('current') if mibBuilder.loadTexts: outputGroup.setDescription('The group number (1...63) assigned to each channel. If commands shall be sent to all channels with a specific group number (e.g. with the groupsSwitch command defined below), additional bits can be added to the group number: HLgggggg g: Group number (1...63) L: Mask bit: 1: high voltage channels only, no low voltage channels H: Mask bit: 1: low voltage channels only, no high voltage channels Special groups: 0: all (LV+HV) channels 0x40: all, but no LV channels 0x80: all, but no HV channels ') outputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 4), Bits().clone(namedValues=NamedValues(("outputOn", 0), ("outputInhibit", 1), ("outputFailureMinSenseVoltage", 2), ("outputFailureMaxSenseVoltage", 3), ("outputFailureMaxTerminalVoltage", 4), ("outputFailureMaxCurrent", 5), ("outputFailureMaxTemperature", 6), ("outputFailureMaxPower", 7), ("outputFailureTimeout", 9), ("outputCurrentLimited", 10), ("outputRampUp", 11), ("outputRampDown", 12), ("outputEnableKill", 13), ("outputEmergencyOff", 14), ("outputAdjusting", 15), ("outputConstantVoltage", 16), ("outputLowCurrentRange", 17), ("outputCurrentBoundsExceeded", 18), ("outputFailureCurrentLimit", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputStatus.setStatus('current') if mibBuilder.loadTexts: outputStatus.setDescription('A bit string which shows the status (health and operating conditions) of one output channel. If a bit is set (1), the explanation is satisfied: outputOn (0), output channel is on outputInhibit(1), external (hardware-)inhibit of the output channel outputFailureMinSenseVoltage (2) Supervision limit hurt: Sense voltage is too low outputFailureMaxSenseVoltage (3), Supervision limit hurt: Sense voltage is too high outputFailureMaxTerminalVoltage (4), Supervision limit hurt: Terminal voltage is too high outputFailureMaxCurrent (5), Supervision limit hurt: Current is too high outputFailureMaxTemperature (6), Supervision limit hurt: Heat sink temperature is too high outputFailureMaxPower (7), Supervision limit hurt: Output power is too high outputFailureTimeout (9), Communication timeout between output channel and main control outputCurrentLimited (10), Current limiting is active (constant current mode) outputRampUp (11), Output voltage is increasing (e.g. after switch on) outputRampDown (12), Output voltage is decreasing (e.g. after switch off) outputEnableKill (13), EnableKill is active outputEmergencyOff (14), EmergencyOff event is active outputAdjusting (15), Fine adjustment is working outputConstantVoltage (16), Voltage control (constant voltage mode) outputLowCurrentRange (17), The channel is operating in the low current measurement range outputCurrentBoundsExceeded (18), Output current is out of bounds outputFailureCurrentLimit (19) Hardware current limit (EHS) / trip (EDS, EBS) was exceeded ') outputMeasurementSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 5), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: outputMeasurementSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputMeasurementSenseVoltage.setDescription('The measured voltage at the sense input lines.') outputMeasurementTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 6), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: outputMeasurementTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputMeasurementTerminalVoltage.setDescription('The measured voltage at the output terminals.') outputMeasurementCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 7), Float()).setUnits('A').setMaxAccess("readonly") if mibBuilder.loadTexts: outputMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: outputMeasurementCurrent.setDescription('The measured output current.') outputMeasurementTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-128, 127))).clone(namedValues=NamedValues(("ok", -128), ("failure", 127)))).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: outputMeasurementTemperature.setStatus('current') if mibBuilder.loadTexts: outputMeasurementTemperature.setDescription('The measured temperature of the power module.') outputSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 10, 20, 21, 22, 23))).clone(namedValues=NamedValues(("off", 0), ("on", 1), ("resetEmergencyOff", 2), ("setEmergencyOff", 3), ("clearEvents", 10), ("setVoltageRippleMeasurementOff", 20), ("setVoltageMeasurementOn", 21), ("setRippleMeasurementOn", 22), ("setVoltageRippleMeasurementOn", 23)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSwitch.setStatus('current') if mibBuilder.loadTexts: outputSwitch.setDescription('Read: An enumerated value which shows the current state of the output channel. Write: Change the state of the channel. If the channel is On, and the write value is Off, then the channel will switch Off. If the channel is Off, and the write value is On, and if no other signals (mainInhibit, outputInhibit, outputEmergencyOff or outputFailureMaxCurrent) are active, then the channel will switch on. If the write value is resetEmergencyOff, then the channel will leave the state EmergencyOff. A write of clearEvents is necessary before the voltage can ramp up again. If the write value is setEmergencyOff, then the channel will have the state EmergencyOff, which means that the High Voltage will switch off without a ramp and reset of the outputVoltage to null volt. If the write value is clearEvents, then all failure messages of the outputStatus will be reset (all channel events, all module events and the state emergencyOff). ') outputVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 10), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputVoltage.setStatus('current') if mibBuilder.loadTexts: outputVoltage.setDescription('The nominal output voltage of the channel.') outputAdjustVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputAdjustVoltage.setStatus('obsolete') if mibBuilder.loadTexts: outputAdjustVoltage.setDescription('A posibillity to make small changes of the output voltage.') outputCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 12), Float()).setUnits('A').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCurrent.setStatus('current') if mibBuilder.loadTexts: outputCurrent.setDescription('The current limit of the channel.') outputVoltageRiseRate = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 13), Float()).setUnits('V/s').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputVoltageRiseRate.setStatus('current') if mibBuilder.loadTexts: outputVoltageRiseRate.setDescription('Voltage Fall Slew Rate [V/s]. The slew rate of the output voltage if it increases (after switch on or if the Voltage has been changed). ') outputVoltageFallRate = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 14), Float()).setUnits('V/s').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputVoltageFallRate.setStatus('current') if mibBuilder.loadTexts: outputVoltageFallRate.setDescription('Voltage Rise Slew Rate [V/s]. The slew rate of the output voltage if it decreases (after switch off or if the Voltage has been changed). ') outputSupervisionBehavior = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionBehavior.setStatus('current') if mibBuilder.loadTexts: outputSupervisionBehavior.setDescription('A bit field packed into an integer which define the behavior of the output channel / power supply after failures. For each supervision value, a two-bit field exists. The enumeration of this value (..L+..H*2) is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate. iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. The position of the bit fields in the integer value are: Bit 0, 1: outputFailureMinSenseVoltage Bit 2, 3: outputFailureMaxSenseVoltage Bit 4, 5: outputFailureMaxTerminalVoltage Bit 6, 7: outputFailureMaxCurrent Bit 8, 9: outputFailureMaxTemperature Bit 10, 11: outputFailureMaxPower Bit 12, 13: outputFailureInhibit Bit 14, 15: outputFailureTimeout ') outputSupervisionMinSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 16), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMinSenseVoltage.setDescription('If the measured sense voltage is below this value, the power supply performs the function defined by SupervisionAction. ') outputSupervisionMaxSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 17), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxSenseVoltage.setDescription('If the measured sense voltage is above this value, the power supply performs the function defined by SupervisionAction. ') outputSupervisionMaxTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 18), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxTerminalVoltage.setDescription('If the measured voltage at the power supply output terminals is above this value, the power supply performs the function defined by SupervisionAction. ') outputSupervisionMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 19), Float()).setUnits('A').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxCurrent.setDescription('If the measured current is above this value, the power supply performs the function defined by SupervisionAction. ') outputSupervisionMaxTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 20), Integer32()).setUnits('deg.C').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxTemperature.setDescription('If the measured module temperature is above this value, the power supply performs the function defined by SupervisionAction. ') outputConfigMaxSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 21), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxSenseVoltage.setDescription('The maximum possible value of the sense voltage') outputConfigMaxTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 22), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxTerminalVoltage.setDescription('The maximum possible value of the terminal voltage') outputConfigMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 23), Float()).setUnits('A').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxCurrent.setDescription('The maximum possible value of the output current') outputSupervisionMaxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 24), Float()).setUnits('W').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSupervisionMaxPower.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxPower.setDescription('If the measured power (measured current * measured terminal voltage) is above this value, the power supply performs the function defined by SupervisionAction. ') outputCurrentRiseRate = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 25), Float()).setUnits('A/s').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCurrentRiseRate.setStatus('current') if mibBuilder.loadTexts: outputCurrentRiseRate.setDescription('Current Fall Slew Rate [A/s]. The slew rate of the output current if it increases (after switch on or if the Current has been changed). ') outputCurrentFallRate = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 26), Float()).setUnits('A/s').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCurrentFallRate.setStatus('current') if mibBuilder.loadTexts: outputCurrentFallRate.setDescription('Current Rise Slew Rate [A/s]. The slew rate of the output current if it decreases (after switch off or if the Current has been changed). ') outputTripTimeMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 27), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxCurrent.setDescription('Minimum time the outputSupervisionMaxCurrent threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior (bit field outputFailureMaxCurrent) or the new outputTripActionMaxCurrent.') outputHardwareLimitVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 28), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: outputHardwareLimitVoltage.setStatus('current') if mibBuilder.loadTexts: outputHardwareLimitVoltage.setDescription('Hardware Voltage Limit [V]. Potentiometer to adjust the global hardware voltage limit (for all channels of a module). ') outputHardwareLimitCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 29), Float()).setUnits('A').setMaxAccess("readonly") if mibBuilder.loadTexts: outputHardwareLimitCurrent.setStatus('current') if mibBuilder.loadTexts: outputHardwareLimitCurrent.setDescription('Hardware Current Limit [A]. Potentiometer to adjust the global hardware current limit (for all channels of a module). ') outputConfigGainSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 30), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigGainSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigGainSenseVoltage.setDescription('The gain value of the sense voltage') outputConfigOffsetSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 31), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigOffsetSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetSenseVoltage.setDescription('The offset value of the sense voltage') outputConfigGainTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 32), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigGainTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigGainTerminalVoltage.setDescription('The gain value of the sense voltage') outputConfigOffsetTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 33), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigOffsetTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetTerminalVoltage.setDescription('The offset value of the sense voltage') outputConfigGainCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 34), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigGainCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigGainCurrent.setDescription('The gain value of the sense voltage') outputConfigOffsetCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 35), Float()).setUnits('V').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigOffsetCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetCurrent.setDescription('The offset value of the sense voltage') outputUserConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputUserConfig.setStatus('current') if mibBuilder.loadTexts: outputUserConfig.setDescription("Definition of user-changeable items. A bit field packed into an integer which define the behavior of the output channel. Usable for WIENER LV devices only. The position of the bit fields in the integer value are: Bit 0: Voltage ramping at switch off: 0: Ramp down at switch off. 1: No ramp at switch off (immediate off) Bit 1, 2: Set different regulation modes, dependent on the cable inductance: 0: fast: short cables, up to 1 meter. 1: moderate: cables from 1 to 30 meter. 2: fast: identical to 0 (should not be used) 3: slow: cables longer than 30 meter. Bit 3: Internal sense line connection to the output (MPOD only): 0: The sense input at the sense connector is used for regulation. 1: The output voltage is used for regulation. Any signals at the sense connector are ignored. Bit 4: Enable External Inhibit input. 0: The external inhibit input is ignored. 1: The external inhibit input must be connected to a voltage source to allow switch on. Bit 5: Disable Global Inhibit inputs. 0: The global inhibit/interlock inputs of the system is active. 1: The global inhibit/interlock inputs of the system is ignored. Bit 6: Automatic Power On. 0: After switching the main system switch ON, the output is not switched on automatically. A separate outputSwitch command is required. 1: After switching the main system switch ON, the output is switched on automatically. If 'Disable Global Inhibit' (bit 5) is set, the output will be switched on regardless of the global inhibit/interlock signals. Community required for write access: guru. ") outputRegulationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("fast", 0), ("moderate", 1), ("slow", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputRegulationMode.setStatus('current') if mibBuilder.loadTexts: outputRegulationMode.setDescription('Definition of the regulation mode. Deprecated, use outputUserConfig for this function in the future! It is possible to set different regulation modes, dependent on the cable inductance. fast: short cables, up to 1 meter. moderate: cables from 1 to 30 meter. slow: cables longer than 30 meter. Community required for write access: guru. ') outputConfigMaxTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 39), Integer32()).setUnits('deg.C').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxTemperature.setDescription('The maximum possible value of outputSupervisionMaxTemperature.') outputResistance = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 40), Float()).setUnits('Ohm').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputResistance.setStatus('current') if mibBuilder.loadTexts: outputResistance.setDescription('Item to specify an external resistor. For instance a wire resistor or an external resistor to protect the detectot which is supplied by a cascaded HV module. ') outputTripTimeMinSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 41), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMinSenseVoltage.setDescription('Minimum time the outputSupervisionMinSenseVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMinSenseVoltage. ') outputTripTimeMaxSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 42), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxSenseVoltage.setDescription('Minimum time the outputSupervisionMaxSenseVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxSenseVoltage. ') outputTripTimeMaxTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 43), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxTerminalVoltage.setDescription('Minimum time the outputSupervisionMaxTerminalVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxTerminalVoltage. ') outputTripTimeMaxTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 44), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxTemperature.setDescription('Minimum time the outputSupervisionMaxTemperature threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxTemperature. ') outputTripTimeMaxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 45), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeMaxPower.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxPower.setDescription('Minimum time the outputSupervisionMaxPower threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxPower. ') outputTripTimeTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 46), OutputTripTime()).setUnits('ms').setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripTimeTimeout.setStatus('current') if mibBuilder.loadTexts: outputTripTimeTimeout.setDescription('Maximum time the communication between module and controller can paused before activation the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionTimeout. ') outputTripActionMinSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 47), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMinSenseVoltage.setDescription('Trip action if outputSuperisionMinSenseVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 0..1 of outputSupervisionBehavior. ') outputTripActionMaxSenseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 48), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxSenseVoltage.setDescription('Trip action if outputSuperisionMaxSenseVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 2..3 of outputSupervisionBehavior. ') outputTripActionMaxTerminalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 49), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxTerminalVoltage.setDescription('Trip action if outputSuperisionMaxTerminalVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 4..5 of outputSupervisionBehavior. ') outputTripActionMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 50), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxCurrent.setDescription('Trip action if outputSuperisionMaxCurrent threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate. iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 6..7 of outputSupervisionBehavior. ') outputTripActionMaxTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 51), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxTemperature.setDescription('Trip action if outputSuperisionMaxTemperature threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 8..9 of outputSupervisionBehavior. ') outputTripActionMaxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 52), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionMaxPower.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxPower.setDescription('Trip action if outputSuperisionMaxPower threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 10..11 of outputSupervisionBehavior. ') outputTripActionExternalInhibit = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 53), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionExternalInhibit.setStatus('current') if mibBuilder.loadTexts: outputTripActionExternalInhibit.setDescription('Trip action if the external inhibit input has been activated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 12..13 of outputSupervisionBehavior. ') outputTripActionTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 54), OutputTripAction()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputTripActionTimeout.setStatus('current') if mibBuilder.loadTexts: outputTripActionTimeout.setDescription('Trip action if the communication between module and controller has been paused longer than outputTripTimeTimeout. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 14..15 of outputSupervisionBehavior. ') outputConfigDataS = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1024), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigDataS.setStatus('current') if mibBuilder.loadTexts: outputConfigDataS.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format used for writing data, or returned from the SNMP client after read/write (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') outputConfigDataU = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1025), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigDataU.setStatus('current') if mibBuilder.loadTexts: outputConfigDataU.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') groupsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "groupsIndex")) if mibBuilder.loadTexts: groupsEntry.setStatus('current') if mibBuilder.loadTexts: groupsEntry.setDescription('A table row') groupsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1999))) if mibBuilder.loadTexts: groupsIndex.setStatus('current') if mibBuilder.loadTexts: groupsIndex.setDescription('A unique number for each power output group. Its value ranges between 1 and 1999. The special group 0 is predefined and gives access to all channels. ') groupsSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1, 0, 1, 2, 3, 4, 5, 6, 7, 10))).clone(namedValues=NamedValues(("undefined", -1), ("off", 0), ("on", 1), ("resetEmergencyOff", 2), ("setEmergencyOff", 3), ("disableKill", 4), ("enableKill", 5), ("disableAdjust", 6), ("enableAdjust", 7), ("clearEvents", 10)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: groupsSwitch.setStatus('current') if mibBuilder.loadTexts: groupsSwitch.setDescription('Read: This function is not defined with groups of output channels. Write: Switch the state of all channels of a group. If any channel is On, and the write value is Off, then all channels will switch off. If any channel is Off, and the write value is On, and if no other signals (mainInhibit, outputInhibit, outputEmergencyOff or outputFailureMaxCurrent) are active, then all channels will switch on. If the write value is resetEmergencyOff, then all channels will leave the state EmergencyOff. A write of clearEvents is necessary before the voltage can ramp up again. If the write value is setEmergencyOff, then all channels will have the state EmergencyOff, which means that the High Voltage will switch off without a ramp and reset of the outputVoltage to null volt. If the write value is disableKILL, then all channels will switch to disableKill (outputStatus outputDisableKill). If the write value is enableKILL, then all channels will switch to enableKill (outputStatus outputEnableKill). If the write value is clearEvents, then all failure messages of the outputStatus will be cleared (all channel events, all module events and the state outputEmergencyOff will be reset). For a detailed description of the different group numbers available look at the outputGroup OID above. ') moduleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "moduleIndex")) if mibBuilder.loadTexts: moduleEntry.setStatus('current') if mibBuilder.loadTexts: moduleEntry.setDescription('A row in the table of HV/LV modules') moduleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("ma0", 1), ("ma1", 2), ("ma2", 3), ("ma3", 4), ("ma4", 5), ("ma5", 6), ("ma6", 7), ("ma7", 8), ("ma8", 9), ("ma9", 10)))) if mibBuilder.loadTexts: moduleIndex.setStatus('current') if mibBuilder.loadTexts: moduleIndex.setDescription('A unique number for each HV/LV module. Its value ranges between 1 and the total number of HV/LV modules. Note, index 1 corresponds to ma0.') moduleDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 39))).setMaxAccess("readonly") if mibBuilder.loadTexts: moduleDescription.setStatus('current') if mibBuilder.loadTexts: moduleDescription.setDescription("Vendor, FirmwareName, ChannelNumber, SerialNumber, FirmwareRelease Vendor WIENER or iseg FirmwareName: 'E16D0' EDS 16 channels per PCB, distributor module, range of Vmax from VO max to (VO max - 1kV) 'E16D1' EDS 16 channels per PCB, distributor module 'E08C0' EHS 8 channels per PCB, common GND module 'E08F0' EHS 8 channels per PCB, floating GND module 'E08F2' EHS 8 channels per PCB, floating GND module, 2 current measurement ranges 'E08C2' EHS 8 channels per PCB, common floating GND module, 2 current measurement ranges 'E08B0' EBS 8 bipolars channel per PCB, distributor module 'H101C0' HPS 1 channel HV high power supply ChannelNumber 1 to 64 SerialNumber 71xxxx FirmwareRelease x.xx ") moduleAuxiliaryMeasurementVoltage = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3)) if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage.setDescription('The measured module auxiliary voltages.') moduleAuxiliaryMeasurementVoltage0 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3, 1), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage0.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage0.setDescription('The measured module auxiliary voltage.') moduleAuxiliaryMeasurementVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3, 2), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage1.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage1.setDescription('The measured module auxiliary voltage.') moduleHardwareLimitVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 4), Float()).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleHardwareLimitVoltage.setStatus('current') if mibBuilder.loadTexts: moduleHardwareLimitVoltage.setDescription('The module hardware voltage limit.') moduleHardwareLimitCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 5), Float()).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleHardwareLimitCurrent.setStatus('current') if mibBuilder.loadTexts: moduleHardwareLimitCurrent.setDescription('The module hardware current limit.') moduleRampSpeedVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 6), Float()).setUnits('%').setMaxAccess("readwrite") if mibBuilder.loadTexts: moduleRampSpeedVoltage.setStatus('current') if mibBuilder.loadTexts: moduleRampSpeedVoltage.setDescription('The module voltage ramp speed (iseg HV modules have the same ramp speed value for all channels). ') moduleRampSpeedCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 7), Float()).setUnits('%').setMaxAccess("readwrite") if mibBuilder.loadTexts: moduleRampSpeedCurrent.setStatus('current') if mibBuilder.loadTexts: moduleRampSpeedCurrent.setDescription('The module current ramp speed (iseg HV modules have the same ramp speed value for all channels). ') moduleStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 8), Bits().clone(namedValues=NamedValues(("moduleIsFineAdjustment", 0), ("moduleIsLiveInsertion", 2), ("moduleIsHighVoltageOn", 3), ("moduleNeedService", 4), ("moduleHardwareLimitVoltageIsGood", 5), ("moduleIsInputError", 6), ("moduleIsNoSumError", 8), ("moduleIsNoRamp", 9), ("moduleSafetyLoopIsGood", 10), ("moduleIsEventActive", 11), ("moduleIsGood", 12), ("moduleSupplyIsGood", 13), ("moduleTemperatureIsGood", 14), ("moduleIsKillEnable", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: moduleStatus.setStatus('current') if mibBuilder.loadTexts: moduleStatus.setDescription('A bit string which shows the current module status. If a bit is set (1), the explanation is satisfied: moduleIsFineAdjustment (0), Module has reached state fine adjustment. moduleIsLiveInsertion (2), Module is in state live insertion. moduleNeedService (4), Hardware failure detected (consult iseg Spezialelektronik GmbH). moduleIsHardwareLimitVoltageGood (5), Hardware limit voltage in proper range, using for HV distributor modules with current mirror only. moduleIsInputError (6), Input error in connection with a module access. moduleIsNoSumError (8), All channels without any failure. moduleIsNoRamp (9), All channels stable, no is ramp active. moduleIsSafetyLoopGood (10), Safety loop is closed. moduleIsEventActive (11), Any event is active and mask is set. moduleIsGood (12), Module state is good. moduleIsSupplyGood (13), Power supply is good. moduleIsTemperatureGood (14), Module temperature is good. moduleIsKillEnable (15) Module state of kill enable. ') moduleEventStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 9), Bits().clone(namedValues=NamedValues(("moduleEventPowerFail", 0), ("moduleEventLiveInsertion", 2), ("moduleEventService", 4), ("moduleHardwareLimitVoltageNotGood", 5), ("moduleEventInputError", 6), ("moduleEventSafetyLoopNotGood", 10), ("moduleEventSupplyNotGood", 13), ("moduleEventTemperatureNotGood", 14)))).setMaxAccess("readonly") if mibBuilder.loadTexts: moduleEventStatus.setStatus('current') if mibBuilder.loadTexts: moduleEventStatus.setDescription("A bit string which shows the current module status. If a bit is set (1), the explanation is satisfied: moduleEventPowerFail (0), Event power fail generated by the MPOD controller in order to ramp down all HV's (ramp speed=1000V/s) moduleEventLiveInsertion (2), Event live insertion to prepare a hot plug of a module moduleEventService (4), Module event: Hardware failure detected (consult iseg Spezialelektronik GmbH). moduleHardwareLimitVoltageNotGood (5), Module Event: Hardware voltage limit is not in proper range, using for HV distributor modules with current mirror only. moduleEventInputError (6), Module event: There was an input error in connection with a module access moduleEventSafetyLoopNotGood (10), Module event: Safety loop is open. moduleEventSupplyNotGood (13), Module event: At least one of the supplies is not good. moduleEventTemperatureNotGood (14), Module event: Temperature was above the permitted threshold (for EDS/EHS temperature above 55 degr.C) ") moduleEventChannelStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 10), Bits().clone(namedValues=NamedValues(("channel0", 0), ("channel1", 1), ("channel2", 2), ("channel3", 3), ("channel4", 4), ("channel5", 5), ("channel6", 6), ("channel7", 7), ("channel8", 8), ("channel9", 9), ("channel10", 10), ("channel11", 11), ("channel12", 12), ("channel13", 13), ("channel14", 14), ("channel15", 15), ("channel16", 16), ("channel17", 17), ("channel18", 18), ("channel19", 19), ("channel20", 20), ("channel21", 21), ("channel22", 22), ("channel23", 23), ("channel24", 24), ("channel25", 25), ("channel26", 26), ("channel27", 27), ("channel28", 28), ("channel29", 29), ("channel30", 30), ("channel31", 31), ("channel32", 32), ("channel33", 33), ("channel34", 34), ("channel35", 35), ("channel36", 36), ("channel37", 37), ("channel38", 38), ("channel39", 39), ("channel40", 40), ("channel41", 41), ("channel42", 42), ("channel43", 43), ("channel44", 44), ("channel45", 45), ("channel46", 46), ("channel47", 47)))).setMaxAccess("readonly") if mibBuilder.loadTexts: moduleEventChannelStatus.setStatus('current') if mibBuilder.loadTexts: moduleEventChannelStatus.setDescription('Bit field that reserves one bit for every channel. bit 0 HV channel 0 bit 1 HV channel 1 bit x HV channel x ') moduleDoClear = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("nothing", 0), ("doClear", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: moduleDoClear.setStatus('current') if mibBuilder.loadTexts: moduleDoClear.setDescription('All events of the module will be cleared.') moduleAuxiliaryMeasurementTemperature = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12)) if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature.setDescription('The number of auxiliary temperature sensors in the module.') moduleAuxiliaryMeasurementTemperature0 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 1), Float()).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature0.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature0.setDescription('The measured module temperature of sensor 1.') moduleAuxiliaryMeasurementTemperature1 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 2), Float()).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature1.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature1.setDescription('The measured module temperature of sensor 2.') moduleAuxiliaryMeasurementTemperature2 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 3), Float()).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature2.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature2.setDescription('The measured module temperature of sensor 3.') moduleAuxiliaryMeasurementTemperature3 = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 4), Float()).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature3.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature3.setDescription('The measured module temperature of sensor 4.') moduleConfigDataS = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1024), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: moduleConfigDataS.setStatus('current') if mibBuilder.loadTexts: moduleConfigDataS.setDescription('Configuration Data raw access. This allows to read / write output channel specific system configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') moduleConfigDataU = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1025), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: moduleConfigDataU.setStatus('current') if mibBuilder.loadTexts: moduleConfigDataU.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') sensorNumber = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: sensorNumber.setStatus('current') if mibBuilder.loadTexts: sensorNumber.setDescription('The number of temperature sensors of the crate.') sensorTable = MibTable((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2), ) if mibBuilder.loadTexts: sensorTable.setStatus('current') if mibBuilder.loadTexts: sensorTable.setDescription('A (conceptual table) of temperature sensor data.') sensorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "sensorIndex")) if mibBuilder.loadTexts: sensorEntry.setStatus('current') if mibBuilder.loadTexts: sensorEntry.setDescription('An entry (conceptual row) of the sensorTable.') sensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("temp1", 1), ("temp2", 2), ("temp3", 3), ("temp4", 4), ("temp5", 5), ("temp6", 6), ("temp7", 7), ("temp8", 8)))) if mibBuilder.loadTexts: sensorIndex.setStatus('current') if mibBuilder.loadTexts: sensorIndex.setDescription('A unique number for each temperature sensor in the crate') sensorTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: sensorTemperature.setStatus('current') if mibBuilder.loadTexts: sensorTemperature.setDescription('The measured temperature of the sensor. Unused temperature probes have the special value -128') sensorWarningThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setUnits('deg.C').setMaxAccess("readwrite") if mibBuilder.loadTexts: sensorWarningThreshold.setStatus('current') if mibBuilder.loadTexts: sensorWarningThreshold.setDescription('If the measured temperature of the sensor is higher than this value, the fan speed of the connected fan tray is increased. The value 127 has the special meaning: channel disabled. ') sensorFailureThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setUnits('deg.C').setMaxAccess("readwrite") if mibBuilder.loadTexts: sensorFailureThreshold.setStatus('current') if mibBuilder.loadTexts: sensorFailureThreshold.setDescription('If the measured temperature of the sensor is higher than this value, the power supply switches off. The value 127 has the special meaning: channel disabled. ') sensorAlarmThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setUnits('deg.C').setMaxAccess("readwrite") if mibBuilder.loadTexts: sensorAlarmThreshold.setStatus('current') if mibBuilder.loadTexts: sensorAlarmThreshold.setDescription('If the measured temperature of the sensor is much higher than this value, the fans rotate in full speed. The value 127 has the special meaning: channel disabled. ') sensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sensorName.setStatus('current') if mibBuilder.loadTexts: sensorName.setDescription('A textual string containing a short name of the sensor. If the crate is equipped with an alphanumeric display, this string is shown to identify a sensor channel. ') sensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sensorID.setStatus('current') if mibBuilder.loadTexts: sensorID.setDescription('Shows the 1-Wire Id of the corresponding Sensor.') sensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sensorStatus.setStatus('current') if mibBuilder.loadTexts: sensorStatus.setDescription('A bit field packed into an integer which define the Status of the Sensors after failures. For each Status value, a two-bit field exists. Bits-Value 00 Temperature is ok 01 Temperature is over WarningThreshold 10 Temperature is over AlarmThreshold 11 Temperature is over FailureThreshold The position of the bit fields in the integer value are: Bit 0, 1: Sensor1 Bit 2, 3: Sensor2 Bit 4, 5: Sensor3 Bit 6, 7: Sensor4 Bit 8, 9: Sensor5 Bit 10, 11: Sensor6 Bit 12, 13: Sensor7 Bit 14, 15: Sensor8') snmp = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1)) if mibBuilder.loadTexts: snmp.setStatus('current') if mibBuilder.loadTexts: snmp.setDescription('SNMP configuration.') snmpCommunityTable = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1), ) if mibBuilder.loadTexts: snmpCommunityTable.setStatus('current') if mibBuilder.loadTexts: snmpCommunityTable.setDescription('The SNMP community string table for different views.') snmpCommunityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "snmpAccessRight")) if mibBuilder.loadTexts: snmpCommunityEntry.setStatus('current') if mibBuilder.loadTexts: snmpCommunityEntry.setDescription('One table row.') snmpAccessRight = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("public", 1), ("private", 2), ("admin", 3), ("guru", 4)))) if mibBuilder.loadTexts: snmpAccessRight.setStatus('current') if mibBuilder.loadTexts: snmpAccessRight.setDescription('A unique number for each access right') snmpCommunityName = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCommunityName.setStatus('current') if mibBuilder.loadTexts: snmpCommunityName.setDescription('The SNMP community names for different views. The rights of the different communities are: public no write access private can switch power on/off, generate system reset admin can change supervision levels guru can change output voltage & current (this may destroy hardware if done wrong!) Setting a community name to a zero-length string completly disables the access to this view. If there is no higher- privileged community, the community name can only changed by direct access to the crate (not via network)! ') snmpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpPort.setStatus('current') if mibBuilder.loadTexts: snmpPort.setDescription('The UDP port number of the SNMP protocol. A value of 0 disables all future SNMP communication! ') httpPort = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: httpPort.setStatus('current') if mibBuilder.loadTexts: httpPort.setDescription('The TCP port number of the HTTP (web) protocol. A value of 0 disables all HTTP access. ') firmwareUpdate = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: firmwareUpdate.setStatus('current') if mibBuilder.loadTexts: firmwareUpdate.setDescription('Send a update String') ipDynamicAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 11), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipDynamicAddress.setStatus('current') if mibBuilder.loadTexts: ipDynamicAddress.setDescription('Shows the Ip which is currently used') ipStaticAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipStaticAddress.setStatus('current') if mibBuilder.loadTexts: ipStaticAddress.setDescription('Shows the Ip which is setted by user') macAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 13), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: macAddress.setStatus('current') if mibBuilder.loadTexts: macAddress.setDescription('Shows the MAC of the corresponding device') can = ObjectIdentity((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2)) if mibBuilder.loadTexts: can.setStatus('current') if mibBuilder.loadTexts: can.setDescription('CAN-Bus tunnel via SNMP.') canBitRate = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: canBitRate.setStatus('current') if mibBuilder.loadTexts: canBitRate.setDescription('Control of the CAN-Bus. The value defines the bit rate of the CAN-bus interface. A write disconnects the CAN interface from the ISEG modules and connects it to the SNMP communication. Both the receive and transmit fifos are cleared and the CAN interface is initialized with the selected bit rate. The special bit rate 0 disables the tunnel and switches back to normal operation. ') canReceive = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(14, 14)).setFixedLength(14)).setMaxAccess("readonly") if mibBuilder.loadTexts: canReceive.setStatus('current') if mibBuilder.loadTexts: canReceive.setDescription('Control of the CAN-Bus Receive FIFO. A read access returns the total number of CAN messages stored in the receive fifo and the oldest message. This message is removed from the fifo. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') canTransmit = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(14, 14)).setFixedLength(14)).setMaxAccess("readwrite") if mibBuilder.loadTexts: canTransmit.setStatus('current') if mibBuilder.loadTexts: canTransmit.setDescription('Control of the CAN-Bus Transmit FIFO. A read access returns the total number of CAN messages stored in the transmit fifo and a NULL message. A write inserts the CAN message into the transmit fifo. This message will be transmitted via the CAN interface later. The total number of CAN messages stored in the transmit fifo and the recent message are returned. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') canReceiveHv = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(14, 14)).setFixedLength(14)).setMaxAccess("readonly") if mibBuilder.loadTexts: canReceiveHv.setStatus('current') if mibBuilder.loadTexts: canReceiveHv.setDescription('Control of the internal HV CAN-Bus on the backplane Receive FIFO. A read access returns the total number of CAN messages stored in the receive fifo and the oldest message. This message is removed from the fifo. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') canTransmitHv = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(14, 14)).setFixedLength(14)).setMaxAccess("readwrite") if mibBuilder.loadTexts: canTransmitHv.setStatus('current') if mibBuilder.loadTexts: canTransmitHv.setDescription('Control of the internal HV CAN-Bus on the backplane. A write access with: CANID=0x600 DLC=4 DATAID=0x1001 CONTROL will switch the HV modules into a special state. CONTROL=0x0001 - enable SNMP CAN access, stop the refresh cycle for the data points of the name space CONTROL=0x0002 - disable SNMP CAN access, activate the refresh cycle for the data points of the name space A write access unequal to CANID=0x600 will be transmitted to the HV CAN on the backplane. Such a message will be transmitted immediately via the CAN interface. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') canBitRateHv = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(125000, 1000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: canBitRateHv.setStatus('current') if mibBuilder.loadTexts: canBitRateHv.setDescription('Control of the bit rate of the HV CAN-Bus. The value defines the bit rate of the CAN-bus interface. Possible Values are 125000 and 250000. Changing this value requires MPODC slave firmware 1.10 or above. ') psSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: psSerialNumber.setStatus('current') if mibBuilder.loadTexts: psSerialNumber.setDescription('The serial number of the power supply.') psOperatingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 3), Integer32()).setUnits('s').setMaxAccess("readwrite") if mibBuilder.loadTexts: psOperatingTime.setStatus('current') if mibBuilder.loadTexts: psOperatingTime.setDescription('The time in seconds for how long the power supply was switched on.') psAuxiliaryNumber = MibScalar((1, 3, 6, 1, 4, 1, 19947, 1, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: psAuxiliaryNumber.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryNumber.setDescription('The number of auxiliary channels of the power supply.') psAuxiliaryTable = MibTable((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5), ) if mibBuilder.loadTexts: psAuxiliaryTable.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryTable.setDescription('A list of psAuxiliary entries.') psDirectAccess = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 1024), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: psDirectAccess.setStatus('current') if mibBuilder.loadTexts: psDirectAccess.setDescription('Direct data transfer to the UEP6000 power supply. A read access returns nothing, a write access returns the response of the power supply. ') psAuxiliaryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "psAuxiliaryIndex")) if mibBuilder.loadTexts: psAuxiliaryEntry.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryEntry.setDescription('A table row') psAuxiliaryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("u0", 1), ("u1", 2), ("u2", 3), ("u3", 4), ("u4", 5), ("u5", 6), ("u6", 7), ("u7", 8)))) if mibBuilder.loadTexts: psAuxiliaryIndex.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryIndex.setDescription('A unique number for each power supply auxiliary channel. Its value ranges between 1 and total number of output channels. SMI index starts at 1, so index 1 corresponds to U0. ') psAuxiliaryMeasurementVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 3), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: psAuxiliaryMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryMeasurementVoltage.setDescription('The measured power supply auxiliary output voltage.') psAuxiliaryMeasurementCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 4), Float()).setUnits('A').setMaxAccess("readonly") if mibBuilder.loadTexts: psAuxiliaryMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryMeasurementCurrent.setDescription('The measured power supply auxiliary output current.') fanSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fanSerialNumber.setStatus('current') if mibBuilder.loadTexts: fanSerialNumber.setDescription('The serial number of the fan tray.') fanOperatingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 3), Integer32()).setUnits('s').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanOperatingTime.setStatus('current') if mibBuilder.loadTexts: fanOperatingTime.setDescription('The time in seconds for how long the fan tray was switched on.') fanAirTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 4), Integer32()).setUnits('deg.C').setMaxAccess("readonly") if mibBuilder.loadTexts: fanAirTemperature.setStatus('current') if mibBuilder.loadTexts: fanAirTemperature.setDescription('The temperature of the fan tray inlet air.') fanSwitchOffDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setUnits('s').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanSwitchOffDelay.setStatus('current') if mibBuilder.loadTexts: fanSwitchOffDelay.setDescription('The maximum time in seconds for which the fans will continue running after the power supply has been switched off. This feature is used to cool down the electronics after switching off. ') fanNominalSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 6), Integer32()).setUnits('RPM').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanNominalSpeed.setStatus('current') if mibBuilder.loadTexts: fanNominalSpeed.setDescription('The nominal fan rotation speed (RPM, Revolutions Per Minute) Value 0 does switch off the fans (only allowed if at least one rack temperature sensor is present). Values 1..1199 are not allowed ') fanNumberOfFans = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setUnits('Fans').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanNumberOfFans.setStatus('current') if mibBuilder.loadTexts: fanNumberOfFans.setDescription('The number of installed fans') fanSpeedTable = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8), ) if mibBuilder.loadTexts: fanSpeedTable.setStatus('current') if mibBuilder.loadTexts: fanSpeedTable.setDescription('A list of fanSpeedEntries.') fanSpeedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "fanNumber")) if mibBuilder.loadTexts: fanSpeedEntry.setStatus('current') if mibBuilder.loadTexts: fanSpeedEntry.setDescription('A table row') fanNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12))) if mibBuilder.loadTexts: fanNumber.setStatus('current') if mibBuilder.loadTexts: fanNumber.setDescription('A unique number for each fan.') fanSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1, 2), Integer32()).setUnits('RPM').setMaxAccess("readonly") if mibBuilder.loadTexts: fanSpeed.setStatus('current') if mibBuilder.loadTexts: fanSpeed.setDescription('The measured fan rotation speed (RPM, Revolutions Per Minute)') fanMaxSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 9), Integer32()).setUnits('RPM').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanMaxSpeed.setStatus('current') if mibBuilder.loadTexts: fanMaxSpeed.setDescription('The highest allowed rotationspeed of fan.') fanMinSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 10), Integer32()).setUnits('RPM').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanMinSpeed.setStatus('current') if mibBuilder.loadTexts: fanMinSpeed.setDescription('The lowest allowed Rotationspeed of fan.') fanConfigMaxSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 11), Integer32()).setUnits('RPM').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanConfigMaxSpeed.setStatus('current') if mibBuilder.loadTexts: fanConfigMaxSpeed.setDescription('Hardwarelimits. Can only set by WIENER.') fanConfigMinSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 7, 12), Integer32()).setUnits('RPM').setMaxAccess("readwrite") if mibBuilder.loadTexts: fanConfigMinSpeed.setStatus('current') if mibBuilder.loadTexts: fanConfigMinSpeed.setDescription('Hardwarelimits Can only set by WIENER.') numberOfAnalogInputs = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfAnalogInputs.setStatus('current') if mibBuilder.loadTexts: numberOfAnalogInputs.setDescription('The number of additional analog inputs of the crate.') analogInputTable = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2), ) if mibBuilder.loadTexts: analogInputTable.setStatus('current') if mibBuilder.loadTexts: analogInputTable.setDescription('A (conceptual table) of analog input data.') analogInputEntry = MibTableRow((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1), ).setIndexNames((0, "WIENER-CRATE-MIB", "analogInputIndex")) if mibBuilder.loadTexts: analogInputEntry.setStatus('current') if mibBuilder.loadTexts: analogInputEntry.setDescription('An entry (conceptual row) of the analogInputTable.') analogInputIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))) if mibBuilder.loadTexts: analogInputIndex.setStatus('current') if mibBuilder.loadTexts: analogInputIndex.setDescription('A unique number for each analog input of the crate') analogMeasurementVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 2), Float()).setUnits('V').setMaxAccess("readonly") if mibBuilder.loadTexts: analogMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: analogMeasurementVoltage.setDescription('The measured voltage of the analog input.') analogMeasurementCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 3), Float()).setUnits('A').setMaxAccess("readonly") if mibBuilder.loadTexts: analogMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: analogMeasurementCurrent.setDescription('The measured current of the analog input.') digitalInput = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 5), Bits().clone(namedValues=NamedValues(("d0", 0), ("d1", 1), ("d2", 2), ("d3", 3), ("d4", 4), ("d5", 5), ("d6", 6), ("d7", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: digitalInput.setStatus('current') if mibBuilder.loadTexts: digitalInput.setDescription('The value of the digital inputs.') digitalOutput = MibTableColumn((1, 3, 6, 1, 4, 1, 19947, 1, 9, 6), Bits().clone(namedValues=NamedValues(("d0", 0), ("d1", 1), ("d2", 2), ("d3", 3), ("d4", 4), ("d5", 5), ("d6", 6), ("d7", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: digitalOutput.setStatus('current') if mibBuilder.loadTexts: digitalOutput.setDescription('The value of the digital outputs.') mibBuilder.exportSymbols("WIENER-CRATE-MIB", outputIndex=outputIndex, sysStatus=sysStatus, outputTripActionMaxPower=outputTripActionMaxPower, outputSupervisionMaxCurrent=outputSupervisionMaxCurrent, sysDebugMemory32=sysDebugMemory32, outputMeasurementSenseVoltage=outputMeasurementSenseVoltage, fanMaxSpeed=fanMaxSpeed, sysDebugBoot=sysDebugBoot, sensorStatus=sensorStatus, snmpCommunityEntry=snmpCommunityEntry, sensorTemperature=sensorTemperature, moduleRampSpeedVoltage=moduleRampSpeedVoltage, fanSerialNumber=fanSerialNumber, powersupply=powersupply, outputAdjustVoltage=outputAdjustVoltage, snmp=snmp, outputTripTimeMaxPower=outputTripTimeMaxPower, outputNumber=outputNumber, wiener=wiener, outputConfigDataU=outputConfigDataU, moduleRampSpeedCurrent=moduleRampSpeedCurrent, snmpPort=snmpPort, sensorFailureThreshold=sensorFailureThreshold, fanSwitchOffDelay=fanSwitchOffDelay, outputStatus=outputStatus, outputTripActionMaxSenseVoltage=outputTripActionMaxSenseVoltage, fanSpeedTable=fanSpeedTable, rack=rack, outputConfigMaxSenseVoltage=outputConfigMaxSenseVoltage, outputConfigGainCurrent=outputConfigGainCurrent, outputConfigMaxCurrent=outputConfigMaxCurrent, moduleNumber=moduleNumber, psSerialNumber=psSerialNumber, fanNumberOfFans=fanNumberOfFans, outputConfigMaxTemperature=outputConfigMaxTemperature, OutputTripTime=OutputTripTime, outputMeasurementCurrent=outputMeasurementCurrent, can=can, analogInputEntry=analogInputEntry, outputConfigOffsetTerminalVoltage=outputConfigOffsetTerminalVoltage, moduleHardwareLimitVoltage=moduleHardwareLimitVoltage, sensorID=sensorID, outputTripTimeMaxTemperature=outputTripTimeMaxTemperature, moduleAuxiliaryMeasurementVoltage1=moduleAuxiliaryMeasurementVoltage1, outputConfigGainTerminalVoltage=outputConfigGainTerminalVoltage, firmwareUpdate=firmwareUpdate, outputTripActionMaxTerminalVoltage=outputTripActionMaxTerminalVoltage, outputMeasurementTerminalVoltage=outputMeasurementTerminalVoltage, httpPort=httpPort, psOperatingTime=psOperatingTime, outputTripActionTimeout=outputTripActionTimeout, outputCurrent=outputCurrent, fanNominalSpeed=fanNominalSpeed, outputSupervisionMaxPower=outputSupervisionMaxPower, outputCurrentRiseRate=outputCurrentRiseRate, groupsSwitch=groupsSwitch, moduleAuxiliaryMeasurementTemperature2=moduleAuxiliaryMeasurementTemperature2, outputSupervisionMinSenseVoltage=outputSupervisionMinSenseVoltage, snmpCommunityName=snmpCommunityName, outputVoltage=outputVoltage, outputRegulationMode=outputRegulationMode, ipStaticAddress=ipStaticAddress, moduleHardwareLimitCurrent=moduleHardwareLimitCurrent, moduleAuxiliaryMeasurementVoltage0=moduleAuxiliaryMeasurementVoltage0, sensorEntry=sensorEntry, digitalInput=digitalInput, fanConfigMaxSpeed=fanConfigMaxSpeed, moduleAuxiliaryMeasurementTemperature1=moduleAuxiliaryMeasurementTemperature1, sensorAlarmThreshold=sensorAlarmThreshold, canTransmit=canTransmit, outputSupervisionMaxSenseVoltage=outputSupervisionMaxSenseVoltage, sysConfigDoMeasurementCurrent=sysConfigDoMeasurementCurrent, outputVoltageFallRate=outputVoltageFallRate, outputTripTimeMinSenseVoltage=outputTripTimeMinSenseVoltage, macAddress=macAddress, sensorName=sensorName, fanSpeed=fanSpeed, fantray=fantray, outputTripTimeTimeout=outputTripTimeTimeout, moduleEventChannelStatus=moduleEventChannelStatus, sensorNumber=sensorNumber, canReceive=canReceive, canReceiveHv=canReceiveHv, psAuxiliaryTable=psAuxiliaryTable, outputHardwareLimitCurrent=outputHardwareLimitCurrent, sysVmeSysReset=sysVmeSysReset, moduleAuxiliaryMeasurementVoltage=moduleAuxiliaryMeasurementVoltage, canBitRateHv=canBitRateHv, fanAirTemperature=fanAirTemperature, numberOfAnalogInputs=numberOfAnalogInputs, outputTripTimeMaxTerminalVoltage=outputTripTimeMaxTerminalVoltage, outputGroup=outputGroup, outputSupervisionMaxTerminalVoltage=outputSupervisionMaxTerminalVoltage, moduleDoClear=moduleDoClear, fanMinSpeed=fanMinSpeed, OutputTripAction=OutputTripAction, outputTable=outputTable, groupsIndex=groupsIndex, crate=crate, outputTripActionMaxTemperature=outputTripActionMaxTemperature, sysDebugMemory16=sysDebugMemory16, moduleEventStatus=moduleEventStatus, sysDebugDisplay=sysDebugDisplay, psAuxiliaryEntry=psAuxiliaryEntry, signal=signal, analogMeasurementVoltage=analogMeasurementVoltage, outputUserConfig=outputUserConfig, moduleAuxiliaryMeasurementTemperature=moduleAuxiliaryMeasurementTemperature, sysFactoryDefaults=sysFactoryDefaults, analogInputTable=analogInputTable, sysOperatingTime=sysOperatingTime, psAuxiliaryMeasurementCurrent=psAuxiliaryMeasurementCurrent, snmpAccessRight=snmpAccessRight, sensorTable=sensorTable, outputVoltageRiseRate=outputVoltageRiseRate, psDirectAccess=psDirectAccess, outputSupervisionMaxTemperature=outputSupervisionMaxTemperature, output=output, sysHardwareReset=sysHardwareReset, outputConfigGainSenseVoltage=outputConfigGainSenseVoltage, moduleAuxiliaryMeasurementTemperature3=moduleAuxiliaryMeasurementTemperature3, snmpCommunityTable=snmpCommunityTable, psAuxiliaryNumber=psAuxiliaryNumber, moduleConfigDataU=moduleConfigDataU, moduleEntry=moduleEntry, outputSwitch=outputSwitch, fanNumber=fanNumber, outputTripActionMaxCurrent=outputTripActionMaxCurrent, outputCurrentFallRate=outputCurrentFallRate, outputTripTimeMaxSenseVoltage=outputTripTimeMaxSenseVoltage, groupsEntry=groupsEntry, canTransmitHv=canTransmitHv, fanSpeedEntry=fanSpeedEntry, sysDebugMemory8=sysDebugMemory8, PYSNMP_MODULE_ID=wiener, outputSupervisionBehavior=outputSupervisionBehavior, moduleStatus=moduleStatus, moduleDescription=moduleDescription, outputConfigOffsetSenseVoltage=outputConfigOffsetSenseVoltage, moduleTable=moduleTable, outputResistance=outputResistance, sensorIndex=sensorIndex, outputConfigDataS=outputConfigDataS, moduleConfigDataS=moduleConfigDataS, psAuxiliaryMeasurementVoltage=psAuxiliaryMeasurementVoltage, analogInputIndex=analogInputIndex, moduleIndex=moduleIndex, moduleAuxiliaryMeasurementTemperature0=moduleAuxiliaryMeasurementTemperature0, fanOperatingTime=fanOperatingTime, outputConfigMaxTerminalVoltage=outputConfigMaxTerminalVoltage, digitalOutput=digitalOutput, outputName=outputName, ipDynamicAddress=ipDynamicAddress, outputHardwareLimitVoltage=outputHardwareLimitVoltage, sysMainSwitch=sysMainSwitch, groupsTable=groupsTable, sensorWarningThreshold=sensorWarningThreshold, psAuxiliaryIndex=psAuxiliaryIndex, outputTripActionMinSenseVoltage=outputTripActionMinSenseVoltage, outputTripActionExternalInhibit=outputTripActionExternalInhibit, sysDebug=sysDebug, outputEntry=outputEntry, fanConfigMinSpeed=fanConfigMinSpeed, analogMeasurementCurrent=analogMeasurementCurrent, outputConfigOffsetCurrent=outputConfigOffsetCurrent, sensor=sensor, outputMeasurementTemperature=outputMeasurementTemperature, outputTripTimeMaxCurrent=outputTripTimeMaxCurrent, Float=Float, groupsNumber=groupsNumber, canBitRate=canBitRate, input=input, communication=communication, system=system)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, enterprises, notification_type, unsigned32, module_identity, ip_address, mib_identifier, opaque, time_ticks, counter32, object_identity, bits, counter64, gauge32, iso, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'enterprises', 'NotificationType', 'Unsigned32', 'ModuleIdentity', 'IpAddress', 'MibIdentifier', 'Opaque', 'TimeTicks', 'Counter32', 'ObjectIdentity', 'Bits', 'Counter64', 'Gauge32', 'iso', 'Integer32') (mac_address, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'DisplayString', 'TextualConvention') wiener = module_identity((1, 3, 6, 1, 4, 1, 19947)) wiener.setRevisions(('2019-04-03 00:00', '2016-02-18 00:00', '2008-10-09 00:00', '2008-05-06 00:00', '2008-04-15 00:00', '2008-04-10 00:00', '2008-04-02 00:00', '2007-09-10 00:00', '2007-03-16 00:00', '2005-02-01 00:00', '2004-06-28 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: wiener.setRevisionsDescriptions(('Update the revision since 2016. ', 'This revision introduces new OIDs for slew control: outputResistance. ', 'New Stuff.', 'Introduction of the signal branch. ', 'Enlargement of u0..u11 -> u0..u1999 ', 'This revision uses again Integer32 instead of Counter32. ', 'This revision modifies the syntax of this file to be complient with smilint. ', 'This revision introduces new OIDs for debug functionality: sysDebugMemory8, sysDebugMemory16 and sysDebugMemory32. ', 'This revision introduces new OIDs for slew control: outputVoltageRiseRate and outputVoltageFallRate. ', 'This revision introduces new OIDs for group managment: groupTable ', 'WIENER Crate MIB, actual Firmware: UEL6E 4.02. Initial Version. ')) if mibBuilder.loadTexts: wiener.setLastUpdated('201904030000Z') if mibBuilder.loadTexts: wiener.setOrganization('W-IE-NE-R Power Electronics GmbH') if mibBuilder.loadTexts: wiener.setContactInfo(' postal: W-IE-NE-R Power Electronics GmbH Linde 18 D-51399 Burscheid Germany email: info@wiener-d.com ') if mibBuilder.loadTexts: wiener.setDescription('Introduction of the communication.can branch. ') class Float(TextualConvention, Opaque): description = "A single precision floating-point number. The semantics and encoding are identical for type 'single' defined in IEEE Standard for Binary Floating-Point, ANSI/IEEE Std 754-1985. The value is restricted to the BER serialization of the following ASN.1 type: FLOATTYPE ::= [120] IMPLICIT FloatType (note: the value 120 is the sum of '30'h and '48'h) The BER serialization of the length for values of this type must use the definite length, short encoding form. For example, the BER serialization of value 123 of type FLOATTYPE is '9f780442f60000'h. (The tag is '9f78'h; the length is '04'h; and the value is '42f60000'h.) The BER serialization of value '9f780442f60000'h of data type Opaque is '44079f780442f60000'h. (The tag is '44'h; the length is '07'h; and the value is '9f780442f60000'h." status = 'current' subtype_spec = Opaque.subtypeSpec + value_size_constraint(7, 7) fixed_length = 7 class Outputtriptime(TextualConvention, Integer32): description = 'Special data type used for output trip time OIDs. Represents a 16 bit unsigned integer value. BER-coded as INTEGER' status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 65535) class Outputtripaction(TextualConvention, Integer32): description = 'Special data type used for outpot trip action OIDs.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3)) named_values = named_values(('ignore', 0), ('channelOff', 1), ('specialOff', 2), ('allOff', 3)) crate = object_identity((1, 3, 6, 1, 4, 1, 19947, 1)) if mibBuilder.loadTexts: crate.setStatus('current') if mibBuilder.loadTexts: crate.setDescription("SNMP control for electronic crates. A crate is a complete electronic system and consists of the mechanical rack, a power supply, a fan tray and a backplane. All this things are necessary to provide an adequate housing for electronic modules (e.g. VME CPU's)") system = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 1)) if mibBuilder.loadTexts: system.setStatus('current') if mibBuilder.loadTexts: system.setDescription('A collection of objects which affect the complete crate') input = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 2)) if mibBuilder.loadTexts: input.setStatus('current') if mibBuilder.loadTexts: input.setDescription('All objects which are associated with the power input of the crate') output = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 3)) if mibBuilder.loadTexts: output.setStatus('current') if mibBuilder.loadTexts: output.setDescription('All objects which are associated with the power output of the crate') sensor = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 4)) if mibBuilder.loadTexts: sensor.setStatus('current') if mibBuilder.loadTexts: sensor.setDescription('All objects which are associated with temperature sensors in the crate') communication = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 5)) if mibBuilder.loadTexts: communication.setStatus('current') if mibBuilder.loadTexts: communication.setDescription('All objects which affect the remote control of the crate') powersupply = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 6)) if mibBuilder.loadTexts: powersupply.setStatus('current') if mibBuilder.loadTexts: powersupply.setDescription('All objects which are specific for the power supply of the crate') fantray = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 7)) if mibBuilder.loadTexts: fantray.setStatus('current') if mibBuilder.loadTexts: fantray.setDescription('All objects which are specific for the fan tray of the crate') rack = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 8)) if mibBuilder.loadTexts: rack.setStatus('current') if mibBuilder.loadTexts: rack.setDescription('All objects which are specific for the crate (BIN) of the crate') signal = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 9)) if mibBuilder.loadTexts: signal.setStatus('current') if mibBuilder.loadTexts: signal.setDescription('All objects which are associated with analog/digtal input/output in the crate') sys_main_switch = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysMainSwitch.setStatus('current') if mibBuilder.loadTexts: sysMainSwitch.setDescription('Read: An enumerated value which shows the current state of the crates main switch. Write: Try to switch the complete crate ON or OFF. Only the values ON or OFF are allowed.') sys_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 2), bits().clone(namedValues=named_values(('mainOn', 0), ('mainInhibit', 1), ('localControlOnly', 2), ('inputFailure', 3), ('outputFailure', 4), ('fantrayFailure', 5), ('sensorFailure', 6), ('vmeSysfail', 7), ('plugAndPlayIncompatible', 8), ('busReset', 9), ('supplyDerating', 10), ('supplyFailure', 11), ('supplyDerating2', 12), ('supplyFailure2', 13)))).setMaxAccess('readonly') if mibBuilder.loadTexts: sysStatus.setStatus('current') if mibBuilder.loadTexts: sysStatus.setDescription('A bit string which shows the status (health) of the complete crate. If a bit is set (1), the explanation is satisfied mainOn (0), system is switched on, individual outputs may be controlled by their specific ON/INHIBIT mainInhibit(1), external (hardware-)inhibit of the complete system localControlOnly (2), local control only (CANBUS write access denied) inputFailure (3), any input failure (e.g. power fail) outputFailure (4), any output failure, details in outputTable fantrayFailure (5), fantray failure sensorFailure (6), temperature of the external sensors too high vmeSysfail(7), VME SYSFAIL signal is active plugAndPlayIncompatible (8) wrong power supply and rack connected busReset (9) The sytem bus (e.g. VME or CPCI) reset signal is active. supplyDerating (10) The (first) system power supply has the DEG signal active. supplyFailure (11) The (first) system power supply has the FAL signal active. supplyDerating2 (12) The second system power supply has the DEG signal active. supplyFailure2 (13) The second system power supply has the FAL signal active. ') sys_vme_sys_reset = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('trigger', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysVmeSysReset.setStatus('current') if mibBuilder.loadTexts: sysVmeSysReset.setDescription('Read: Always 0. Write: Trigger the generation of the VME SYSRESET or CPIC RESET signal. This signal will be active for a time of 200 ms') sys_hardware_reset = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysHardwareReset.setStatus('current') if mibBuilder.loadTexts: sysHardwareReset.setDescription('Triggered a Reset via Watchdog or ResetLine.') sys_factory_defaults = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysFactoryDefaults.setStatus('current') if mibBuilder.loadTexts: sysFactoryDefaults.setDescription('A set operation performs a complete factory reset of ALL data stored in the controller (e.g. community names, passwords, ...). ') sys_config_do_measurement_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 10), bits().clone(namedValues=named_values(('ch0', 0), ('ch1', 1), ('ch2', 2), ('ch3', 3), ('ch4', 4), ('ch5', 5), ('ch6', 6), ('ch7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysConfigDoMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: sysConfigDoMeasurementCurrent.setDescription('CSet the analog inputs to measure voltage or current.') sys_operating_time = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 11), integer32()).setUnits('s').setMaxAccess('readwrite') if mibBuilder.loadTexts: sysOperatingTime.setStatus('current') if mibBuilder.loadTexts: sysOperatingTime.setDescription('The time in seconds for how long the controller was in action.') sys_debug_memory8 = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1024), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebugMemory8.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory8.setDescription('Debug 16-bit memory access.') sys_debug_memory16 = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1025), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebugMemory16.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory16.setDescription('Debug 16-bit memory access.') sys_debug_memory32 = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1026), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebugMemory32.setStatus('current') if mibBuilder.loadTexts: sysDebugMemory32.setDescription('Debug 32-bit memory access.') sys_debug = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1027), octet_string().subtype(subtypeSpec=value_size_constraint(520, 520)).setFixedLength(520)).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebug.setStatus('current') if mibBuilder.loadTexts: sysDebug.setDescription('Debug communication with the MPOD. This is a direct map to the ancient functions which are accessible via USB (without SLIP/SNMP). ') sys_debug_display = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1028), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebugDisplay.setStatus('current') if mibBuilder.loadTexts: sysDebugDisplay.setDescription('Debug communication with the MPOD display.') sys_debug_boot = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 1, 1029), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysDebugBoot.setStatus('current') if mibBuilder.loadTexts: sysDebugBoot.setDescription('Debug communication with the simple debug interface / bootloader.') output_number = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1999))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputNumber.setStatus('current') if mibBuilder.loadTexts: outputNumber.setDescription('The number of output channels of the crate.') output_table = mib_table((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2)) if mibBuilder.loadTexts: outputTable.setStatus('current') if mibBuilder.loadTexts: outputTable.setDescription('A list of output entries.') groups_number = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 1999))).setMaxAccess('readonly') if mibBuilder.loadTexts: groupsNumber.setStatus('current') if mibBuilder.loadTexts: groupsNumber.setDescription('The number of output groups of the crate.') groups_table = mib_table((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4)) if mibBuilder.loadTexts: groupsTable.setStatus('current') if mibBuilder.loadTexts: groupsTable.setDescription('A list of output groups entries.') module_number = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: moduleNumber.setStatus('current') if mibBuilder.loadTexts: moduleNumber.setDescription('The number of HV/LV modules of the crate.') module_table = mib_table((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6)) if mibBuilder.loadTexts: moduleTable.setStatus('current') if mibBuilder.loadTexts: moduleTable.setDescription('A list of output module entries.') output_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputEntry.setStatus('current') if mibBuilder.loadTexts: outputEntry.setDescription('A table row') output_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255), single_value_constraint(256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510), single_value_constraint(511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765), single_value_constraint(766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020), single_value_constraint(1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275), single_value_constraint(1276, 1277, 1278, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530), single_value_constraint(1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785), single_value_constraint(1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000))).clone(namedValues=named_values(('u0', 1), ('u1', 2), ('u2', 3), ('u3', 4), ('u4', 5), ('u5', 6), ('u6', 7), ('u7', 8), ('u8', 9), ('u9', 10), ('u10', 11), ('u11', 12), ('u12', 13), ('u13', 14), ('u14', 15), ('u15', 16), ('u16', 17), ('u17', 18), ('u18', 19), ('u19', 20), ('u20', 21), ('u21', 22), ('u22', 23), ('u23', 24), ('u24', 25), ('u25', 26), ('u26', 27), ('u27', 28), ('u28', 29), ('u29', 30), ('u30', 31), ('u31', 32), ('u32', 33), ('u33', 34), ('u34', 35), ('u35', 36), ('u36', 37), ('u37', 38), ('u38', 39), ('u39', 40), ('u40', 41), ('u41', 42), ('u42', 43), ('u43', 44), ('u44', 45), ('u45', 46), ('u46', 47), ('u47', 48), ('u48', 49), ('u49', 50), ('u50', 51), ('u51', 52), ('u52', 53), ('u53', 54), ('u54', 55), ('u55', 56), ('u56', 57), ('u57', 58), ('u58', 59), ('u59', 60), ('u60', 61), ('u61', 62), ('u62', 63), ('u63', 64), ('u64', 65), ('u65', 66), ('u66', 67), ('u67', 68), ('u68', 69), ('u69', 70), ('u70', 71), ('u71', 72), ('u72', 73), ('u73', 74), ('u74', 75), ('u75', 76), ('u76', 77), ('u77', 78), ('u78', 79), ('u79', 80), ('u80', 81), ('u81', 82), ('u82', 83), ('u83', 84), ('u84', 85), ('u85', 86), ('u86', 87), ('u87', 88), ('u88', 89), ('u89', 90), ('u90', 91), ('u91', 92), ('u92', 93), ('u93', 94), ('u94', 95), ('u95', 96), ('u96', 97), ('u97', 98), ('u98', 99), ('u99', 100), ('u100', 101), ('u101', 102), ('u102', 103), ('u103', 104), ('u104', 105), ('u105', 106), ('u106', 107), ('u107', 108), ('u108', 109), ('u109', 110), ('u110', 111), ('u111', 112), ('u112', 113), ('u113', 114), ('u114', 115), ('u115', 116), ('u116', 117), ('u117', 118), ('u118', 119), ('u119', 120), ('u120', 121), ('u121', 122), ('u122', 123), ('u123', 124), ('u124', 125), ('u125', 126), ('u126', 127), ('u127', 128), ('u128', 129), ('u129', 130), ('u130', 131), ('u131', 132), ('u132', 133), ('u133', 134), ('u134', 135), ('u135', 136), ('u136', 137), ('u137', 138), ('u138', 139), ('u139', 140), ('u140', 141), ('u141', 142), ('u142', 143), ('u143', 144), ('u144', 145), ('u145', 146), ('u146', 147), ('u147', 148), ('u148', 149), ('u149', 150), ('u150', 151), ('u151', 152), ('u152', 153), ('u153', 154), ('u154', 155), ('u155', 156), ('u156', 157), ('u157', 158), ('u158', 159), ('u159', 160), ('u160', 161), ('u161', 162), ('u162', 163), ('u163', 164), ('u164', 165), ('u165', 166), ('u166', 167), ('u167', 168), ('u168', 169), ('u169', 170), ('u170', 171), ('u171', 172), ('u172', 173), ('u173', 174), ('u174', 175), ('u175', 176), ('u176', 177), ('u177', 178), ('u178', 179), ('u179', 180), ('u180', 181), ('u181', 182), ('u182', 183), ('u183', 184), ('u184', 185), ('u185', 186), ('u186', 187), ('u187', 188), ('u188', 189), ('u189', 190), ('u190', 191), ('u191', 192), ('u192', 193), ('u193', 194), ('u194', 195), ('u195', 196), ('u196', 197), ('u197', 198), ('u198', 199), ('u199', 200), ('u200', 201), ('u201', 202), ('u202', 203), ('u203', 204), ('u204', 205), ('u205', 206), ('u206', 207), ('u207', 208), ('u208', 209), ('u209', 210), ('u210', 211), ('u211', 212), ('u212', 213), ('u213', 214), ('u214', 215), ('u215', 216), ('u216', 217), ('u217', 218), ('u218', 219), ('u219', 220), ('u220', 221), ('u221', 222), ('u222', 223), ('u223', 224), ('u224', 225), ('u225', 226), ('u226', 227), ('u227', 228), ('u228', 229), ('u229', 230), ('u230', 231), ('u231', 232), ('u232', 233), ('u233', 234), ('u234', 235), ('u235', 236), ('u236', 237), ('u237', 238), ('u238', 239), ('u239', 240), ('u240', 241), ('u241', 242), ('u242', 243), ('u243', 244), ('u244', 245), ('u245', 246), ('u246', 247), ('u247', 248), ('u248', 249), ('u249', 250), ('u250', 251), ('u251', 252), ('u252', 253), ('u253', 254), ('u254', 255)) + named_values(('u255', 256), ('u256', 257), ('u257', 258), ('u258', 259), ('u259', 260), ('u260', 261), ('u261', 262), ('u262', 263), ('u263', 264), ('u264', 265), ('u265', 266), ('u266', 267), ('u267', 268), ('u268', 269), ('u269', 270), ('u270', 271), ('u271', 272), ('u272', 273), ('u273', 274), ('u274', 275), ('u275', 276), ('u276', 277), ('u277', 278), ('u278', 279), ('u279', 280), ('u280', 281), ('u281', 282), ('u282', 283), ('u283', 284), ('u284', 285), ('u285', 286), ('u286', 287), ('u287', 288), ('u288', 289), ('u289', 290), ('u290', 291), ('u291', 292), ('u292', 293), ('u293', 294), ('u294', 295), ('u295', 296), ('u296', 297), ('u297', 298), ('u298', 299), ('u299', 300), ('u300', 301), ('u301', 302), ('u302', 303), ('u303', 304), ('u304', 305), ('u305', 306), ('u306', 307), ('u307', 308), ('u308', 309), ('u309', 310), ('u310', 311), ('u311', 312), ('u312', 313), ('u313', 314), ('u314', 315), ('u315', 316), ('u316', 317), ('u317', 318), ('u318', 319), ('u319', 320), ('u320', 321), ('u321', 322), ('u322', 323), ('u323', 324), ('u324', 325), ('u325', 326), ('u326', 327), ('u327', 328), ('u328', 329), ('u329', 330), ('u330', 331), ('u331', 332), ('u332', 333), ('u333', 334), ('u334', 335), ('u335', 336), ('u336', 337), ('u337', 338), ('u338', 339), ('u339', 340), ('u340', 341), ('u341', 342), ('u342', 343), ('u343', 344), ('u344', 345), ('u345', 346), ('u346', 347), ('u347', 348), ('u348', 349), ('u349', 350), ('u350', 351), ('u351', 352), ('u352', 353), ('u353', 354), ('u354', 355), ('u355', 356), ('u356', 357), ('u357', 358), ('u358', 359), ('u359', 360), ('u360', 361), ('u361', 362), ('u362', 363), ('u363', 364), ('u364', 365), ('u365', 366), ('u366', 367), ('u367', 368), ('u368', 369), ('u369', 370), ('u370', 371), ('u371', 372), ('u372', 373), ('u373', 374), ('u374', 375), ('u375', 376), ('u376', 377), ('u377', 378), ('u378', 379), ('u379', 380), ('u380', 381), ('u381', 382), ('u382', 383), ('u383', 384), ('u384', 385), ('u385', 386), ('u386', 387), ('u387', 388), ('u388', 389), ('u389', 390), ('u390', 391), ('u391', 392), ('u392', 393), ('u393', 394), ('u394', 395), ('u395', 396), ('u396', 397), ('u397', 398), ('u398', 399), ('u399', 400), ('u400', 401), ('u401', 402), ('u402', 403), ('u403', 404), ('u404', 405), ('u405', 406), ('u406', 407), ('u407', 408), ('u408', 409), ('u409', 410), ('u410', 411), ('u411', 412), ('u412', 413), ('u413', 414), ('u414', 415), ('u415', 416), ('u416', 417), ('u417', 418), ('u418', 419), ('u419', 420), ('u420', 421), ('u421', 422), ('u422', 423), ('u423', 424), ('u424', 425), ('u425', 426), ('u426', 427), ('u427', 428), ('u428', 429), ('u429', 430), ('u430', 431), ('u431', 432), ('u432', 433), ('u433', 434), ('u434', 435), ('u435', 436), ('u436', 437), ('u437', 438), ('u438', 439), ('u439', 440), ('u440', 441), ('u441', 442), ('u442', 443), ('u443', 444), ('u444', 445), ('u445', 446), ('u446', 447), ('u447', 448), ('u448', 449), ('u449', 450), ('u450', 451), ('u451', 452), ('u452', 453), ('u453', 454), ('u454', 455), ('u455', 456), ('u456', 457), ('u457', 458), ('u458', 459), ('u459', 460), ('u460', 461), ('u461', 462), ('u462', 463), ('u463', 464), ('u464', 465), ('u465', 466), ('u466', 467), ('u467', 468), ('u468', 469), ('u469', 470), ('u470', 471), ('u471', 472), ('u472', 473), ('u473', 474), ('u474', 475), ('u475', 476), ('u476', 477), ('u477', 478), ('u478', 479), ('u479', 480), ('u480', 481), ('u481', 482), ('u482', 483), ('u483', 484), ('u484', 485), ('u485', 486), ('u486', 487), ('u487', 488), ('u488', 489), ('u489', 490), ('u490', 491), ('u491', 492), ('u492', 493), ('u493', 494), ('u494', 495), ('u495', 496), ('u496', 497), ('u497', 498), ('u498', 499), ('u499', 500), ('u500', 501), ('u501', 502), ('u502', 503), ('u503', 504), ('u504', 505), ('u505', 506), ('u506', 507), ('u507', 508), ('u508', 509), ('u509', 510)) + named_values(('u510', 511), ('u511', 512), ('u512', 513), ('u513', 514), ('u514', 515), ('u515', 516), ('u516', 517), ('u517', 518), ('u518', 519), ('u519', 520), ('u520', 521), ('u521', 522), ('u522', 523), ('u523', 524), ('u524', 525), ('u525', 526), ('u526', 527), ('u527', 528), ('u528', 529), ('u529', 530), ('u530', 531), ('u531', 532), ('u532', 533), ('u533', 534), ('u534', 535), ('u535', 536), ('u536', 537), ('u537', 538), ('u538', 539), ('u539', 540), ('u540', 541), ('u541', 542), ('u542', 543), ('u543', 544), ('u544', 545), ('u545', 546), ('u546', 547), ('u547', 548), ('u548', 549), ('u549', 550), ('u550', 551), ('u551', 552), ('u552', 553), ('u553', 554), ('u554', 555), ('u555', 556), ('u556', 557), ('u557', 558), ('u558', 559), ('u559', 560), ('u560', 561), ('u561', 562), ('u562', 563), ('u563', 564), ('u564', 565), ('u565', 566), ('u566', 567), ('u567', 568), ('u568', 569), ('u569', 570), ('u570', 571), ('u571', 572), ('u572', 573), ('u573', 574), ('u574', 575), ('u575', 576), ('u576', 577), ('u577', 578), ('u578', 579), ('u579', 580), ('u580', 581), ('u581', 582), ('u582', 583), ('u583', 584), ('u584', 585), ('u585', 586), ('u586', 587), ('u587', 588), ('u588', 589), ('u589', 590), ('u590', 591), ('u591', 592), ('u592', 593), ('u593', 594), ('u594', 595), ('u595', 596), ('u596', 597), ('u597', 598), ('u598', 599), ('u599', 600), ('u600', 601), ('u601', 602), ('u602', 603), ('u603', 604), ('u604', 605), ('u605', 606), ('u606', 607), ('u607', 608), ('u608', 609), ('u609', 610), ('u610', 611), ('u611', 612), ('u612', 613), ('u613', 614), ('u614', 615), ('u615', 616), ('u616', 617), ('u617', 618), ('u618', 619), ('u619', 620), ('u620', 621), ('u621', 622), ('u622', 623), ('u623', 624), ('u624', 625), ('u625', 626), ('u626', 627), ('u627', 628), ('u628', 629), ('u629', 630), ('u630', 631), ('u631', 632), ('u632', 633), ('u633', 634), ('u634', 635), ('u635', 636), ('u636', 637), ('u637', 638), ('u638', 639), ('u639', 640), ('u640', 641), ('u641', 642), ('u642', 643), ('u643', 644), ('u644', 645), ('u645', 646), ('u646', 647), ('u647', 648), ('u648', 649), ('u649', 650), ('u650', 651), ('u651', 652), ('u652', 653), ('u653', 654), ('u654', 655), ('u655', 656), ('u656', 657), ('u657', 658), ('u658', 659), ('u659', 660), ('u660', 661), ('u661', 662), ('u662', 663), ('u663', 664), ('u664', 665), ('u665', 666), ('u666', 667), ('u667', 668), ('u668', 669), ('u669', 670), ('u670', 671), ('u671', 672), ('u672', 673), ('u673', 674), ('u674', 675), ('u675', 676), ('u676', 677), ('u677', 678), ('u678', 679), ('u679', 680), ('u680', 681), ('u681', 682), ('u682', 683), ('u683', 684), ('u684', 685), ('u685', 686), ('u686', 687), ('u687', 688), ('u688', 689), ('u689', 690), ('u690', 691), ('u691', 692), ('u692', 693), ('u693', 694), ('u694', 695), ('u695', 696), ('u696', 697), ('u697', 698), ('u698', 699), ('u699', 700), ('u700', 701), ('u701', 702), ('u702', 703), ('u703', 704), ('u704', 705), ('u705', 706), ('u706', 707), ('u707', 708), ('u708', 709), ('u709', 710), ('u710', 711), ('u711', 712), ('u712', 713), ('u713', 714), ('u714', 715), ('u715', 716), ('u716', 717), ('u717', 718), ('u718', 719), ('u719', 720), ('u720', 721), ('u721', 722), ('u722', 723), ('u723', 724), ('u724', 725), ('u725', 726), ('u726', 727), ('u727', 728), ('u728', 729), ('u729', 730), ('u730', 731), ('u731', 732), ('u732', 733), ('u733', 734), ('u734', 735), ('u735', 736), ('u736', 737), ('u737', 738), ('u738', 739), ('u739', 740), ('u740', 741), ('u741', 742), ('u742', 743), ('u743', 744), ('u744', 745), ('u745', 746), ('u746', 747), ('u747', 748), ('u748', 749), ('u749', 750), ('u750', 751), ('u751', 752), ('u752', 753), ('u753', 754), ('u754', 755), ('u755', 756), ('u756', 757), ('u757', 758), ('u758', 759), ('u759', 760), ('u760', 761), ('u761', 762), ('u762', 763), ('u763', 764), ('u764', 765)) + named_values(('u765', 766), ('u766', 767), ('u767', 768), ('u768', 769), ('u769', 770), ('u770', 771), ('u771', 772), ('u772', 773), ('u773', 774), ('u774', 775), ('u775', 776), ('u776', 777), ('u777', 778), ('u778', 779), ('u779', 780), ('u780', 781), ('u781', 782), ('u782', 783), ('u783', 784), ('u784', 785), ('u785', 786), ('u786', 787), ('u787', 788), ('u788', 789), ('u789', 790), ('u790', 791), ('u791', 792), ('u792', 793), ('u793', 794), ('u794', 795), ('u795', 796), ('u796', 797), ('u797', 798), ('u798', 799), ('u799', 800), ('u800', 801), ('u801', 802), ('u802', 803), ('u803', 804), ('u804', 805), ('u805', 806), ('u806', 807), ('u807', 808), ('u808', 809), ('u809', 810), ('u810', 811), ('u811', 812), ('u812', 813), ('u813', 814), ('u814', 815), ('u815', 816), ('u816', 817), ('u817', 818), ('u818', 819), ('u819', 820), ('u820', 821), ('u821', 822), ('u822', 823), ('u823', 824), ('u824', 825), ('u825', 826), ('u826', 827), ('u827', 828), ('u828', 829), ('u829', 830), ('u830', 831), ('u831', 832), ('u832', 833), ('u833', 834), ('u834', 835), ('u835', 836), ('u836', 837), ('u837', 838), ('u838', 839), ('u839', 840), ('u840', 841), ('u841', 842), ('u842', 843), ('u843', 844), ('u844', 845), ('u845', 846), ('u846', 847), ('u847', 848), ('u848', 849), ('u849', 850), ('u850', 851), ('u851', 852), ('u852', 853), ('u853', 854), ('u854', 855), ('u855', 856), ('u856', 857), ('u857', 858), ('u858', 859), ('u859', 860), ('u860', 861), ('u861', 862), ('u862', 863), ('u863', 864), ('u864', 865), ('u865', 866), ('u866', 867), ('u867', 868), ('u868', 869), ('u869', 870), ('u870', 871), ('u871', 872), ('u872', 873), ('u873', 874), ('u874', 875), ('u875', 876), ('u876', 877), ('u877', 878), ('u878', 879), ('u879', 880), ('u880', 881), ('u881', 882), ('u882', 883), ('u883', 884), ('u884', 885), ('u885', 886), ('u886', 887), ('u887', 888), ('u888', 889), ('u889', 890), ('u890', 891), ('u891', 892), ('u892', 893), ('u893', 894), ('u894', 895), ('u895', 896), ('u896', 897), ('u897', 898), ('u898', 899), ('u899', 900), ('u900', 901), ('u901', 902), ('u902', 903), ('u903', 904), ('u904', 905), ('u905', 906), ('u906', 907), ('u907', 908), ('u908', 909), ('u909', 910), ('u910', 911), ('u911', 912), ('u912', 913), ('u913', 914), ('u914', 915), ('u915', 916), ('u916', 917), ('u917', 918), ('u918', 919), ('u919', 920), ('u920', 921), ('u921', 922), ('u922', 923), ('u923', 924), ('u924', 925), ('u925', 926), ('u926', 927), ('u927', 928), ('u928', 929), ('u929', 930), ('u930', 931), ('u931', 932), ('u932', 933), ('u933', 934), ('u934', 935), ('u935', 936), ('u936', 937), ('u937', 938), ('u938', 939), ('u939', 940), ('u940', 941), ('u941', 942), ('u942', 943), ('u943', 944), ('u944', 945), ('u945', 946), ('u946', 947), ('u947', 948), ('u948', 949), ('u949', 950), ('u950', 951), ('u951', 952), ('u952', 953), ('u953', 954), ('u954', 955), ('u955', 956), ('u956', 957), ('u957', 958), ('u958', 959), ('u959', 960), ('u960', 961), ('u961', 962), ('u962', 963), ('u963', 964), ('u964', 965), ('u965', 966), ('u966', 967), ('u967', 968), ('u968', 969), ('u969', 970), ('u970', 971), ('u971', 972), ('u972', 973), ('u973', 974), ('u974', 975), ('u975', 976), ('u976', 977), ('u977', 978), ('u978', 979), ('u979', 980), ('u980', 981), ('u981', 982), ('u982', 983), ('u983', 984), ('u984', 985), ('u985', 986), ('u986', 987), ('u987', 988), ('u988', 989), ('u989', 990), ('u990', 991), ('u991', 992), ('u992', 993), ('u993', 994), ('u994', 995), ('u995', 996), ('u996', 997), ('u997', 998), ('u998', 999), ('u999', 1000), ('u1000', 1001), ('u1001', 1002), ('u1002', 1003), ('u1003', 1004), ('u1004', 1005), ('u1005', 1006), ('u1006', 1007), ('u1007', 1008), ('u1008', 1009), ('u1009', 1010), ('u1010', 1011), ('u1011', 1012), ('u1012', 1013), ('u1013', 1014), ('u1014', 1015), ('u1015', 1016), ('u1016', 1017), ('u1017', 1018), ('u1018', 1019), ('u1019', 1020)) + named_values(('u1020', 1021), ('u1021', 1022), ('u1022', 1023), ('u1023', 1024), ('u1024', 1025), ('u1025', 1026), ('u1026', 1027), ('u1027', 1028), ('u1028', 1029), ('u1029', 1030), ('u1030', 1031), ('u1031', 1032), ('u1032', 1033), ('u1033', 1034), ('u1034', 1035), ('u1035', 1036), ('u1036', 1037), ('u1037', 1038), ('u1038', 1039), ('u1039', 1040), ('u1040', 1041), ('u1041', 1042), ('u1042', 1043), ('u1043', 1044), ('u1044', 1045), ('u1045', 1046), ('u1046', 1047), ('u1047', 1048), ('u1048', 1049), ('u1049', 1050), ('u1050', 1051), ('u1051', 1052), ('u1052', 1053), ('u1053', 1054), ('u1054', 1055), ('u1055', 1056), ('u1056', 1057), ('u1057', 1058), ('u1058', 1059), ('u1059', 1060), ('u1060', 1061), ('u1061', 1062), ('u1062', 1063), ('u1063', 1064), ('u1064', 1065), ('u1065', 1066), ('u1066', 1067), ('u1067', 1068), ('u1068', 1069), ('u1069', 1070), ('u1070', 1071), ('u1071', 1072), ('u1072', 1073), ('u1073', 1074), ('u1074', 1075), ('u1075', 1076), ('u1076', 1077), ('u1077', 1078), ('u1078', 1079), ('u1079', 1080), ('u1080', 1081), ('u1081', 1082), ('u1082', 1083), ('u1083', 1084), ('u1084', 1085), ('u1085', 1086), ('u1086', 1087), ('u1087', 1088), ('u1088', 1089), ('u1089', 1090), ('u1090', 1091), ('u1091', 1092), ('u1092', 1093), ('u1093', 1094), ('u1094', 1095), ('u1095', 1096), ('u1096', 1097), ('u1097', 1098), ('u1098', 1099), ('u1099', 1100), ('u1100', 1101), ('u1101', 1102), ('u1102', 1103), ('u1103', 1104), ('u1104', 1105), ('u1105', 1106), ('u1106', 1107), ('u1107', 1108), ('u1108', 1109), ('u1109', 1110), ('u1110', 1111), ('u1111', 1112), ('u1112', 1113), ('u1113', 1114), ('u1114', 1115), ('u1115', 1116), ('u1116', 1117), ('u1117', 1118), ('u1118', 1119), ('u1119', 1120), ('u1120', 1121), ('u1121', 1122), ('u1122', 1123), ('u1123', 1124), ('u1124', 1125), ('u1125', 1126), ('u1126', 1127), ('u1127', 1128), ('u1128', 1129), ('u1129', 1130), ('u1130', 1131), ('u1131', 1132), ('u1132', 1133), ('u1133', 1134), ('u1134', 1135), ('u1135', 1136), ('u1136', 1137), ('u1137', 1138), ('u1138', 1139), ('u1139', 1140), ('u1140', 1141), ('u1141', 1142), ('u1142', 1143), ('u1143', 1144), ('u1144', 1145), ('u1145', 1146), ('u1146', 1147), ('u1147', 1148), ('u1148', 1149), ('u1149', 1150), ('u1150', 1151), ('u1151', 1152), ('u1152', 1153), ('u1153', 1154), ('u1154', 1155), ('u1155', 1156), ('u1156', 1157), ('u1157', 1158), ('u1158', 1159), ('u1159', 1160), ('u1160', 1161), ('u1161', 1162), ('u1162', 1163), ('u1163', 1164), ('u1164', 1165), ('u1165', 1166), ('u1166', 1167), ('u1167', 1168), ('u1168', 1169), ('u1169', 1170), ('u1170', 1171), ('u1171', 1172), ('u1172', 1173), ('u1173', 1174), ('u1174', 1175), ('u1175', 1176), ('u1176', 1177), ('u1177', 1178), ('u1178', 1179), ('u1179', 1180), ('u1180', 1181), ('u1181', 1182), ('u1182', 1183), ('u1183', 1184), ('u1184', 1185), ('u1185', 1186), ('u1186', 1187), ('u1187', 1188), ('u1188', 1189), ('u1189', 1190), ('u1190', 1191), ('u1191', 1192), ('u1192', 1193), ('u1193', 1194), ('u1194', 1195), ('u1195', 1196), ('u1196', 1197), ('u1197', 1198), ('u1198', 1199), ('u1199', 1200), ('u1200', 1201), ('u1201', 1202), ('u1202', 1203), ('u1203', 1204), ('u1204', 1205), ('u1205', 1206), ('u1206', 1207), ('u1207', 1208), ('u1208', 1209), ('u1209', 1210), ('u1210', 1211), ('u1211', 1212), ('u1212', 1213), ('u1213', 1214), ('u1214', 1215), ('u1215', 1216), ('u1216', 1217), ('u1217', 1218), ('u1218', 1219), ('u1219', 1220), ('u1220', 1221), ('u1221', 1222), ('u1222', 1223), ('u1223', 1224), ('u1224', 1225), ('u1225', 1226), ('u1226', 1227), ('u1227', 1228), ('u1228', 1229), ('u1229', 1230), ('u1230', 1231), ('u1231', 1232), ('u1232', 1233), ('u1233', 1234), ('u1234', 1235), ('u1235', 1236), ('u1236', 1237), ('u1237', 1238), ('u1238', 1239), ('u1239', 1240), ('u1240', 1241), ('u1241', 1242), ('u1242', 1243), ('u1243', 1244), ('u1244', 1245), ('u1245', 1246), ('u1246', 1247), ('u1247', 1248), ('u1248', 1249), ('u1249', 1250), ('u1250', 1251), ('u1251', 1252), ('u1252', 1253), ('u1253', 1254), ('u1254', 1255), ('u1255', 1256), ('u1256', 1257), ('u1257', 1258), ('u1258', 1259), ('u1259', 1260), ('u1260', 1261), ('u1261', 1262), ('u1262', 1263), ('u1263', 1264), ('u1264', 1265), ('u1265', 1266), ('u1266', 1267), ('u1267', 1268), ('u1268', 1269), ('u1269', 1270), ('u1270', 1271), ('u1271', 1272), ('u1272', 1273), ('u1273', 1274), ('u1274', 1275)) + named_values(('u1275', 1276), ('u1276', 1277), ('u1277', 1278), ('u1278', 1279), ('u1279', 1280), ('u1280', 1281), ('u1281', 1282), ('u1282', 1283), ('u1283', 1284), ('u1284', 1285), ('u1285', 1286), ('u1286', 1287), ('u1287', 1288), ('u1288', 1289), ('u1289', 1290), ('u1290', 1291), ('u1291', 1292), ('u1292', 1293), ('u1293', 1294), ('u1294', 1295), ('u1295', 1296), ('u1296', 1297), ('u1297', 1298), ('u1298', 1299), ('u1299', 1300), ('u1300', 1301), ('u1301', 1302), ('u1302', 1303), ('u1303', 1304), ('u1304', 1305), ('u1305', 1306), ('u1306', 1307), ('u1307', 1308), ('u1308', 1309), ('u1309', 1310), ('u1310', 1311), ('u1311', 1312), ('u1312', 1313), ('u1313', 1314), ('u1314', 1315), ('u1315', 1316), ('u1316', 1317), ('u1317', 1318), ('u1318', 1319), ('u1319', 1320), ('u1320', 1321), ('u1321', 1322), ('u1322', 1323), ('u1323', 1324), ('u1324', 1325), ('u1325', 1326), ('u1326', 1327), ('u1327', 1328), ('u1328', 1329), ('u1329', 1330), ('u1330', 1331), ('u1331', 1332), ('u1332', 1333), ('u1333', 1334), ('u1334', 1335), ('u1335', 1336), ('u1336', 1337), ('u1337', 1338), ('u1338', 1339), ('u1339', 1340), ('u1340', 1341), ('u1341', 1342), ('u1342', 1343), ('u1343', 1344), ('u1344', 1345), ('u1345', 1346), ('u1346', 1347), ('u1347', 1348), ('u1348', 1349), ('u1349', 1350), ('u1350', 1351), ('u1351', 1352), ('u1352', 1353), ('u1353', 1354), ('u1354', 1355), ('u1355', 1356), ('u1356', 1357), ('u1357', 1358), ('u1358', 1359), ('u1359', 1360), ('u1360', 1361), ('u1361', 1362), ('u1362', 1363), ('u1363', 1364), ('u1364', 1365), ('u1365', 1366), ('u1366', 1367), ('u1367', 1368), ('u1368', 1369), ('u1369', 1370), ('u1370', 1371), ('u1371', 1372), ('u1372', 1373), ('u1373', 1374), ('u1374', 1375), ('u1375', 1376), ('u1376', 1377), ('u1377', 1378), ('u1378', 1379), ('u1379', 1380), ('u1380', 1381), ('u1381', 1382), ('u1382', 1383), ('u1383', 1384), ('u1384', 1385), ('u1385', 1386), ('u1386', 1387), ('u1387', 1388), ('u1388', 1389), ('u1389', 1390), ('u1390', 1391), ('u1391', 1392), ('u1392', 1393), ('u1393', 1394), ('u1394', 1395), ('u1395', 1396), ('u1396', 1397), ('u1397', 1398), ('u1398', 1399), ('u1399', 1400), ('u1400', 1401), ('u1401', 1402), ('u1402', 1403), ('u1403', 1404), ('u1404', 1405), ('u1405', 1406), ('u1406', 1407), ('u1407', 1408), ('u1408', 1409), ('u1409', 1410), ('u1410', 1411), ('u1411', 1412), ('u1412', 1413), ('u1413', 1414), ('u1414', 1415), ('u1415', 1416), ('u1416', 1417), ('u1417', 1418), ('u1418', 1419), ('u1419', 1420), ('u1420', 1421), ('u1421', 1422), ('u1422', 1423), ('u1423', 1424), ('u1424', 1425), ('u1425', 1426), ('u1426', 1427), ('u1427', 1428), ('u1428', 1429), ('u1429', 1430), ('u1430', 1431), ('u1431', 1432), ('u1432', 1433), ('u1433', 1434), ('u1434', 1435), ('u1435', 1436), ('u1436', 1437), ('u1437', 1438), ('u1438', 1439), ('u1439', 1440), ('u1440', 1441), ('u1441', 1442), ('u1442', 1443), ('u1443', 1444), ('u1444', 1445), ('u1445', 1446), ('u1446', 1447), ('u1447', 1448), ('u1448', 1449), ('u1449', 1450), ('u1450', 1451), ('u1451', 1452), ('u1452', 1453), ('u1453', 1454), ('u1454', 1455), ('u1455', 1456), ('u1456', 1457), ('u1457', 1458), ('u1458', 1459), ('u1459', 1460), ('u1460', 1461), ('u1461', 1462), ('u1462', 1463), ('u1463', 1464), ('u1464', 1465), ('u1465', 1466), ('u1466', 1467), ('u1467', 1468), ('u1468', 1469), ('u1469', 1470), ('u1470', 1471), ('u1471', 1472), ('u1472', 1473), ('u1473', 1474), ('u1474', 1475), ('u1475', 1476), ('u1476', 1477), ('u1477', 1478), ('u1478', 1479), ('u1479', 1480), ('u1480', 1481), ('u1481', 1482), ('u1482', 1483), ('u1483', 1484), ('u1484', 1485), ('u1485', 1486), ('u1486', 1487), ('u1487', 1488), ('u1488', 1489), ('u1489', 1490), ('u1490', 1491), ('u1491', 1492), ('u1492', 1493), ('u1493', 1494), ('u1494', 1495), ('u1495', 1496), ('u1496', 1497), ('u1497', 1498), ('u1498', 1499), ('u1499', 1500), ('u1500', 1501), ('u1501', 1502), ('u1502', 1503), ('u1503', 1504), ('u1504', 1505), ('u1505', 1506), ('u1506', 1507), ('u1507', 1508), ('u1508', 1509), ('u1509', 1510), ('u1510', 1511), ('u1511', 1512), ('u1512', 1513), ('u1513', 1514), ('u1514', 1515), ('u1515', 1516), ('u1516', 1517), ('u1517', 1518), ('u1518', 1519), ('u1519', 1520), ('u1520', 1521), ('u1521', 1522), ('u1522', 1523), ('u1523', 1524), ('u1524', 1525), ('u1525', 1526), ('u1526', 1527), ('u1527', 1528), ('u1528', 1529), ('u1529', 1530)) + named_values(('u1530', 1531), ('u1531', 1532), ('u1532', 1533), ('u1533', 1534), ('u1534', 1535), ('u1535', 1536), ('u1536', 1537), ('u1537', 1538), ('u1538', 1539), ('u1539', 1540), ('u1540', 1541), ('u1541', 1542), ('u1542', 1543), ('u1543', 1544), ('u1544', 1545), ('u1545', 1546), ('u1546', 1547), ('u1547', 1548), ('u1548', 1549), ('u1549', 1550), ('u1550', 1551), ('u1551', 1552), ('u1552', 1553), ('u1553', 1554), ('u1554', 1555), ('u1555', 1556), ('u1556', 1557), ('u1557', 1558), ('u1558', 1559), ('u1559', 1560), ('u1560', 1561), ('u1561', 1562), ('u1562', 1563), ('u1563', 1564), ('u1564', 1565), ('u1565', 1566), ('u1566', 1567), ('u1567', 1568), ('u1568', 1569), ('u1569', 1570), ('u1570', 1571), ('u1571', 1572), ('u1572', 1573), ('u1573', 1574), ('u1574', 1575), ('u1575', 1576), ('u1576', 1577), ('u1577', 1578), ('u1578', 1579), ('u1579', 1580), ('u1580', 1581), ('u1581', 1582), ('u1582', 1583), ('u1583', 1584), ('u1584', 1585), ('u1585', 1586), ('u1586', 1587), ('u1587', 1588), ('u1588', 1589), ('u1589', 1590), ('u1590', 1591), ('u1591', 1592), ('u1592', 1593), ('u1593', 1594), ('u1594', 1595), ('u1595', 1596), ('u1596', 1597), ('u1597', 1598), ('u1598', 1599), ('u1599', 1600), ('u1600', 1601), ('u1601', 1602), ('u1602', 1603), ('u1603', 1604), ('u1604', 1605), ('u1605', 1606), ('u1606', 1607), ('u1607', 1608), ('u1608', 1609), ('u1609', 1610), ('u1610', 1611), ('u1611', 1612), ('u1612', 1613), ('u1613', 1614), ('u1614', 1615), ('u1615', 1616), ('u1616', 1617), ('u1617', 1618), ('u1618', 1619), ('u1619', 1620), ('u1620', 1621), ('u1621', 1622), ('u1622', 1623), ('u1623', 1624), ('u1624', 1625), ('u1625', 1626), ('u1626', 1627), ('u1627', 1628), ('u1628', 1629), ('u1629', 1630), ('u1630', 1631), ('u1631', 1632), ('u1632', 1633), ('u1633', 1634), ('u1634', 1635), ('u1635', 1636), ('u1636', 1637), ('u1637', 1638), ('u1638', 1639), ('u1639', 1640), ('u1640', 1641), ('u1641', 1642), ('u1642', 1643), ('u1643', 1644), ('u1644', 1645), ('u1645', 1646), ('u1646', 1647), ('u1647', 1648), ('u1648', 1649), ('u1649', 1650), ('u1650', 1651), ('u1651', 1652), ('u1652', 1653), ('u1653', 1654), ('u1654', 1655), ('u1655', 1656), ('u1656', 1657), ('u1657', 1658), ('u1658', 1659), ('u1659', 1660), ('u1660', 1661), ('u1661', 1662), ('u1662', 1663), ('u1663', 1664), ('u1664', 1665), ('u1665', 1666), ('u1666', 1667), ('u1667', 1668), ('u1668', 1669), ('u1669', 1670), ('u1670', 1671), ('u1671', 1672), ('u1672', 1673), ('u1673', 1674), ('u1674', 1675), ('u1675', 1676), ('u1676', 1677), ('u1677', 1678), ('u1678', 1679), ('u1679', 1680), ('u1680', 1681), ('u1681', 1682), ('u1682', 1683), ('u1683', 1684), ('u1684', 1685), ('u1685', 1686), ('u1686', 1687), ('u1687', 1688), ('u1688', 1689), ('u1689', 1690), ('u1690', 1691), ('u1691', 1692), ('u1692', 1693), ('u1693', 1694), ('u1694', 1695), ('u1695', 1696), ('u1696', 1697), ('u1697', 1698), ('u1698', 1699), ('u1699', 1700), ('u1700', 1701), ('u1701', 1702), ('u1702', 1703), ('u1703', 1704), ('u1704', 1705), ('u1705', 1706), ('u1706', 1707), ('u1707', 1708), ('u1708', 1709), ('u1709', 1710), ('u1710', 1711), ('u1711', 1712), ('u1712', 1713), ('u1713', 1714), ('u1714', 1715), ('u1715', 1716), ('u1716', 1717), ('u1717', 1718), ('u1718', 1719), ('u1719', 1720), ('u1720', 1721), ('u1721', 1722), ('u1722', 1723), ('u1723', 1724), ('u1724', 1725), ('u1725', 1726), ('u1726', 1727), ('u1727', 1728), ('u1728', 1729), ('u1729', 1730), ('u1730', 1731), ('u1731', 1732), ('u1732', 1733), ('u1733', 1734), ('u1734', 1735), ('u1735', 1736), ('u1736', 1737), ('u1737', 1738), ('u1738', 1739), ('u1739', 1740), ('u1740', 1741), ('u1741', 1742), ('u1742', 1743), ('u1743', 1744), ('u1744', 1745), ('u1745', 1746), ('u1746', 1747), ('u1747', 1748), ('u1748', 1749), ('u1749', 1750), ('u1750', 1751), ('u1751', 1752), ('u1752', 1753), ('u1753', 1754), ('u1754', 1755), ('u1755', 1756), ('u1756', 1757), ('u1757', 1758), ('u1758', 1759), ('u1759', 1760), ('u1760', 1761), ('u1761', 1762), ('u1762', 1763), ('u1763', 1764), ('u1764', 1765), ('u1765', 1766), ('u1766', 1767), ('u1767', 1768), ('u1768', 1769), ('u1769', 1770), ('u1770', 1771), ('u1771', 1772), ('u1772', 1773), ('u1773', 1774), ('u1774', 1775), ('u1775', 1776), ('u1776', 1777), ('u1777', 1778), ('u1778', 1779), ('u1779', 1780), ('u1780', 1781), ('u1781', 1782), ('u1782', 1783), ('u1783', 1784), ('u1784', 1785)) + named_values(('u1785', 1786), ('u1786', 1787), ('u1787', 1788), ('u1788', 1789), ('u1789', 1790), ('u1790', 1791), ('u1791', 1792), ('u1792', 1793), ('u1793', 1794), ('u1794', 1795), ('u1795', 1796), ('u1796', 1797), ('u1797', 1798), ('u1798', 1799), ('u1799', 1800), ('u1800', 1801), ('u1801', 1802), ('u1802', 1803), ('u1803', 1804), ('u1804', 1805), ('u1805', 1806), ('u1806', 1807), ('u1807', 1808), ('u1808', 1809), ('u1809', 1810), ('u1810', 1811), ('u1811', 1812), ('u1812', 1813), ('u1813', 1814), ('u1814', 1815), ('u1815', 1816), ('u1816', 1817), ('u1817', 1818), ('u1818', 1819), ('u1819', 1820), ('u1820', 1821), ('u1821', 1822), ('u1822', 1823), ('u1823', 1824), ('u1824', 1825), ('u1825', 1826), ('u1826', 1827), ('u1827', 1828), ('u1828', 1829), ('u1829', 1830), ('u1830', 1831), ('u1831', 1832), ('u1832', 1833), ('u1833', 1834), ('u1834', 1835), ('u1835', 1836), ('u1836', 1837), ('u1837', 1838), ('u1838', 1839), ('u1839', 1840), ('u1840', 1841), ('u1841', 1842), ('u1842', 1843), ('u1843', 1844), ('u1844', 1845), ('u1845', 1846), ('u1846', 1847), ('u1847', 1848), ('u1848', 1849), ('u1849', 1850), ('u1850', 1851), ('u1851', 1852), ('u1852', 1853), ('u1853', 1854), ('u1854', 1855), ('u1855', 1856), ('u1856', 1857), ('u1857', 1858), ('u1858', 1859), ('u1859', 1860), ('u1860', 1861), ('u1861', 1862), ('u1862', 1863), ('u1863', 1864), ('u1864', 1865), ('u1865', 1866), ('u1866', 1867), ('u1867', 1868), ('u1868', 1869), ('u1869', 1870), ('u1870', 1871), ('u1871', 1872), ('u1872', 1873), ('u1873', 1874), ('u1874', 1875), ('u1875', 1876), ('u1876', 1877), ('u1877', 1878), ('u1878', 1879), ('u1879', 1880), ('u1880', 1881), ('u1881', 1882), ('u1882', 1883), ('u1883', 1884), ('u1884', 1885), ('u1885', 1886), ('u1886', 1887), ('u1887', 1888), ('u1888', 1889), ('u1889', 1890), ('u1890', 1891), ('u1891', 1892), ('u1892', 1893), ('u1893', 1894), ('u1894', 1895), ('u1895', 1896), ('u1896', 1897), ('u1897', 1898), ('u1898', 1899), ('u1899', 1900), ('u1900', 1901), ('u1901', 1902), ('u1902', 1903), ('u1903', 1904), ('u1904', 1905), ('u1905', 1906), ('u1906', 1907), ('u1907', 1908), ('u1908', 1909), ('u1909', 1910), ('u1910', 1911), ('u1911', 1912), ('u1912', 1913), ('u1913', 1914), ('u1914', 1915), ('u1915', 1916), ('u1916', 1917), ('u1917', 1918), ('u1918', 1919), ('u1919', 1920), ('u1920', 1921), ('u1921', 1922), ('u1922', 1923), ('u1923', 1924), ('u1924', 1925), ('u1925', 1926), ('u1926', 1927), ('u1927', 1928), ('u1928', 1929), ('u1929', 1930), ('u1930', 1931), ('u1931', 1932), ('u1932', 1933), ('u1933', 1934), ('u1934', 1935), ('u1935', 1936), ('u1936', 1937), ('u1937', 1938), ('u1938', 1939), ('u1939', 1940), ('u1940', 1941), ('u1941', 1942), ('u1942', 1943), ('u1943', 1944), ('u1944', 1945), ('u1945', 1946), ('u1946', 1947), ('u1947', 1948), ('u1948', 1949), ('u1949', 1950), ('u1950', 1951), ('u1951', 1952), ('u1952', 1953), ('u1953', 1954), ('u1954', 1955), ('u1955', 1956), ('u1956', 1957), ('u1957', 1958), ('u1958', 1959), ('u1959', 1960), ('u1960', 1961), ('u1961', 1962), ('u1962', 1963), ('u1963', 1964), ('u1964', 1965), ('u1965', 1966), ('u1966', 1967), ('u1967', 1968), ('u1968', 1969), ('u1969', 1970), ('u1970', 1971), ('u1971', 1972), ('u1972', 1973), ('u1973', 1974), ('u1974', 1975), ('u1975', 1976), ('u1976', 1977), ('u1977', 1978), ('u1978', 1979), ('u1979', 1980), ('u1980', 1981), ('u1981', 1982), ('u1982', 1983), ('u1983', 1984), ('u1984', 1985), ('u1985', 1986), ('u1986', 1987), ('u1987', 1988), ('u1988', 1989), ('u1989', 1990), ('u1990', 1991), ('u1991', 1992), ('u1992', 1993), ('u1993', 1994), ('u1994', 1995), ('u1995', 1996), ('u1996', 1997), ('u1997', 1998), ('u1998', 1999), ('u1999', 2000)))) if mibBuilder.loadTexts: outputIndex.setStatus('current') if mibBuilder.loadTexts: outputIndex.setDescription('A unique number for each power output channel. Its value ranges between 1 and total number of output channels. This value is equivalent to the output channel number at the type label of the crate or power supply, but because the SMI index starts at 1, index 1 corresponds to U0. ') output_name = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputName.setStatus('current') if mibBuilder.loadTexts: outputName.setDescription('A textual string containing a short name of the output. If the crate is equipped with an alphanumeric display, this string is shown to identify a output channel. ') output_group = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputGroup.setStatus('current') if mibBuilder.loadTexts: outputGroup.setDescription('The group number (1...63) assigned to each channel. If commands shall be sent to all channels with a specific group number (e.g. with the groupsSwitch command defined below), additional bits can be added to the group number: HLgggggg g: Group number (1...63) L: Mask bit: 1: high voltage channels only, no low voltage channels H: Mask bit: 1: low voltage channels only, no high voltage channels Special groups: 0: all (LV+HV) channels 0x40: all, but no LV channels 0x80: all, but no HV channels ') output_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 4), bits().clone(namedValues=named_values(('outputOn', 0), ('outputInhibit', 1), ('outputFailureMinSenseVoltage', 2), ('outputFailureMaxSenseVoltage', 3), ('outputFailureMaxTerminalVoltage', 4), ('outputFailureMaxCurrent', 5), ('outputFailureMaxTemperature', 6), ('outputFailureMaxPower', 7), ('outputFailureTimeout', 9), ('outputCurrentLimited', 10), ('outputRampUp', 11), ('outputRampDown', 12), ('outputEnableKill', 13), ('outputEmergencyOff', 14), ('outputAdjusting', 15), ('outputConstantVoltage', 16), ('outputLowCurrentRange', 17), ('outputCurrentBoundsExceeded', 18), ('outputFailureCurrentLimit', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputStatus.setStatus('current') if mibBuilder.loadTexts: outputStatus.setDescription('A bit string which shows the status (health and operating conditions) of one output channel. If a bit is set (1), the explanation is satisfied: outputOn (0), output channel is on outputInhibit(1), external (hardware-)inhibit of the output channel outputFailureMinSenseVoltage (2) Supervision limit hurt: Sense voltage is too low outputFailureMaxSenseVoltage (3), Supervision limit hurt: Sense voltage is too high outputFailureMaxTerminalVoltage (4), Supervision limit hurt: Terminal voltage is too high outputFailureMaxCurrent (5), Supervision limit hurt: Current is too high outputFailureMaxTemperature (6), Supervision limit hurt: Heat sink temperature is too high outputFailureMaxPower (7), Supervision limit hurt: Output power is too high outputFailureTimeout (9), Communication timeout between output channel and main control outputCurrentLimited (10), Current limiting is active (constant current mode) outputRampUp (11), Output voltage is increasing (e.g. after switch on) outputRampDown (12), Output voltage is decreasing (e.g. after switch off) outputEnableKill (13), EnableKill is active outputEmergencyOff (14), EmergencyOff event is active outputAdjusting (15), Fine adjustment is working outputConstantVoltage (16), Voltage control (constant voltage mode) outputLowCurrentRange (17), The channel is operating in the low current measurement range outputCurrentBoundsExceeded (18), Output current is out of bounds outputFailureCurrentLimit (19) Hardware current limit (EHS) / trip (EDS, EBS) was exceeded ') output_measurement_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 5), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: outputMeasurementSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputMeasurementSenseVoltage.setDescription('The measured voltage at the sense input lines.') output_measurement_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 6), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: outputMeasurementTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputMeasurementTerminalVoltage.setDescription('The measured voltage at the output terminals.') output_measurement_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 7), float()).setUnits('A').setMaxAccess('readonly') if mibBuilder.loadTexts: outputMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: outputMeasurementCurrent.setDescription('The measured output current.') output_measurement_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(-128, 127))).clone(namedValues=named_values(('ok', -128), ('failure', 127)))).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: outputMeasurementTemperature.setStatus('current') if mibBuilder.loadTexts: outputMeasurementTemperature.setDescription('The measured temperature of the power module.') output_switch = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 10, 20, 21, 22, 23))).clone(namedValues=named_values(('off', 0), ('on', 1), ('resetEmergencyOff', 2), ('setEmergencyOff', 3), ('clearEvents', 10), ('setVoltageRippleMeasurementOff', 20), ('setVoltageMeasurementOn', 21), ('setRippleMeasurementOn', 22), ('setVoltageRippleMeasurementOn', 23)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSwitch.setStatus('current') if mibBuilder.loadTexts: outputSwitch.setDescription('Read: An enumerated value which shows the current state of the output channel. Write: Change the state of the channel. If the channel is On, and the write value is Off, then the channel will switch Off. If the channel is Off, and the write value is On, and if no other signals (mainInhibit, outputInhibit, outputEmergencyOff or outputFailureMaxCurrent) are active, then the channel will switch on. If the write value is resetEmergencyOff, then the channel will leave the state EmergencyOff. A write of clearEvents is necessary before the voltage can ramp up again. If the write value is setEmergencyOff, then the channel will have the state EmergencyOff, which means that the High Voltage will switch off without a ramp and reset of the outputVoltage to null volt. If the write value is clearEvents, then all failure messages of the outputStatus will be reset (all channel events, all module events and the state emergencyOff). ') output_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 10), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputVoltage.setStatus('current') if mibBuilder.loadTexts: outputVoltage.setDescription('The nominal output voltage of the channel.') output_adjust_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputAdjustVoltage.setStatus('obsolete') if mibBuilder.loadTexts: outputAdjustVoltage.setDescription('A posibillity to make small changes of the output voltage.') output_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 12), float()).setUnits('A').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCurrent.setStatus('current') if mibBuilder.loadTexts: outputCurrent.setDescription('The current limit of the channel.') output_voltage_rise_rate = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 13), float()).setUnits('V/s').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputVoltageRiseRate.setStatus('current') if mibBuilder.loadTexts: outputVoltageRiseRate.setDescription('Voltage Fall Slew Rate [V/s]. The slew rate of the output voltage if it increases (after switch on or if the Voltage has been changed). ') output_voltage_fall_rate = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 14), float()).setUnits('V/s').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputVoltageFallRate.setStatus('current') if mibBuilder.loadTexts: outputVoltageFallRate.setDescription('Voltage Rise Slew Rate [V/s]. The slew rate of the output voltage if it decreases (after switch off or if the Voltage has been changed). ') output_supervision_behavior = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionBehavior.setStatus('current') if mibBuilder.loadTexts: outputSupervisionBehavior.setDescription('A bit field packed into an integer which define the behavior of the output channel / power supply after failures. For each supervision value, a two-bit field exists. The enumeration of this value (..L+..H*2) is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate. iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. The position of the bit fields in the integer value are: Bit 0, 1: outputFailureMinSenseVoltage Bit 2, 3: outputFailureMaxSenseVoltage Bit 4, 5: outputFailureMaxTerminalVoltage Bit 6, 7: outputFailureMaxCurrent Bit 8, 9: outputFailureMaxTemperature Bit 10, 11: outputFailureMaxPower Bit 12, 13: outputFailureInhibit Bit 14, 15: outputFailureTimeout ') output_supervision_min_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 16), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMinSenseVoltage.setDescription('If the measured sense voltage is below this value, the power supply performs the function defined by SupervisionAction. ') output_supervision_max_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 17), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxSenseVoltage.setDescription('If the measured sense voltage is above this value, the power supply performs the function defined by SupervisionAction. ') output_supervision_max_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 18), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxTerminalVoltage.setDescription('If the measured voltage at the power supply output terminals is above this value, the power supply performs the function defined by SupervisionAction. ') output_supervision_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 19), float()).setUnits('A').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxCurrent.setDescription('If the measured current is above this value, the power supply performs the function defined by SupervisionAction. ') output_supervision_max_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 20), integer32()).setUnits('deg.C').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxTemperature.setDescription('If the measured module temperature is above this value, the power supply performs the function defined by SupervisionAction. ') output_config_max_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 21), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxSenseVoltage.setDescription('The maximum possible value of the sense voltage') output_config_max_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 22), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxTerminalVoltage.setDescription('The maximum possible value of the terminal voltage') output_config_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 23), float()).setUnits('A').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxCurrent.setDescription('The maximum possible value of the output current') output_supervision_max_power = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 24), float()).setUnits('W').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSupervisionMaxPower.setStatus('current') if mibBuilder.loadTexts: outputSupervisionMaxPower.setDescription('If the measured power (measured current * measured terminal voltage) is above this value, the power supply performs the function defined by SupervisionAction. ') output_current_rise_rate = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 25), float()).setUnits('A/s').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCurrentRiseRate.setStatus('current') if mibBuilder.loadTexts: outputCurrentRiseRate.setDescription('Current Fall Slew Rate [A/s]. The slew rate of the output current if it increases (after switch on or if the Current has been changed). ') output_current_fall_rate = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 26), float()).setUnits('A/s').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCurrentFallRate.setStatus('current') if mibBuilder.loadTexts: outputCurrentFallRate.setDescription('Current Rise Slew Rate [A/s]. The slew rate of the output current if it decreases (after switch off or if the Current has been changed). ') output_trip_time_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 27), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxCurrent.setDescription('Minimum time the outputSupervisionMaxCurrent threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior (bit field outputFailureMaxCurrent) or the new outputTripActionMaxCurrent.') output_hardware_limit_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 28), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: outputHardwareLimitVoltage.setStatus('current') if mibBuilder.loadTexts: outputHardwareLimitVoltage.setDescription('Hardware Voltage Limit [V]. Potentiometer to adjust the global hardware voltage limit (for all channels of a module). ') output_hardware_limit_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 29), float()).setUnits('A').setMaxAccess('readonly') if mibBuilder.loadTexts: outputHardwareLimitCurrent.setStatus('current') if mibBuilder.loadTexts: outputHardwareLimitCurrent.setDescription('Hardware Current Limit [A]. Potentiometer to adjust the global hardware current limit (for all channels of a module). ') output_config_gain_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 30), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigGainSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigGainSenseVoltage.setDescription('The gain value of the sense voltage') output_config_offset_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 31), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigOffsetSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetSenseVoltage.setDescription('The offset value of the sense voltage') output_config_gain_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 32), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigGainTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigGainTerminalVoltage.setDescription('The gain value of the sense voltage') output_config_offset_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 33), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigOffsetTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetTerminalVoltage.setDescription('The offset value of the sense voltage') output_config_gain_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 34), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigGainCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigGainCurrent.setDescription('The gain value of the sense voltage') output_config_offset_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 35), float()).setUnits('V').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigOffsetCurrent.setStatus('current') if mibBuilder.loadTexts: outputConfigOffsetCurrent.setDescription('The offset value of the sense voltage') output_user_config = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 37), integer32().subtype(subtypeSpec=value_range_constraint(0, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputUserConfig.setStatus('current') if mibBuilder.loadTexts: outputUserConfig.setDescription("Definition of user-changeable items. A bit field packed into an integer which define the behavior of the output channel. Usable for WIENER LV devices only. The position of the bit fields in the integer value are: Bit 0: Voltage ramping at switch off: 0: Ramp down at switch off. 1: No ramp at switch off (immediate off) Bit 1, 2: Set different regulation modes, dependent on the cable inductance: 0: fast: short cables, up to 1 meter. 1: moderate: cables from 1 to 30 meter. 2: fast: identical to 0 (should not be used) 3: slow: cables longer than 30 meter. Bit 3: Internal sense line connection to the output (MPOD only): 0: The sense input at the sense connector is used for regulation. 1: The output voltage is used for regulation. Any signals at the sense connector are ignored. Bit 4: Enable External Inhibit input. 0: The external inhibit input is ignored. 1: The external inhibit input must be connected to a voltage source to allow switch on. Bit 5: Disable Global Inhibit inputs. 0: The global inhibit/interlock inputs of the system is active. 1: The global inhibit/interlock inputs of the system is ignored. Bit 6: Automatic Power On. 0: After switching the main system switch ON, the output is not switched on automatically. A separate outputSwitch command is required. 1: After switching the main system switch ON, the output is switched on automatically. If 'Disable Global Inhibit' (bit 5) is set, the output will be switched on regardless of the global inhibit/interlock signals. Community required for write access: guru. ") output_regulation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('fast', 0), ('moderate', 1), ('slow', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputRegulationMode.setStatus('current') if mibBuilder.loadTexts: outputRegulationMode.setDescription('Definition of the regulation mode. Deprecated, use outputUserConfig for this function in the future! It is possible to set different regulation modes, dependent on the cable inductance. fast: short cables, up to 1 meter. moderate: cables from 1 to 30 meter. slow: cables longer than 30 meter. Community required for write access: guru. ') output_config_max_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 39), integer32()).setUnits('deg.C').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputConfigMaxTemperature.setDescription('The maximum possible value of outputSupervisionMaxTemperature.') output_resistance = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 40), float()).setUnits('Ohm').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputResistance.setStatus('current') if mibBuilder.loadTexts: outputResistance.setDescription('Item to specify an external resistor. For instance a wire resistor or an external resistor to protect the detectot which is supplied by a cascaded HV module. ') output_trip_time_min_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 41), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMinSenseVoltage.setDescription('Minimum time the outputSupervisionMinSenseVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMinSenseVoltage. ') output_trip_time_max_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 42), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxSenseVoltage.setDescription('Minimum time the outputSupervisionMaxSenseVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxSenseVoltage. ') output_trip_time_max_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 43), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxTerminalVoltage.setDescription('Minimum time the outputSupervisionMaxTerminalVoltage threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxTerminalVoltage. ') output_trip_time_max_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 44), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxTemperature.setDescription('Minimum time the outputSupervisionMaxTemperature threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxTemperature. ') output_trip_time_max_power = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 45), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeMaxPower.setStatus('current') if mibBuilder.loadTexts: outputTripTimeMaxPower.setDescription('Minimum time the outputSupervisionMaxPower threshold must be violated to activate the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionMaxPower. ') output_trip_time_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 46), output_trip_time()).setUnits('ms').setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripTimeTimeout.setStatus('current') if mibBuilder.loadTexts: outputTripTimeTimeout.setDescription('Maximum time the communication between module and controller can paused before activation the trip action [ms]. The trip action is defined in outputSupervisionBehavior or the new outputTripActionTimeout. ') output_trip_action_min_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 47), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMinSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMinSenseVoltage.setDescription('Trip action if outputSuperisionMinSenseVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 0..1 of outputSupervisionBehavior. ') output_trip_action_max_sense_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 48), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMaxSenseVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxSenseVoltage.setDescription('Trip action if outputSuperisionMaxSenseVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 2..3 of outputSupervisionBehavior. ') output_trip_action_max_terminal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 49), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMaxTerminalVoltage.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxTerminalVoltage.setDescription('Trip action if outputSuperisionMaxTerminalVoltage threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 4..5 of outputSupervisionBehavior. ') output_trip_action_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 50), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMaxCurrent.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxCurrent.setDescription('Trip action if outputSuperisionMaxCurrent threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate. iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 6..7 of outputSupervisionBehavior. ') output_trip_action_max_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 51), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMaxTemperature.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxTemperature.setDescription('Trip action if outputSuperisionMaxTemperature threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 8..9 of outputSupervisionBehavior. ') output_trip_action_max_power = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 52), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionMaxPower.setStatus('current') if mibBuilder.loadTexts: outputTripActionMaxPower.setDescription('Trip action if outputSuperisionMaxPower threshold has been violated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 10..11 of outputSupervisionBehavior. ') output_trip_action_external_inhibit = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 53), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionExternalInhibit.setStatus('current') if mibBuilder.loadTexts: outputTripActionExternalInhibit.setDescription('Trip action if the external inhibit input has been activated. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 12..13 of outputSupervisionBehavior. ') output_trip_action_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 54), output_trip_action()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputTripActionTimeout.setStatus('current') if mibBuilder.loadTexts: outputTripActionTimeout.setDescription('Trip action if the communication between module and controller has been paused longer than outputTripTimeTimeout. The enumerated value is: WIENER LV devices 0 ignore the failure 1 switch off this channel 2 switch off all channels with the same group number 3 switch off the complete crate iseg HV devices 0 ignore the failure 1 switch off this channel by ramp down the voltage 2 switch off this channel by a emergencyOff 3 switch off the whole board of the HV module by emergencyOff. This is a direct access of bits 14..15 of outputSupervisionBehavior. ') output_config_data_s = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1024), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigDataS.setStatus('current') if mibBuilder.loadTexts: outputConfigDataS.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format used for writing data, or returned from the SNMP client after read/write (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') output_config_data_u = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 2, 1, 1025), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigDataU.setStatus('current') if mibBuilder.loadTexts: outputConfigDataU.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') groups_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'groupsIndex')) if mibBuilder.loadTexts: groupsEntry.setStatus('current') if mibBuilder.loadTexts: groupsEntry.setDescription('A table row') groups_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1999))) if mibBuilder.loadTexts: groupsIndex.setStatus('current') if mibBuilder.loadTexts: groupsIndex.setDescription('A unique number for each power output group. Its value ranges between 1 and 1999. The special group 0 is predefined and gives access to all channels. ') groups_switch = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(-1, 0, 1, 2, 3, 4, 5, 6, 7, 10))).clone(namedValues=named_values(('undefined', -1), ('off', 0), ('on', 1), ('resetEmergencyOff', 2), ('setEmergencyOff', 3), ('disableKill', 4), ('enableKill', 5), ('disableAdjust', 6), ('enableAdjust', 7), ('clearEvents', 10)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: groupsSwitch.setStatus('current') if mibBuilder.loadTexts: groupsSwitch.setDescription('Read: This function is not defined with groups of output channels. Write: Switch the state of all channels of a group. If any channel is On, and the write value is Off, then all channels will switch off. If any channel is Off, and the write value is On, and if no other signals (mainInhibit, outputInhibit, outputEmergencyOff or outputFailureMaxCurrent) are active, then all channels will switch on. If the write value is resetEmergencyOff, then all channels will leave the state EmergencyOff. A write of clearEvents is necessary before the voltage can ramp up again. If the write value is setEmergencyOff, then all channels will have the state EmergencyOff, which means that the High Voltage will switch off without a ramp and reset of the outputVoltage to null volt. If the write value is disableKILL, then all channels will switch to disableKill (outputStatus outputDisableKill). If the write value is enableKILL, then all channels will switch to enableKill (outputStatus outputEnableKill). If the write value is clearEvents, then all failure messages of the outputStatus will be cleared (all channel events, all module events and the state outputEmergencyOff will be reset). For a detailed description of the different group numbers available look at the outputGroup OID above. ') module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'moduleIndex')) if mibBuilder.loadTexts: moduleEntry.setStatus('current') if mibBuilder.loadTexts: moduleEntry.setDescription('A row in the table of HV/LV modules') module_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('ma0', 1), ('ma1', 2), ('ma2', 3), ('ma3', 4), ('ma4', 5), ('ma5', 6), ('ma6', 7), ('ma7', 8), ('ma8', 9), ('ma9', 10)))) if mibBuilder.loadTexts: moduleIndex.setStatus('current') if mibBuilder.loadTexts: moduleIndex.setDescription('A unique number for each HV/LV module. Its value ranges between 1 and the total number of HV/LV modules. Note, index 1 corresponds to ma0.') module_description = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 39))).setMaxAccess('readonly') if mibBuilder.loadTexts: moduleDescription.setStatus('current') if mibBuilder.loadTexts: moduleDescription.setDescription("Vendor, FirmwareName, ChannelNumber, SerialNumber, FirmwareRelease Vendor WIENER or iseg FirmwareName: 'E16D0' EDS 16 channels per PCB, distributor module, range of Vmax from VO max to (VO max - 1kV) 'E16D1' EDS 16 channels per PCB, distributor module 'E08C0' EHS 8 channels per PCB, common GND module 'E08F0' EHS 8 channels per PCB, floating GND module 'E08F2' EHS 8 channels per PCB, floating GND module, 2 current measurement ranges 'E08C2' EHS 8 channels per PCB, common floating GND module, 2 current measurement ranges 'E08B0' EBS 8 bipolars channel per PCB, distributor module 'H101C0' HPS 1 channel HV high power supply ChannelNumber 1 to 64 SerialNumber 71xxxx FirmwareRelease x.xx ") module_auxiliary_measurement_voltage = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3)) if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage.setDescription('The measured module auxiliary voltages.') module_auxiliary_measurement_voltage0 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3, 1), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage0.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage0.setDescription('The measured module auxiliary voltage.') module_auxiliary_measurement_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 3, 2), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage1.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementVoltage1.setDescription('The measured module auxiliary voltage.') module_hardware_limit_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 4), float()).setUnits('%').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleHardwareLimitVoltage.setStatus('current') if mibBuilder.loadTexts: moduleHardwareLimitVoltage.setDescription('The module hardware voltage limit.') module_hardware_limit_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 5), float()).setUnits('%').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleHardwareLimitCurrent.setStatus('current') if mibBuilder.loadTexts: moduleHardwareLimitCurrent.setDescription('The module hardware current limit.') module_ramp_speed_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 6), float()).setUnits('%').setMaxAccess('readwrite') if mibBuilder.loadTexts: moduleRampSpeedVoltage.setStatus('current') if mibBuilder.loadTexts: moduleRampSpeedVoltage.setDescription('The module voltage ramp speed (iseg HV modules have the same ramp speed value for all channels). ') module_ramp_speed_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 7), float()).setUnits('%').setMaxAccess('readwrite') if mibBuilder.loadTexts: moduleRampSpeedCurrent.setStatus('current') if mibBuilder.loadTexts: moduleRampSpeedCurrent.setDescription('The module current ramp speed (iseg HV modules have the same ramp speed value for all channels). ') module_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 8), bits().clone(namedValues=named_values(('moduleIsFineAdjustment', 0), ('moduleIsLiveInsertion', 2), ('moduleIsHighVoltageOn', 3), ('moduleNeedService', 4), ('moduleHardwareLimitVoltageIsGood', 5), ('moduleIsInputError', 6), ('moduleIsNoSumError', 8), ('moduleIsNoRamp', 9), ('moduleSafetyLoopIsGood', 10), ('moduleIsEventActive', 11), ('moduleIsGood', 12), ('moduleSupplyIsGood', 13), ('moduleTemperatureIsGood', 14), ('moduleIsKillEnable', 15)))).setMaxAccess('readonly') if mibBuilder.loadTexts: moduleStatus.setStatus('current') if mibBuilder.loadTexts: moduleStatus.setDescription('A bit string which shows the current module status. If a bit is set (1), the explanation is satisfied: moduleIsFineAdjustment (0), Module has reached state fine adjustment. moduleIsLiveInsertion (2), Module is in state live insertion. moduleNeedService (4), Hardware failure detected (consult iseg Spezialelektronik GmbH). moduleIsHardwareLimitVoltageGood (5), Hardware limit voltage in proper range, using for HV distributor modules with current mirror only. moduleIsInputError (6), Input error in connection with a module access. moduleIsNoSumError (8), All channels without any failure. moduleIsNoRamp (9), All channels stable, no is ramp active. moduleIsSafetyLoopGood (10), Safety loop is closed. moduleIsEventActive (11), Any event is active and mask is set. moduleIsGood (12), Module state is good. moduleIsSupplyGood (13), Power supply is good. moduleIsTemperatureGood (14), Module temperature is good. moduleIsKillEnable (15) Module state of kill enable. ') module_event_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 9), bits().clone(namedValues=named_values(('moduleEventPowerFail', 0), ('moduleEventLiveInsertion', 2), ('moduleEventService', 4), ('moduleHardwareLimitVoltageNotGood', 5), ('moduleEventInputError', 6), ('moduleEventSafetyLoopNotGood', 10), ('moduleEventSupplyNotGood', 13), ('moduleEventTemperatureNotGood', 14)))).setMaxAccess('readonly') if mibBuilder.loadTexts: moduleEventStatus.setStatus('current') if mibBuilder.loadTexts: moduleEventStatus.setDescription("A bit string which shows the current module status. If a bit is set (1), the explanation is satisfied: moduleEventPowerFail (0), Event power fail generated by the MPOD controller in order to ramp down all HV's (ramp speed=1000V/s) moduleEventLiveInsertion (2), Event live insertion to prepare a hot plug of a module moduleEventService (4), Module event: Hardware failure detected (consult iseg Spezialelektronik GmbH). moduleHardwareLimitVoltageNotGood (5), Module Event: Hardware voltage limit is not in proper range, using for HV distributor modules with current mirror only. moduleEventInputError (6), Module event: There was an input error in connection with a module access moduleEventSafetyLoopNotGood (10), Module event: Safety loop is open. moduleEventSupplyNotGood (13), Module event: At least one of the supplies is not good. moduleEventTemperatureNotGood (14), Module event: Temperature was above the permitted threshold (for EDS/EHS temperature above 55 degr.C) ") module_event_channel_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 10), bits().clone(namedValues=named_values(('channel0', 0), ('channel1', 1), ('channel2', 2), ('channel3', 3), ('channel4', 4), ('channel5', 5), ('channel6', 6), ('channel7', 7), ('channel8', 8), ('channel9', 9), ('channel10', 10), ('channel11', 11), ('channel12', 12), ('channel13', 13), ('channel14', 14), ('channel15', 15), ('channel16', 16), ('channel17', 17), ('channel18', 18), ('channel19', 19), ('channel20', 20), ('channel21', 21), ('channel22', 22), ('channel23', 23), ('channel24', 24), ('channel25', 25), ('channel26', 26), ('channel27', 27), ('channel28', 28), ('channel29', 29), ('channel30', 30), ('channel31', 31), ('channel32', 32), ('channel33', 33), ('channel34', 34), ('channel35', 35), ('channel36', 36), ('channel37', 37), ('channel38', 38), ('channel39', 39), ('channel40', 40), ('channel41', 41), ('channel42', 42), ('channel43', 43), ('channel44', 44), ('channel45', 45), ('channel46', 46), ('channel47', 47)))).setMaxAccess('readonly') if mibBuilder.loadTexts: moduleEventChannelStatus.setStatus('current') if mibBuilder.loadTexts: moduleEventChannelStatus.setDescription('Bit field that reserves one bit for every channel. bit 0 HV channel 0 bit 1 HV channel 1 bit x HV channel x ') module_do_clear = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('nothing', 0), ('doClear', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: moduleDoClear.setStatus('current') if mibBuilder.loadTexts: moduleDoClear.setDescription('All events of the module will be cleared.') module_auxiliary_measurement_temperature = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12)) if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature.setDescription('The number of auxiliary temperature sensors in the module.') module_auxiliary_measurement_temperature0 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 1), float()).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature0.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature0.setDescription('The measured module temperature of sensor 1.') module_auxiliary_measurement_temperature1 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 2), float()).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature1.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature1.setDescription('The measured module temperature of sensor 2.') module_auxiliary_measurement_temperature2 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 3), float()).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature2.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature2.setDescription('The measured module temperature of sensor 3.') module_auxiliary_measurement_temperature3 = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 12, 4), float()).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature3.setStatus('current') if mibBuilder.loadTexts: moduleAuxiliaryMeasurementTemperature3.setDescription('The measured module temperature of sensor 4.') module_config_data_s = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1024), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: moduleConfigDataS.setStatus('current') if mibBuilder.loadTexts: moduleConfigDataS.setDescription('Configuration Data raw access. This allows to read / write output channel specific system configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') module_config_data_u = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 3, 6, 1, 1025), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: moduleConfigDataU.setStatus('current') if mibBuilder.loadTexts: moduleConfigDataU.setDescription('Configuration Data raw access. This allows to read / write output channel specific user configuration data. This OID is intended for use by WIENER system software only and my not be accessed directly. snmpget: undefined behavior snmpset: OCTET STRING format for reading data (8 octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit OCTET STRING format returned from the SNMP client, or used for writing data (8+n octets): offsetInOctets 4 octets / 32 bit numberOfOctets 4 octets / 32 bit data numberOfOctets octets ') sensor_number = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: sensorNumber.setStatus('current') if mibBuilder.loadTexts: sensorNumber.setDescription('The number of temperature sensors of the crate.') sensor_table = mib_table((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2)) if mibBuilder.loadTexts: sensorTable.setStatus('current') if mibBuilder.loadTexts: sensorTable.setDescription('A (conceptual table) of temperature sensor data.') sensor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'sensorIndex')) if mibBuilder.loadTexts: sensorEntry.setStatus('current') if mibBuilder.loadTexts: sensorEntry.setDescription('An entry (conceptual row) of the sensorTable.') sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('temp1', 1), ('temp2', 2), ('temp3', 3), ('temp4', 4), ('temp5', 5), ('temp6', 6), ('temp7', 7), ('temp8', 8)))) if mibBuilder.loadTexts: sensorIndex.setStatus('current') if mibBuilder.loadTexts: sensorIndex.setDescription('A unique number for each temperature sensor in the crate') sensor_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: sensorTemperature.setStatus('current') if mibBuilder.loadTexts: sensorTemperature.setDescription('The measured temperature of the sensor. Unused temperature probes have the special value -128') sensor_warning_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 127))).setUnits('deg.C').setMaxAccess('readwrite') if mibBuilder.loadTexts: sensorWarningThreshold.setStatus('current') if mibBuilder.loadTexts: sensorWarningThreshold.setDescription('If the measured temperature of the sensor is higher than this value, the fan speed of the connected fan tray is increased. The value 127 has the special meaning: channel disabled. ') sensor_failure_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 127))).setUnits('deg.C').setMaxAccess('readwrite') if mibBuilder.loadTexts: sensorFailureThreshold.setStatus('current') if mibBuilder.loadTexts: sensorFailureThreshold.setDescription('If the measured temperature of the sensor is higher than this value, the power supply switches off. The value 127 has the special meaning: channel disabled. ') sensor_alarm_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 127))).setUnits('deg.C').setMaxAccess('readwrite') if mibBuilder.loadTexts: sensorAlarmThreshold.setStatus('current') if mibBuilder.loadTexts: sensorAlarmThreshold.setDescription('If the measured temperature of the sensor is much higher than this value, the fans rotate in full speed. The value 127 has the special meaning: channel disabled. ') sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(1, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: sensorName.setStatus('current') if mibBuilder.loadTexts: sensorName.setDescription('A textual string containing a short name of the sensor. If the crate is equipped with an alphanumeric display, this string is shown to identify a sensor channel. ') sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: sensorID.setStatus('current') if mibBuilder.loadTexts: sensorID.setDescription('Shows the 1-Wire Id of the corresponding Sensor.') sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 4, 2, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sensorStatus.setStatus('current') if mibBuilder.loadTexts: sensorStatus.setDescription('A bit field packed into an integer which define the Status of the Sensors after failures. For each Status value, a two-bit field exists. Bits-Value 00 Temperature is ok 01 Temperature is over WarningThreshold 10 Temperature is over AlarmThreshold 11 Temperature is over FailureThreshold The position of the bit fields in the integer value are: Bit 0, 1: Sensor1 Bit 2, 3: Sensor2 Bit 4, 5: Sensor3 Bit 6, 7: Sensor4 Bit 8, 9: Sensor5 Bit 10, 11: Sensor6 Bit 12, 13: Sensor7 Bit 14, 15: Sensor8') snmp = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1)) if mibBuilder.loadTexts: snmp.setStatus('current') if mibBuilder.loadTexts: snmp.setDescription('SNMP configuration.') snmp_community_table = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1)) if mibBuilder.loadTexts: snmpCommunityTable.setStatus('current') if mibBuilder.loadTexts: snmpCommunityTable.setDescription('The SNMP community string table for different views.') snmp_community_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'snmpAccessRight')) if mibBuilder.loadTexts: snmpCommunityEntry.setStatus('current') if mibBuilder.loadTexts: snmpCommunityEntry.setDescription('One table row.') snmp_access_right = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('public', 1), ('private', 2), ('admin', 3), ('guru', 4)))) if mibBuilder.loadTexts: snmpAccessRight.setStatus('current') if mibBuilder.loadTexts: snmpAccessRight.setDescription('A unique number for each access right') snmp_community_name = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpCommunityName.setStatus('current') if mibBuilder.loadTexts: snmpCommunityName.setDescription('The SNMP community names for different views. The rights of the different communities are: public no write access private can switch power on/off, generate system reset admin can change supervision levels guru can change output voltage & current (this may destroy hardware if done wrong!) Setting a community name to a zero-length string completly disables the access to this view. If there is no higher- privileged community, the community name can only changed by direct access to the crate (not via network)! ') snmp_port = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpPort.setStatus('current') if mibBuilder.loadTexts: snmpPort.setDescription('The UDP port number of the SNMP protocol. A value of 0 disables all future SNMP communication! ') http_port = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: httpPort.setStatus('current') if mibBuilder.loadTexts: httpPort.setDescription('The TCP port number of the HTTP (web) protocol. A value of 0 disables all HTTP access. ') firmware_update = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readwrite') if mibBuilder.loadTexts: firmwareUpdate.setStatus('current') if mibBuilder.loadTexts: firmwareUpdate.setDescription('Send a update String') ip_dynamic_address = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 11), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipDynamicAddress.setStatus('current') if mibBuilder.loadTexts: ipDynamicAddress.setDescription('Shows the Ip which is currently used') ip_static_address = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipStaticAddress.setStatus('current') if mibBuilder.loadTexts: ipStaticAddress.setDescription('Shows the Ip which is setted by user') mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 5, 1, 13), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: macAddress.setStatus('current') if mibBuilder.loadTexts: macAddress.setDescription('Shows the MAC of the corresponding device') can = object_identity((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2)) if mibBuilder.loadTexts: can.setStatus('current') if mibBuilder.loadTexts: can.setDescription('CAN-Bus tunnel via SNMP.') can_bit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: canBitRate.setStatus('current') if mibBuilder.loadTexts: canBitRate.setDescription('Control of the CAN-Bus. The value defines the bit rate of the CAN-bus interface. A write disconnects the CAN interface from the ISEG modules and connects it to the SNMP communication. Both the receive and transmit fifos are cleared and the CAN interface is initialized with the selected bit rate. The special bit rate 0 disables the tunnel and switches back to normal operation. ') can_receive = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 2), octet_string().subtype(subtypeSpec=value_size_constraint(14, 14)).setFixedLength(14)).setMaxAccess('readonly') if mibBuilder.loadTexts: canReceive.setStatus('current') if mibBuilder.loadTexts: canReceive.setDescription('Control of the CAN-Bus Receive FIFO. A read access returns the total number of CAN messages stored in the receive fifo and the oldest message. This message is removed from the fifo. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') can_transmit = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 3), octet_string().subtype(subtypeSpec=value_size_constraint(14, 14)).setFixedLength(14)).setMaxAccess('readwrite') if mibBuilder.loadTexts: canTransmit.setStatus('current') if mibBuilder.loadTexts: canTransmit.setDescription('Control of the CAN-Bus Transmit FIFO. A read access returns the total number of CAN messages stored in the transmit fifo and a NULL message. A write inserts the CAN message into the transmit fifo. This message will be transmitted via the CAN interface later. The total number of CAN messages stored in the transmit fifo and the recent message are returned. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') can_receive_hv = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 4), octet_string().subtype(subtypeSpec=value_size_constraint(14, 14)).setFixedLength(14)).setMaxAccess('readonly') if mibBuilder.loadTexts: canReceiveHv.setStatus('current') if mibBuilder.loadTexts: canReceiveHv.setDescription('Control of the internal HV CAN-Bus on the backplane Receive FIFO. A read access returns the total number of CAN messages stored in the receive fifo and the oldest message. This message is removed from the fifo. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') can_transmit_hv = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 5), octet_string().subtype(subtypeSpec=value_size_constraint(14, 14)).setFixedLength(14)).setMaxAccess('readwrite') if mibBuilder.loadTexts: canTransmitHv.setStatus('current') if mibBuilder.loadTexts: canTransmitHv.setDescription('Control of the internal HV CAN-Bus on the backplane. A write access with: CANID=0x600 DLC=4 DATAID=0x1001 CONTROL will switch the HV modules into a special state. CONTROL=0x0001 - enable SNMP CAN access, stop the refresh cycle for the data points of the name space CONTROL=0x0002 - disable SNMP CAN access, activate the refresh cycle for the data points of the name space A write access unequal to CANID=0x600 will be transmitted to the HV CAN on the backplane. Such a message will be transmitted immediately via the CAN interface. The OCTET STRING data is formatted according to the CANviaSNMP structure. ') can_bit_rate_hv = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 5, 2, 6), integer32().subtype(subtypeSpec=value_range_constraint(125000, 1000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: canBitRateHv.setStatus('current') if mibBuilder.loadTexts: canBitRateHv.setDescription('Control of the bit rate of the HV CAN-Bus. The value defines the bit rate of the CAN-bus interface. Possible Values are 125000 and 250000. Changing this value requires MPODC slave firmware 1.10 or above. ') ps_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: psSerialNumber.setStatus('current') if mibBuilder.loadTexts: psSerialNumber.setDescription('The serial number of the power supply.') ps_operating_time = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 3), integer32()).setUnits('s').setMaxAccess('readwrite') if mibBuilder.loadTexts: psOperatingTime.setStatus('current') if mibBuilder.loadTexts: psOperatingTime.setDescription('The time in seconds for how long the power supply was switched on.') ps_auxiliary_number = mib_scalar((1, 3, 6, 1, 4, 1, 19947, 1, 6, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: psAuxiliaryNumber.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryNumber.setDescription('The number of auxiliary channels of the power supply.') ps_auxiliary_table = mib_table((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5)) if mibBuilder.loadTexts: psAuxiliaryTable.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryTable.setDescription('A list of psAuxiliary entries.') ps_direct_access = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 1024), octet_string().subtype(subtypeSpec=value_size_constraint(1, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: psDirectAccess.setStatus('current') if mibBuilder.loadTexts: psDirectAccess.setDescription('Direct data transfer to the UEP6000 power supply. A read access returns nothing, a write access returns the response of the power supply. ') ps_auxiliary_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'psAuxiliaryIndex')) if mibBuilder.loadTexts: psAuxiliaryEntry.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryEntry.setDescription('A table row') ps_auxiliary_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('u0', 1), ('u1', 2), ('u2', 3), ('u3', 4), ('u4', 5), ('u5', 6), ('u6', 7), ('u7', 8)))) if mibBuilder.loadTexts: psAuxiliaryIndex.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryIndex.setDescription('A unique number for each power supply auxiliary channel. Its value ranges between 1 and total number of output channels. SMI index starts at 1, so index 1 corresponds to U0. ') ps_auxiliary_measurement_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 3), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: psAuxiliaryMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryMeasurementVoltage.setDescription('The measured power supply auxiliary output voltage.') ps_auxiliary_measurement_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 6, 5, 1, 4), float()).setUnits('A').setMaxAccess('readonly') if mibBuilder.loadTexts: psAuxiliaryMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: psAuxiliaryMeasurementCurrent.setDescription('The measured power supply auxiliary output current.') fan_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: fanSerialNumber.setStatus('current') if mibBuilder.loadTexts: fanSerialNumber.setDescription('The serial number of the fan tray.') fan_operating_time = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 3), integer32()).setUnits('s').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanOperatingTime.setStatus('current') if mibBuilder.loadTexts: fanOperatingTime.setDescription('The time in seconds for how long the fan tray was switched on.') fan_air_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 4), integer32()).setUnits('deg.C').setMaxAccess('readonly') if mibBuilder.loadTexts: fanAirTemperature.setStatus('current') if mibBuilder.loadTexts: fanAirTemperature.setDescription('The temperature of the fan tray inlet air.') fan_switch_off_delay = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 900))).setUnits('s').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanSwitchOffDelay.setStatus('current') if mibBuilder.loadTexts: fanSwitchOffDelay.setDescription('The maximum time in seconds for which the fans will continue running after the power supply has been switched off. This feature is used to cool down the electronics after switching off. ') fan_nominal_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 6), integer32()).setUnits('RPM').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanNominalSpeed.setStatus('current') if mibBuilder.loadTexts: fanNominalSpeed.setDescription('The nominal fan rotation speed (RPM, Revolutions Per Minute) Value 0 does switch off the fans (only allowed if at least one rack temperature sensor is present). Values 1..1199 are not allowed ') fan_number_of_fans = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 12))).setUnits('Fans').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanNumberOfFans.setStatus('current') if mibBuilder.loadTexts: fanNumberOfFans.setDescription('The number of installed fans') fan_speed_table = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8)) if mibBuilder.loadTexts: fanSpeedTable.setStatus('current') if mibBuilder.loadTexts: fanSpeedTable.setDescription('A list of fanSpeedEntries.') fan_speed_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'fanNumber')) if mibBuilder.loadTexts: fanSpeedEntry.setStatus('current') if mibBuilder.loadTexts: fanSpeedEntry.setDescription('A table row') fan_number = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12))) if mibBuilder.loadTexts: fanNumber.setStatus('current') if mibBuilder.loadTexts: fanNumber.setDescription('A unique number for each fan.') fan_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 8, 1, 2), integer32()).setUnits('RPM').setMaxAccess('readonly') if mibBuilder.loadTexts: fanSpeed.setStatus('current') if mibBuilder.loadTexts: fanSpeed.setDescription('The measured fan rotation speed (RPM, Revolutions Per Minute)') fan_max_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 9), integer32()).setUnits('RPM').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanMaxSpeed.setStatus('current') if mibBuilder.loadTexts: fanMaxSpeed.setDescription('The highest allowed rotationspeed of fan.') fan_min_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 10), integer32()).setUnits('RPM').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanMinSpeed.setStatus('current') if mibBuilder.loadTexts: fanMinSpeed.setDescription('The lowest allowed Rotationspeed of fan.') fan_config_max_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 11), integer32()).setUnits('RPM').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanConfigMaxSpeed.setStatus('current') if mibBuilder.loadTexts: fanConfigMaxSpeed.setDescription('Hardwarelimits. Can only set by WIENER.') fan_config_min_speed = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 7, 12), integer32()).setUnits('RPM').setMaxAccess('readwrite') if mibBuilder.loadTexts: fanConfigMinSpeed.setStatus('current') if mibBuilder.loadTexts: fanConfigMinSpeed.setDescription('Hardwarelimits Can only set by WIENER.') number_of_analog_inputs = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfAnalogInputs.setStatus('current') if mibBuilder.loadTexts: numberOfAnalogInputs.setDescription('The number of additional analog inputs of the crate.') analog_input_table = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2)) if mibBuilder.loadTexts: analogInputTable.setStatus('current') if mibBuilder.loadTexts: analogInputTable.setDescription('A (conceptual table) of analog input data.') analog_input_entry = mib_table_row((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1)).setIndexNames((0, 'WIENER-CRATE-MIB', 'analogInputIndex')) if mibBuilder.loadTexts: analogInputEntry.setStatus('current') if mibBuilder.loadTexts: analogInputEntry.setDescription('An entry (conceptual row) of the analogInputTable.') analog_input_index = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))) if mibBuilder.loadTexts: analogInputIndex.setStatus('current') if mibBuilder.loadTexts: analogInputIndex.setDescription('A unique number for each analog input of the crate') analog_measurement_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 2), float()).setUnits('V').setMaxAccess('readonly') if mibBuilder.loadTexts: analogMeasurementVoltage.setStatus('current') if mibBuilder.loadTexts: analogMeasurementVoltage.setDescription('The measured voltage of the analog input.') analog_measurement_current = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 2, 1, 3), float()).setUnits('A').setMaxAccess('readonly') if mibBuilder.loadTexts: analogMeasurementCurrent.setStatus('current') if mibBuilder.loadTexts: analogMeasurementCurrent.setDescription('The measured current of the analog input.') digital_input = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 5), bits().clone(namedValues=named_values(('d0', 0), ('d1', 1), ('d2', 2), ('d3', 3), ('d4', 4), ('d5', 5), ('d6', 6), ('d7', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: digitalInput.setStatus('current') if mibBuilder.loadTexts: digitalInput.setDescription('The value of the digital inputs.') digital_output = mib_table_column((1, 3, 6, 1, 4, 1, 19947, 1, 9, 6), bits().clone(namedValues=named_values(('d0', 0), ('d1', 1), ('d2', 2), ('d3', 3), ('d4', 4), ('d5', 5), ('d6', 6), ('d7', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: digitalOutput.setStatus('current') if mibBuilder.loadTexts: digitalOutput.setDescription('The value of the digital outputs.') mibBuilder.exportSymbols('WIENER-CRATE-MIB', outputIndex=outputIndex, sysStatus=sysStatus, outputTripActionMaxPower=outputTripActionMaxPower, outputSupervisionMaxCurrent=outputSupervisionMaxCurrent, sysDebugMemory32=sysDebugMemory32, outputMeasurementSenseVoltage=outputMeasurementSenseVoltage, fanMaxSpeed=fanMaxSpeed, sysDebugBoot=sysDebugBoot, sensorStatus=sensorStatus, snmpCommunityEntry=snmpCommunityEntry, sensorTemperature=sensorTemperature, moduleRampSpeedVoltage=moduleRampSpeedVoltage, fanSerialNumber=fanSerialNumber, powersupply=powersupply, outputAdjustVoltage=outputAdjustVoltage, snmp=snmp, outputTripTimeMaxPower=outputTripTimeMaxPower, outputNumber=outputNumber, wiener=wiener, outputConfigDataU=outputConfigDataU, moduleRampSpeedCurrent=moduleRampSpeedCurrent, snmpPort=snmpPort, sensorFailureThreshold=sensorFailureThreshold, fanSwitchOffDelay=fanSwitchOffDelay, outputStatus=outputStatus, outputTripActionMaxSenseVoltage=outputTripActionMaxSenseVoltage, fanSpeedTable=fanSpeedTable, rack=rack, outputConfigMaxSenseVoltage=outputConfigMaxSenseVoltage, outputConfigGainCurrent=outputConfigGainCurrent, outputConfigMaxCurrent=outputConfigMaxCurrent, moduleNumber=moduleNumber, psSerialNumber=psSerialNumber, fanNumberOfFans=fanNumberOfFans, outputConfigMaxTemperature=outputConfigMaxTemperature, OutputTripTime=OutputTripTime, outputMeasurementCurrent=outputMeasurementCurrent, can=can, analogInputEntry=analogInputEntry, outputConfigOffsetTerminalVoltage=outputConfigOffsetTerminalVoltage, moduleHardwareLimitVoltage=moduleHardwareLimitVoltage, sensorID=sensorID, outputTripTimeMaxTemperature=outputTripTimeMaxTemperature, moduleAuxiliaryMeasurementVoltage1=moduleAuxiliaryMeasurementVoltage1, outputConfigGainTerminalVoltage=outputConfigGainTerminalVoltage, firmwareUpdate=firmwareUpdate, outputTripActionMaxTerminalVoltage=outputTripActionMaxTerminalVoltage, outputMeasurementTerminalVoltage=outputMeasurementTerminalVoltage, httpPort=httpPort, psOperatingTime=psOperatingTime, outputTripActionTimeout=outputTripActionTimeout, outputCurrent=outputCurrent, fanNominalSpeed=fanNominalSpeed, outputSupervisionMaxPower=outputSupervisionMaxPower, outputCurrentRiseRate=outputCurrentRiseRate, groupsSwitch=groupsSwitch, moduleAuxiliaryMeasurementTemperature2=moduleAuxiliaryMeasurementTemperature2, outputSupervisionMinSenseVoltage=outputSupervisionMinSenseVoltage, snmpCommunityName=snmpCommunityName, outputVoltage=outputVoltage, outputRegulationMode=outputRegulationMode, ipStaticAddress=ipStaticAddress, moduleHardwareLimitCurrent=moduleHardwareLimitCurrent, moduleAuxiliaryMeasurementVoltage0=moduleAuxiliaryMeasurementVoltage0, sensorEntry=sensorEntry, digitalInput=digitalInput, fanConfigMaxSpeed=fanConfigMaxSpeed, moduleAuxiliaryMeasurementTemperature1=moduleAuxiliaryMeasurementTemperature1, sensorAlarmThreshold=sensorAlarmThreshold, canTransmit=canTransmit, outputSupervisionMaxSenseVoltage=outputSupervisionMaxSenseVoltage, sysConfigDoMeasurementCurrent=sysConfigDoMeasurementCurrent, outputVoltageFallRate=outputVoltageFallRate, outputTripTimeMinSenseVoltage=outputTripTimeMinSenseVoltage, macAddress=macAddress, sensorName=sensorName, fanSpeed=fanSpeed, fantray=fantray, outputTripTimeTimeout=outputTripTimeTimeout, moduleEventChannelStatus=moduleEventChannelStatus, sensorNumber=sensorNumber, canReceive=canReceive, canReceiveHv=canReceiveHv, psAuxiliaryTable=psAuxiliaryTable, outputHardwareLimitCurrent=outputHardwareLimitCurrent, sysVmeSysReset=sysVmeSysReset, moduleAuxiliaryMeasurementVoltage=moduleAuxiliaryMeasurementVoltage, canBitRateHv=canBitRateHv, fanAirTemperature=fanAirTemperature, numberOfAnalogInputs=numberOfAnalogInputs, outputTripTimeMaxTerminalVoltage=outputTripTimeMaxTerminalVoltage, outputGroup=outputGroup, outputSupervisionMaxTerminalVoltage=outputSupervisionMaxTerminalVoltage, moduleDoClear=moduleDoClear, fanMinSpeed=fanMinSpeed, OutputTripAction=OutputTripAction, outputTable=outputTable, groupsIndex=groupsIndex, crate=crate, outputTripActionMaxTemperature=outputTripActionMaxTemperature, sysDebugMemory16=sysDebugMemory16, moduleEventStatus=moduleEventStatus, sysDebugDisplay=sysDebugDisplay, psAuxiliaryEntry=psAuxiliaryEntry, signal=signal, analogMeasurementVoltage=analogMeasurementVoltage, outputUserConfig=outputUserConfig, moduleAuxiliaryMeasurementTemperature=moduleAuxiliaryMeasurementTemperature, sysFactoryDefaults=sysFactoryDefaults, analogInputTable=analogInputTable, sysOperatingTime=sysOperatingTime, psAuxiliaryMeasurementCurrent=psAuxiliaryMeasurementCurrent, snmpAccessRight=snmpAccessRight, sensorTable=sensorTable, outputVoltageRiseRate=outputVoltageRiseRate, psDirectAccess=psDirectAccess, outputSupervisionMaxTemperature=outputSupervisionMaxTemperature, output=output, sysHardwareReset=sysHardwareReset, outputConfigGainSenseVoltage=outputConfigGainSenseVoltage, moduleAuxiliaryMeasurementTemperature3=moduleAuxiliaryMeasurementTemperature3, snmpCommunityTable=snmpCommunityTable, psAuxiliaryNumber=psAuxiliaryNumber, moduleConfigDataU=moduleConfigDataU, moduleEntry=moduleEntry, outputSwitch=outputSwitch, fanNumber=fanNumber, outputTripActionMaxCurrent=outputTripActionMaxCurrent, outputCurrentFallRate=outputCurrentFallRate, outputTripTimeMaxSenseVoltage=outputTripTimeMaxSenseVoltage, groupsEntry=groupsEntry, canTransmitHv=canTransmitHv, fanSpeedEntry=fanSpeedEntry, sysDebugMemory8=sysDebugMemory8, PYSNMP_MODULE_ID=wiener, outputSupervisionBehavior=outputSupervisionBehavior, moduleStatus=moduleStatus, moduleDescription=moduleDescription, outputConfigOffsetSenseVoltage=outputConfigOffsetSenseVoltage, moduleTable=moduleTable, outputResistance=outputResistance, sensorIndex=sensorIndex, outputConfigDataS=outputConfigDataS, moduleConfigDataS=moduleConfigDataS, psAuxiliaryMeasurementVoltage=psAuxiliaryMeasurementVoltage, analogInputIndex=analogInputIndex, moduleIndex=moduleIndex, moduleAuxiliaryMeasurementTemperature0=moduleAuxiliaryMeasurementTemperature0, fanOperatingTime=fanOperatingTime, outputConfigMaxTerminalVoltage=outputConfigMaxTerminalVoltage, digitalOutput=digitalOutput, outputName=outputName, ipDynamicAddress=ipDynamicAddress, outputHardwareLimitVoltage=outputHardwareLimitVoltage, sysMainSwitch=sysMainSwitch, groupsTable=groupsTable, sensorWarningThreshold=sensorWarningThreshold, psAuxiliaryIndex=psAuxiliaryIndex, outputTripActionMinSenseVoltage=outputTripActionMinSenseVoltage, outputTripActionExternalInhibit=outputTripActionExternalInhibit, sysDebug=sysDebug, outputEntry=outputEntry, fanConfigMinSpeed=fanConfigMinSpeed, analogMeasurementCurrent=analogMeasurementCurrent, outputConfigOffsetCurrent=outputConfigOffsetCurrent, sensor=sensor, outputMeasurementTemperature=outputMeasurementTemperature, outputTripTimeMaxCurrent=outputTripTimeMaxCurrent, Float=Float, groupsNumber=groupsNumber, canBitRate=canBitRate, input=input, communication=communication, system=system)
#!/usr/bin/env python # -*- coding: utf-8 -*- # Source code meta data __author__ = 'Dalwar Hossain' __email__ = 'dalwar.hossain@protonmail.com' # Version __version__ = '1.1' __release__ = '1.1'
__author__ = 'Dalwar Hossain' __email__ = 'dalwar.hossain@protonmail.com' __version__ = '1.1' __release__ = '1.1'
__version__ = '0.12.1' __prog_name__ = 'DOLfYN' __version_date__ = 'May-07-2020' def ver2tuple(ver): if isinstance(ver, tuple): return ver # ### Previously used FLOATS for 'save-format' versioning. # Version 1.0: underscore ('_') handled inconsistently. # Version 1.1: '_' and '#' handled consistently in group naming: # '#' is for groups that should be excluded, unless listed explicitly. # '##' and ending with '##' is for specially handled groups. # Version 1.2: now using time_array. # '_' is for essential groups. # Version 1.3: Now load/unload is fully symmetric (needed for __eq__ tests) # Added _config_type to i/o. if isinstance(ver, (float, int)): return (0, int(ver), int(round(10 * (ver % 1)))) # ### Now switched to use pkg_version STRING. # Switch to pkg_version STRING (pkg_version 0.6) # Now 'old versions' become '0.x.y' # ver becomes a tuple. out = [] for val in ver.split('.'): try: val = int(val) except ValueError: pass out.append(val) return tuple(out) version_info = ver2tuple(__version__)
__version__ = '0.12.1' __prog_name__ = 'DOLfYN' __version_date__ = 'May-07-2020' def ver2tuple(ver): if isinstance(ver, tuple): return ver if isinstance(ver, (float, int)): return (0, int(ver), int(round(10 * (ver % 1)))) out = [] for val in ver.split('.'): try: val = int(val) except ValueError: pass out.append(val) return tuple(out) version_info = ver2tuple(__version__)
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0615522, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251035, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.364373, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.189927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.328886, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.188625, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.707438, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.131872, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.75365, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0688379, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00688502, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0715316, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0509189, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.14037, 'Execution Unit/Register Files/Runtime Dynamic': 0.057804, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.189713, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.537473, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 1.95913, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000131425, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000131425, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000113736, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 4.36269e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000731455, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00110804, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00128637, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0489497, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.11362, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.119108, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.166255, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.48556, 'Instruction Fetch Unit/Runtime Dynamic': 0.336707, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.141075, 'L2/Runtime Dynamic': 0.0366513, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.30829, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04115, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0670072, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0670072, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.626, 'Load Store Unit/Runtime Dynamic': 1.43862, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.165228, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.330457, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0586401, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0607512, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.193593, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0195491, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.453469, 'Memory Management Unit/Runtime Dynamic': 0.0803003, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 20.0214, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.240161, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0126018, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0960641, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.348827, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 4.20023, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0283133, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.224927, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.147891, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.056089, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0904695, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.045666, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.192225, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0414757, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.1673, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0279397, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00235263, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0278161, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0173991, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0557559, 'Execution Unit/Register Files/Runtime Dynamic': 0.0197517, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0656807, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.170502, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.01278, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.01195e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.01195e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.4907e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.34928e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00024994, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000365086, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000385987, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0167262, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.06393, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0389778, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0568097, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.33408, 'Instruction Fetch Unit/Runtime Dynamic': 0.113265, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0431929, 'L2/Runtime Dynamic': 0.0133415, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.94103, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.356665, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.022773, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0227729, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.04856, 'Load Store Unit/Runtime Dynamic': 0.491746, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0561544, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.112308, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0199294, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0205755, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0661511, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00639738, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.256495, 'Memory Management Unit/Runtime Dynamic': 0.0269728, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.4391, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0734969, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00342502, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0274434, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.104365, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.76247, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0215805, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.219639, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.131279, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.0526619, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0849416, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0428757, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.180479, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0401025, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.12402, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0248013, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00220887, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.023453, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.016336, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0482543, 'Execution Unit/Register Files/Runtime Dynamic': 0.0185449, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0548052, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.155662, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 0.979702, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.35133e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.35133e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.77511e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.45326e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000234668, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000359445, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000422522, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0157042, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 0.99892, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0386381, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0533385, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.26591, 'Instruction Fetch Unit/Runtime Dynamic': 0.108463, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0431776, 'L2/Runtime Dynamic': 0.0123726, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.89103, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.331189, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0211555, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0211555, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 1.99093, 'Load Store Unit/Runtime Dynamic': 0.456677, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0521659, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.104332, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0185138, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0191604, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0621092, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0063403, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.250022, 'Memory Management Unit/Runtime Dynamic': 0.0255007, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.2635, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0652409, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00316993, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0258901, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.094301, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.67702, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0209712, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.219161, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.128627, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.0509425, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0821684, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0414758, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.174587, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0385432, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.11593, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0243004, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00213676, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0226775, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0158026, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.046978, 'Execution Unit/Register Files/Runtime Dynamic': 0.0179394, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0530192, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.151148, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 0.968212, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.29935e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.29935e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.73035e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.43622e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000227006, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000350296, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000417352, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0151915, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 0.96631, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0376411, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0515971, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.23172, 'Instruction Fetch Unit/Runtime Dynamic': 0.105197, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0411216, 'L2/Runtime Dynamic': 0.0120555, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.87156, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.321777, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0205255, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0205255, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 1.96848, 'Load Store Unit/Runtime Dynamic': 0.443528, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0506125, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.101225, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0179625, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0185781, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0600816, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00617672, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.247047, 'Memory Management Unit/Runtime Dynamic': 0.0247549, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.1938, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0639232, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00307632, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0250125, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0920121, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.64576, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 8.52743213010311, 'Runtime Dynamic': 8.52743213010311, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.453471, 'Runtime Dynamic': 0.173055, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 60.3713, 'Peak Power': 93.4836, 'Runtime Dynamic': 9.45853, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 59.9179, 'Total Cores/Runtime Dynamic': 9.28548, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.453471, 'Total L3s/Runtime Dynamic': 0.173055, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0615522, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251035, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.364373, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.189927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.328886, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.188625, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.707438, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.131872, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.75365, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0688379, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00688502, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0715316, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0509189, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.14037, 'Execution Unit/Register Files/Runtime Dynamic': 0.057804, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.189713, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.537473, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 1.95913, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000131425, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000131425, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000113736, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 4.36269e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000731455, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00110804, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00128637, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0489497, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.11362, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.119108, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.166255, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.48556, 'Instruction Fetch Unit/Runtime Dynamic': 0.336707, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.141075, 'L2/Runtime Dynamic': 0.0366513, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.30829, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04115, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0670072, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0670072, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.626, 'Load Store Unit/Runtime Dynamic': 1.43862, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.165228, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.330457, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0586401, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0607512, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.193593, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0195491, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.453469, 'Memory Management Unit/Runtime Dynamic': 0.0803003, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 20.0214, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.240161, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0126018, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0960641, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.348827, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 4.20023, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0283133, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.224927, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.147891, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.056089, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0904695, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.045666, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.192225, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0414757, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.1673, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0279397, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00235263, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0278161, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0173991, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0557559, 'Execution Unit/Register Files/Runtime Dynamic': 0.0197517, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0656807, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.170502, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.01278, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.01195e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.01195e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.4907e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.34928e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00024994, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000365086, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000385987, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0167262, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.06393, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0389778, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0568097, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.33408, 'Instruction Fetch Unit/Runtime Dynamic': 0.113265, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0431929, 'L2/Runtime Dynamic': 0.0133415, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.94103, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.356665, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.022773, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0227729, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.04856, 'Load Store Unit/Runtime Dynamic': 0.491746, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0561544, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.112308, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0199294, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0205755, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0661511, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00639738, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.256495, 'Memory Management Unit/Runtime Dynamic': 0.0269728, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.4391, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0734969, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00342502, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0274434, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.104365, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.76247, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0215805, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.219639, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.131279, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.0526619, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0849416, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0428757, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.180479, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0401025, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.12402, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0248013, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00220887, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.023453, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.016336, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0482543, 'Execution Unit/Register Files/Runtime Dynamic': 0.0185449, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0548052, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.155662, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 0.979702, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.35133e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.35133e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.77511e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.45326e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000234668, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000359445, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000422522, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0157042, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 0.99892, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0386381, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0533385, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.26591, 'Instruction Fetch Unit/Runtime Dynamic': 0.108463, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0431776, 'L2/Runtime Dynamic': 0.0123726, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.89103, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.331189, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0211555, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0211555, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 1.99093, 'Load Store Unit/Runtime Dynamic': 0.456677, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0521659, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.104332, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0185138, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0191604, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0621092, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0063403, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.250022, 'Memory Management Unit/Runtime Dynamic': 0.0255007, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.2635, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0652409, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00316993, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0258901, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.094301, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.67702, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0209712, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.219161, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.128627, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.0509425, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.0821684, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0414758, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.174587, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0385432, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.11593, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0243004, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00213676, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0226775, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0158026, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.046978, 'Execution Unit/Register Files/Runtime Dynamic': 0.0179394, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0530192, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.151148, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 0.968212, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 4.29935e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 4.29935e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 3.73035e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 1.43622e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000227006, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000350296, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000417352, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0151915, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 0.96631, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0376411, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0515971, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 3.23172, 'Instruction Fetch Unit/Runtime Dynamic': 0.105197, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0411216, 'L2/Runtime Dynamic': 0.0120555, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 1.87156, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.321777, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0205255, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0205255, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 1.96848, 'Load Store Unit/Runtime Dynamic': 0.443528, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.0506125, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.101225, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0179625, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0185781, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.0600816, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00617672, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.247047, 'Memory Management Unit/Runtime Dynamic': 0.0247549, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 13.1938, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0639232, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00307632, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0250125, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.0920121, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 1.64576, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 8.52743213010311, 'Runtime Dynamic': 8.52743213010311, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.453471, 'Runtime Dynamic': 0.173055, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 60.3713, 'Peak Power': 93.4836, 'Runtime Dynamic': 9.45853, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 59.9179, 'Total Cores/Runtime Dynamic': 9.28548, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.453471, 'Total L3s/Runtime Dynamic': 0.173055, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
def find_deletions(friends_file_path, new_friends_list): deleted = "" f1 = open(friends_file_path, "r") data2 = new_friends_list for line in f1: if data2.find(line) == -1: print ("--" +line), deleted += line f1.close() return deleted def find_additions(friends_file_path, new_friends_list): added = "" f2 = open(friends_file_path, "r") data1 = new_friends_list for line in f2: if data1.find(line) == -1: print ("++" +line), added += line f2.close() return added def find_mutual_friends(path1, path2): f1 = open(path1, "r") f2 = open(path2, "r") data2 = f2.read() for line in f1: if data2.find(line) != -1: print ("mutuals: " + line), f1.close() f2.close()
def find_deletions(friends_file_path, new_friends_list): deleted = '' f1 = open(friends_file_path, 'r') data2 = new_friends_list for line in f1: if data2.find(line) == -1: (print('--' + line),) deleted += line f1.close() return deleted def find_additions(friends_file_path, new_friends_list): added = '' f2 = open(friends_file_path, 'r') data1 = new_friends_list for line in f2: if data1.find(line) == -1: (print('++' + line),) added += line f2.close() return added def find_mutual_friends(path1, path2): f1 = open(path1, 'r') f2 = open(path2, 'r') data2 = f2.read() for line in f1: if data2.find(line) != -1: (print('mutuals: ' + line),) f1.close() f2.close()
# Copyright 2013 Daniel Stokes, Mitchell Stokes # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. def get_condition(args): return CONDITION_LUT[args[0]](*args[1:]) class AlwaysCondition: __slots__ = [] def test(self, data): return True class RangeCondition: __slots__ = ["property", "min", "max"] def __init__(self, prop, _min, _max): self.property = prop if type(_min) in (str, unicode): _min = float(_min) if type(_max) in (str, unicode): _max = float(_max) self.min = _min self.max = _max def test(self, data): return self.min < getattr(data, self.property) < self.max CONDITION_LUT = { "VALUE": RangeCondition, "ALWAYS": AlwaysCondition, }
def get_condition(args): return CONDITION_LUT[args[0]](*args[1:]) class Alwayscondition: __slots__ = [] def test(self, data): return True class Rangecondition: __slots__ = ['property', 'min', 'max'] def __init__(self, prop, _min, _max): self.property = prop if type(_min) in (str, unicode): _min = float(_min) if type(_max) in (str, unicode): _max = float(_max) self.min = _min self.max = _max def test(self, data): return self.min < getattr(data, self.property) < self.max condition_lut = {'VALUE': RangeCondition, 'ALWAYS': AlwaysCondition}
__title__ = 'pinecone-backend' __summary__ = 'Domain.' __version__ = '0.0.1-dev' __license__ = 'All rights reserved.' __uri__ = 'http://vigotech.org/' __author__ = 'VigoTech' __email__ = 'alliance@vigotech.org'
__title__ = 'pinecone-backend' __summary__ = 'Domain.' __version__ = '0.0.1-dev' __license__ = 'All rights reserved.' __uri__ = 'http://vigotech.org/' __author__ = 'VigoTech' __email__ = 'alliance@vigotech.org'
''' This problem was asked by Facebook. Implement regular expression matching with the following special characters: . (period) which matches any single character * (asterisk) which matches zero or more of the preceding element That is, implement a function that takes in a string and a valid regular expression and returns whether or not the string matches the regular expression. For example, given the regular expression "ra." and the string "ray", your function should return true. The same regular expression on the string "raymond" should return false. Given the regular expression ".*at" and the string "chat", your function should return true. The same regular expression on the string "chats" should return false. ''' memo_table = {} # store what strings are True or False def check_regular(reg_exp, string): if (reg_exp, string) in memo_table: # return if in memo_table return memo_table[(reg_exp, string)] if len(reg_exp)==0 and len(string)==0: # both stings empty memo_table[(reg_exp, string)] = True return memo_table[(reg_exp, string)] # string is empty but a 'char*...' like reg expression is left, see if we can end it if len(reg_exp) > 1 and reg_exp[1] == '*' and len(string)==0: memo_table[(reg_exp, string)] = check_regular(reg_exp[2:], string) return memo_table[(reg_exp, string)] if len(reg_exp)==0 and len(string)!=0: # string is still remaining memo_table[(reg_exp, string)] = False return memo_table[(reg_exp, string)] if len(reg_exp)!=0 and len(string)==0: # reg_exp is still remaining memo_table[(reg_exp, string)] = False return memo_table[(reg_exp, string)] # matched the first char, store result it as bool first_char_match = True if reg_exp[0] == string[0] or reg_exp[0] == '.' else False if len(reg_exp) > 1 and reg_exp[1] == '*': if first_char_match: # if True, check by matching or ignoring the 'char*' memo_table[(reg_exp, string)] = check_regular(reg_exp[2:], string) or check_regular(reg_exp, string[1:]) else: # ignore the 'char*', it didn't match memo_table[(reg_exp, string)] = check_regular(reg_exp[2:], string) elif first_char_match: # got a match memo_table[(reg_exp, string)] = check_regular(reg_exp[1:], string[1:]) else: # got no match memo_table[(reg_exp, string)] = False return memo_table[(reg_exp, string)] if __name__ == '__main__': # "aab" # "c*a*b" # reg_exp = ".*" string = "aab" print(check_regular(reg_exp,string))
""" This problem was asked by Facebook. Implement regular expression matching with the following special characters: . (period) which matches any single character * (asterisk) which matches zero or more of the preceding element That is, implement a function that takes in a string and a valid regular expression and returns whether or not the string matches the regular expression. For example, given the regular expression "ra." and the string "ray", your function should return true. The same regular expression on the string "raymond" should return false. Given the regular expression ".*at" and the string "chat", your function should return true. The same regular expression on the string "chats" should return false. """ memo_table = {} def check_regular(reg_exp, string): if (reg_exp, string) in memo_table: return memo_table[reg_exp, string] if len(reg_exp) == 0 and len(string) == 0: memo_table[reg_exp, string] = True return memo_table[reg_exp, string] if len(reg_exp) > 1 and reg_exp[1] == '*' and (len(string) == 0): memo_table[reg_exp, string] = check_regular(reg_exp[2:], string) return memo_table[reg_exp, string] if len(reg_exp) == 0 and len(string) != 0: memo_table[reg_exp, string] = False return memo_table[reg_exp, string] if len(reg_exp) != 0 and len(string) == 0: memo_table[reg_exp, string] = False return memo_table[reg_exp, string] first_char_match = True if reg_exp[0] == string[0] or reg_exp[0] == '.' else False if len(reg_exp) > 1 and reg_exp[1] == '*': if first_char_match: memo_table[reg_exp, string] = check_regular(reg_exp[2:], string) or check_regular(reg_exp, string[1:]) else: memo_table[reg_exp, string] = check_regular(reg_exp[2:], string) elif first_char_match: memo_table[reg_exp, string] = check_regular(reg_exp[1:], string[1:]) else: memo_table[reg_exp, string] = False return memo_table[reg_exp, string] if __name__ == '__main__': reg_exp = '.*' string = 'aab' print(check_regular(reg_exp, string))
def permutations_with_dups(string): hash_table = {} permutations = [] for character in string: if character in hash_table: hash_table[character] += 1 else: hash_table[character] = 1 helper('', hash_table, permutations) return permutations def helper(string, hash_table, permutations): if sum(hash_table.values()) <= 0: permutations.append(string) else: for character in hash_table: local_hash_table = hash_table.copy() if local_hash_table[character] <= 1: local_hash_table.pop(character, None) else: local_hash_table[character] -= 1 helper(string + character, local_hash_table, permutations)
def permutations_with_dups(string): hash_table = {} permutations = [] for character in string: if character in hash_table: hash_table[character] += 1 else: hash_table[character] = 1 helper('', hash_table, permutations) return permutations def helper(string, hash_table, permutations): if sum(hash_table.values()) <= 0: permutations.append(string) else: for character in hash_table: local_hash_table = hash_table.copy() if local_hash_table[character] <= 1: local_hash_table.pop(character, None) else: local_hash_table[character] -= 1 helper(string + character, local_hash_table, permutations)
# # @lc app=leetcode id=1004 lang=python3 # # [1004] Max Consecutive Ones III # # https://leetcode.com/problems/max-consecutive-ones-iii/description/ # # algorithms # Medium (61.32%) # Likes: 2593 # Dislikes: 40 # Total Accepted: 123.4K # Total Submissions: 202.1K # Testcase Example: '[1,1,1,0,0,0,1,1,1,1,0]\n2' # # Given a binary array nums and an integer k, return the maximum number of # consecutive 1's in the array if you can flip at most k 0's. # # # Example 1: # # # Input: nums = [1,1,1,0,0,0,1,1,1,1,0], k = 2 # Output: 6 # Explanation: [1,1,1,0,0,1,1,1,1,1,1] # Bolded numbers were flipped from 0 to 1. The longest subarray is underlined. # # Example 2: # # # Input: nums = [0,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,1,1], k = 3 # Output: 10 # Explanation: [0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1] # Bolded numbers were flipped from 0 to 1. The longest subarray is # underlined. # # # # Constraints: # # # 1 <= nums.length <= 10^5 # nums[i] is either 0 or 1. # 0 <= k <= nums.length # # # # @lc code=start class Solution: def longestOnes(self, nums: List[int], k: int) -> int: if not nums or len(nums) == 0: return 0 left, right = 0, 0 if nums[right] == 0: k -= 1 n = len(nums) max_length = 0 for left in range(n): while right + 1 < n and ( (k > 0) or nums[right + 1] == 1 ): if nums[right + 1] == 0: k -= 1 right += 1 if k >= 0: max_length = max(max_length, right - left + 1) if nums[left] == 0: k += 1 return max_length # @lc code=end
class Solution: def longest_ones(self, nums: List[int], k: int) -> int: if not nums or len(nums) == 0: return 0 (left, right) = (0, 0) if nums[right] == 0: k -= 1 n = len(nums) max_length = 0 for left in range(n): while right + 1 < n and (k > 0 or nums[right + 1] == 1): if nums[right + 1] == 0: k -= 1 right += 1 if k >= 0: max_length = max(max_length, right - left + 1) if nums[left] == 0: k += 1 return max_length
SECRET_KEY = "fake-key" DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", } } INSTALLED_APPS = [ "django.contrib.auth", "django.contrib.contenttypes", "rest_email_manager", ] TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", "APP_DIRS": True, }, ] ROOT_URLCONF = "tests.urls" REST_EMAIL_MANAGER = { "EMAIL_VERIFICATION_URL": "https://example.com/verify/{key}" }
secret_key = 'fake-key' databases = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:'}} installed_apps = ['django.contrib.auth', 'django.contrib.contenttypes', 'rest_email_manager'] templates = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True}] root_urlconf = 'tests.urls' rest_email_manager = {'EMAIL_VERIFICATION_URL': 'https://example.com/verify/{key}'}
photos = Photo.objects.all() captions = [] for idx, photo in enumerate(photos): if idx > 2: break thumbnail_path = photo.thumbnail.url with open("." + thumbnail_path, "rb") as image_file: encoded_string = base64.b64encode(image_file.read()) encoded_string = str(encoded_string)[2:-1] resp_captions = requests.post("http://localhost:5000/", data=encoded_string) captions.append(resp_captions.json())
photos = Photo.objects.all() captions = [] for (idx, photo) in enumerate(photos): if idx > 2: break thumbnail_path = photo.thumbnail.url with open('.' + thumbnail_path, 'rb') as image_file: encoded_string = base64.b64encode(image_file.read()) encoded_string = str(encoded_string)[2:-1] resp_captions = requests.post('http://localhost:5000/', data=encoded_string) captions.append(resp_captions.json())
def quickSort(my_array): qshelper(my_array, 0, len(my_array) - 1) return my_array def qshelper(my_array, start, end): if start >= end: return pivot = start left = start + 1 right = end while right >= left: if my_array[left] > my_array[pivot] and my_array[right] < my_array[pivot]: my_array[left], my_array[right] = my_array[right], my_array[left] if my_array[left] <= my_array[pivot]: left += 1 if my_array[right] >= my_array[pivot]: right -= 1 my_array[pivot], my_array[right] = my_array[right], my_array[pivot] qshelper(my_array, start, right - 1) qshelper(my_array, right + 1, end)
def quick_sort(my_array): qshelper(my_array, 0, len(my_array) - 1) return my_array def qshelper(my_array, start, end): if start >= end: return pivot = start left = start + 1 right = end while right >= left: if my_array[left] > my_array[pivot] and my_array[right] < my_array[pivot]: (my_array[left], my_array[right]) = (my_array[right], my_array[left]) if my_array[left] <= my_array[pivot]: left += 1 if my_array[right] >= my_array[pivot]: right -= 1 (my_array[pivot], my_array[right]) = (my_array[right], my_array[pivot]) qshelper(my_array, start, right - 1) qshelper(my_array, right + 1, end)
class Category: def __init__(self, name): self.name = name self.ledger = [] def __str__(self): l = len(self.name) n1 = 15-int(l/2) n2 = 30-(n1+l) title = "*"*n1+self.name+"*"*n2+"\n" summary = "" for item in self.ledger: a= format(item["amount"], '.2f')[0:6] d = item["description"][0:23] sl = 30 - len(a)-len(d) summary = summary + d + " " * sl + a + "\n" total = "Total: " + str(self.get_balance()) summary = title + summary + total return summary def deposit(self, amount, description=""): self.ledger.append({"amount": amount, "description": description}) def withdraw(self, amount, description=""): if amount <= self.get_balance(): self.ledger.append({"amount": amount*-1, "description": description}) return True else: return False def get_balance(self): nums = [d["amount"] for d in self.ledger] return float(sum(nums)) def transfer(self, amount, category): # transfers $ from this category to another if self.check_funds(amount) == True: wd = "Transfer to " + category.name dd = "Transfer from " + self.name self.withdraw(amount, wd) category.deposit(amount, dd) return True else: return False def check_funds(self, amount): b = self.get_balance() if amount > b : return False else: return True def check_spending(self): nums = [d["amount"] for d in self.ledger] spen = [num for num in nums if num < 0] spending = -sum(spen) return format(spending, '.2f') def create_spend_chart(categories): title = "Percentage spent by category" dashes = " "*4 + "-"*(len(categories)*3+1) width = 4+len(dashes) y = reversed(range(0,101,10)) spending = [] name_max = 0 for category in categories: num = float(category.check_spending()) spending.append(num) if len(category.name) > name_max: name_max = len(category.name) total_spending = sum(spending) chart = title + "\n" for num in y: nl = len(str(num)) p1 = " "*(3-nl)+str(num)+"| " p2 = "" for s in spending: percent = int(s/total_spending*100/10)*10 if percent >= num: p2 = p2 + "o " else: p2 = p2 + " " line = p1 + p2 + "\n" chart = chart + line chart = chart + dashes + "\n" for i in range(0, name_max): line = " "*5 for c in categories: if i > (len(c.name)-1): line = line + " " else: l = c.name[i] pi = l + " " line = line + pi if i < (name_max-1): chart = chart + line + "\n" else: chart = chart + line return chart
class Category: def __init__(self, name): self.name = name self.ledger = [] def __str__(self): l = len(self.name) n1 = 15 - int(l / 2) n2 = 30 - (n1 + l) title = '*' * n1 + self.name + '*' * n2 + '\n' summary = '' for item in self.ledger: a = format(item['amount'], '.2f')[0:6] d = item['description'][0:23] sl = 30 - len(a) - len(d) summary = summary + d + ' ' * sl + a + '\n' total = 'Total: ' + str(self.get_balance()) summary = title + summary + total return summary def deposit(self, amount, description=''): self.ledger.append({'amount': amount, 'description': description}) def withdraw(self, amount, description=''): if amount <= self.get_balance(): self.ledger.append({'amount': amount * -1, 'description': description}) return True else: return False def get_balance(self): nums = [d['amount'] for d in self.ledger] return float(sum(nums)) def transfer(self, amount, category): if self.check_funds(amount) == True: wd = 'Transfer to ' + category.name dd = 'Transfer from ' + self.name self.withdraw(amount, wd) category.deposit(amount, dd) return True else: return False def check_funds(self, amount): b = self.get_balance() if amount > b: return False else: return True def check_spending(self): nums = [d['amount'] for d in self.ledger] spen = [num for num in nums if num < 0] spending = -sum(spen) return format(spending, '.2f') def create_spend_chart(categories): title = 'Percentage spent by category' dashes = ' ' * 4 + '-' * (len(categories) * 3 + 1) width = 4 + len(dashes) y = reversed(range(0, 101, 10)) spending = [] name_max = 0 for category in categories: num = float(category.check_spending()) spending.append(num) if len(category.name) > name_max: name_max = len(category.name) total_spending = sum(spending) chart = title + '\n' for num in y: nl = len(str(num)) p1 = ' ' * (3 - nl) + str(num) + '| ' p2 = '' for s in spending: percent = int(s / total_spending * 100 / 10) * 10 if percent >= num: p2 = p2 + 'o ' else: p2 = p2 + ' ' line = p1 + p2 + '\n' chart = chart + line chart = chart + dashes + '\n' for i in range(0, name_max): line = ' ' * 5 for c in categories: if i > len(c.name) - 1: line = line + ' ' else: l = c.name[i] pi = l + ' ' line = line + pi if i < name_max - 1: chart = chart + line + '\n' else: chart = chart + line return chart
#Max value from a list numbers = [] lenght = int(input("Enter list lenght...\n")) for i in range(lenght): numbers.append(float(input("Enter an integer or decimal number...\n"))) print("The min value is: " + str(min(numbers)))
numbers = [] lenght = int(input('Enter list lenght...\n')) for i in range(lenght): numbers.append(float(input('Enter an integer or decimal number...\n'))) print('The min value is: ' + str(min(numbers)))
#---------------------------------------------------------------------------------------------------------- # # AUTOMATICALLY GENERATED FILE TO BE USED BY W_HOTBOX # # NAME: Reconnect by Title # COLOR: #6b4930 # #---------------------------------------------------------------------------------------------------------- ns = [n for n in nuke.selectedNodes() if n.knob("identifier")] for n in ns: try: n["reconnect_by_title_this"].execute() except: pass
ns = [n for n in nuke.selectedNodes() if n.knob('identifier')] for n in ns: try: n['reconnect_by_title_this'].execute() except: pass
l = ["Camera", "Laptop", "Phone", "ipad", "Hard Disk", "Nvidia Graphic 3080 card"] # sentence = "~~".join(l) # sentence = "==".join(l) sentence = "\n".join(l) print(sentence) print(type(sentence))
l = ['Camera', 'Laptop', 'Phone', 'ipad', 'Hard Disk', 'Nvidia Graphic 3080 card'] sentence = '\n'.join(l) print(sentence) print(type(sentence))
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an 'AS IS' BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class SchemaMode: Backend = "BE" Frontend = "FE" def make_type(typename, required): if required: return [typename] else: return ["null", typename] def add_field(schema, name, field_type): # schema["fields"].append({"name": name, "type": field_type, "default": "NONE"}) schema["fields"].append({"name": name, "type": field_type}) def add_string(schema, name, required): add_field(schema, name, make_type("string", required)) def add_array(schema, name, typename, required): add_field(schema, name, make_type({"type": "array", "items": typename}, required)) def add_int64_array(schema, name, required): add_array(schema, name, "long", required) def add_float64_array(schema, name, required): add_array(schema, name, "double", required) def add_string_array(schema, name, required): add_array(schema, name, "string", required) # add_field(schema, name, ["null", {"type": "array", "items": "string"}]) def add_bool(schema, name, required): add_field(schema, name, make_type("boolean", required)) def add_int64(schema, name, required): add_field(schema, name, make_type("long", required)) def add_timestamp(schema, name, required): add_field(schema, name, make_type("string", required)) def add_fields(schema, table_columns): debug = [] for table_column in table_columns: ignore_field = False required = False if len(table_column) == 4: func, col, required, ignore_field = table_column elif len(table_column) == 3: func, col, required = table_column else: func, col = table_column[:2] debug.append((func, col, required, ignore_field)) if not ignore_field: func(schema, col, required) def oms_retail_schema(name, fields): schema = dict() schema["namespace"] = "google.retail.oms" schema["type"] = "record" schema["name"] = name schema["fields"] = list() add_fields(schema, fields) return schema def get_product_schema(mode=SchemaMode.Backend): fields = [ (add_string, "id", True, mode == SchemaMode.Frontend), # NOFE (add_string, "sku", mode == SchemaMode.Frontend), (add_string, "title", mode == SchemaMode.Frontend), (add_string, "name", mode == SchemaMode.Frontend), (add_string, "description", mode == SchemaMode.Frontend), (add_string, "pdp_link", mode == SchemaMode.Frontend), (add_string, "main_image_link"), (add_string_array, "additional_images"), (add_int64, "gtin"), (add_string, "mpn"), (add_bool, "identifier_exists"), (add_float64_array, "features", False, mode == SchemaMode.Frontend), # NOFE (add_float64_array, "memory", False, mode == SchemaMode.Frontend), # NOFE (add_string_array, "filters"), (add_string_array, "item_groups", mode == SchemaMode.Frontend), (add_timestamp, "created_at"), (add_timestamp, "expires_at"), (add_timestamp, "last_updated"), (add_timestamp, "commit_timestamp", True, mode == SchemaMode.Frontend), # NOFE ] return oms_retail_schema("product", fields)
class Schemamode: backend = 'BE' frontend = 'FE' def make_type(typename, required): if required: return [typename] else: return ['null', typename] def add_field(schema, name, field_type): schema['fields'].append({'name': name, 'type': field_type}) def add_string(schema, name, required): add_field(schema, name, make_type('string', required)) def add_array(schema, name, typename, required): add_field(schema, name, make_type({'type': 'array', 'items': typename}, required)) def add_int64_array(schema, name, required): add_array(schema, name, 'long', required) def add_float64_array(schema, name, required): add_array(schema, name, 'double', required) def add_string_array(schema, name, required): add_array(schema, name, 'string', required) def add_bool(schema, name, required): add_field(schema, name, make_type('boolean', required)) def add_int64(schema, name, required): add_field(schema, name, make_type('long', required)) def add_timestamp(schema, name, required): add_field(schema, name, make_type('string', required)) def add_fields(schema, table_columns): debug = [] for table_column in table_columns: ignore_field = False required = False if len(table_column) == 4: (func, col, required, ignore_field) = table_column elif len(table_column) == 3: (func, col, required) = table_column else: (func, col) = table_column[:2] debug.append((func, col, required, ignore_field)) if not ignore_field: func(schema, col, required) def oms_retail_schema(name, fields): schema = dict() schema['namespace'] = 'google.retail.oms' schema['type'] = 'record' schema['name'] = name schema['fields'] = list() add_fields(schema, fields) return schema def get_product_schema(mode=SchemaMode.Backend): fields = [(add_string, 'id', True, mode == SchemaMode.Frontend), (add_string, 'sku', mode == SchemaMode.Frontend), (add_string, 'title', mode == SchemaMode.Frontend), (add_string, 'name', mode == SchemaMode.Frontend), (add_string, 'description', mode == SchemaMode.Frontend), (add_string, 'pdp_link', mode == SchemaMode.Frontend), (add_string, 'main_image_link'), (add_string_array, 'additional_images'), (add_int64, 'gtin'), (add_string, 'mpn'), (add_bool, 'identifier_exists'), (add_float64_array, 'features', False, mode == SchemaMode.Frontend), (add_float64_array, 'memory', False, mode == SchemaMode.Frontend), (add_string_array, 'filters'), (add_string_array, 'item_groups', mode == SchemaMode.Frontend), (add_timestamp, 'created_at'), (add_timestamp, 'expires_at'), (add_timestamp, 'last_updated'), (add_timestamp, 'commit_timestamp', True, mode == SchemaMode.Frontend)] return oms_retail_schema('product', fields)
# Roll the Dice # # November 17, 2018 # By Robin Nash n = int(input()) m = int(input()) if n > 10: n = 9 if m > 10: m = 9 ways = 0 for n in range (1,n+1): for m in range(1,m+1): if n + m == 10: ways+=1 if ways == 1: print("There is 1 way to get the sum 10.") else: print("There are",ways,"ways to get the sum 10.") #1542488930.0
n = int(input()) m = int(input()) if n > 10: n = 9 if m > 10: m = 9 ways = 0 for n in range(1, n + 1): for m in range(1, m + 1): if n + m == 10: ways += 1 if ways == 1: print('There is 1 way to get the sum 10.') else: print('There are', ways, 'ways to get the sum 10.')
Carros = ['HRV', 'Polo', 'Jetta', 'Palio', 'Fusca'] itCarros = iter(Carros) while itCarros: try: print(next(itCarros)) except StopIteration: print('Fim da Lista.') break
carros = ['HRV', 'Polo', 'Jetta', 'Palio', 'Fusca'] it_carros = iter(Carros) while itCarros: try: print(next(itCarros)) except StopIteration: print('Fim da Lista.') break
def default_colors(n): n = max(n, 8) clist = ["#1b9e77", "#d95f02", "#7570b3", "#e7298a", "#66a61e", "#e6ab02", "#a6761d", "#666666"] return clist[:n]
def default_colors(n): n = max(n, 8) clist = ['#1b9e77', '#d95f02', '#7570b3', '#e7298a', '#66a61e', '#e6ab02', '#a6761d', '#666666'] return clist[:n]
def nth_fibonacci_using_recursion(n): if n < 0: raise ValueError("n should be a positive number or zero") else: if n == 1: return 0 elif n == 2: return 1 else: return nth_fibonacci_using_recursion(n - 2) + nth_fibonacci_using_recursion(n - 1) # Implement the following function using iteration i.e. loop # You can use any loop constructs def nth_fibonacci_using_iteration(n): # You can completely remove the following code if needed if n < 0: raise ValueError("n should be a positive number or zero") elif n == 1: return 0 elif n == 2: return 1 elif n > 2: i=0 first_number = 0 second_number = 1 sum = second_number for i in range(n-2): sum = first_number + second_number first_number = second_number second_number= sum return sum
def nth_fibonacci_using_recursion(n): if n < 0: raise value_error('n should be a positive number or zero') elif n == 1: return 0 elif n == 2: return 1 else: return nth_fibonacci_using_recursion(n - 2) + nth_fibonacci_using_recursion(n - 1) def nth_fibonacci_using_iteration(n): if n < 0: raise value_error('n should be a positive number or zero') elif n == 1: return 0 elif n == 2: return 1 elif n > 2: i = 0 first_number = 0 second_number = 1 sum = second_number for i in range(n - 2): sum = first_number + second_number first_number = second_number second_number = sum return sum
class OpenInterest: def __init__(self): self.symbol = "" self.openInterest = 0.0 @staticmethod def json_parse(json_data): result = OpenInterest() result.symbol = json_data.get_string("symbol") result.openInterest = json_data.get_float("openInterest") return result
class Openinterest: def __init__(self): self.symbol = '' self.openInterest = 0.0 @staticmethod def json_parse(json_data): result = open_interest() result.symbol = json_data.get_string('symbol') result.openInterest = json_data.get_float('openInterest') return result
with open("input.txt") as input_file: time = int(input_file.readline().strip()) busses = input_file.readline().strip().split(",") def departures(bus): multiplier = 0 while True: multiplier += 1 yield multiplier * bus def next_after(bus, time): for departure in departures(bus): if departure >= time: return departure future_departures = [] for bus in busses: if bus == "x": continue bus = int(bus) future_departures.append((next_after(bus, time), bus)) departure, bus = min(future_departures) print((departure - time) * bus)
with open('input.txt') as input_file: time = int(input_file.readline().strip()) busses = input_file.readline().strip().split(',') def departures(bus): multiplier = 0 while True: multiplier += 1 yield (multiplier * bus) def next_after(bus, time): for departure in departures(bus): if departure >= time: return departure future_departures = [] for bus in busses: if bus == 'x': continue bus = int(bus) future_departures.append((next_after(bus, time), bus)) (departure, bus) = min(future_departures) print((departure - time) * bus)
# -*- coding: utf-8 -*- maior = -1 index_maior = -1 for i in range(1, 101): n = int(input()) if n > maior: maior = n index_maior = i print(maior) print(index_maior)
maior = -1 index_maior = -1 for i in range(1, 101): n = int(input()) if n > maior: maior = n index_maior = i print(maior) print(index_maior)
# This sample tests a particularly difficult set of dependent # assignments that involve tuple packing and unpacking. # pyright: strict v1 = "" v3 = "" v2, _ = v1, v3 v4 = v2 for _ in range(1): v1 = v4 v2, v3 = v1, ""
v1 = '' v3 = '' (v2, _) = (v1, v3) v4 = v2 for _ in range(1): v1 = v4 (v2, v3) = (v1, '')
class DNABattleCell: COMPONENT_CODE = 21 def __init__(self, width, height, pos): self.width = width self.height = height self.pos = pos def setWidth(self, width): self.width = width def setHeight(self, height): self.height = height def setWidthHeight(self, width, height): self.setWidth(width) self.setHeight(height) def setPos(self, pos): self.pos = pos
class Dnabattlecell: component_code = 21 def __init__(self, width, height, pos): self.width = width self.height = height self.pos = pos def set_width(self, width): self.width = width def set_height(self, height): self.height = height def set_width_height(self, width, height): self.setWidth(width) self.setHeight(height) def set_pos(self, pos): self.pos = pos
def median(a): a = sorted(a) list_length = len(a) num = list_length//2 if list_length % 2 == 0: median_num = (a[num] + a[num + 1])/2 else: median_num = a[num] return median_num
def median(a): a = sorted(a) list_length = len(a) num = list_length // 2 if list_length % 2 == 0: median_num = (a[num] + a[num + 1]) / 2 else: median_num = a[num] return median_num
class DeviceGroup: def __init__(self, name): self.name = name self.devices = [] def addDevice(self, newDevice): self.devices.append(newDevice) # Just thinking through how I want the program to work. # A diskgroup should be initialized once every time the service is started. This way it doesn't have to keep # reading from the json file. # If the user adds/modifies disks.json, the simple way to update the ipmifan instance would be to just restart # the systemd service. # Diskgroups will basically be defined in the disks.json file. A diskgroup json object will be created, and all # of its child disks will be defined under it. # Will need a constructor function that goes through the disks.json file to extract all disks from there groups and add them to an instance. # OR, could define a static factory method that reads through the file and returns an array of DiskGroup objects. # Maybe a factory method that grabs the json, and for each json diskgroup object defined, create a new diskgroup object, # this constructor would just accept the json, and these instances would just read the serial numbers from the json objects, # rather than using raw data structures to avoid complexity. # Would it be practical to instead generalize this? # I.e., make a devices.json file where all devices are defined. # A disk group is defined with temperature thresholds, etc. # Here's another idea: # While I think that recording temperature data should be easy enough, it would be nice to have these endpoints made available to me in # case I'd ever want to record them in something like prometheus. Soooo, while I could build out a little flask application that would serve up temperature data, # and build adapters for different data providers (that work via the command line), might just be easier to set that up with netdata. # THEN, just build out a fan controller script that uses that data to control the script. # The only reason that this is a little scary is because it depends on a large application like netdata running. Now granted, if I'm building up my own # shaky service, you could make that same argument, but the controller script could always just default to MAX fan values if it can't contact it's data provider. # Maybe that's what I can do: I can build out a data provider that collects data for all of the devices that you want to keep track of. So, here's how it's laid out: # Data Provider Microservice # - Data provider flask application that serves up json sensor data for various devices. # - Data provider will have no knowledge of the actual machine it's on, it'll just execute commands to get sensor data. # - The Data provider will NOT have hard-coded cli commands to get sensor data, but will rather have various PROVIDER-ADAPTERS (json files) # that will specificy a command to be run in order to get the type of data that they're meant for. # - In a more advanced application, they coulld also provide meta-data about the data they're returning. These could be interpretted by the controller/receiver # based on how they're being used. # This way, when the controller script requests data, it will send the provider service a json request that will specify the type of provider to use. # This endpoint will then grab the command from the corresponding provider-adapter specified in the GET request and will return the data provided by the specified command. # - In a more (advanced) netdata-style implementation, it would also be cool to have an endpoint that enables the tracking of certain devices (that the consumer program (like ipmifan)) # data in something like a mongo database. This way, there would be more uniform access to both current and past readings. # ------------------------------------ # OR, MOST SIMPLY: DataProviderSource object entries added to a "source.json" file. Basically, these entries would just maintain the commands needed to return the desired data. # Then, the controller just has to hit a generic endpoint on the provider where they specify the name of the Source entry, and they get the data from the commands of that entry back. # OR, the controller requests data (with the commands as the GET json), and then the provider returns the results. Again, not sure which is better. # ------------------------------------ # THIS COULD ALSO BE IMPLEMENTED AS AN MQTT application where these values are published on topics. OR some data-providers could just constantly broadcast their responses over mqtt as well. # IPMI-FAN controller Microservice # - This service will just implement the logic outlined in my notebook regarding how to set fan speeds, but ultimately at that point will just be # a primitive consumer of the data from the Data Provider Microservice. # - This could just be one of many services that get their data from the provider microservice. # - Long term, it would be nice to implement modules that define the same functions for retrieving the sensor data that they need, but just from different sources. # - In other words, define a "DataSource" interface that is unique to this controller application that requires the classes to implement methods for retrieving # (in the same format) hdd temps, cpu temps, ambient temps, etc., etc. # - Based on some configurable value (maybe in a yaml file along with other options), this controller can just instantiate a data-provider according to where # it's getting its data from. # # - Additionally, this program will have a devices.json file that specifies all of the different disk groups, cpus, sensors, etc. that the user wishes to monitor # temperatures of--in this case to control fan speeds. # device_types.json will contain various types of devices and the general form of the commands needed to extract the data from them. # Will also include a device type "custom" that will accept custom commands in case it requires specialized commands due to some issue.] # I may also include # devices.json will contain actual device definitions that allow the user to specify the actual devices (and any relevant details needed). # Upon initialization, the data provider will take the devices specified in devices.json and load them into a dictionary. # Subsequently, it will match the serial numbers of the drives to their current /dev/ location and store that in a new dictionary field it creates. # Some vocabulary for the system: # device_group: A device group defines the group of devices whose temperatures are all factored in to calculate the overall temperature / state of that group. # - This is useful, for instanace, for a group of hard drives, as you might not want to just look at the temperature of each drive all the time, # (assuming no extreme conditions for one device) but rather just the overall state of that group. # # zone: A zone is what device_groups and devices are assigned to that fans control the temperature of. Fans, for instance, are assigned to a particular zone. # The fans that are assigned to a particular zone then are controlled according to the temperatures/states of the device_groups that have been # assigned to that zone. # Zones exist because, while you could assign fans to multiple device groups, you don't necessarily want the desired fan speed required for one # device group (say CPUs) to fight over the fan control. # While I could implement some logic to just take the highest fan speed calculated across the device_groups, I think it would be cleaner to loop through # zones and set the fans in that zone. # Still more efficient though to calculate all of the device_groups temps/state all in a row, as if you do it by zone, in theory a device_group could # be assigned to multiple zones, so you'd be calculating it unecessarily more than once.
class Devicegroup: def __init__(self, name): self.name = name self.devices = [] def add_device(self, newDevice): self.devices.append(newDevice)
# -*- coding: utf-8 -*- USER_ROLE = { 'USER': 0, 'MODERATOR': 1, 'ADMINISTRATOR': 2, }
user_role = {'USER': 0, 'MODERATOR': 1, 'ADMINISTRATOR': 2}
a = 1 print("a_module: Hi from my_package/" + __name__ + ".py!") if __name__ == "__main__": print("a_module: I was invoked from a script.") else: print("a_module: I was invoked from a Pyton module (probably using 'import').") print("a_module: My name is =", __name__)
a = 1 print('a_module: Hi from my_package/' + __name__ + '.py!') if __name__ == '__main__': print('a_module: I was invoked from a script.') else: print("a_module: I was invoked from a Pyton module (probably using 'import').") print('a_module: My name is =', __name__)
# # PySNMP MIB module ZYXEL-MES2110-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-MES2110-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:50:49 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") enterprises, NotificationType, NotificationType, Bits, Gauge32, ObjectIdentity, ModuleIdentity, Counter64, Unsigned32, MibIdentifier, iso, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, IpAddress, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "enterprises", "NotificationType", "NotificationType", "Bits", "Gauge32", "ObjectIdentity", "ModuleIdentity", "Counter64", "Unsigned32", "MibIdentifier", "iso", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "IpAddress", "Counter32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") zyxel = MibIdentifier((1, 3, 6, 1, 4, 1, 890)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1)) accessSwitch = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5)) esSeries = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8)) mes2110_MIB = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110)) mes2110_SystemInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1)) mes2110_Mgt = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2)) mes2110_Port = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3)) mes2110_Traps = MibIdentifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4)) mes2110_SystemContact = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mes2110_SystemContact.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemContact.setDescription('The contact person of this system.') mes2110_SystemName = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mes2110_SystemName.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemName.setDescription('The name of this system.') mes2110_SystemLocation = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mes2110_SystemLocation.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemLocation.setDescription('The location of this system.') mes2110_MgtSnmpVer = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("v1", 1), ("v2c", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtSnmpVer.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtSnmpVer.setDescription('This object specifies the SNMP version(s) supported by the module.') mes2110_MgtModPN = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtModPN.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModPN.setDescription('This object specifies the managemnt module part number.') mes2110_MgtModSN = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtModSN.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModSN.setDescription('This object specifies the managemnt module serial number.') mes2110_MgtModManuDate = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtModManuDate.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModManuDate.setDescription('This object specifies the management module manufacture date.') mes2110_MgtModRev = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtModRev.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModRev.setDescription('This object specifies the managemnt module fireware revision number.') mes2110_MgtModDesc = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: mes2110_MgtModDesc.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModDesc.setDescription('This object describes the management module.') communityStringRO = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: communityStringRO.setStatus('mandatory') if mibBuilder.loadTexts: communityStringRO.setDescription('This is the community string required to authenticate a read access to all MIB objects except for the read-write objects.') communityStringRW = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: communityStringRW.setStatus('mandatory') if mibBuilder.loadTexts: communityStringRW.setDescription('This is the community string required to authenticate a read or write access to all MIB objects.') defaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 9), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: defaultGateway.setStatus('mandatory') if mibBuilder.loadTexts: defaultGateway.setDescription('This object specifies the default gateway address.') interfaceIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 10), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: interfaceIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: interfaceIpAddress.setDescription('This object identifies the IP address of the MIB-II interface on the management module.') interfaceSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: interfaceSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: interfaceSubnetMask.setDescription('This object specifies the subnet mask associated with the interface address of the module.') mgtStp = MibScalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgtStp.setStatus('mandatory') if mibBuilder.loadTexts: mgtStp.setDescription('This object specifies the switch STP function.') trapManagerTable = MibTable((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13), ) if mibBuilder.loadTexts: trapManagerTable.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerTable.setDescription('This object contains the entries of Network Management Systems to which traps will be sent.') trapManagerTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1), ).setIndexNames((0, "ZYXEL-MES2110-MIB", "trapManagerIndex")) if mibBuilder.loadTexts: trapManagerTableEntry.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerTableEntry.setDescription('This object specifies an entry in the trap manager table.') trapManagerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trapManagerIndex.setStatus('mandatory') trapManagerIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapManagerIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerIpAddress.setDescription('This object specifies the IP address of the destination of a network management system to which traps will be sent.') trapManagerName = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapManagerName.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerName.setDescription('This object identifies the name of the destination of a network management system to which traps will be sent.') trapManagerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapManagerStatus.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerStatus.setDescription('This object specifies a trap manager entry status in the trap manager table. (1) -- Enabled or (2) -- Disabled.') mes2110_PortTable = MibTable((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1), ) if mibBuilder.loadTexts: mes2110_PortTable.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_PortTable.setDescription('This object lists port entries on the mes2110 module.') mes2110_PortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1), ).setIndexNames((0, "ZYXEL-MES2110-MIB", "portIndex")) if mibBuilder.loadTexts: mes2110_PortEntry.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_PortEntry.setDescription('This object specifies a port entry in the port table, mes2110_PortTable. The port entry contains the information about a single port.') portIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: portIndex.setStatus('mandatory') if mibBuilder.loadTexts: portIndex.setDescription('This object is the port index, which uniquely identifies a port. It ranges from 1 to the total port number.') portName = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portName.setStatus('mandatory') if mibBuilder.loadTexts: portName.setDescription('This object specifies the user defined descriptive name for the port.') portAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4))).clone(namedValues=NamedValues(("disable", 1), ("enable", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portAdminStatus.setStatus('mandatory') if mibBuilder.loadTexts: portAdminStatus.setDescription('This object specifies the port admin state. Setting this object to disable(1) disables the port. Setting this object to enable(4) enables the port.') portLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("down", 1), ("up", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: portLinkStatus.setStatus('mandatory') if mibBuilder.loadTexts: portLinkStatus.setDescription('This object indicates the link status attached to the port.') portSpeedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("speed-10M", 1), ("speed-100M", 2), ("speed-1000M", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: portSpeedMode.setDescription('This object specifies the speed of the port, 10M(1) or 100M(2) or 100M(3).') portDuplexMode = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("half", 1), ("full", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portDuplexMode.setStatus('mandatory') if mibBuilder.loadTexts: portDuplexMode.setDescription('This object specifies the duplex mode of the port, half duplex(1) or full duplex(2).') portAuto = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portAuto.setStatus('mandatory') if mibBuilder.loadTexts: portAuto.setDescription('This object specifies the auto negotiation status of the port.') portFfc = MibTableColumn((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portFfc.setStatus('mandatory') if mibBuilder.loadTexts: portFfc.setDescription('This object specifies the force flow control status of a port.') almColdStart = NotificationType((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0,1)) if mibBuilder.loadTexts: almColdStart.setDescription('This trap is sent when the system is started from power down.') almWarmStart = NotificationType((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0,2)) if mibBuilder.loadTexts: almWarmStart.setDescription('This trap is sent when the system is reset.') almLinkUp = NotificationType((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0,3)) if mibBuilder.loadTexts: almLinkUp.setDescription("This trap is sent when the link associated with the port indexed 'portIndex' changes its 'portLinkStatus' from down(2) to up(1).") almLinkDown = NotificationType((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0,4)) if mibBuilder.loadTexts: almLinkDown.setDescription("This trap is sent when the link associated with the port indexed 'portIndex' changes its 'portLinkStatus' from up(1) to down(2).") almConfChange = NotificationType((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0,5)) if mibBuilder.loadTexts: almConfChange.setDescription('This trap is sent when the system configuration has been changed.') mibBuilder.exportSymbols("ZYXEL-MES2110-MIB", mes2110_MgtSnmpVer=mes2110_MgtSnmpVer, portSpeedMode=portSpeedMode, communityStringRW=communityStringRW, portName=portName, trapManagerIpAddress=trapManagerIpAddress, accessSwitch=accessSwitch, mes2110_MgtModDesc=mes2110_MgtModDesc, mes2110_SystemInfo=mes2110_SystemInfo, trapManagerTable=trapManagerTable, trapManagerIndex=trapManagerIndex, mes2110_SystemContact=mes2110_SystemContact, portIndex=portIndex, communityStringRO=communityStringRO, portLinkStatus=portLinkStatus, esSeries=esSeries, mes2110_MgtModManuDate=mes2110_MgtModManuDate, mes2110_MgtModPN=mes2110_MgtModPN, mes2110_SystemName=mes2110_SystemName, trapManagerName=trapManagerName, almLinkDown=almLinkDown, mes2110_PortTable=mes2110_PortTable, almWarmStart=almWarmStart, mgtStp=mgtStp, trapManagerStatus=trapManagerStatus, zyxel=zyxel, mes2110_Port=mes2110_Port, almConfChange=almConfChange, almLinkUp=almLinkUp, portAuto=portAuto, mes2110_MgtModSN=mes2110_MgtModSN, trapManagerTableEntry=trapManagerTableEntry, mes2110_Traps=mes2110_Traps, mes2110_MIB=mes2110_MIB, defaultGateway=defaultGateway, portFfc=portFfc, products=products, almColdStart=almColdStart, mes2110_Mgt=mes2110_Mgt, portAdminStatus=portAdminStatus, mes2110_MgtModRev=mes2110_MgtModRev, interfaceIpAddress=interfaceIpAddress, mes2110_SystemLocation=mes2110_SystemLocation, mes2110_PortEntry=mes2110_PortEntry, portDuplexMode=portDuplexMode, interfaceSubnetMask=interfaceSubnetMask)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, value_range_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (enterprises, notification_type, notification_type, bits, gauge32, object_identity, module_identity, counter64, unsigned32, mib_identifier, iso, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, ip_address, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'enterprises', 'NotificationType', 'NotificationType', 'Bits', 'Gauge32', 'ObjectIdentity', 'ModuleIdentity', 'Counter64', 'Unsigned32', 'MibIdentifier', 'iso', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'IpAddress', 'Counter32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') zyxel = mib_identifier((1, 3, 6, 1, 4, 1, 890)) products = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1)) access_switch = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5)) es_series = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8)) mes2110_mib = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110)) mes2110__system_info = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1)) mes2110__mgt = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2)) mes2110__port = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3)) mes2110__traps = mib_identifier((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4)) mes2110__system_contact = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mes2110_SystemContact.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemContact.setDescription('The contact person of this system.') mes2110__system_name = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mes2110_SystemName.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemName.setDescription('The name of this system.') mes2110__system_location = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mes2110_SystemLocation.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_SystemLocation.setDescription('The location of this system.') mes2110__mgt_snmp_ver = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('v1', 1), ('v2c', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtSnmpVer.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtSnmpVer.setDescription('This object specifies the SNMP version(s) supported by the module.') mes2110__mgt_mod_pn = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtModPN.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModPN.setDescription('This object specifies the managemnt module part number.') mes2110__mgt_mod_sn = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtModSN.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModSN.setDescription('This object specifies the managemnt module serial number.') mes2110__mgt_mod_manu_date = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtModManuDate.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModManuDate.setDescription('This object specifies the management module manufacture date.') mes2110__mgt_mod_rev = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtModRev.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModRev.setDescription('This object specifies the managemnt module fireware revision number.') mes2110__mgt_mod_desc = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 6), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: mes2110_MgtModDesc.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_MgtModDesc.setDescription('This object describes the management module.') community_string_ro = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 7), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: communityStringRO.setStatus('mandatory') if mibBuilder.loadTexts: communityStringRO.setDescription('This is the community string required to authenticate a read access to all MIB objects except for the read-write objects.') community_string_rw = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 8), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: communityStringRW.setStatus('mandatory') if mibBuilder.loadTexts: communityStringRW.setDescription('This is the community string required to authenticate a read or write access to all MIB objects.') default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 9), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: defaultGateway.setStatus('mandatory') if mibBuilder.loadTexts: defaultGateway.setDescription('This object specifies the default gateway address.') interface_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 10), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: interfaceIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: interfaceIpAddress.setDescription('This object identifies the IP address of the MIB-II interface on the management module.') interface_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: interfaceSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: interfaceSubnetMask.setDescription('This object specifies the subnet mask associated with the interface address of the module.') mgt_stp = mib_scalar((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mgtStp.setStatus('mandatory') if mibBuilder.loadTexts: mgtStp.setDescription('This object specifies the switch STP function.') trap_manager_table = mib_table((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13)) if mibBuilder.loadTexts: trapManagerTable.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerTable.setDescription('This object contains the entries of Network Management Systems to which traps will be sent.') trap_manager_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1)).setIndexNames((0, 'ZYXEL-MES2110-MIB', 'trapManagerIndex')) if mibBuilder.loadTexts: trapManagerTableEntry.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerTableEntry.setDescription('This object specifies an entry in the trap manager table.') trap_manager_index = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trapManagerIndex.setStatus('mandatory') trap_manager_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapManagerIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerIpAddress.setDescription('This object specifies the IP address of the destination of a network management system to which traps will be sent.') trap_manager_name = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapManagerName.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerName.setDescription('This object identifies the name of the destination of a network management system to which traps will be sent.') trap_manager_status = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 2, 13, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapManagerStatus.setStatus('mandatory') if mibBuilder.loadTexts: trapManagerStatus.setDescription('This object specifies a trap manager entry status in the trap manager table. (1) -- Enabled or (2) -- Disabled.') mes2110__port_table = mib_table((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1)) if mibBuilder.loadTexts: mes2110_PortTable.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_PortTable.setDescription('This object lists port entries on the mes2110 module.') mes2110__port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1)).setIndexNames((0, 'ZYXEL-MES2110-MIB', 'portIndex')) if mibBuilder.loadTexts: mes2110_PortEntry.setStatus('mandatory') if mibBuilder.loadTexts: mes2110_PortEntry.setDescription('This object specifies a port entry in the port table, mes2110_PortTable. The port entry contains the information about a single port.') port_index = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: portIndex.setStatus('mandatory') if mibBuilder.loadTexts: portIndex.setDescription('This object is the port index, which uniquely identifies a port. It ranges from 1 to the total port number.') port_name = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portName.setStatus('mandatory') if mibBuilder.loadTexts: portName.setDescription('This object specifies the user defined descriptive name for the port.') port_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4))).clone(namedValues=named_values(('disable', 1), ('enable', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portAdminStatus.setStatus('mandatory') if mibBuilder.loadTexts: portAdminStatus.setDescription('This object specifies the port admin state. Setting this object to disable(1) disables the port. Setting this object to enable(4) enables the port.') port_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('down', 1), ('up', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: portLinkStatus.setStatus('mandatory') if mibBuilder.loadTexts: portLinkStatus.setDescription('This object indicates the link status attached to the port.') port_speed_mode = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('speed-10M', 1), ('speed-100M', 2), ('speed-1000M', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: portSpeedMode.setDescription('This object specifies the speed of the port, 10M(1) or 100M(2) or 100M(3).') port_duplex_mode = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('half', 1), ('full', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portDuplexMode.setStatus('mandatory') if mibBuilder.loadTexts: portDuplexMode.setDescription('This object specifies the duplex mode of the port, half duplex(1) or full duplex(2).') port_auto = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portAuto.setStatus('mandatory') if mibBuilder.loadTexts: portAuto.setDescription('This object specifies the auto negotiation status of the port.') port_ffc = mib_table_column((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 3, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portFfc.setStatus('mandatory') if mibBuilder.loadTexts: portFfc.setDescription('This object specifies the force flow control status of a port.') alm_cold_start = notification_type((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0, 1)) if mibBuilder.loadTexts: almColdStart.setDescription('This trap is sent when the system is started from power down.') alm_warm_start = notification_type((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0, 2)) if mibBuilder.loadTexts: almWarmStart.setDescription('This trap is sent when the system is reset.') alm_link_up = notification_type((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0, 3)) if mibBuilder.loadTexts: almLinkUp.setDescription("This trap is sent when the link associated with the port indexed 'portIndex' changes its 'portLinkStatus' from down(2) to up(1).") alm_link_down = notification_type((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0, 4)) if mibBuilder.loadTexts: almLinkDown.setDescription("This trap is sent when the link associated with the port indexed 'portIndex' changes its 'portLinkStatus' from up(1) to down(2).") alm_conf_change = notification_type((1, 3, 6, 1, 4, 1, 890, 1, 5, 8, 2110, 4) + (0, 5)) if mibBuilder.loadTexts: almConfChange.setDescription('This trap is sent when the system configuration has been changed.') mibBuilder.exportSymbols('ZYXEL-MES2110-MIB', mes2110_MgtSnmpVer=mes2110_MgtSnmpVer, portSpeedMode=portSpeedMode, communityStringRW=communityStringRW, portName=portName, trapManagerIpAddress=trapManagerIpAddress, accessSwitch=accessSwitch, mes2110_MgtModDesc=mes2110_MgtModDesc, mes2110_SystemInfo=mes2110_SystemInfo, trapManagerTable=trapManagerTable, trapManagerIndex=trapManagerIndex, mes2110_SystemContact=mes2110_SystemContact, portIndex=portIndex, communityStringRO=communityStringRO, portLinkStatus=portLinkStatus, esSeries=esSeries, mes2110_MgtModManuDate=mes2110_MgtModManuDate, mes2110_MgtModPN=mes2110_MgtModPN, mes2110_SystemName=mes2110_SystemName, trapManagerName=trapManagerName, almLinkDown=almLinkDown, mes2110_PortTable=mes2110_PortTable, almWarmStart=almWarmStart, mgtStp=mgtStp, trapManagerStatus=trapManagerStatus, zyxel=zyxel, mes2110_Port=mes2110_Port, almConfChange=almConfChange, almLinkUp=almLinkUp, portAuto=portAuto, mes2110_MgtModSN=mes2110_MgtModSN, trapManagerTableEntry=trapManagerTableEntry, mes2110_Traps=mes2110_Traps, mes2110_MIB=mes2110_MIB, defaultGateway=defaultGateway, portFfc=portFfc, products=products, almColdStart=almColdStart, mes2110_Mgt=mes2110_Mgt, portAdminStatus=portAdminStatus, mes2110_MgtModRev=mes2110_MgtModRev, interfaceIpAddress=interfaceIpAddress, mes2110_SystemLocation=mes2110_SystemLocation, mes2110_PortEntry=mes2110_PortEntry, portDuplexMode=portDuplexMode, interfaceSubnetMask=interfaceSubnetMask)
userNum = int(input("Input a number: ")) out = "" numeralArr = [(1000, "M"), (500, "D"), (100, "C"), (50, "L"), (10, "X"), (5, "V"), (1, "I"), (0, ""), (0, "")] def convert(num, nums, iters, halfs): global out if num >= nums[0] - iters[0]: out += iters[1] + nums[1] num -= nums[0] - iters[0] elif num < nums[0] - iters[0]: if halfs[0]: out += halfs[2]; num -= halfs[1] out += iters[1] * (num // iters[0] if iters[0] > 0 else 1) num -= iters[0] * (num // iters[0] if iters[0] > 0 else 1) elif num == nums[0]: out += nums[1] num -= nums[0] return num for x in range(0, len(numeralArr) - 2, 2): number, numeral = numeralArr[x] halfNumber, halfNumeral = numeralArr[x + 1] iterNumber, iterNumeral = numeralArr[x + 2] out += numeral * (userNum // number) userNum -= number * (userNum // number) userNum = convert(userNum, (number, numeral) if userNum >= halfNumber else (halfNumber, halfNumeral), (iterNumber, iterNumeral), [userNum >= halfNumber, halfNumber, halfNumeral]) print(out)
user_num = int(input('Input a number: ')) out = '' numeral_arr = [(1000, 'M'), (500, 'D'), (100, 'C'), (50, 'L'), (10, 'X'), (5, 'V'), (1, 'I'), (0, ''), (0, '')] def convert(num, nums, iters, halfs): global out if num >= nums[0] - iters[0]: out += iters[1] + nums[1] num -= nums[0] - iters[0] elif num < nums[0] - iters[0]: if halfs[0]: out += halfs[2] num -= halfs[1] out += iters[1] * (num // iters[0] if iters[0] > 0 else 1) num -= iters[0] * (num // iters[0] if iters[0] > 0 else 1) elif num == nums[0]: out += nums[1] num -= nums[0] return num for x in range(0, len(numeralArr) - 2, 2): (number, numeral) = numeralArr[x] (half_number, half_numeral) = numeralArr[x + 1] (iter_number, iter_numeral) = numeralArr[x + 2] out += numeral * (userNum // number) user_num -= number * (userNum // number) user_num = convert(userNum, (number, numeral) if userNum >= halfNumber else (halfNumber, halfNumeral), (iterNumber, iterNumeral), [userNum >= halfNumber, halfNumber, halfNumeral]) print(out)
d = {} palavra = 'Felipe Schmaedecke' for l in palavra: if l in d: d[l] = d[l] + 1 else: d[l] = 1 print(d)
d = {} palavra = 'Felipe Schmaedecke' for l in palavra: if l in d: d[l] = d[l] + 1 else: d[l] = 1 print(d)
class ECA: def __init__(self, id): self.id = bin(id)[2:].zfill(8) self.dict = {} for i in range(8): self.dict[bin(7 - i)[2:].zfill(3)] = self.id[i] self.array = [0 for x in range(199)] self.array[99] = 1 def step(self): arr = [0 for x in range(len(self.array))] for i in range(len(self.array)): s = "" if i == 0: s += "0" else: s += str(self.array[i - 1]) s += str(self.array[i]) if i == len(self.array) - 1: s += "0" else: s += str(self.array[i + 1]) arr[i] = int(self.dict[s]) self.array = arr
class Eca: def __init__(self, id): self.id = bin(id)[2:].zfill(8) self.dict = {} for i in range(8): self.dict[bin(7 - i)[2:].zfill(3)] = self.id[i] self.array = [0 for x in range(199)] self.array[99] = 1 def step(self): arr = [0 for x in range(len(self.array))] for i in range(len(self.array)): s = '' if i == 0: s += '0' else: s += str(self.array[i - 1]) s += str(self.array[i]) if i == len(self.array) - 1: s += '0' else: s += str(self.array[i + 1]) arr[i] = int(self.dict[s]) self.array = arr
expected_output = { "service_instance": { 501: { "interfaces": { "TenGigabitEthernet0/3/0": {"state": "Up", "type": "Static"}, "TenGigabitEthernet0/1/0": {"state": "Up", "type": "Static"}, } }, 502: { "interfaces": {"TenGigabitEthernet0/3/0": {"state": "Up", "type": "Static"}} }, } }
expected_output = {'service_instance': {501: {'interfaces': {'TenGigabitEthernet0/3/0': {'state': 'Up', 'type': 'Static'}, 'TenGigabitEthernet0/1/0': {'state': 'Up', 'type': 'Static'}}}, 502: {'interfaces': {'TenGigabitEthernet0/3/0': {'state': 'Up', 'type': 'Static'}}}}}
class KNNClassifier(object): def __init__(self, k=3, distance=None): self.k = k self.distance = distance def fit(self, x, y): pass def predict(self, x): pass def __decision_function(self): pass
class Knnclassifier(object): def __init__(self, k=3, distance=None): self.k = k self.distance = distance def fit(self, x, y): pass def predict(self, x): pass def __decision_function(self): pass
''' Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.) ''' # Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def swapPairs(self, head): #edge case if not head or not head.next: return head #get pre_node and dummy point to node 0 pre_node = dummy = ListNode(0) #link dummy to head dummy.next = head while head and head.next: #set next_node node after head each time next_node = head.next #swapping head.next = next_node.next next_node.next = head pre_node.next = next_node #after swapping #move head to one node next becasue head is at node 1 head = head.next #move pre_node to one node before head which is next_node.next node pre_node = next_node.next return dummy.next
""" Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.) """ class Solution(object): def swap_pairs(self, head): if not head or not head.next: return head pre_node = dummy = list_node(0) dummy.next = head while head and head.next: next_node = head.next head.next = next_node.next next_node.next = head pre_node.next = next_node head = head.next pre_node = next_node.next return dummy.next
with open("Prob03.in.txt") as f: content = f.readlines() content = [x.strip() for x in content] nola = content.pop(0) for x in content: x = x.strip(" ") x = x.split() add = int(x[0]) + int(x[1]) multi = int(x[0]) * int(x[1]) print( str(add) + " " + str(multi))
with open('Prob03.in.txt') as f: content = f.readlines() content = [x.strip() for x in content] nola = content.pop(0) for x in content: x = x.strip(' ') x = x.split() add = int(x[0]) + int(x[1]) multi = int(x[0]) * int(x[1]) print(str(add) + ' ' + str(multi))
## Script (Python) "getFotoCapa" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title=Retorna um nome de arquivo para ser usado como foto da capa padrao = [ 'capa01.jpg','capa02.jpg','capa03.jpg','capa04.jpg','capa05.jpg', \ 'capa06.jpg','capa07.jpg', ] ultimo = context.portal_catalog.searchResults(portal_type='Programa', sort_on='getData', sort_order='reverse', review_state='published')[0] imagem = ultimo.getImagem if not imagem: imagem = context.portal_url() + '/' + padrao[random.randint(0,6)] else: imagem = ultimo.getURL() + "/imagem" return imagem
padrao = ['capa01.jpg', 'capa02.jpg', 'capa03.jpg', 'capa04.jpg', 'capa05.jpg', 'capa06.jpg', 'capa07.jpg'] ultimo = context.portal_catalog.searchResults(portal_type='Programa', sort_on='getData', sort_order='reverse', review_state='published')[0] imagem = ultimo.getImagem if not imagem: imagem = context.portal_url() + '/' + padrao[random.randint(0, 6)] else: imagem = ultimo.getURL() + '/imagem' return imagem
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class DoubanPipeline(object): # def __init__(self, server, port): # pass # @classmethod # def from_crawler(cls, crawler): # return cls(crawler.settings['MONGO_SERVER'], # crawler.settings['MONGO_PORT']) def process_item(self, item, spider): return item
class Doubanpipeline(object): def process_item(self, item, spider): return item
# # PySNMP MIB module CISCO-LAG-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LAG-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:47:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection") ciscoAgentCapability, = mibBuilder.importSymbols("CISCO-SMI", "ciscoAgentCapability") NotificationGroup, ModuleCompliance, AgentCapabilities = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "AgentCapabilities") Gauge32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Counter32, ObjectIdentity, MibIdentifier, iso, Bits, ModuleIdentity, IpAddress, TimeTicks, Unsigned32, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Counter32", "ObjectIdentity", "MibIdentifier", "iso", "Bits", "ModuleIdentity", "IpAddress", "TimeTicks", "Unsigned32", "Integer32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ciscoLagCapability = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 7, 332)) ciscoLagCapability.setRevisions(('2012-04-02 00:00', '2011-09-27 00:00', '2010-11-01 00:00', '2009-11-19 00:00', '2007-07-10 10:00', '2006-06-15 12:00', '2004-02-04 00:00',)) if mibBuilder.loadTexts: ciscoLagCapability.setLastUpdated('201204020000Z') if mibBuilder.loadTexts: ciscoLagCapability.setOrganization('Cisco Systems, Inc.') clagCapV12R0111bEXCat6K = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 1)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0111bEXCat6K = clagCapV12R0111bEXCat6K.setProductRelease('Cisco IOS 12.1(11b)EX on Catalyst 6000/6500\n and Cisco 7600 series devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0111bEXCat6K = clagCapV12R0111bEXCat6K.setStatus('current') clagCapV12R0217SXCat6KPfc2 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 2)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0217SXCat6KPfc2 = clagCapV12R0217SXCat6KPfc2.setProductRelease('Cisco IOS 12.2(17)SX on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC2 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0217SXCat6KPfc2 = clagCapV12R0217SXCat6KPfc2.setStatus('current') clagCapV12R0217SXCat6KPfc3 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 3)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0217SXCat6KPfc3 = clagCapV12R0217SXCat6KPfc3.setProductRelease('Cisco IOS 12.2(17)SX on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC3 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0217SXCat6KPfc3 = clagCapV12R0217SXCat6KPfc3.setStatus('current') clagCapCatOSV08R0101 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 4)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapCatOSV08R0101 = clagCapCatOSV08R0101.setProductRelease('Cisco CatOS 8.1(1).') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapCatOSV08R0101 = clagCapCatOSV08R0101.setStatus('current') clagCapV12R0218SXF5PCat6KPfc2 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 5)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0218SXF5PCat6KPfc2 = clagCapV12R0218SXF5PCat6KPfc2.setProductRelease('Cisco IOS 12.2(18)SXF5 on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC2 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0218SXF5PCat6KPfc2 = clagCapV12R0218SXF5PCat6KPfc2.setStatus('current') clagCapV12R0218SXF5PCat6KPfc3 = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 6)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0218SXF5PCat6KPfc3 = clagCapV12R0218SXF5PCat6KPfc3.setProductRelease('Cisco IOS 12.2(18)SXF5 on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC3 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0218SXF5PCat6KPfc3 = clagCapV12R0218SXF5PCat6KPfc3.setStatus('current') clagCapV12R0233SXHPCat6K = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 7)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0233SXHPCat6K = clagCapV12R0233SXHPCat6K.setProductRelease('Cisco IOS 12.2(33)SXH on Catalyst 6000/6500\n devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0233SXHPCat6K = clagCapV12R0233SXHPCat6K.setStatus('current') clagCapV12R0252SGPCat4K = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 8)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0252SGPCat4K = clagCapV12R0252SGPCat4K.setProductRelease('Cisco IOS 12.2(52)SG on Cat4K family devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0252SGPCat4K = clagCapV12R0252SGPCat4K.setStatus('current') clagCapV12R0250SYPCat6K = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 9)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0250SYPCat6K = clagCapV12R0250SYPCat6K.setProductRelease('Cisco IOS 12.2(50)SY on Catalyst 6000/6500\n devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV12R0250SYPCat6K = clagCapV12R0250SYPCat6K.setStatus('current') clagCapV15R0001SYPCat6k = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 10)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV15R0001SYPCat6k = clagCapV15R0001SYPCat6k.setProductRelease('Cisco IOS 15.0(1)SY on Catalyst 6000/6500\n series devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV15R0001SYPCat6k = clagCapV15R0001SYPCat6k.setStatus('current') clagCapV15R0101SGPCat4K = AgentCapabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 11)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV15R0101SGPCat4K = clagCapV15R0101SGPCat4K.setProductRelease('Cisco IOS 15.1(1)SG on Cat4K family devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clagCapV15R0101SGPCat4K = clagCapV15R0101SGPCat4K.setStatus('current') mibBuilder.exportSymbols("CISCO-LAG-CAPABILITY", clagCapV12R0111bEXCat6K=clagCapV12R0111bEXCat6K, clagCapV12R0217SXCat6KPfc3=clagCapV12R0217SXCat6KPfc3, ciscoLagCapability=ciscoLagCapability, clagCapCatOSV08R0101=clagCapCatOSV08R0101, clagCapV12R0233SXHPCat6K=clagCapV12R0233SXHPCat6K, clagCapV15R0101SGPCat4K=clagCapV15R0101SGPCat4K, clagCapV12R0218SXF5PCat6KPfc2=clagCapV12R0218SXF5PCat6KPfc2, clagCapV12R0217SXCat6KPfc2=clagCapV12R0217SXCat6KPfc2, clagCapV12R0252SGPCat4K=clagCapV12R0252SGPCat4K, clagCapV15R0001SYPCat6k=clagCapV15R0001SYPCat6k, clagCapV12R0250SYPCat6K=clagCapV12R0250SYPCat6K, PYSNMP_MODULE_ID=ciscoLagCapability, clagCapV12R0218SXF5PCat6KPfc3=clagCapV12R0218SXF5PCat6KPfc3)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, single_value_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection') (cisco_agent_capability,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoAgentCapability') (notification_group, module_compliance, agent_capabilities) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'AgentCapabilities') (gauge32, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, counter32, object_identity, mib_identifier, iso, bits, module_identity, ip_address, time_ticks, unsigned32, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Counter32', 'ObjectIdentity', 'MibIdentifier', 'iso', 'Bits', 'ModuleIdentity', 'IpAddress', 'TimeTicks', 'Unsigned32', 'Integer32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') cisco_lag_capability = module_identity((1, 3, 6, 1, 4, 1, 9, 7, 332)) ciscoLagCapability.setRevisions(('2012-04-02 00:00', '2011-09-27 00:00', '2010-11-01 00:00', '2009-11-19 00:00', '2007-07-10 10:00', '2006-06-15 12:00', '2004-02-04 00:00')) if mibBuilder.loadTexts: ciscoLagCapability.setLastUpdated('201204020000Z') if mibBuilder.loadTexts: ciscoLagCapability.setOrganization('Cisco Systems, Inc.') clag_cap_v12_r0111b_ex_cat6_k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 1)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0111b_ex_cat6_k = clagCapV12R0111bEXCat6K.setProductRelease('Cisco IOS 12.1(11b)EX on Catalyst 6000/6500\n and Cisco 7600 series devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0111b_ex_cat6_k = clagCapV12R0111bEXCat6K.setStatus('current') clag_cap_v12_r0217_sx_cat6_k_pfc2 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 2)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0217_sx_cat6_k_pfc2 = clagCapV12R0217SXCat6KPfc2.setProductRelease('Cisco IOS 12.2(17)SX on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC2 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0217_sx_cat6_k_pfc2 = clagCapV12R0217SXCat6KPfc2.setStatus('current') clag_cap_v12_r0217_sx_cat6_k_pfc3 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 3)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0217_sx_cat6_k_pfc3 = clagCapV12R0217SXCat6KPfc3.setProductRelease('Cisco IOS 12.2(17)SX on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC3 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0217_sx_cat6_k_pfc3 = clagCapV12R0217SXCat6KPfc3.setStatus('current') clag_cap_cat_osv08_r0101 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 4)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_cat_osv08_r0101 = clagCapCatOSV08R0101.setProductRelease('Cisco CatOS 8.1(1).') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_cat_osv08_r0101 = clagCapCatOSV08R0101.setStatus('current') clag_cap_v12_r0218_sxf5_p_cat6_k_pfc2 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 5)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0218_sxf5_p_cat6_k_pfc2 = clagCapV12R0218SXF5PCat6KPfc2.setProductRelease('Cisco IOS 12.2(18)SXF5 on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC2 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0218_sxf5_p_cat6_k_pfc2 = clagCapV12R0218SXF5PCat6KPfc2.setStatus('current') clag_cap_v12_r0218_sxf5_p_cat6_k_pfc3 = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 6)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0218_sxf5_p_cat6_k_pfc3 = clagCapV12R0218SXF5PCat6KPfc3.setProductRelease('Cisco IOS 12.2(18)SXF5 on Catalyst 6000/6500\n and Cisco 7600 series devices with PFC3 card.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0218_sxf5_p_cat6_k_pfc3 = clagCapV12R0218SXF5PCat6KPfc3.setStatus('current') clag_cap_v12_r0233_sxhp_cat6_k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 7)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0233_sxhp_cat6_k = clagCapV12R0233SXHPCat6K.setProductRelease('Cisco IOS 12.2(33)SXH on Catalyst 6000/6500\n devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0233_sxhp_cat6_k = clagCapV12R0233SXHPCat6K.setStatus('current') clag_cap_v12_r0252_sgp_cat4_k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 8)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0252_sgp_cat4_k = clagCapV12R0252SGPCat4K.setProductRelease('Cisco IOS 12.2(52)SG on Cat4K family devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0252_sgp_cat4_k = clagCapV12R0252SGPCat4K.setStatus('current') clag_cap_v12_r0250_syp_cat6_k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 9)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0250_syp_cat6_k = clagCapV12R0250SYPCat6K.setProductRelease('Cisco IOS 12.2(50)SY on Catalyst 6000/6500\n devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v12_r0250_syp_cat6_k = clagCapV12R0250SYPCat6K.setStatus('current') clag_cap_v15_r0001_syp_cat6k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 10)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v15_r0001_syp_cat6k = clagCapV15R0001SYPCat6k.setProductRelease('Cisco IOS 15.0(1)SY on Catalyst 6000/6500\n series devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v15_r0001_syp_cat6k = clagCapV15R0001SYPCat6k.setStatus('current') clag_cap_v15_r0101_sgp_cat4_k = agent_capabilities((1, 3, 6, 1, 4, 1, 9, 7, 332, 11)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v15_r0101_sgp_cat4_k = clagCapV15R0101SGPCat4K.setProductRelease('Cisco IOS 15.1(1)SG on Cat4K family devices.') if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): clag_cap_v15_r0101_sgp_cat4_k = clagCapV15R0101SGPCat4K.setStatus('current') mibBuilder.exportSymbols('CISCO-LAG-CAPABILITY', clagCapV12R0111bEXCat6K=clagCapV12R0111bEXCat6K, clagCapV12R0217SXCat6KPfc3=clagCapV12R0217SXCat6KPfc3, ciscoLagCapability=ciscoLagCapability, clagCapCatOSV08R0101=clagCapCatOSV08R0101, clagCapV12R0233SXHPCat6K=clagCapV12R0233SXHPCat6K, clagCapV15R0101SGPCat4K=clagCapV15R0101SGPCat4K, clagCapV12R0218SXF5PCat6KPfc2=clagCapV12R0218SXF5PCat6KPfc2, clagCapV12R0217SXCat6KPfc2=clagCapV12R0217SXCat6KPfc2, clagCapV12R0252SGPCat4K=clagCapV12R0252SGPCat4K, clagCapV15R0001SYPCat6k=clagCapV15R0001SYPCat6k, clagCapV12R0250SYPCat6K=clagCapV12R0250SYPCat6K, PYSNMP_MODULE_ID=ciscoLagCapability, clagCapV12R0218SXF5PCat6KPfc3=clagCapV12R0218SXF5PCat6KPfc3)
mylist = ["banana", "apple", "pineapple"] print(mylist) item = mylist[2] print(item) if "banana" in mylist: print("yes") else: print("no") mylist.append("lemon") print(mylist) mylist.insert(2, "grapes") print(mylist) # /item = [0] * 5 # print(item)
mylist = ['banana', 'apple', 'pineapple'] print(mylist) item = mylist[2] print(item) if 'banana' in mylist: print('yes') else: print('no') mylist.append('lemon') print(mylist) mylist.insert(2, 'grapes') print(mylist)
# These functions deal with displaying information in CLI ## Check Payment Display def display_lessons(lessons): print('displaying lesson payment info') unpaid_lessons = [] paid_lessons = [] for lesson in lessons: if lesson['paid'] == 'n': unpaid_lessons.append(lesson) elif lesson['paid'] == 'y': paid_lessons.append(lesson) for lesson in unpaid_lessons: print(f'Lesson #{lesson["id"]} remains unpaid.') for lesson in paid_lessons: print(f'Lesson #{lesson["id"]} has been paid for.') print('OK!')
def display_lessons(lessons): print('displaying lesson payment info') unpaid_lessons = [] paid_lessons = [] for lesson in lessons: if lesson['paid'] == 'n': unpaid_lessons.append(lesson) elif lesson['paid'] == 'y': paid_lessons.append(lesson) for lesson in unpaid_lessons: print(f"Lesson #{lesson['id']} remains unpaid.") for lesson in paid_lessons: print(f"Lesson #{lesson['id']} has been paid for.") print('OK!')
city = input("Enter city name = ") sales = int(input("Enter sales volume = ")) cities = ["Sofia", "Varna", "Plovdiv"] index = 4 #Discounts by cities if 0 <= sales and sales <= 500: comision = [0.05,0.045,0.055] elif 500 < sales and sales <= 1000: comision = [0.07,0.075,0.08] elif 1000 < sales and sales <= 10001: comision = [0.08,0.1,0.12] else: comision = [0.12,0.13,0.145] #Indexing if city in cities: index = cities.index(city) discount = sales * comision[index] print("{0:.2f}".format(discount)) #rounding
city = input('Enter city name = ') sales = int(input('Enter sales volume = ')) cities = ['Sofia', 'Varna', 'Plovdiv'] index = 4 if 0 <= sales and sales <= 500: comision = [0.05, 0.045, 0.055] elif 500 < sales and sales <= 1000: comision = [0.07, 0.075, 0.08] elif 1000 < sales and sales <= 10001: comision = [0.08, 0.1, 0.12] else: comision = [0.12, 0.13, 0.145] if city in cities: index = cities.index(city) discount = sales * comision[index] print('{0:.2f}'.format(discount))
#! /usr/bin/python3 # -*- coding: utf-8 -*-S def crypt(line: str) -> str: result = str() for symbol in line: result += chr(ord(symbol) + 1) return result print(crypt(input()))
def crypt(line: str) -> str: result = str() for symbol in line: result += chr(ord(symbol) + 1) return result print(crypt(input()))
class Solution: # not my soln but its very cool def threeSum(self, nums: List[int]) -> List[List[int]]: triplets = set() neg, pos, zeros = [], [], 0 for num in nums: if num > 0: pos.append(num) elif num < 0: neg.append(num) else: zeros += 1 neg_set, pos_set = set(neg), set(pos) # for O(1) lookup # if there's zero in list, add cases where -x is in neg and x is in pos if zeros > 0: for num in pos_set: if -num in neg_set: triplets.add((-num, 0, num)) # if at least 3 zeros in list, add 0, 0, 0 if zeros >= 3: triplets.add((0, 0, 0)) # for all pairs of negative numbers, check if their complement is in positive set for i in range(len(neg)): for j in range(i + 1, len(neg)): target = -1 * (neg[i] + neg[j]) if target in pos_set: triplets.add(tuple(sorted([neg[i], neg[j], target]))) # do the same for positive numbers for i in range(len(pos)): for j in range(i + 1, len(pos)): target = -1 * (pos[i] + pos[j]) if target in neg_set: triplets.add(tuple(sorted([pos[i], pos[j], target]))) return triplets
class Solution: def three_sum(self, nums: List[int]) -> List[List[int]]: triplets = set() (neg, pos, zeros) = ([], [], 0) for num in nums: if num > 0: pos.append(num) elif num < 0: neg.append(num) else: zeros += 1 (neg_set, pos_set) = (set(neg), set(pos)) if zeros > 0: for num in pos_set: if -num in neg_set: triplets.add((-num, 0, num)) if zeros >= 3: triplets.add((0, 0, 0)) for i in range(len(neg)): for j in range(i + 1, len(neg)): target = -1 * (neg[i] + neg[j]) if target in pos_set: triplets.add(tuple(sorted([neg[i], neg[j], target]))) for i in range(len(pos)): for j in range(i + 1, len(pos)): target = -1 * (pos[i] + pos[j]) if target in neg_set: triplets.add(tuple(sorted([pos[i], pos[j], target]))) return triplets
def change_return(amount,currency): currency.sort(reverse = True) counter = 0 amount_counter = [0]*len(currency) while amount> 0: amount_counter[counter] = int(amount/currency[counter]) amount -= amount_counter[counter]*currency[counter] counter += 1 return [(currency[i],amount_counter[i]) for i in range(len(currency))] if __name__ == '__main__': currency = [1,5,10,25] currency_name = ['quarter','dime','nickel','pennies'] amount = int(input('Enter a amount: ')) change = change_return(amount,currency) for i in range(len(currency)-1,-1,-1): print(currency_name[i] + f'({change[i][0]}) - {change[i][1]}')
def change_return(amount, currency): currency.sort(reverse=True) counter = 0 amount_counter = [0] * len(currency) while amount > 0: amount_counter[counter] = int(amount / currency[counter]) amount -= amount_counter[counter] * currency[counter] counter += 1 return [(currency[i], amount_counter[i]) for i in range(len(currency))] if __name__ == '__main__': currency = [1, 5, 10, 25] currency_name = ['quarter', 'dime', 'nickel', 'pennies'] amount = int(input('Enter a amount: ')) change = change_return(amount, currency) for i in range(len(currency) - 1, -1, -1): print(currency_name[i] + f'({change[i][0]}) - {change[i][1]}')
# helpers.py, useful helper functions for wikipedia analysis # We want to represent known symbols (starting with //) as words, the rest characters def extract_tokens(tex): '''walk through a LaTeX string, and grab chunks that correspond with known identifiers, meaning anything that starts with \ and ends with one or more whitespaces, a bracket, a ^ or underscore. ''' regexp = r'\\(.*?)(\w+|\{|\(|\_|\^)' tokens = [] while re.search(regexp, tex) and len(tex) > 0: match = re.search(regexp, tex) # Only take the chunk if it's starting at 0 if match.start() == 0: tokens.append(tex[match.start():match.end()]) # And update the string tex = tex[match.end():] # Otherwise, add the next character to the tokens list else: tokens.append(tex[0]) tex = tex[1:] # When we get down here, the regexp doesn't match anymore! Add remaining if len(tex) > 0: tokens = tokens + [t for t in tex] return tokens def update_method_name(methods, old_name, new_name): '''update the set by removing an old name (usually a disambuguation error) with a new name Parameters ========== methods: the set of methods oldName: the name to remove newName: the name to add ''' if old_name in methods: methods.remove(old_name) methods.add(new_name) return methods
def extract_tokens(tex): """walk through a LaTeX string, and grab chunks that correspond with known identifiers, meaning anything that starts with \\ and ends with one or more whitespaces, a bracket, a ^ or underscore. """ regexp = '\\\\(.*?)(\\w+|\\{|\\(|\\_|\\^)' tokens = [] while re.search(regexp, tex) and len(tex) > 0: match = re.search(regexp, tex) if match.start() == 0: tokens.append(tex[match.start():match.end()]) tex = tex[match.end():] else: tokens.append(tex[0]) tex = tex[1:] if len(tex) > 0: tokens = tokens + [t for t in tex] return tokens def update_method_name(methods, old_name, new_name): """update the set by removing an old name (usually a disambuguation error) with a new name Parameters ========== methods: the set of methods oldName: the name to remove newName: the name to add """ if old_name in methods: methods.remove(old_name) methods.add(new_name) return methods
def seed_everything(seed=2020): random.seed(seed) os.environ['PYTHONHASHSEED'] = str(seed) np.random.seed(seed) tf.random.set_seed(seed) seed_everything(42)
def seed_everything(seed=2020): random.seed(seed) os.environ['PYTHONHASHSEED'] = str(seed) np.random.seed(seed) tf.random.set_seed(seed) seed_everything(42)
class Solution: def XXX(self, root: TreeNode) -> int: if not root: return 0 self.min_depth = float('inf') def dfs(root, depth): if not root: return if not root.left and not root.right: self.min_depth = min(self.min_depth, depth) dfs(root.left, depth+1) dfs(root.right, depth+1) dfs(root, 1) return self.min_depth
class Solution: def xxx(self, root: TreeNode) -> int: if not root: return 0 self.min_depth = float('inf') def dfs(root, depth): if not root: return if not root.left and (not root.right): self.min_depth = min(self.min_depth, depth) dfs(root.left, depth + 1) dfs(root.right, depth + 1) dfs(root, 1) return self.min_depth
#!/usr/bin/env python3 # Find the middle element in the list. # Create a function called middle_element that has one parameter named lst. # If there are an odd number of elements in lst, the function # should return the middle element. # If there are an even number of elements, the function should # return the average of the middle two elements. def middle_element(lst): if len(lst) % 2 == 0: sum = lst[int(len(lst)/2)] + lst[int(len(lst)/2) - 1] return sum / 2 else: return lst[int(len(lst)/2)] print(middle_element([5, 2, -10, -4, 4, 5]))
def middle_element(lst): if len(lst) % 2 == 0: sum = lst[int(len(lst) / 2)] + lst[int(len(lst) / 2) - 1] return sum / 2 else: return lst[int(len(lst) / 2)] print(middle_element([5, 2, -10, -4, 4, 5]))
class Microstate(): def __init__(self): self.index = None self.label = None self.weight = 0.0 self.probability = 0.0 self.basin = None self.coordinates = None self.color = None self.size = None
class Microstate: def __init__(self): self.index = None self.label = None self.weight = 0.0 self.probability = 0.0 self.basin = None self.coordinates = None self.color = None self.size = None
intraband_incharge = { "WEIMIN": None, "EBREAK": None, "DEPER": None, "TIME": None, }
intraband_incharge = {'WEIMIN': None, 'EBREAK': None, 'DEPER': None, 'TIME': None}
program_name = 'giraf' program_desc = 'A command line utility to access imgur.com.'
program_name = 'giraf' program_desc = 'A command line utility to access imgur.com.'