content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class LastPassError(Exception): def __init__(self, output): self.output = output class CliNotInstalledException(Exception): pass
class Lastpasserror(Exception): def __init__(self, output): self.output = output class Clinotinstalledexception(Exception): pass
n=int(input()) arr=[int(x) for x in input().split()] brr=[int(x) for x in input().split()] my_list=[] for i in arr[1:]: my_list.append(i) for i in brr[1:]: my_list.append(i) for i in range(1,n+1): if i in my_list: if i == n: print("I become the guy.") break else: continue else: print("Oh, my keyboard!") break
n = int(input()) arr = [int(x) for x in input().split()] brr = [int(x) for x in input().split()] my_list = [] for i in arr[1:]: my_list.append(i) for i in brr[1:]: my_list.append(i) for i in range(1, n + 1): if i in my_list: if i == n: print('I become the guy.') break else: continue else: print('Oh, my keyboard!') break
class APICONTROLLERNAMEController(apicontrollersbase.APIOperationBase): def __init__(self, apirequest): super(APICONTROLLERNAMEController, self).__init__(apirequest) return def validaterequest(self): logging.debug('performing custom validation..') #validate required fields #if (self._request.xyz == "null"): # raise ValueError('xyz is required') return def getrequesttype(self): '''Returns request type''' return 'APICONTROLLERNAMERequest' def getresponseclass(self): ''' Returns the response class ''' return apicontractsv1.APICONTROLLERNAMEResponse()
class Apicontrollernamecontroller(apicontrollersbase.APIOperationBase): def __init__(self, apirequest): super(APICONTROLLERNAMEController, self).__init__(apirequest) return def validaterequest(self): logging.debug('performing custom validation..') return def getrequesttype(self): """Returns request type""" return 'APICONTROLLERNAMERequest' def getresponseclass(self): """ Returns the response class """ return apicontractsv1.APICONTROLLERNAMEResponse()
# Leo colorizer control file for c mode. # This file is in the public domain. # Properties for c mode. properties = { "commentEnd": "*/", "commentStart": "/*", "doubleBracketIndent": "false", "indentCloseBrackets": "}", "indentNextLine": "\\s*(((if|while)\\s*\\(|else\\s*|else\\s+if\\s*\\(|for\\s*\\(.*\\))[^{;]*)", "indentOpenBrackets": "{", "lineComment": "//", "lineUpClosingBracket": "true", "wordBreakChars": ",+-=<>/?^&*", } # Attributes dict for c_main ruleset. c_main_attributes_dict = { "default": "null", "digit_re": "(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)", "escape": "\\", "highlight_digits": "true", "ignore_case": "false", "no_word_sep": "", } # Attributes dict for c_cpp ruleset. c_cpp_attributes_dict = { "default": "KEYWORD2", "digit_re": "(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)", "escape": "\\", "highlight_digits": "true", "ignore_case": "false", "no_word_sep": "", } # Attributes dict for c_include ruleset. c_include_attributes_dict = { "default": "KEYWORD2", "digit_re": "(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)", "escape": "\\", "highlight_digits": "true", "ignore_case": "false", "no_word_sep": "", } # Dictionary of attributes dictionaries for c mode. attributesDictDict = { "c_cpp": c_cpp_attributes_dict, "c_include": c_include_attributes_dict, "c_main": c_main_attributes_dict, } # Keywords dict for c_main ruleset. c_main_keywords_dict = { "NULL": "literal2", "asm": "keyword2", "asmlinkage": "keyword2", "auto": "keyword1", "break": "keyword1", "case": "keyword1", "char": "keyword3", "const": "keyword1", "continue": "keyword1", "default": "keyword1", "do": "keyword1", "double": "keyword3", "else": "keyword1", "enum": "keyword3", "extern": "keyword1", "false": "literal2", "far": "keyword2", "float": "keyword3", "for": "keyword1", "goto": "keyword1", "huge": "keyword2", "if": "keyword1", "inline": "keyword2", "int": "keyword3", "long": "keyword3", "near": "keyword2", "pascal": "keyword2", "register": "keyword1", "return": "keyword1", "short": "keyword3", "signed": "keyword3", "sizeof": "keyword1", "static": "keyword1", "struct": "keyword3", "switch": "keyword1", "true": "literal2", "typedef": "keyword3", "union": "keyword3", "unsigned": "keyword3", "void": "keyword3", "volatile": "keyword1", "while": "keyword1", } # Keywords dict for c_cpp ruleset. c_cpp_keywords_dict = { "assert": "markup", "define": "markup", "elif": "markup", "else": "markup", "endif": "markup", "error": "markup", "ident": "markup", "if": "markup", "ifdef": "markup", "ifndef": "markup", "import": "markup", "include": "markup", "include_next": "markup", "line": "markup", "pragma": "markup", "sccs": "markup", "unassert": "markup", "undef": "markup", "warning": "markup", } # Keywords dict for c_include ruleset. c_include_keywords_dict = {} # Dictionary of keywords dictionaries for c mode. keywordsDictDict = { "c_cpp": c_cpp_keywords_dict, "c_include": c_include_keywords_dict, "c_main": c_main_keywords_dict, } # Rules for c_main ruleset. def c_rule0(colorer, s, i): return colorer.match_span(s, i, kind="comment3", begin="/**", end="*/", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="doxygen::doxygen",exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule1(colorer, s, i): return colorer.match_span(s, i, kind="comment3", begin="/*!", end="*/", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="doxygen::doxygen",exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule2(colorer, s, i): return colorer.match_span(s, i, kind="comment1", begin="/*", end="*/", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="",exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule3(colorer, s, i): return colorer.match_span(s, i, kind="literal1", begin="\"", end="\"", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="",exclude_match=False, no_escape=False, no_line_break=True, no_word_break=False) def c_rule4(colorer, s, i): return colorer.match_span(s, i, kind="literal1", begin="'", end="'", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="",exclude_match=False, no_escape=False, no_line_break=True, no_word_break=False) def c_rule5(colorer, s, i): return colorer.match_seq(s, i, kind="keyword2", seq="##", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule6(colorer, s, i): return colorer.match_eol_span(s, i, kind="keyword2", seq="#", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="c::cpp", exclude_match=False) def c_rule7(colorer, s, i): return colorer.match_eol_span(s, i, kind="comment2", seq="//", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="", exclude_match=False) def c_rule8(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="=", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule9(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="!", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule10(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq=">=", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule11(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="<=", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule12(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="+", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule13(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="-", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule14(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="/", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule15(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="*", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule16(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq=">", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule17(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="<", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule18(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="%", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule19(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="&", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule20(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="|", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule21(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="^", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule22(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="~", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule23(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="}", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule24(colorer, s, i): return colorer.match_seq(s, i, kind="operator", seq="{", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="") def c_rule25(colorer, s, i): return colorer.match_mark_previous(s, i, kind="label", pattern=":", at_line_start=False, at_whitespace_end=True, at_word_start=False, exclude_match=True) def c_rule26(colorer, s, i): return colorer.match_mark_previous(s, i, kind="function", pattern="(", at_line_start=False, at_whitespace_end=False, at_word_start=False, exclude_match=True) def c_rule27(colorer, s, i): return colorer.match_keywords(s, i) # Rules dict for c_main ruleset. rulesDict1 = { "!": [c_rule9,], "\"": [c_rule3,], "#": [c_rule5,c_rule6,], "%": [c_rule18,], "&": [c_rule19,], "'": [c_rule4,], "(": [c_rule26,], "*": [c_rule15,], "+": [c_rule12,], "-": [c_rule13,], "/": [c_rule0,c_rule1,c_rule2,c_rule7,c_rule14,], "0": [c_rule27,], "1": [c_rule27,], "2": [c_rule27,], "3": [c_rule27,], "4": [c_rule27,], "5": [c_rule27,], "6": [c_rule27,], "7": [c_rule27,], "8": [c_rule27,], "9": [c_rule27,], ":": [c_rule25,], "<": [c_rule11,c_rule17,], "=": [c_rule8,], ">": [c_rule10,c_rule16,], "@": [c_rule27,], "A": [c_rule27,], "B": [c_rule27,], "C": [c_rule27,], "D": [c_rule27,], "E": [c_rule27,], "F": [c_rule27,], "G": [c_rule27,], "H": [c_rule27,], "I": [c_rule27,], "J": [c_rule27,], "K": [c_rule27,], "L": [c_rule27,], "M": [c_rule27,], "N": [c_rule27,], "O": [c_rule27,], "P": [c_rule27,], "Q": [c_rule27,], "R": [c_rule27,], "S": [c_rule27,], "T": [c_rule27,], "U": [c_rule27,], "V": [c_rule27,], "W": [c_rule27,], "X": [c_rule27,], "Y": [c_rule27,], "Z": [c_rule27,], "^": [c_rule21,], "_": [c_rule27,], "a": [c_rule27,], "b": [c_rule27,], "c": [c_rule27,], "d": [c_rule27,], "e": [c_rule27,], "f": [c_rule27,], "g": [c_rule27,], "h": [c_rule27,], "i": [c_rule27,], "j": [c_rule27,], "k": [c_rule27,], "l": [c_rule27,], "m": [c_rule27,], "n": [c_rule27,], "o": [c_rule27,], "p": [c_rule27,], "q": [c_rule27,], "r": [c_rule27,], "s": [c_rule27,], "t": [c_rule27,], "u": [c_rule27,], "v": [c_rule27,], "w": [c_rule27,], "x": [c_rule27,], "y": [c_rule27,], "z": [c_rule27,], "{": [c_rule24,], "|": [c_rule20,], "}": [c_rule23,], "~": [c_rule22,], } # Rules for c_cpp ruleset. def c_rule28(colorer, s, i): return colorer.match_span(s, i, kind="comment1", begin="/*", end="*/", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="",exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule29(colorer, s, i): return colorer.match_eol_span(s, i, kind="markup", seq="include", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="c::include", exclude_match=False) def c_rule30(colorer, s, i): return colorer.match_keywords(s, i) # Rules dict for c_cpp ruleset. rulesDict2 = { "/": [c_rule28,], "0": [c_rule30,], "1": [c_rule30,], "2": [c_rule30,], "3": [c_rule30,], "4": [c_rule30,], "5": [c_rule30,], "6": [c_rule30,], "7": [c_rule30,], "8": [c_rule30,], "9": [c_rule30,], "@": [c_rule30,], "A": [c_rule30,], "B": [c_rule30,], "C": [c_rule30,], "D": [c_rule30,], "E": [c_rule30,], "F": [c_rule30,], "G": [c_rule30,], "H": [c_rule30,], "I": [c_rule30,], "J": [c_rule30,], "K": [c_rule30,], "L": [c_rule30,], "M": [c_rule30,], "N": [c_rule30,], "O": [c_rule30,], "P": [c_rule30,], "Q": [c_rule30,], "R": [c_rule30,], "S": [c_rule30,], "T": [c_rule30,], "U": [c_rule30,], "V": [c_rule30,], "W": [c_rule30,], "X": [c_rule30,], "Y": [c_rule30,], "Z": [c_rule30,], "_": [c_rule30,], "a": [c_rule30,], "b": [c_rule30,], "c": [c_rule30,], "d": [c_rule30,], "e": [c_rule30,], "f": [c_rule30,], "g": [c_rule30,], "h": [c_rule30,], "i": [c_rule29,c_rule30,], "j": [c_rule30,], "k": [c_rule30,], "l": [c_rule30,], "m": [c_rule30,], "n": [c_rule30,], "o": [c_rule30,], "p": [c_rule30,], "q": [c_rule30,], "r": [c_rule30,], "s": [c_rule30,], "t": [c_rule30,], "u": [c_rule30,], "v": [c_rule30,], "w": [c_rule30,], "x": [c_rule30,], "y": [c_rule30,], "z": [c_rule30,], } # Rules for c_include ruleset. # Rules dict for c_include ruleset. rulesDict3 = {} # x.rulesDictDict for c mode. rulesDictDict = { "c_cpp": rulesDict2, "c_include": rulesDict3, "c_main": rulesDict1, } # Import dict for c mode. importDict = {}
properties = {'commentEnd': '*/', 'commentStart': '/*', 'doubleBracketIndent': 'false', 'indentCloseBrackets': '}', 'indentNextLine': '\\s*(((if|while)\\s*\\(|else\\s*|else\\s+if\\s*\\(|for\\s*\\(.*\\))[^{;]*)', 'indentOpenBrackets': '{', 'lineComment': '//', 'lineUpClosingBracket': 'true', 'wordBreakChars': ',+-=<>/?^&*'} c_main_attributes_dict = {'default': 'null', 'digit_re': '(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)', 'escape': '\\', 'highlight_digits': 'true', 'ignore_case': 'false', 'no_word_sep': ''} c_cpp_attributes_dict = {'default': 'KEYWORD2', 'digit_re': '(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)', 'escape': '\\', 'highlight_digits': 'true', 'ignore_case': 'false', 'no_word_sep': ''} c_include_attributes_dict = {'default': 'KEYWORD2', 'digit_re': '(0x[[:xdigit:]]+[lL]?|[[:digit:]]+(e[[:digit:]]*)?[lLdDfF]?)', 'escape': '\\', 'highlight_digits': 'true', 'ignore_case': 'false', 'no_word_sep': ''} attributes_dict_dict = {'c_cpp': c_cpp_attributes_dict, 'c_include': c_include_attributes_dict, 'c_main': c_main_attributes_dict} c_main_keywords_dict = {'NULL': 'literal2', 'asm': 'keyword2', 'asmlinkage': 'keyword2', 'auto': 'keyword1', 'break': 'keyword1', 'case': 'keyword1', 'char': 'keyword3', 'const': 'keyword1', 'continue': 'keyword1', 'default': 'keyword1', 'do': 'keyword1', 'double': 'keyword3', 'else': 'keyword1', 'enum': 'keyword3', 'extern': 'keyword1', 'false': 'literal2', 'far': 'keyword2', 'float': 'keyword3', 'for': 'keyword1', 'goto': 'keyword1', 'huge': 'keyword2', 'if': 'keyword1', 'inline': 'keyword2', 'int': 'keyword3', 'long': 'keyword3', 'near': 'keyword2', 'pascal': 'keyword2', 'register': 'keyword1', 'return': 'keyword1', 'short': 'keyword3', 'signed': 'keyword3', 'sizeof': 'keyword1', 'static': 'keyword1', 'struct': 'keyword3', 'switch': 'keyword1', 'true': 'literal2', 'typedef': 'keyword3', 'union': 'keyword3', 'unsigned': 'keyword3', 'void': 'keyword3', 'volatile': 'keyword1', 'while': 'keyword1'} c_cpp_keywords_dict = {'assert': 'markup', 'define': 'markup', 'elif': 'markup', 'else': 'markup', 'endif': 'markup', 'error': 'markup', 'ident': 'markup', 'if': 'markup', 'ifdef': 'markup', 'ifndef': 'markup', 'import': 'markup', 'include': 'markup', 'include_next': 'markup', 'line': 'markup', 'pragma': 'markup', 'sccs': 'markup', 'unassert': 'markup', 'undef': 'markup', 'warning': 'markup'} c_include_keywords_dict = {} keywords_dict_dict = {'c_cpp': c_cpp_keywords_dict, 'c_include': c_include_keywords_dict, 'c_main': c_main_keywords_dict} def c_rule0(colorer, s, i): return colorer.match_span(s, i, kind='comment3', begin='/**', end='*/', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='doxygen::doxygen', exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule1(colorer, s, i): return colorer.match_span(s, i, kind='comment3', begin='/*!', end='*/', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='doxygen::doxygen', exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule2(colorer, s, i): return colorer.match_span(s, i, kind='comment1', begin='/*', end='*/', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='', exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule3(colorer, s, i): return colorer.match_span(s, i, kind='literal1', begin='"', end='"', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='', exclude_match=False, no_escape=False, no_line_break=True, no_word_break=False) def c_rule4(colorer, s, i): return colorer.match_span(s, i, kind='literal1', begin="'", end="'", at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='', exclude_match=False, no_escape=False, no_line_break=True, no_word_break=False) def c_rule5(colorer, s, i): return colorer.match_seq(s, i, kind='keyword2', seq='##', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule6(colorer, s, i): return colorer.match_eol_span(s, i, kind='keyword2', seq='#', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='c::cpp', exclude_match=False) def c_rule7(colorer, s, i): return colorer.match_eol_span(s, i, kind='comment2', seq='//', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='', exclude_match=False) def c_rule8(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='=', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule9(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='!', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule10(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='>=', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule11(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='<=', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule12(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='+', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule13(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='-', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule14(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='/', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule15(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='*', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule16(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='>', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule17(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='<', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule18(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='%', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule19(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='&', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule20(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='|', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule21(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='^', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule22(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='~', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule23(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='}', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule24(colorer, s, i): return colorer.match_seq(s, i, kind='operator', seq='{', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='') def c_rule25(colorer, s, i): return colorer.match_mark_previous(s, i, kind='label', pattern=':', at_line_start=False, at_whitespace_end=True, at_word_start=False, exclude_match=True) def c_rule26(colorer, s, i): return colorer.match_mark_previous(s, i, kind='function', pattern='(', at_line_start=False, at_whitespace_end=False, at_word_start=False, exclude_match=True) def c_rule27(colorer, s, i): return colorer.match_keywords(s, i) rules_dict1 = {'!': [c_rule9], '"': [c_rule3], '#': [c_rule5, c_rule6], '%': [c_rule18], '&': [c_rule19], "'": [c_rule4], '(': [c_rule26], '*': [c_rule15], '+': [c_rule12], '-': [c_rule13], '/': [c_rule0, c_rule1, c_rule2, c_rule7, c_rule14], '0': [c_rule27], '1': [c_rule27], '2': [c_rule27], '3': [c_rule27], '4': [c_rule27], '5': [c_rule27], '6': [c_rule27], '7': [c_rule27], '8': [c_rule27], '9': [c_rule27], ':': [c_rule25], '<': [c_rule11, c_rule17], '=': [c_rule8], '>': [c_rule10, c_rule16], '@': [c_rule27], 'A': [c_rule27], 'B': [c_rule27], 'C': [c_rule27], 'D': [c_rule27], 'E': [c_rule27], 'F': [c_rule27], 'G': [c_rule27], 'H': [c_rule27], 'I': [c_rule27], 'J': [c_rule27], 'K': [c_rule27], 'L': [c_rule27], 'M': [c_rule27], 'N': [c_rule27], 'O': [c_rule27], 'P': [c_rule27], 'Q': [c_rule27], 'R': [c_rule27], 'S': [c_rule27], 'T': [c_rule27], 'U': [c_rule27], 'V': [c_rule27], 'W': [c_rule27], 'X': [c_rule27], 'Y': [c_rule27], 'Z': [c_rule27], '^': [c_rule21], '_': [c_rule27], 'a': [c_rule27], 'b': [c_rule27], 'c': [c_rule27], 'd': [c_rule27], 'e': [c_rule27], 'f': [c_rule27], 'g': [c_rule27], 'h': [c_rule27], 'i': [c_rule27], 'j': [c_rule27], 'k': [c_rule27], 'l': [c_rule27], 'm': [c_rule27], 'n': [c_rule27], 'o': [c_rule27], 'p': [c_rule27], 'q': [c_rule27], 'r': [c_rule27], 's': [c_rule27], 't': [c_rule27], 'u': [c_rule27], 'v': [c_rule27], 'w': [c_rule27], 'x': [c_rule27], 'y': [c_rule27], 'z': [c_rule27], '{': [c_rule24], '|': [c_rule20], '}': [c_rule23], '~': [c_rule22]} def c_rule28(colorer, s, i): return colorer.match_span(s, i, kind='comment1', begin='/*', end='*/', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='', exclude_match=False, no_escape=False, no_line_break=False, no_word_break=False) def c_rule29(colorer, s, i): return colorer.match_eol_span(s, i, kind='markup', seq='include', at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate='c::include', exclude_match=False) def c_rule30(colorer, s, i): return colorer.match_keywords(s, i) rules_dict2 = {'/': [c_rule28], '0': [c_rule30], '1': [c_rule30], '2': [c_rule30], '3': [c_rule30], '4': [c_rule30], '5': [c_rule30], '6': [c_rule30], '7': [c_rule30], '8': [c_rule30], '9': [c_rule30], '@': [c_rule30], 'A': [c_rule30], 'B': [c_rule30], 'C': [c_rule30], 'D': [c_rule30], 'E': [c_rule30], 'F': [c_rule30], 'G': [c_rule30], 'H': [c_rule30], 'I': [c_rule30], 'J': [c_rule30], 'K': [c_rule30], 'L': [c_rule30], 'M': [c_rule30], 'N': [c_rule30], 'O': [c_rule30], 'P': [c_rule30], 'Q': [c_rule30], 'R': [c_rule30], 'S': [c_rule30], 'T': [c_rule30], 'U': [c_rule30], 'V': [c_rule30], 'W': [c_rule30], 'X': [c_rule30], 'Y': [c_rule30], 'Z': [c_rule30], '_': [c_rule30], 'a': [c_rule30], 'b': [c_rule30], 'c': [c_rule30], 'd': [c_rule30], 'e': [c_rule30], 'f': [c_rule30], 'g': [c_rule30], 'h': [c_rule30], 'i': [c_rule29, c_rule30], 'j': [c_rule30], 'k': [c_rule30], 'l': [c_rule30], 'm': [c_rule30], 'n': [c_rule30], 'o': [c_rule30], 'p': [c_rule30], 'q': [c_rule30], 'r': [c_rule30], 's': [c_rule30], 't': [c_rule30], 'u': [c_rule30], 'v': [c_rule30], 'w': [c_rule30], 'x': [c_rule30], 'y': [c_rule30], 'z': [c_rule30]} rules_dict3 = {} rules_dict_dict = {'c_cpp': rulesDict2, 'c_include': rulesDict3, 'c_main': rulesDict1} import_dict = {}
class Solution: def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int: if not intervals: return 0 intervals.sort(key = lambda interval : interval[1]) res = 0 prev = intervals[0][1] for i in range(1, len(intervals)): if intervals[i][0] < prev: res +=1 else: prev = intervals[i][1] return res
class Solution: def erase_overlap_intervals(self, intervals: List[List[int]]) -> int: if not intervals: return 0 intervals.sort(key=lambda interval: interval[1]) res = 0 prev = intervals[0][1] for i in range(1, len(intervals)): if intervals[i][0] < prev: res += 1 else: prev = intervals[i][1] return res
#https://www.interviewbit.com/problems/max-distance/ def maximumGap(A): left = [A[0]] right = [A[-1]] n = len(A) for i in range(1,n): left.append(min(left[-1], A[i])) for i in range(n-2, -1, -1): right.insert(0, max(right[0], A[i])) i,j,gap = 0, 0, -1 while (i < n and j < n): if left[i] < right[j]: gap = max(gap, j-i) j += 1 # look for a larger gap else: i += 1 return gap # test cases assert(maximumGap([3,5,4,2])==2) assert(maximumGap([3,2,1,0])==-1)
def maximum_gap(A): left = [A[0]] right = [A[-1]] n = len(A) for i in range(1, n): left.append(min(left[-1], A[i])) for i in range(n - 2, -1, -1): right.insert(0, max(right[0], A[i])) (i, j, gap) = (0, 0, -1) while i < n and j < n: if left[i] < right[j]: gap = max(gap, j - i) j += 1 else: i += 1 return gap assert maximum_gap([3, 5, 4, 2]) == 2 assert maximum_gap([3, 2, 1, 0]) == -1
''' Created on May 24, 2012 @author: newatv2user ''' PIANO_RPC_HOST = "tuner.pandora.com" PIANO_ONE_HOST = "internal-tuner.pandora.com" PIANO_RPC_PATH = "/services/json/?" class PianoUserInfo: def __init__(self): self.listenerId = '' self.authToken = '' class PianoStation: def __init__(self): self.isCreator = '' self.isQuickMix = '' self.useQuickMix = '' self.name = '' self.id = '' self.seedId = '' # Piano Song Rating Enum PIANO_RATE_NONE = 0 PIANO_RATE_LOVE = 1 PIANO_RATE_BAN = 2 class PianoSongRating: def __init__(self): self.Rating = PIANO_RATE_NONE # Piano Audio Format Enum PIANO_AF_UNKNOWN = 0 PIANO_AF_AACPLUS = 1 PIANO_AF_MP3 = 2 PIANO_AF_MP3_HI = 3 PIANO_AF_AACPLUS_LO = 4 class PianoAudioFormat: def __init__(self): self.Format = PIANO_AF_UNKNOWN class PianoSong: def __init__(self): self.artist = '' self.stationId = '' self.album = '' self.audioUrl = '' self.coverArt = '' self.musicId = '' self.title = '' self.seedId = '' self.feedbackId = '' self.detailUrl = '' self.trackToken = '' self.fileGain = 0 self.rating = PianoSongRating() self.audioFormat = PianoAudioFormat() class PianoArtist: def __init__(self): self.name = '' self.musicId = '' self.seedId = '' self.score = 0 self.next = PianoArtist() class PianoGenre: def __init__(self): self.name = '' self.musicId = '' class PianoGenreCategory: def __init__(self): self.name = '' self.genres = PianoGenre() class PianoPartner: def __init__(self): self.In = '' self.out = '' self.authToken = '' self.device = '' self.user = '' self.password = '' self.id = 0 class PianoSearchResult: def __init__(self): self.songs = PianoSong() self.artists = PianoArtist() class PianoStationInfo: def __init__(self): self.songSeeds = PianoSong() self.artistSeeds = PianoArtist() self.stationSeeds = PianoStation() self.feedback = PianoSong() # Piano Request Type Enum #/* 0 is reserved: memset (x, 0, sizeof (x)) */ PIANO_REQUEST_LOGIN = 1 PIANO_REQUEST_GET_STATIONS = 2 PIANO_REQUEST_GET_PLAYLIST = 3 PIANO_REQUEST_RATE_SONG = 4 PIANO_REQUEST_ADD_FEEDBACK = 5 PIANO_REQUEST_MOVE_SONG = 6 PIANO_REQUEST_RENAME_STATION = 7 PIANO_REQUEST_DELETE_STATION = 8 PIANO_REQUEST_SEARCH = 9 PIANO_REQUEST_CREATE_STATION = 10 PIANO_REQUEST_ADD_SEED = 11 PIANO_REQUEST_ADD_TIRED_SONG = 12 PIANO_REQUEST_SET_QUICKMIX = 13 PIANO_REQUEST_GET_GENRE_STATIONS = 14 PIANO_REQUEST_TRANSFORM_STATION = 15 PIANO_REQUEST_EXPLAIN = 16 PIANO_REQUEST_BOOKMARK_SONG = 18 PIANO_REQUEST_BOOKMARK_ARTIST = 19 PIANO_REQUEST_GET_STATION_INFO = 20 PIANO_REQUEST_DELETE_FEEDBACK = 21 PIANO_REQUEST_DELETE_SEED = 22 class PianoRequestType: def __init__(self): self.RequestType = PIANO_REQUEST_LOGIN class PianoRequest: def __init__(self): self.type = PianoRequestType() self.secure = False self.data = '' self.urlPath = [1024] self.postData = '' self.responseData = '' #/* request data structures */ class PianoRequestDataLogin: def __init__(self): self.user = '' self.password = '' self.step = '' class PianoRequestDataGetPlaylist: def __init__(self): self.station = PianoStation() self.format = PianoAudioFormat() self.retPlaylist = PianoSong() class PianoRequestDataRateSong: def __init__(self): self.song = PianoSong() self.rating = PianoSongRating() class PianoRequestDataAddFeedback: def __init__(self): self.stationId = '' self.trackToken = '' self.rating = PianoSongRating() class PianoRequestDataMoveSong: def __init__(self): self.song = PianoSong() self.From = PianoStation() self.to = PianoStation() self.step = 0 class PianoRequestDataRenameStation: def __init__(self): self.station = PianoStation() self.newName = '' class PianoRequestDataSearch: def __init__(self): self.searchStr = '' self.searchResult = PianoSearchResult() class PianoRequestDataCreateStation: def __init__(self): self.type = '' self.id = '' class PianoRequestDataAddSeed: def __init__(self): self.station = PianoStation() self.musicId = '' class PianoRequestDataExplain: def __init__(self): self.song = PianoSong() self.retExplain = '' class PianoRequestDataGetStationInfo: def __init__(self): self.station = PianoStation() self.info = PianoStationInfo() class PianoRequestDataDeleteSeed: def __init__(self): self.song = PianoSong() self.artist = PianoArtist() self.station = PianoStation() #/* pandora error code offset */ PIANO_RET_OFFSET = 1024 # Piano Return Enum PIANO_RET_ERR = 0 PIANO_RET_OK = 1 PIANO_RET_INVALID_RESPONSE = 2 PIANO_RET_CONTINUE_REQUEST = 3 PIANO_RET_OUT_OF_MEMORY = 4 PIANO_RET_INVALID_LOGIN = 5 PIANO_RET_QUALITY_UNAVAILABLE = 6 PIANO_RET_P_INTERNAL = PIANO_RET_OFFSET + 0 PIANO_RET_P_API_VERSION_NOT_SUPPORTED = PIANO_RET_OFFSET + 11 PIANO_RET_P_BIRTH_YEAR_INVALID = PIANO_RET_OFFSET + 1025 PIANO_RET_P_BIRTH_YEAR_TOO_YOUNG = PIANO_RET_OFFSET + 1026 PIANO_RET_P_CALL_NOT_ALLOWED = PIANO_RET_OFFSET + 1008 PIANO_RET_P_CERTIFICATE_REQUIRED = PIANO_RET_OFFSET + 7 PIANO_RET_P_COMPLIMENTARY_PERIOD_ALREADY_IN_USE = PIANO_RET_OFFSET + 1007 PIANO_RET_P_DAILY_TRIAL_LIMIT_REACHED = PIANO_RET_OFFSET + 1035 PIANO_RET_P_DEVICE_ALREADY_ASSOCIATED_TO_ACCOUNT = PIANO_RET_OFFSET + 1014 PIANO_RET_P_DEVICE_DISABLED = PIANO_RET_OFFSET + 1034 PIANO_RET_P_DEVICE_MODEL_INVALID = PIANO_RET_OFFSET + 1023 PIANO_RET_P_DEVICE_NOT_FOUND = PIANO_RET_OFFSET + 1009 PIANO_RET_P_EXPLICIT_PIN_INCORRECT = PIANO_RET_OFFSET + 1018 PIANO_RET_P_EXPLICIT_PIN_MALFORMED = PIANO_RET_OFFSET + 1020 PIANO_RET_P_INSUFFICIENT_CONNECTIVITY = PIANO_RET_OFFSET + 13 PIANO_RET_P_INVALID_AUTH_TOKEN = PIANO_RET_OFFSET + 1001 PIANO_RET_P_INVALID_COUNTRY_CODE = PIANO_RET_OFFSET + 1027 PIANO_RET_P_INVALID_GENDER = PIANO_RET_OFFSET + 1027 PIANO_RET_P_INVALID_PARTNER_LOGIN = PIANO_RET_OFFSET + 1002 PIANO_RET_P_INVALID_PASSWORD = PIANO_RET_OFFSET + 1012 PIANO_RET_P_INVALID_SPONSOR = PIANO_RET_OFFSET + 1036 PIANO_RET_P_INVALID_USERNAME = PIANO_RET_OFFSET + 1011 PIANO_RET_P_LICENSING_RESTRICTIONS = PIANO_RET_OFFSET + 12 PIANO_RET_P_MAINTENANCE_MODE = PIANO_RET_OFFSET + 1 PIANO_RET_P_MAX_STATIONS_REACHED = PIANO_RET_OFFSET + 1005 PIANO_RET_P_PARAMETER_MISSING = PIANO_RET_OFFSET + 9 PIANO_RET_P_PARAMETER_TYPE_MISMATCH = PIANO_RET_OFFSET + 8 PIANO_RET_P_PARAMETER_VALUE_INVALID = PIANO_RET_OFFSET + 10 PIANO_RET_P_PARTNER_NOT_AUTHORIZED = PIANO_RET_OFFSET + 1010 PIANO_RET_P_READ_ONLY_MODE = PIANO_RET_OFFSET + 1000 PIANO_RET_P_SECURE_PROTOCOL_REQUIRED = PIANO_RET_OFFSET + 6 PIANO_RET_P_STATION_DOES_NOT_EXIST = PIANO_RET_OFFSET + 1006 PIANO_RET_P_UPGRADE_DEVICE_MODEL_INVALID = PIANO_RET_OFFSET + 1015 PIANO_RET_P_URL_PARAM_MISSING_AUTH_TOKEN = PIANO_RET_OFFSET + 3 PIANO_RET_P_URL_PARAM_MISSING_METHOD = PIANO_RET_OFFSET + 2 PIANO_RET_P_URL_PARAM_MISSING_PARTNER_ID = PIANO_RET_OFFSET + 4 PIANO_RET_P_URL_PARAM_MISSING_USER_ID = PIANO_RET_OFFSET + 5 PIANO_RET_P_USERNAME_ALREADY_EXISTS = PIANO_RET_OFFSET + 1013 PIANO_RET_P_USER_ALREADY_USED_TRIAL = PIANO_RET_OFFSET + 1037 PIANO_RET_P_LISTENER_NOT_AUTHORIZED = PIANO_RET_OFFSET + 1003 PIANO_RET_P_USER_NOT_AUTHORIZED = PIANO_RET_OFFSET + 1004 PIANO_RET_P_ZIP_CODE_INVALID = PIANO_RET_OFFSET + 1024 class PianoReturn: def __init__(self): self.Return = PIANO_RET_ERR def PianoFindStationById (stations, searchStation): #/* get station from list by id #* @param search here #* @param search for this #* @return the first station structure matching the given id #*/ for station in stations: if station.id == searchStation: return station return None def PianoErrorToStr (ret): #/* convert return value to human-readable string #* @param enum #* @return error string #*/ return { PIANO_RET_OK: "Everything is fine :)", PIANO_RET_ERR: "Unknown.", PIANO_RET_INVALID_RESPONSE: "Invalid response.", PIANO_RET_CONTINUE_REQUEST: "Fix your program.", PIANO_RET_OUT_OF_MEMORY: "Out of memory.", PIANO_RET_INVALID_LOGIN: "Wrong email address or password.", PIANO_RET_QUALITY_UNAVAILABLE: "Selected audio quality is not available.", PIANO_RET_P_INTERNAL: "Internal error.", PIANO_RET_P_CALL_NOT_ALLOWED: "Call not allowed.", PIANO_RET_P_INVALID_AUTH_TOKEN: "Invalid auth token.", PIANO_RET_P_MAINTENANCE_MODE: "Maintenance mode.", PIANO_RET_P_MAX_STATIONS_REACHED: "Max number of stations reached.", PIANO_RET_P_READ_ONLY_MODE: "Read only mode. Try again later.", PIANO_RET_P_STATION_DOES_NOT_EXIST: "Station does not exist.", PIANO_RET_P_INVALID_PARTNER_LOGIN: "Invalid partner login.", PIANO_RET_P_LICENSING_RESTRICTIONS: "Pandora is not available in your country. "\ "Set up a control proxy (see manpage).", PIANO_RET_P_PARTNER_NOT_AUTHORIZED: "Invalid partner credentials.", PIANO_RET_P_LISTENER_NOT_AUTHORIZED: "Listener not authorized." }.get(ret, "No error message available.")
""" Created on May 24, 2012 @author: newatv2user """ piano_rpc_host = 'tuner.pandora.com' piano_one_host = 'internal-tuner.pandora.com' piano_rpc_path = '/services/json/?' class Pianouserinfo: def __init__(self): self.listenerId = '' self.authToken = '' class Pianostation: def __init__(self): self.isCreator = '' self.isQuickMix = '' self.useQuickMix = '' self.name = '' self.id = '' self.seedId = '' piano_rate_none = 0 piano_rate_love = 1 piano_rate_ban = 2 class Pianosongrating: def __init__(self): self.Rating = PIANO_RATE_NONE piano_af_unknown = 0 piano_af_aacplus = 1 piano_af_mp3 = 2 piano_af_mp3_hi = 3 piano_af_aacplus_lo = 4 class Pianoaudioformat: def __init__(self): self.Format = PIANO_AF_UNKNOWN class Pianosong: def __init__(self): self.artist = '' self.stationId = '' self.album = '' self.audioUrl = '' self.coverArt = '' self.musicId = '' self.title = '' self.seedId = '' self.feedbackId = '' self.detailUrl = '' self.trackToken = '' self.fileGain = 0 self.rating = piano_song_rating() self.audioFormat = piano_audio_format() class Pianoartist: def __init__(self): self.name = '' self.musicId = '' self.seedId = '' self.score = 0 self.next = piano_artist() class Pianogenre: def __init__(self): self.name = '' self.musicId = '' class Pianogenrecategory: def __init__(self): self.name = '' self.genres = piano_genre() class Pianopartner: def __init__(self): self.In = '' self.out = '' self.authToken = '' self.device = '' self.user = '' self.password = '' self.id = 0 class Pianosearchresult: def __init__(self): self.songs = piano_song() self.artists = piano_artist() class Pianostationinfo: def __init__(self): self.songSeeds = piano_song() self.artistSeeds = piano_artist() self.stationSeeds = piano_station() self.feedback = piano_song() piano_request_login = 1 piano_request_get_stations = 2 piano_request_get_playlist = 3 piano_request_rate_song = 4 piano_request_add_feedback = 5 piano_request_move_song = 6 piano_request_rename_station = 7 piano_request_delete_station = 8 piano_request_search = 9 piano_request_create_station = 10 piano_request_add_seed = 11 piano_request_add_tired_song = 12 piano_request_set_quickmix = 13 piano_request_get_genre_stations = 14 piano_request_transform_station = 15 piano_request_explain = 16 piano_request_bookmark_song = 18 piano_request_bookmark_artist = 19 piano_request_get_station_info = 20 piano_request_delete_feedback = 21 piano_request_delete_seed = 22 class Pianorequesttype: def __init__(self): self.RequestType = PIANO_REQUEST_LOGIN class Pianorequest: def __init__(self): self.type = piano_request_type() self.secure = False self.data = '' self.urlPath = [1024] self.postData = '' self.responseData = '' class Pianorequestdatalogin: def __init__(self): self.user = '' self.password = '' self.step = '' class Pianorequestdatagetplaylist: def __init__(self): self.station = piano_station() self.format = piano_audio_format() self.retPlaylist = piano_song() class Pianorequestdataratesong: def __init__(self): self.song = piano_song() self.rating = piano_song_rating() class Pianorequestdataaddfeedback: def __init__(self): self.stationId = '' self.trackToken = '' self.rating = piano_song_rating() class Pianorequestdatamovesong: def __init__(self): self.song = piano_song() self.From = piano_station() self.to = piano_station() self.step = 0 class Pianorequestdatarenamestation: def __init__(self): self.station = piano_station() self.newName = '' class Pianorequestdatasearch: def __init__(self): self.searchStr = '' self.searchResult = piano_search_result() class Pianorequestdatacreatestation: def __init__(self): self.type = '' self.id = '' class Pianorequestdataaddseed: def __init__(self): self.station = piano_station() self.musicId = '' class Pianorequestdataexplain: def __init__(self): self.song = piano_song() self.retExplain = '' class Pianorequestdatagetstationinfo: def __init__(self): self.station = piano_station() self.info = piano_station_info() class Pianorequestdatadeleteseed: def __init__(self): self.song = piano_song() self.artist = piano_artist() self.station = piano_station() piano_ret_offset = 1024 piano_ret_err = 0 piano_ret_ok = 1 piano_ret_invalid_response = 2 piano_ret_continue_request = 3 piano_ret_out_of_memory = 4 piano_ret_invalid_login = 5 piano_ret_quality_unavailable = 6 piano_ret_p_internal = PIANO_RET_OFFSET + 0 piano_ret_p_api_version_not_supported = PIANO_RET_OFFSET + 11 piano_ret_p_birth_year_invalid = PIANO_RET_OFFSET + 1025 piano_ret_p_birth_year_too_young = PIANO_RET_OFFSET + 1026 piano_ret_p_call_not_allowed = PIANO_RET_OFFSET + 1008 piano_ret_p_certificate_required = PIANO_RET_OFFSET + 7 piano_ret_p_complimentary_period_already_in_use = PIANO_RET_OFFSET + 1007 piano_ret_p_daily_trial_limit_reached = PIANO_RET_OFFSET + 1035 piano_ret_p_device_already_associated_to_account = PIANO_RET_OFFSET + 1014 piano_ret_p_device_disabled = PIANO_RET_OFFSET + 1034 piano_ret_p_device_model_invalid = PIANO_RET_OFFSET + 1023 piano_ret_p_device_not_found = PIANO_RET_OFFSET + 1009 piano_ret_p_explicit_pin_incorrect = PIANO_RET_OFFSET + 1018 piano_ret_p_explicit_pin_malformed = PIANO_RET_OFFSET + 1020 piano_ret_p_insufficient_connectivity = PIANO_RET_OFFSET + 13 piano_ret_p_invalid_auth_token = PIANO_RET_OFFSET + 1001 piano_ret_p_invalid_country_code = PIANO_RET_OFFSET + 1027 piano_ret_p_invalid_gender = PIANO_RET_OFFSET + 1027 piano_ret_p_invalid_partner_login = PIANO_RET_OFFSET + 1002 piano_ret_p_invalid_password = PIANO_RET_OFFSET + 1012 piano_ret_p_invalid_sponsor = PIANO_RET_OFFSET + 1036 piano_ret_p_invalid_username = PIANO_RET_OFFSET + 1011 piano_ret_p_licensing_restrictions = PIANO_RET_OFFSET + 12 piano_ret_p_maintenance_mode = PIANO_RET_OFFSET + 1 piano_ret_p_max_stations_reached = PIANO_RET_OFFSET + 1005 piano_ret_p_parameter_missing = PIANO_RET_OFFSET + 9 piano_ret_p_parameter_type_mismatch = PIANO_RET_OFFSET + 8 piano_ret_p_parameter_value_invalid = PIANO_RET_OFFSET + 10 piano_ret_p_partner_not_authorized = PIANO_RET_OFFSET + 1010 piano_ret_p_read_only_mode = PIANO_RET_OFFSET + 1000 piano_ret_p_secure_protocol_required = PIANO_RET_OFFSET + 6 piano_ret_p_station_does_not_exist = PIANO_RET_OFFSET + 1006 piano_ret_p_upgrade_device_model_invalid = PIANO_RET_OFFSET + 1015 piano_ret_p_url_param_missing_auth_token = PIANO_RET_OFFSET + 3 piano_ret_p_url_param_missing_method = PIANO_RET_OFFSET + 2 piano_ret_p_url_param_missing_partner_id = PIANO_RET_OFFSET + 4 piano_ret_p_url_param_missing_user_id = PIANO_RET_OFFSET + 5 piano_ret_p_username_already_exists = PIANO_RET_OFFSET + 1013 piano_ret_p_user_already_used_trial = PIANO_RET_OFFSET + 1037 piano_ret_p_listener_not_authorized = PIANO_RET_OFFSET + 1003 piano_ret_p_user_not_authorized = PIANO_RET_OFFSET + 1004 piano_ret_p_zip_code_invalid = PIANO_RET_OFFSET + 1024 class Pianoreturn: def __init__(self): self.Return = PIANO_RET_ERR def piano_find_station_by_id(stations, searchStation): for station in stations: if station.id == searchStation: return station return None def piano_error_to_str(ret): return {PIANO_RET_OK: 'Everything is fine :)', PIANO_RET_ERR: 'Unknown.', PIANO_RET_INVALID_RESPONSE: 'Invalid response.', PIANO_RET_CONTINUE_REQUEST: 'Fix your program.', PIANO_RET_OUT_OF_MEMORY: 'Out of memory.', PIANO_RET_INVALID_LOGIN: 'Wrong email address or password.', PIANO_RET_QUALITY_UNAVAILABLE: 'Selected audio quality is not available.', PIANO_RET_P_INTERNAL: 'Internal error.', PIANO_RET_P_CALL_NOT_ALLOWED: 'Call not allowed.', PIANO_RET_P_INVALID_AUTH_TOKEN: 'Invalid auth token.', PIANO_RET_P_MAINTENANCE_MODE: 'Maintenance mode.', PIANO_RET_P_MAX_STATIONS_REACHED: 'Max number of stations reached.', PIANO_RET_P_READ_ONLY_MODE: 'Read only mode. Try again later.', PIANO_RET_P_STATION_DOES_NOT_EXIST: 'Station does not exist.', PIANO_RET_P_INVALID_PARTNER_LOGIN: 'Invalid partner login.', PIANO_RET_P_LICENSING_RESTRICTIONS: 'Pandora is not available in your country. Set up a control proxy (see manpage).', PIANO_RET_P_PARTNER_NOT_AUTHORIZED: 'Invalid partner credentials.', PIANO_RET_P_LISTENER_NOT_AUTHORIZED: 'Listener not authorized.'}.get(ret, 'No error message available.')
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or the license accompanying this file. Do not # remove or modify any license notices. This file is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # class Error(object): @staticmethod def exceeded_maximum_metric_capacity(): return "ErrorExceededMaximumMetricCapacity" @staticmethod def missing_attribute(): return "ErrorMissingAttributes" @staticmethod def is_not_lower(): return "ErrorNotLowerCase" @staticmethod def out_of_order(): return "ErrorOutOfOrder" @staticmethod def unable_to_sort(): return "ErrorNotSorted" @staticmethod def is_null(): return "ErrorNullValue" @staticmethod def empty_dataframe(): return "ErrorEmptyDataFrame"
class Error(object): @staticmethod def exceeded_maximum_metric_capacity(): return 'ErrorExceededMaximumMetricCapacity' @staticmethod def missing_attribute(): return 'ErrorMissingAttributes' @staticmethod def is_not_lower(): return 'ErrorNotLowerCase' @staticmethod def out_of_order(): return 'ErrorOutOfOrder' @staticmethod def unable_to_sort(): return 'ErrorNotSorted' @staticmethod def is_null(): return 'ErrorNullValue' @staticmethod def empty_dataframe(): return 'ErrorEmptyDataFrame'
class Singleton(type): def __new__(meta, name, bases, attrs): attrs["_instance"] = None return super().__new__(meta, name, bases, attrs) def __call__(cls, *args, **kwargs): if not cls._instance: cls._instance = super().__call__(*args, **kwargs) return cls._instance
class Singleton(type): def __new__(meta, name, bases, attrs): attrs['_instance'] = None return super().__new__(meta, name, bases, attrs) def __call__(cls, *args, **kwargs): if not cls._instance: cls._instance = super().__call__(*args, **kwargs) return cls._instance
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/gaogaotiantian/pygictower/blob/master/NOTICE __version__ = "0.0.1"
__version__ = '0.0.1'
def countBits(n: int) -> list[int]: result = [0] for i in range(1,n+1): count = 0 test = ~(i - 1) while test & 1 == 0: test >>= 1 count += 1 result.append(result[i-1] - count + 1) return result
def count_bits(n: int) -> list[int]: result = [0] for i in range(1, n + 1): count = 0 test = ~(i - 1) while test & 1 == 0: test >>= 1 count += 1 result.append(result[i - 1] - count + 1) return result
# Solution to Advent of Code 2020 day 6 # Read data with open("input.txt") as inFile: groups = inFile.read().split("\n\n") # Part 1 yesAnswers = sum([len(set(group.replace("\n", ""))) for group in groups]) print("Solution for part 1:", yesAnswers) # Part 2 yesAnswers = 0 for group in groups: persons = group.split("\n") sameAnswers = set(persons[0]) for person in persons[1:]: sameAnswers &= set(person) yesAnswers += len(sameAnswers) print("Solution for part 2:", yesAnswers)
with open('input.txt') as in_file: groups = inFile.read().split('\n\n') yes_answers = sum([len(set(group.replace('\n', ''))) for group in groups]) print('Solution for part 1:', yesAnswers) yes_answers = 0 for group in groups: persons = group.split('\n') same_answers = set(persons[0]) for person in persons[1:]: same_answers &= set(person) yes_answers += len(sameAnswers) print('Solution for part 2:', yesAnswers)
DOCARRAY_PULL_NAME = "fashion-product-images-clip-all" DATA_DIR = "../data/images" # Where are the files? CSV_FILE = "../data/styles.csv" # Where's the metadata? WORKSPACE_DIR = "../embeddings" DIMS = 512 # This should be same shape as vector embedding
docarray_pull_name = 'fashion-product-images-clip-all' data_dir = '../data/images' csv_file = '../data/styles.csv' workspace_dir = '../embeddings' dims = 512
def Instagram_scroller(driver,command): print('In scroller function') while True: while True: l0 = ["scroll up","call down","call don","scroll down","up","down","exit","roll down","croll down","roll up","croll up"] if len([i for i in l0 if i in command]) != 0: break else: speak("Please , come again .") command = takeCommand().lower() print("in scroller function, while loop") l = ["scroll down","down","roll down","croll down"] if len([i for i in l if i in command]) != 0: print("voice gets recognized") speak("Scrolling Down the pan") while True: driver.execute_script("window.scrollBy(0,500)","") time.sleep(0) q = takeCommand().lower() if "stop" in q or "exit" in q or "top" in q: speak("Exiting the scroll down") break l2 = ["scroll up","croll up","up","roll up","call app"] if len([i for i in l2 if i in command]) != 0: speak("Scrolling up the pan") while True: driver.execute_script("scrollBy(0,-2000);") time.sleep(0) q = takeCommand().lower() if "stop" in q or "exit" in q or "top" in q: speak("Exiting the scroll up") break command = takeCommand().lower() if "exit" in command: speak("exiting from scroller") break
def instagram_scroller(driver, command): print('In scroller function') while True: while True: l0 = ['scroll up', 'call down', 'call don', 'scroll down', 'up', 'down', 'exit', 'roll down', 'croll down', 'roll up', 'croll up'] if len([i for i in l0 if i in command]) != 0: break else: speak('Please , come again .') command = take_command().lower() print('in scroller function, while loop') l = ['scroll down', 'down', 'roll down', 'croll down'] if len([i for i in l if i in command]) != 0: print('voice gets recognized') speak('Scrolling Down the pan') while True: driver.execute_script('window.scrollBy(0,500)', '') time.sleep(0) q = take_command().lower() if 'stop' in q or 'exit' in q or 'top' in q: speak('Exiting the scroll down') break l2 = ['scroll up', 'croll up', 'up', 'roll up', 'call app'] if len([i for i in l2 if i in command]) != 0: speak('Scrolling up the pan') while True: driver.execute_script('scrollBy(0,-2000);') time.sleep(0) q = take_command().lower() if 'stop' in q or 'exit' in q or 'top' in q: speak('Exiting the scroll up') break command = take_command().lower() if 'exit' in command: speak('exiting from scroller') break
#!/usr/bin/env python # -*- coding: utf-8 -*- def _is_tensor(x): return hasattr(x, "__len__")
def _is_tensor(x): return hasattr(x, '__len__')
#Collaborators: None def rerun(): #Function is here to rerun the program for total of two times y = 0 while y<2: yogurtshack() y += 1 def yogurtshack(): print("Welcome to Yogurt Shack! Please type your order below. ") #Introducing the store and asking for order print("\n") flavor = input("What would you like your yogurt flavor to be? ") #input ICE CREAM FLAVOR topping1 = input("Topping 1? ") #input FIRST TOPPING topping2 = input("Topping 2? ") #input SECOND TOPPING print("\n") lst = [flavor, topping1, topping2] print("Your order is" + str(lst)) #Telling the customer what their order is x = 0 while x<1: print("Great selection!") print("\n") x += 1 try: drink = input("What drink would you like with that? You can either say tea, water, coffee, or soda. ") #Asking the customer what drink they would like. if drink == "tea": print("Our tea is world-famous!") if drink == "Tea": print("Our tea is world-famous!") elif drink == "water": print("Sounds good!") elif drink == "Water": print("Sounds good!") elif drink == "coffee": print("I could go for some coffee now.") elif drink == "Coffee": print("I could go for some coffee now.") elif drink == "soda": print("Lucky you! This is our last one!") elif drink == "Soda": print("Lucky you! This is our last one!") except: print("Sorry, that is not a valid entry.") for i in range(1): print("\n") print("We hope you enjoy your meal. Have a great day and we hope to see you soon!") #Thank you and goodbye to customer print("\n") if __name__ == '__main__': rerun()
def rerun(): y = 0 while y < 2: yogurtshack() y += 1 def yogurtshack(): print('Welcome to Yogurt Shack! Please type your order below. ') print('\n') flavor = input('What would you like your yogurt flavor to be? ') topping1 = input('Topping 1? ') topping2 = input('Topping 2? ') print('\n') lst = [flavor, topping1, topping2] print('Your order is' + str(lst)) x = 0 while x < 1: print('Great selection!') print('\n') x += 1 try: drink = input('What drink would you like with that? You can either say tea, water, coffee, or soda. ') if drink == 'tea': print('Our tea is world-famous!') if drink == 'Tea': print('Our tea is world-famous!') elif drink == 'water': print('Sounds good!') elif drink == 'Water': print('Sounds good!') elif drink == 'coffee': print('I could go for some coffee now.') elif drink == 'Coffee': print('I could go for some coffee now.') elif drink == 'soda': print('Lucky you! This is our last one!') elif drink == 'Soda': print('Lucky you! This is our last one!') except: print('Sorry, that is not a valid entry.') for i in range(1): print('\n') print('We hope you enjoy your meal. Have a great day and we hope to see you soon!') print('\n') if __name__ == '__main__': rerun()
def print_fun(): print("Heloo") class bala: Name = "This is Shifat" def shit(self): print("Say my name !") print("I'm in a class") def __str__(self): return self.Name
def print_fun(): print('Heloo') class Bala: name = 'This is Shifat' def shit(self): print('Say my name !') print("I'm in a class") def __str__(self): return self.Name
''' This module represents the time stamp when Arelle was last built @author: Mark V Systems Limited (c) Copyright 2013 Mark V Systems Limited, All rights reserved. ''' version = '2013-10-08 05:43 UTC'
""" This module represents the time stamp when Arelle was last built @author: Mark V Systems Limited (c) Copyright 2013 Mark V Systems Limited, All rights reserved. """ version = '2013-10-08 05:43 UTC'
pedidos = [] def adicionaPedidos(nome, sabor, observacao='None'): pedido = {} pedido['nome'] = nome pedido['sabor'] = sabor pedido['observacao'] = observacao return (pedido) pedidos.append(adicionaPedidos('mario', 'pepperoni')) pedidos.append(adicionaPedidos('marco', 'portuguesa', 'dobro de presunto')) for pedido in pedidos: template = 'Nome: {nome}\nSabor: {sabor}' print(template.format(**pedido)) if pedido['observacao']: print('Observacao: {}'.format(pedido['observacao'])) print('-'*20)
pedidos = [] def adiciona_pedidos(nome, sabor, observacao='None'): pedido = {} pedido['nome'] = nome pedido['sabor'] = sabor pedido['observacao'] = observacao return pedido pedidos.append(adiciona_pedidos('mario', 'pepperoni')) pedidos.append(adiciona_pedidos('marco', 'portuguesa', 'dobro de presunto')) for pedido in pedidos: template = 'Nome: {nome}\nSabor: {sabor}' print(template.format(**pedido)) if pedido['observacao']: print('Observacao: {}'.format(pedido['observacao'])) print('-' * 20)
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'leftPAR_ABREPAR_CIERRArightIGUALleftORleftANDleftNO_IGUALnonassocMAYORMENORMAYOR_IGUALMENOR_IGUALleftMASMENOSleftASTERISCODIVISIONMODULOleftPOTENCIArightNOTleftLLAVE_ABRELLAVE_CIERRAABS ADD ALL ALTER AND AS ASC ASTERISCO AVG BETWEEN BIGINT BOOLEAN BY CADENA CASE CASTEO CBRT CEIL CEILING CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CORCHE_ABRE CORCHE_CIERRA COUNT CREATE CURRENT_USER DATABASE DATABASES DATE DAY DECIMAL DECIMAL_NUM DEFAULT DEGREES DELETE DESC DIFERENTE DISTINCT DIV DIVISION DOUBLE DROP ELSE END ENTERO ENUM EXISTS EXP FACTORIAL FALSE FIELDS FIRST FLOOR FOREIGN FROM FULL GCD GREATEST GROUP HAVING HOUR ID IF IGUAL ILIKE IN INHERITS INNER INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL JOIN KEY LAST LEAST LEFT LIKE LIMIT LLAVE_ABRE LLAVE_CIERRA LN LOG MAS MAX MAYOR MAYOR_IGUAL MENOR MENOR_IGUAL MENOS MIN MINUTE MOD MODE MODULO MONEY MONTH NOT NOTNULL NO_IGUAL NULL NULLS NUMERIC OFFSET OR ORDER OUTER OWNER PAR_ABRE PAR_CIERRA PI POTENCIA POWER PRECISION PRIMARY PUNTO PUNTOCOMA RADIANS REAL REFERENCE REFERENCES RENAME REPLACE RIGHT ROUND SECOND SELECT SESSION_USER SET SHOW SIMILAR SMALLINT SUBSTRING SUM SYMMETRIC TABLE TEXT THEN TIME TIMESTAMP TO TRUE TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WITH WITHOUT YEAR ZONEinit : instruccionesinstrucciones : instrucciones instruccioninstrucciones : instruccion instruccion : crear_statement PUNTOCOMA\n | alter_statement PUNTOCOMA\n | drop_statement PUNTOCOMA\n | seleccionar PUNTOCOMAinstruccion : SHOW DATABASES PUNTOCOMA\n | INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA\n | UPDATE ID SET ID IGUAL expression where PUNTOCOMA\n | DELETE FROM ID WHERE ID IGUAL expression PUNTOCOMA\n | USE DATABASE ID PUNTOCOMAcrear_statement : CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statementcrear_statement : CREATE or_replace DATABASE if_not_exists ID owner_ mode_or_replace : OR REPLACE\n | if_not_exists : IF NOT EXISTS\n | owner_ : OWNER IGUAL ID\n | mode_ : MODE IGUAL ENTERO\n | alter_statement : ALTER DATABASE ID rename_owneralter_statement : ALTER TABLE ID alter_oprename_owner : RENAME TO ID\n | OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRAow_op : ID\n | CURRENT_USER\n | SESSION_USERdrop_statement : DROP DATABASE if_exists IDdrop_statement : DROP TABLE IDif_exists : IF EXISTS\n | contenido_tabla : contenido_tabla COMA manejo_tablacontenido_tabla : manejo_tablamanejo_tabla : declaracion_columna\n | condition_columndeclaracion_columna : ID type_column condition_column_rowdeclaracion_columna : ID type_columntype_column : SMALLINT\n | INTEGER\n\t | BIGINT\n\t | DECIMAL\n\t | NUMERIC\n\t | REAL\n\t | DOUBLE PRECISION\n\t | MONEY\n\t | VARCHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA\n \t | TEXT\n\t | DATE\n | TIMESTAMP\n | TIMEcondition_column_row : condition_column_row condition_columncondition_column_row : condition_columncondition_column : constraint UNIQUE op_unique\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | key_tablecondition_column : DEFAULT expression\n | NULL\n | NOT NULL\n\t | REFERENCE ID\n\t\t | CONSTRAINT ID key_table\n \t\t | constraint : CONSTRAINT ID\n | op_unique : PAR_ABRE list_id PAR_CIERRA\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | list_id : list_id COMA aliaslist_id : aliasalias : IDkey_table : PRIMARY KEY list_key\n\t | FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRAlist_key : PAR_ABRE list_id PAR_CIERRA\n\t | alter_op : ADD op_add\n\t | ALTER COLUMN ID alter_col_op\n\t | DROP alter_drop IDalter_drop : CONSTRAINT\n\t | COLUMN op_add : CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA\n | CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA\n | key_table REFERENCES PAR_ABRE list_id PAR_CIERRAalter_col_op : SET NOT NULL\n | TYPE type_columninherits_statement : INHERITS PAR_ABRE ID PAR_CIERRA\n | list_val : list_val COMA expressionlist_val : expressionwhere : WHERE ID IGUAL expression\n | seleccionar : SELECT distinto select_list FROM table_expression list_fin_selectseleccionar : SELECT GREATEST expressiones\n | SELECT LEAST expressioneslist_fin_select : list_fin_select fin_selectlist_fin_select : fin_selectfin_select : group_by \n\t | donde\n\t | order_by\n\t | group_having\n\t | limite\n \t| expressiones : PAR_ABRE list_expression PAR_CIERRAexpressiones : list_expressiondistinto : DISTINCT\n\t | select_list : ASTERISCO\n\t | expressiones table_expression : expressionesdonde : WHERE expressionesgroup_by : GROUP BY expressiones order_by : ORDER BY expressiones asc_desc nulls_f_lgroup_having : HAVING expressiones asc_desc : ASC\n\t | DESCnulls_f_l : NULLS LAST\n\t | NULLS FIRST\n\t | limite : LIMIT ENTERO\n\t | LIMIT ALL\n\t | OFFSET ENTEROlist_expression : list_expression COMA expressionlist_expression : expressionexpression : SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRAexpression : expression NOT BETWEEN SYMMETRIC expression AND expressionexpression : expression NOT BETWEEN expression AND expression\n | expression BETWEEN SYMMETRIC expression AND expressionexpression : expression BETWEEN expression AND expressionexpression : expression IS DISTINCT FROM expressionexpression : expression IS NOT DISTINCT FROM expressionexpression : ID PUNTO IDexpression : expression IS NOT NULL\n | expression IS NOT TRUE\n | expression IS NOT FALSE\n | expression IS NOT UNKNOWNexpression : expression IS NULL\n | expression IS TRUE\n | expression IS FALSE\n | expression IS UNKNOWNexpression : expression ISNULL\n | expression NOTNULLexpression : SUM PAR_ABRE expression PAR_CIERRA\n | COUNT PAR_ABRE expression PAR_CIERRA\n | AVG PAR_ABRE expression PAR_CIERRA\n | MAX PAR_ABRE expression PAR_CIERRA\n | MIN PAR_ABRE expression PAR_CIERRA\n | ABS PAR_ABRE expression PAR_CIERRA\n | CBRT PAR_ABRE expression PAR_CIERRA\n | CEIL PAR_ABRE expression PAR_CIERRA\n | CEILING PAR_ABRE expression PAR_CIERRA \n | DEGREES PAR_ABRE expression PAR_CIERRA\n | DIV PAR_ABRE expression PAR_CIERRA\n | EXP PAR_ABRE expression PAR_CIERRA\n | FACTORIAL PAR_ABRE expression PAR_CIERRA \n | FLOOR PAR_ABRE expression PAR_CIERRA\n | GCD PAR_ABRE expression PAR_CIERRA\n | LN PAR_ABRE expression PAR_CIERRA\n | LOG PAR_ABRE expression PAR_CIERRA\n | MOD PAR_ABRE expression PAR_CIERRA\n | PI PAR_ABRE expression PAR_CIERRA\n | POWER PAR_ABRE expression PAR_CIERRA\n | RADIANS PAR_ABRE expression PAR_CIERRA\n | ROUND PAR_ABRE expression PAR_CIERRAexpression : seleccionarexpression : PAR_ABRE expression PAR_CIERRAexpression : expression MAYOR expressionexpression : expression MENOR expressionexpression : expression MAYOR_IGUAL expressionexpression : expression MENOR_IGUAL expressionexpression : expression IGUAL expressionexpression : expression NO_IGUAL expressionexpression : expression DIFERENTE expressionexpression : expression AND expressionexpression : expression OR expressionexpression : NOT expressionexpression : ID\n | ASTERISCOexpression : ENTEROexpression : DECIMAL_NUMexpression : CADENA' _lr_action_items = {'SHOW':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[8,8,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'INSERT':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[9,9,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'UPDATE':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[10,10,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'DELETE':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[11,11,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'USE':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[12,12,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'CREATE':([0,2,3,17,18,19,20,21,38,92,364,366,368,],[13,13,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'ALTER':([0,2,3,17,18,19,20,21,38,47,92,364,366,368,],[14,14,-3,-2,-4,-5,-6,-7,-8,99,-12,-9,-10,-11,]),'DROP':([0,2,3,17,18,19,20,21,38,47,92,364,366,368,],[15,15,-3,-2,-4,-5,-6,-7,-8,102,-12,-9,-10,-11,]),'SELECT':([0,2,3,16,17,18,19,20,21,34,35,36,37,38,54,58,92,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,364,366,368,394,397,398,404,],[16,16,-3,-109,-2,-4,-5,-6,-7,16,16,16,-108,-8,16,16,-12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,-9,-10,-11,16,16,16,16,]),'$end':([1,2,3,17,18,19,20,21,38,92,364,366,368,],[0,-1,-3,-2,-4,-5,-6,-7,-8,-12,-9,-10,-11,]),'PUNTOCOMA':([4,5,6,7,22,42,50,55,56,59,82,83,84,85,86,87,88,96,100,103,114,115,125,166,171,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,228,231,232,233,234,235,236,238,242,243,244,245,246,256,259,265,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,314,316,319,324,336,343,349,351,353,354,355,356,359,361,384,385,387,391,393,395,396,399,400,401,410,411,414,415,416,417,418,420,421,422,426,427,428,430,433,434,],[18,19,20,21,38,92,-31,-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-23,-24,-30,-143,-144,-178,-20,-79,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-94,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-90,-22,-25,-81,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,364,366,368,-46,-13,-14,-80,-98,-113,-116,-122,-123,-124,-131,-132,-19,-26,-88,-114,-129,-130,-133,-48,-49,-50,-21,-87,-86,-121,-117,-118,-128,-93,-51,-89,-84,-85,-115,-127,-119,-120,]),'DATABASES':([8,],[22,]),'INTO':([9,],[23,]),'ID':([10,16,23,25,26,27,30,31,32,33,34,35,36,37,40,44,48,54,58,91,93,94,104,105,106,109,111,112,116,117,118,119,120,121,122,123,124,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,159,162,163,168,170,173,175,176,177,184,186,229,247,258,260,262,274,276,280,281,283,289,313,315,329,330,331,334,335,338,348,350,352,357,360,362,374,389,394,397,398,404,406,425,435,],[24,-109,39,41,42,43,46,47,-33,50,59,59,59,-108,90,-18,103,59,59,151,152,166,-32,59,59,59,59,59,59,59,59,59,59,59,59,59,59,203,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,252,253,259,261,263,265,-82,-83,59,59,59,152,-17,340,346,59,59,59,59,59,59,59,367,378,379,59,378,378,384,378,59,59,59,59,59,403,413,59,59,59,59,378,432,378,]),'FROM':([11,51,52,53,55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,188,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,284,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[25,105,-110,-111,-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,-105,-112,-106,-168,-125,-176,283,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-95,-99,-100,-101,-102,-103,-104,362,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'DATABASE':([12,13,14,15,28,45,],[26,-16,30,32,44,-15,]),'TABLE':([13,14,15,],[27,31,33,]),'OR':([13,52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[29,-180,-107,123,-179,-167,-181,-182,-183,-96,-180,-97,123,-143,-144,-178,-105,-112,123,-106,-168,123,123,-176,-139,-140,-141,-142,-169,-170,-171,-172,123,-174,123,-177,123,-134,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,-95,-99,-100,-101,-102,-103,-104,123,123,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,123,-98,-113,-116,-122,-123,-124,123,-131,123,123,123,123,-114,-129,-130,123,-121,-117,-118,-128,123,123,123,-115,-127,-119,-120,]),'GREATEST':([16,],[35,]),'LEAST':([16,],[36,]),'DISTINCT':([16,113,189,],[37,188,284,]),'ASTERISCO':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,52,87,87,-108,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,]),'PAR_ABRE':([16,34,35,36,37,43,54,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,89,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,172,184,186,229,239,240,241,248,249,254,255,264,274,276,280,281,283,289,313,323,325,331,347,350,352,357,360,362,375,394,397,398,404,432,],[-109,54,54,54,-108,93,106,124,106,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,54,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,262,106,106,106,320,321,322,329,331,334,335,348,54,54,106,106,106,106,106,373,374,106,389,54,54,106,106,106,404,106,106,106,106,435,]),'SUBSTRING':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,57,57,57,-108,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,]),'SUM':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,60,60,60,-108,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,]),'COUNT':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,61,61,61,-108,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,]),'AVG':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,62,62,62,-108,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,]),'MAX':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,63,63,63,-108,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,]),'MIN':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,64,64,64,-108,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,]),'ABS':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,65,65,65,-108,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,]),'CBRT':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,66,66,66,-108,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,]),'CEIL':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,67,67,67,-108,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,]),'CEILING':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,68,68,68,-108,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'DEGREES':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,69,69,69,-108,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,]),'DIV':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,70,70,70,-108,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,]),'EXP':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,71,71,71,-108,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,]),'FACTORIAL':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,72,72,72,-108,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,]),'FLOOR':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,73,73,73,-108,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,]),'GCD':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,74,74,74,-108,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,]),'LN':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,75,75,75,-108,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,]),'LOG':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,76,76,76,-108,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,]),'MOD':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,77,77,77,-108,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,]),'PI':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,78,78,78,-108,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,]),'POWER':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,79,79,79,-108,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,]),'RADIANS':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,80,80,80,-108,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,]),'ROUND':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,81,81,81,-108,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,]),'NOT':([16,34,35,36,37,52,54,55,56,58,59,82,83,84,85,86,87,88,93,95,105,106,108,109,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,158,159,160,178,179,180,181,182,183,184,185,186,187,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,227,228,229,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,274,276,279,280,281,282,283,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,313,316,317,318,319,328,331,332,333,344,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,365,369,380,391,393,394,395,396,397,398,399,400,401,404,405,407,408,415,416,417,418,419,420,421,423,428,430,431,433,434,437,],[-109,58,58,58,-108,-180,58,-107,110,58,-179,-167,-181,-182,-183,-96,-180,-97,161,167,58,58,110,58,58,58,189,-143,-144,58,58,58,58,58,58,58,58,58,110,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,-60,58,-62,-105,-112,110,-106,-168,110,58,110,58,110,-139,-140,-141,-142,110,110,110,110,110,110,110,110,110,-134,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,58,161,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,161,-71,110,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,58,58,110,58,58,110,58,-135,-136,-137,-138,58,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,58,110,161,-57,-46,-58,58,-65,-75,386,-98,58,-113,58,-116,-122,-123,-124,58,110,110,58,110,58,110,110,-56,110,-114,110,58,110,110,58,58,-48,-49,-50,58,-69,-59,-77,-121,-117,-118,110,110,110,-51,110,-115,-127,-70,-119,-120,-76,]),'ENTERO':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,277,278,280,281,283,289,313,320,321,322,331,350,352,357,360,362,373,383,394,397,398,404,],[-109,83,83,83,-108,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,354,356,83,83,83,83,83,370,371,372,83,83,83,83,83,83,402,410,83,83,83,83,]),'DECIMAL_NUM':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[-109,84,84,84,-108,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,]),'CADENA':([16,34,35,36,37,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,388,394,397,398,404,],[-109,85,85,85,-108,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,412,85,85,85,85,]),'SET':([24,261,],[40,344,]),'REPLACE':([29,],[45,]),'IF':([32,44,],[49,95,]),'VALUES':([39,],[89,]),'WHERE':([41,55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,228,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[91,-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,274,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,315,274,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'RENAME':([46,],[97,]),'OWNER':([46,166,],[98,257,]),'ADD':([47,],[101,]),'EXISTS':([49,167,],[104,258,]),'BETWEEN':([52,55,56,59,82,83,84,85,86,87,88,108,110,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,111,-179,-167,-181,-182,-183,-96,-180,-97,111,184,-143,-144,-178,-105,-112,111,-106,-168,111,111,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,111,-177,111,-134,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,-95,-99,-100,-101,-102,-103,-104,111,111,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,111,-98,-113,-116,-122,-123,-124,111,-131,111,111,111,111,-114,-129,-130,111,-121,-117,-118,-128,111,111,111,-115,-127,-119,-120,]),'IS':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,113,-179,-167,-181,-182,-183,-96,-180,-97,113,-143,-144,-178,-105,-112,113,-106,-168,113,113,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,113,-177,113,-134,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,-95,-99,-100,-101,-102,-103,-104,113,113,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,113,-98,-113,-116,-122,-123,-124,113,-131,113,113,113,113,-114,-129,-130,113,-121,-117,-118,-128,113,113,113,-115,-127,-119,-120,]),'ISNULL':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,114,-179,-167,-181,-182,-183,-96,-180,-97,114,-143,-144,-178,-105,-112,114,-106,-168,114,114,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,114,-177,114,-134,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,-95,-99,-100,-101,-102,-103,-104,114,114,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,114,-98,-113,-116,-122,-123,-124,114,-131,114,114,114,114,-114,-129,-130,114,-121,-117,-118,-128,114,114,114,-115,-127,-119,-120,]),'NOTNULL':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,115,-179,-167,-181,-182,-183,-96,-180,-97,115,-143,-144,-178,-105,-112,115,-106,-168,115,115,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,115,-177,115,-134,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,-95,-99,-100,-101,-102,-103,-104,115,115,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,115,-98,-113,-116,-122,-123,-124,115,-131,115,115,115,115,-114,-129,-130,115,-121,-117,-118,-128,115,115,115,-115,-127,-119,-120,]),'MAYOR':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,116,-179,-167,-181,-182,-183,-96,-180,-97,116,-143,-144,-178,-105,-112,116,-106,-168,116,116,116,-139,-140,-141,-142,None,None,None,None,116,116,116,116,116,-134,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,-95,-99,-100,-101,-102,-103,-104,116,116,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,116,-98,-113,-116,-122,-123,-124,116,116,116,116,116,116,-114,116,116,116,-121,-117,-118,116,116,116,116,-115,-127,-119,-120,]),'MENOR':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,117,-179,-167,-181,-182,-183,-96,-180,-97,117,-143,-144,-178,-105,-112,117,-106,-168,117,117,117,-139,-140,-141,-142,None,None,None,None,117,117,117,117,117,-134,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,-95,-99,-100,-101,-102,-103,-104,117,117,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,117,-98,-113,-116,-122,-123,-124,117,117,117,117,117,117,-114,117,117,117,-121,-117,-118,117,117,117,117,-115,-127,-119,-120,]),'MAYOR_IGUAL':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,118,-179,-167,-181,-182,-183,-96,-180,-97,118,-143,-144,-178,-105,-112,118,-106,-168,118,118,118,-139,-140,-141,-142,None,None,None,None,118,118,118,118,118,-134,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,-95,-99,-100,-101,-102,-103,-104,118,118,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,118,-98,-113,-116,-122,-123,-124,118,118,118,118,118,118,-114,118,118,118,-121,-117,-118,118,118,118,118,-115,-127,-119,-120,]),'MENOR_IGUAL':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,119,-179,-167,-181,-182,-183,-96,-180,-97,119,-143,-144,-178,-105,-112,119,-106,-168,119,119,119,-139,-140,-141,-142,None,None,None,None,119,119,119,119,119,-134,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,-95,-99,-100,-101,-102,-103,-104,119,119,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,119,-98,-113,-116,-122,-123,-124,119,119,119,119,119,119,-114,119,119,119,-121,-117,-118,119,119,119,119,-115,-127,-119,-120,]),'IGUAL':([52,55,56,59,82,83,84,85,86,87,88,90,108,114,115,125,151,178,179,180,181,182,183,185,187,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,227,228,250,257,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,337,349,351,353,354,355,356,358,359,361,363,365,367,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,120,-179,-167,-181,-182,-183,-96,-180,-97,150,120,-143,-144,-178,229,-105,-112,120,-106,-168,120,120,-176,-139,-140,-141,-142,-169,-170,-171,-172,120,-174,120,-177,120,-134,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,338,-95,-99,-100,-101,-102,-103,-104,120,120,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,120,383,-98,-113,-116,-122,-123,-124,120,-131,120,120,120,398,120,-114,-129,-130,120,-121,-117,-118,-128,120,120,120,-115,-127,-119,-120,]),'NO_IGUAL':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,121,-179,-167,-181,-182,-183,-96,-180,-97,121,-143,-144,-178,-105,-112,121,-106,-168,121,121,121,-139,-140,-141,-142,-169,-170,-171,-172,121,-174,121,121,121,-134,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,-95,-99,-100,-101,-102,-103,-104,121,121,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,121,-98,-113,-116,-122,-123,-124,121,121,121,121,121,121,-114,121,121,121,-121,-117,-118,121,121,121,121,-115,-127,-119,-120,]),'DIFERENTE':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,346,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,122,-179,-167,-181,-182,-183,-96,-180,-97,122,-143,-144,-178,-105,-112,122,-106,-168,122,122,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,122,-177,122,-134,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,-95,-99,-100,-101,-102,-103,-104,122,122,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,122,388,-98,-113,-116,-122,-123,-124,122,-131,122,122,122,122,-114,-129,-130,122,-121,-117,-118,-128,122,122,122,-115,-127,-119,-120,]),'AND':([52,55,56,59,82,83,84,85,86,87,88,108,114,115,125,178,179,180,181,182,183,185,187,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,227,228,250,266,267,268,269,270,271,272,279,282,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,316,349,351,353,354,355,356,358,359,361,363,365,380,391,393,395,396,415,416,417,418,419,420,423,428,430,433,434,],[-180,-107,112,-179,-167,-181,-182,-183,-96,-180,-97,112,-143,-144,-178,-105,-112,112,-106,-168,112,281,-176,-139,-140,-141,-142,-169,-170,-171,-172,112,-174,112,112,112,-134,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,-95,-99,-100,-101,-102,-103,-104,357,360,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,112,-98,-113,-116,-122,-123,-124,394,-131,112,112,112,112,-114,-129,-130,112,-121,-117,-118,-128,112,112,112,-115,-127,-119,-120,]),'COMA':([52,55,56,59,82,83,84,85,86,87,88,93,107,108,114,115,125,153,154,155,156,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,202,203,226,227,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,326,328,332,333,349,351,353,354,355,356,359,361,363,365,369,376,377,378,381,382,390,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,424,428,430,431,433,434,436,437,],[-180,109,-126,-179,-167,-181,-182,-183,-96,-180,-97,-66,109,-126,-143,-144,-178,247,-35,-36,-37,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,289,-134,313,-92,-39,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-66,-71,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-38,-57,-46,-34,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,397,-91,-56,406,-73,-74,406,406,406,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-72,-115,-127,-70,-119,-120,406,-76,]),'PAR_CIERRA':([55,56,59,82,83,84,85,86,87,88,93,107,108,114,115,125,153,154,155,156,158,160,178,179,180,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,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,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,326,328,332,333,349,351,353,354,355,356,359,361,365,369,370,371,372,376,377,378,380,381,382,390,391,393,395,396,399,400,401,402,403,405,407,408,412,413,415,416,417,418,419,421,423,424,428,430,431,433,434,436,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-66,181,182,-143,-144,-178,246,-35,-36,-37,-60,-62,-105,-112,182,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,-92,-39,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-66,-71,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-38,-57,-46,-34,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-91,-56,399,400,401,405,-73,-74,407,408,409,414,-114,-129,-130,-133,-48,-49,-50,421,422,-69,-59,-77,426,427,-121,-117,-118,-128,430,-51,431,-72,-115,-127,-70,-119,-120,437,-76,]),'GROUP':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,273,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,273,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'ORDER':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,275,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,275,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'HAVING':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,276,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,276,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'LIMIT':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,277,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,277,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'OFFSET':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,278,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,278,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'DEFAULT':([55,56,59,82,83,84,85,86,87,88,93,114,115,125,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,159,-143,-144,-178,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,159,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,159,-71,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,159,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'NULL':([55,56,59,82,83,84,85,86,87,88,93,113,114,115,125,158,160,161,178,179,181,182,183,187,189,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,386,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,160,190,-143,-144,-178,-60,-62,251,-105,-112,-106,-168,-125,-176,285,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,160,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,160,-71,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,160,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,411,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'REFERENCE':([55,56,59,82,83,84,85,86,87,88,93,114,115,125,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,162,-143,-144,-178,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,162,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,162,-71,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,162,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'CONSTRAINT':([55,56,59,82,83,84,85,86,87,88,93,101,102,114,115,125,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,163,173,176,-143,-144,-178,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,163,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,163,330,-61,-63,-64,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,163,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'PRIMARY':([55,56,59,82,83,84,85,86,87,88,93,101,114,115,125,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,253,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,164,164,-143,-144,-178,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,164,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,164,-71,-61,-63,-64,164,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,164,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'FOREIGN':([55,56,59,82,83,84,85,86,87,88,93,101,114,115,125,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,253,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,165,165,-143,-144,-178,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,165,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,165,-71,-61,-63,-64,165,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,165,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'UNIQUE':([55,56,59,82,83,84,85,86,87,88,93,114,115,125,157,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,253,254,263,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,328,332,333,349,351,353,354,355,356,359,361,369,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-68,-143,-144,-178,248,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-66,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-68,-71,-61,-63,-64,-67,-78,347,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-66,-57,-46,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'CHECK':([55,56,59,82,83,84,85,86,87,88,93,101,114,115,125,157,158,160,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,230,231,232,233,234,235,236,238,242,243,244,245,247,248,250,251,252,253,254,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,317,318,319,327,328,332,333,349,351,353,354,355,356,359,361,369,379,391,393,395,396,399,400,401,405,407,408,415,416,417,418,421,428,430,431,433,434,437,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-68,172,-143,-144,-178,249,-60,-62,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-66,-40,-41,-42,-43,-44,-45,-47,-52,-53,-54,-55,-68,-68,-61,-63,-64,-67,-78,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-66,-57,-46,375,-58,-65,-75,-98,-113,-116,-122,-123,-124,-131,-132,-56,-67,-114,-129,-130,-133,-48,-49,-50,-69,-59,-77,-121,-117,-118,-128,-51,-115,-127,-70,-119,-120,-76,]),'ASC':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,392,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,416,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'DESC':([55,56,59,82,83,84,85,86,87,88,114,115,125,178,179,181,182,183,187,190,191,192,193,194,195,196,197,198,199,200,201,203,266,267,268,269,270,271,272,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,349,351,353,354,355,356,359,361,391,392,393,395,396,415,416,417,418,428,430,433,434,],[-107,-126,-179,-167,-181,-182,-183,-96,-180,-97,-143,-144,-178,-105,-112,-106,-168,-125,-176,-139,-140,-141,-142,-169,-170,-171,-172,-173,-174,-175,-177,-134,-95,-99,-100,-101,-102,-103,-104,-135,-136,-137,-138,-145,-146,-147,-148,-149,-150,-151,-152,-153,-154,-155,-156,-157,-158,-159,-160,-161,-162,-163,-164,-165,-166,-98,-113,-116,-122,-123,-124,-131,-132,-114,417,-129,-130,-133,-121,-117,-118,-128,-115,-127,-119,-120,]),'PUNTO':([59,],[126,]),'TO':([97,98,],[168,169,]),'COLUMN':([99,102,],[170,177,]),'SYMMETRIC':([111,184,],[186,280,]),'TRUE':([113,189,],[191,286,]),'FALSE':([113,189,],[192,287,]),'UNKNOWN':([113,189,],[193,288,]),'SMALLINT':([152,345,],[231,231,]),'INTEGER':([152,345,],[232,232,]),'BIGINT':([152,345,],[233,233,]),'DECIMAL':([152,345,],[234,234,]),'NUMERIC':([152,345,],[235,235,]),'REAL':([152,345,],[236,236,]),'DOUBLE':([152,345,],[237,237,]),'MONEY':([152,345,],[238,238,]),'VARCHAR':([152,345,],[239,239,]),'CHAR':([152,345,],[240,240,]),'CHARACTER':([152,345,],[241,241,]),'TEXT':([152,345,],[242,242,]),'DATE':([152,345,],[243,243,]),'TIMESTAMP':([152,345,],[244,244,]),'TIME':([152,345,],[245,245,]),'KEY':([164,165,],[254,255,]),'MODE':([166,256,384,],[-20,337,-19,]),'LLAVE_ABRE':([169,],[260,]),'REFERENCES':([174,254,333,408,409,437,],[264,-78,-75,-77,425,-76,]),'PRECISION':([237,],[319,]),'VARYING':([241,],[323,]),'INHERITS':([246,],[325,]),'CURRENT_USER':([260,],[341,]),'SESSION_USER':([260,],[342,]),'TYPE':([261,],[345,]),'BY':([273,275,],[350,352,]),'ALL':([277,],[355,]),'LLAVE_CIERRA':([339,340,341,342,],[385,-27,-28,-29,]),'NULLS':([415,416,417,],[429,-117,-118,]),'LAST':([429,],[433,]),'FIRST':([429,],[434,]),} _lr_action = {} for _k, _v in _lr_action_items.items(): for _x,_y in zip(_v[0],_v[1]): if not _x in _lr_action: _lr_action[_x] = {} _lr_action[_x][_k] = _y del _lr_action_items _lr_goto_items = {'init':([0,],[1,]),'instrucciones':([0,],[2,]),'instruccion':([0,2,],[3,17,]),'crear_statement':([0,2,],[4,4,]),'alter_statement':([0,2,],[5,5,]),'drop_statement':([0,2,],[6,6,]),'seleccionar':([0,2,34,35,36,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[7,7,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,]),'or_replace':([13,],[28,]),'distinto':([16,],[34,]),'if_exists':([32,],[48,]),'select_list':([34,],[51,]),'expressiones':([34,35,36,105,274,276,350,352,],[53,86,88,179,351,353,391,392,]),'list_expression':([34,35,36,54,105,274,276,350,352,],[55,55,55,107,55,55,55,55,55,]),'expression':([34,35,36,54,58,105,106,109,111,112,116,117,118,119,120,121,122,123,124,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,159,184,186,229,274,276,280,281,283,289,313,331,350,352,357,360,362,394,397,398,404,],[56,56,56,108,125,56,180,183,185,187,194,195,196,197,198,199,200,201,202,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,227,228,250,279,282,316,56,56,358,359,361,363,365,380,56,56,393,395,396,418,419,420,423,]),'if_not_exists':([44,],[94,]),'rename_owner':([46,],[96,]),'alter_op':([47,],[100,]),'contenido_tabla':([93,],[153,]),'manejo_tabla':([93,247,],[154,326,]),'declaracion_columna':([93,247,],[155,155,]),'condition_column':([93,230,247,317,],[156,318,156,369,]),'constraint':([93,230,247,248,317,],[157,157,157,327,157,]),'key_table':([93,101,230,247,253,317,],[158,174,158,158,332,158,]),'op_add':([101,],[171,]),'alter_drop':([102,],[175,]),'table_expression':([105,],[178,]),'list_val':([149,],[226,]),'type_column':([152,345,],[230,387,]),'owner_':([166,],[256,]),'list_fin_select':([178,],[266,]),'fin_select':([178,266,],[267,349,]),'group_by':([178,266,],[268,268,]),'donde':([178,266,],[269,269,]),'order_by':([178,266,],[270,270,]),'group_having':([178,266,],[271,271,]),'limite':([178,266,],[272,272,]),'where':([228,],[314,]),'condition_column_row':([230,],[317,]),'inherits_statement':([246,],[324,]),'op_unique':([248,],[328,]),'list_key':([254,],[333,]),'mode_':([256,],[336,]),'ow_op':([260,],[339,]),'alter_col_op':([261,],[343,]),'list_id':([329,334,335,348,435,],[376,381,382,390,436,]),'alias':([329,334,335,348,406,435,],[377,377,377,377,424,377,]),'asc_desc':([392,],[415,]),'nulls_f_l':([415,],[428,]),} _lr_goto = {} for _k, _v in _lr_goto_items.items(): for _x, _y in zip(_v[0], _v[1]): if not _x in _lr_goto: _lr_goto[_x] = {} _lr_goto[_x][_k] = _y del _lr_goto_items _lr_productions = [ ("S' -> init","S'",1,None,None,None), ('init -> instrucciones','init',1,'p_init','sql_grammar.py',324), ('instrucciones -> instrucciones instruccion','instrucciones',2,'p_instrucciones_lista','sql_grammar.py',328), ('instrucciones -> instruccion','instrucciones',1,'p_instrucciones_instruccion','sql_grammar.py',333), ('instruccion -> crear_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',337), ('instruccion -> alter_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',338), ('instruccion -> drop_statement PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',339), ('instruccion -> seleccionar PUNTOCOMA','instruccion',2,'p_instruccion','sql_grammar.py',340), ('instruccion -> SHOW DATABASES PUNTOCOMA','instruccion',3,'p_aux_instruccion','sql_grammar.py',344), ('instruccion -> INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',345), ('instruccion -> UPDATE ID SET ID IGUAL expression where PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',346), ('instruccion -> DELETE FROM ID WHERE ID IGUAL expression PUNTOCOMA','instruccion',8,'p_aux_instruccion','sql_grammar.py',347), ('instruccion -> USE DATABASE ID PUNTOCOMA','instruccion',4,'p_aux_instruccion','sql_grammar.py',348), ('crear_statement -> CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statement','crear_statement',7,'p_crear_statement_tbl','sql_grammar.py',367), ('crear_statement -> CREATE or_replace DATABASE if_not_exists ID owner_ mode_','crear_statement',7,'p_crear_statement_db','sql_grammar.py',373), ('or_replace -> OR REPLACE','or_replace',2,'p_or_replace_db','sql_grammar.py',379), ('or_replace -> <empty>','or_replace',0,'p_or_replace_db','sql_grammar.py',380), ('if_not_exists -> IF NOT EXISTS','if_not_exists',3,'p_if_not_exists_db','sql_grammar.py',388), ('if_not_exists -> <empty>','if_not_exists',0,'p_if_not_exists_db','sql_grammar.py',389), ('owner_ -> OWNER IGUAL ID','owner_',3,'p_owner_db','sql_grammar.py',397), ('owner_ -> <empty>','owner_',0,'p_owner_db','sql_grammar.py',398), ('mode_ -> MODE IGUAL ENTERO','mode_',3,'p_mode_db','sql_grammar.py',408), ('mode_ -> <empty>','mode_',0,'p_mode_db','sql_grammar.py',409), ('alter_statement -> ALTER DATABASE ID rename_owner','alter_statement',4,'p_alter_db','sql_grammar.py',419), ('alter_statement -> ALTER TABLE ID alter_op','alter_statement',4,'p_alter_tbl','sql_grammar.py',425), ('rename_owner -> RENAME TO ID','rename_owner',3,'p_rename_owner_db','sql_grammar.py',432), ('rename_owner -> OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRA','rename_owner',5,'p_rename_owner_db','sql_grammar.py',433), ('ow_op -> ID','ow_op',1,'p_ow_op_db','sql_grammar.py',443), ('ow_op -> CURRENT_USER','ow_op',1,'p_ow_op_db','sql_grammar.py',444), ('ow_op -> SESSION_USER','ow_op',1,'p_ow_op_db','sql_grammar.py',445), ('drop_statement -> DROP DATABASE if_exists ID','drop_statement',4,'p_drop_db','sql_grammar.py',449), ('drop_statement -> DROP TABLE ID','drop_statement',3,'p_drop_tbl','sql_grammar.py',458), ('if_exists -> IF EXISTS','if_exists',2,'p_if_exists_db','sql_grammar.py',464), ('if_exists -> <empty>','if_exists',0,'p_if_exists_db','sql_grammar.py',465), ('contenido_tabla -> contenido_tabla COMA manejo_tabla','contenido_tabla',3,'p_contenido_tabla','sql_grammar.py',472), ('contenido_tabla -> manejo_tabla','contenido_tabla',1,'p_aux_contenido_table','sql_grammar.py',477), ('manejo_tabla -> declaracion_columna','manejo_tabla',1,'p_manejo_tabla','sql_grammar.py',481), ('manejo_tabla -> condition_column','manejo_tabla',1,'p_manejo_tabla','sql_grammar.py',482), ('declaracion_columna -> ID type_column condition_column_row','declaracion_columna',3,'p_aux_declaracion_columna','sql_grammar.py',486), ('declaracion_columna -> ID type_column','declaracion_columna',2,'p_declaracion_columna','sql_grammar.py',492), ('type_column -> SMALLINT','type_column',1,'p_type_column','sql_grammar.py',498), ('type_column -> INTEGER','type_column',1,'p_type_column','sql_grammar.py',499), ('type_column -> BIGINT','type_column',1,'p_type_column','sql_grammar.py',500), ('type_column -> DECIMAL','type_column',1,'p_type_column','sql_grammar.py',501), ('type_column -> NUMERIC','type_column',1,'p_type_column','sql_grammar.py',502), ('type_column -> REAL','type_column',1,'p_type_column','sql_grammar.py',503), ('type_column -> DOUBLE PRECISION','type_column',2,'p_type_column','sql_grammar.py',504), ('type_column -> MONEY','type_column',1,'p_type_column','sql_grammar.py',505), ('type_column -> VARCHAR PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',506), ('type_column -> CHAR PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',507), ('type_column -> CHARACTER PAR_ABRE ENTERO PAR_CIERRA','type_column',4,'p_type_column','sql_grammar.py',508), ('type_column -> CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA','type_column',5,'p_type_column','sql_grammar.py',509), ('type_column -> TEXT','type_column',1,'p_type_column','sql_grammar.py',510), ('type_column -> DATE','type_column',1,'p_type_column','sql_grammar.py',511), ('type_column -> TIMESTAMP','type_column',1,'p_type_column','sql_grammar.py',512), ('type_column -> TIME','type_column',1,'p_type_column','sql_grammar.py',513), ('condition_column_row -> condition_column_row condition_column','condition_column_row',2,'p_condition_column_row','sql_grammar.py',547), ('condition_column_row -> condition_column','condition_column_row',1,'p_aux_condition_column_row','sql_grammar.py',552), ('condition_column -> constraint UNIQUE op_unique','condition_column',3,'p_condition_column','sql_grammar.py',556), ('condition_column -> constraint CHECK PAR_ABRE expression PAR_CIERRA','condition_column',5,'p_condition_column','sql_grammar.py',557), ('condition_column -> key_table','condition_column',1,'p_condition_column','sql_grammar.py',558), ('condition_column -> DEFAULT expression','condition_column',2,'p_aux_condition_column','sql_grammar.py',573), ('condition_column -> NULL','condition_column',1,'p_aux_condition_column','sql_grammar.py',574), ('condition_column -> NOT NULL','condition_column',2,'p_aux_condition_column','sql_grammar.py',575), ('condition_column -> REFERENCE ID','condition_column',2,'p_aux_condition_column','sql_grammar.py',576), ('condition_column -> CONSTRAINT ID key_table','condition_column',3,'p_aux_condition_column','sql_grammar.py',577), ('condition_column -> <empty>','condition_column',0,'p_aux_condition_column','sql_grammar.py',578), ('constraint -> CONSTRAINT ID','constraint',2,'p_constraint','sql_grammar.py',600), ('constraint -> <empty>','constraint',0,'p_constraint','sql_grammar.py',601), ('op_unique -> PAR_ABRE list_id PAR_CIERRA','op_unique',3,'p_op_unique','sql_grammar.py',611), ('op_unique -> constraint CHECK PAR_ABRE expression PAR_CIERRA','op_unique',5,'p_op_unique','sql_grammar.py',612), ('op_unique -> <empty>','op_unique',0,'p_op_unique','sql_grammar.py',613), ('list_id -> list_id COMA alias','list_id',3,'p_list_id','sql_grammar.py',624), ('list_id -> alias','list_id',1,'p_aux_list_id','sql_grammar.py',629), ('alias -> ID','alias',1,'p_alias','sql_grammar.py',633), ('key_table -> PRIMARY KEY list_key','key_table',3,'p_key_table','sql_grammar.py',639), ('key_table -> FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRA','key_table',10,'p_key_table','sql_grammar.py',640), ('list_key -> PAR_ABRE list_id PAR_CIERRA','list_key',3,'p_list_key','sql_grammar.py',653), ('list_key -> <empty>','list_key',0,'p_list_key','sql_grammar.py',654), ('alter_op -> ADD op_add','alter_op',2,'p_alter_op','sql_grammar.py',661), ('alter_op -> ALTER COLUMN ID alter_col_op','alter_op',4,'p_alter_op','sql_grammar.py',662), ('alter_op -> DROP alter_drop ID','alter_op',3,'p_alter_op','sql_grammar.py',663), ('alter_drop -> CONSTRAINT','alter_drop',1,'p_aux_alter_op','sql_grammar.py',678), ('alter_drop -> COLUMN','alter_drop',1,'p_aux_alter_op','sql_grammar.py',679), ('op_add -> CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA','op_add',6,'p_op_add','sql_grammar.py',683), ('op_add -> CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA','op_add',6,'p_op_add','sql_grammar.py',684), ('op_add -> key_table REFERENCES PAR_ABRE list_id PAR_CIERRA','op_add',5,'p_op_add','sql_grammar.py',685), ('alter_col_op -> SET NOT NULL','alter_col_op',3,'p_alter_col_op','sql_grammar.py',698), ('alter_col_op -> TYPE type_column','alter_col_op',2,'p_alter_col_op','sql_grammar.py',699), ('inherits_statement -> INHERITS PAR_ABRE ID PAR_CIERRA','inherits_statement',4,'p_inherits_tbl','sql_grammar.py',709), ('inherits_statement -> <empty>','inherits_statement',0,'p_inherits_tbl','sql_grammar.py',710), ('list_val -> list_val COMA expression','list_val',3,'p_list_val','sql_grammar.py',719), ('list_val -> expression','list_val',1,'p_aux_list_val','sql_grammar.py',724), ('where -> WHERE ID IGUAL expression','where',4,'p_where','sql_grammar.py',728), ('where -> <empty>','where',0,'p_where','sql_grammar.py',729), ('seleccionar -> SELECT distinto select_list FROM table_expression list_fin_select','seleccionar',6,'p_seleccionar','sql_grammar.py',739), ('seleccionar -> SELECT GREATEST expressiones','seleccionar',3,'p_aux_seleccionar','sql_grammar.py',749), ('seleccionar -> SELECT LEAST expressiones','seleccionar',3,'p_aux_seleccionar','sql_grammar.py',750), ('list_fin_select -> list_fin_select fin_select','list_fin_select',2,'p_list_fin_select','sql_grammar.py',756), ('list_fin_select -> fin_select','list_fin_select',1,'p_aux_list_fin_select','sql_grammar.py',761), ('fin_select -> group_by','fin_select',1,'p_fin_select','sql_grammar.py',765), ('fin_select -> donde','fin_select',1,'p_fin_select','sql_grammar.py',766), ('fin_select -> order_by','fin_select',1,'p_fin_select','sql_grammar.py',767), ('fin_select -> group_having','fin_select',1,'p_fin_select','sql_grammar.py',768), ('fin_select -> limite','fin_select',1,'p_fin_select','sql_grammar.py',769), ('fin_select -> <empty>','fin_select',0,'p_fin_select','sql_grammar.py',770), ('expressiones -> PAR_ABRE list_expression PAR_CIERRA','expressiones',3,'p_expressiones','sql_grammar.py',777), ('expressiones -> list_expression','expressiones',1,'p_aux_expressiones','sql_grammar.py',781), ('distinto -> DISTINCT','distinto',1,'p_distinto','sql_grammar.py',785), ('distinto -> <empty>','distinto',0,'p_distinto','sql_grammar.py',786), ('select_list -> ASTERISCO','select_list',1,'p_select_list','sql_grammar.py',793), ('select_list -> expressiones','select_list',1,'p_select_list','sql_grammar.py',794), ('table_expression -> expressiones','table_expression',1,'p_table_expression','sql_grammar.py',798), ('donde -> WHERE expressiones','donde',2,'p_donde','sql_grammar.py',802), ('group_by -> GROUP BY expressiones','group_by',3,'p_group_by','sql_grammar.py',811), ('order_by -> ORDER BY expressiones asc_desc nulls_f_l','order_by',5,'p_order_by','sql_grammar.py',820), ('group_having -> HAVING expressiones','group_having',2,'p_group_having','sql_grammar.py',829), ('asc_desc -> ASC','asc_desc',1,'p_asc_desc','sql_grammar.py',838), ('asc_desc -> DESC','asc_desc',1,'p_asc_desc','sql_grammar.py',839), ('nulls_f_l -> NULLS LAST','nulls_f_l',2,'p_nulls_f_l','sql_grammar.py',843), ('nulls_f_l -> NULLS FIRST','nulls_f_l',2,'p_nulls_f_l','sql_grammar.py',844), ('nulls_f_l -> <empty>','nulls_f_l',0,'p_nulls_f_l','sql_grammar.py',845), ('limite -> LIMIT ENTERO','limite',2,'p_limite','sql_grammar.py',852), ('limite -> LIMIT ALL','limite',2,'p_limite','sql_grammar.py',853), ('limite -> OFFSET ENTERO','limite',2,'p_limite','sql_grammar.py',854), ('list_expression -> list_expression COMA expression','list_expression',3,'p_list_expression','sql_grammar.py',863), ('list_expression -> expression','list_expression',1,'p_aux_list_expression','sql_grammar.py',868), ('expression -> SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA','expression',8,'p_expression','sql_grammar.py',872), ('expression -> expression NOT BETWEEN SYMMETRIC expression AND expression','expression',7,'p_expression_between3','sql_grammar.py',881), ('expression -> expression NOT BETWEEN expression AND expression','expression',6,'p_expression_between2','sql_grammar.py',890), ('expression -> expression BETWEEN SYMMETRIC expression AND expression','expression',6,'p_expression_between2','sql_grammar.py',891), ('expression -> expression BETWEEN expression AND expression','expression',5,'p_expression_between','sql_grammar.py',900), ('expression -> expression IS DISTINCT FROM expression','expression',5,'p_expression_Distinct','sql_grammar.py',911), ('expression -> expression IS NOT DISTINCT FROM expression','expression',6,'p_expression_not_Distinct','sql_grammar.py',920), ('expression -> ID PUNTO ID','expression',3,'p_expression_puntoId','sql_grammar.py',929), ('expression -> expression IS NOT NULL','expression',4,'p_expression_null3','sql_grammar.py',938), ('expression -> expression IS NOT TRUE','expression',4,'p_expression_null3','sql_grammar.py',939), ('expression -> expression IS NOT FALSE','expression',4,'p_expression_null3','sql_grammar.py',940), ('expression -> expression IS NOT UNKNOWN','expression',4,'p_expression_null3','sql_grammar.py',941), ('expression -> expression IS NULL','expression',3,'p_expression_null2','sql_grammar.py',950), ('expression -> expression IS TRUE','expression',3,'p_expression_null2','sql_grammar.py',951), ('expression -> expression IS FALSE','expression',3,'p_expression_null2','sql_grammar.py',952), ('expression -> expression IS UNKNOWN','expression',3,'p_expression_null2','sql_grammar.py',953), ('expression -> expression ISNULL','expression',2,'p_expression_null','sql_grammar.py',962), ('expression -> expression NOTNULL','expression',2,'p_expression_null','sql_grammar.py',963), ('expression -> SUM PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',972), ('expression -> COUNT PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',973), ('expression -> AVG PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',974), ('expression -> MAX PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',975), ('expression -> MIN PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',976), ('expression -> ABS PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',977), ('expression -> CBRT PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',978), ('expression -> CEIL PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',979), ('expression -> CEILING PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',980), ('expression -> DEGREES PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',981), ('expression -> DIV PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',982), ('expression -> EXP PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',983), ('expression -> FACTORIAL PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',984), ('expression -> FLOOR PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',985), ('expression -> GCD PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',986), ('expression -> LN PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',987), ('expression -> LOG PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',988), ('expression -> MOD PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',989), ('expression -> PI PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',990), ('expression -> POWER PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',991), ('expression -> RADIANS PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',992), ('expression -> ROUND PAR_ABRE expression PAR_CIERRA','expression',4,'p_expression_agrupar','sql_grammar.py',993), ('expression -> seleccionar','expression',1,'p_expression_select','sql_grammar.py',1003), ('expression -> PAR_ABRE expression PAR_CIERRA','expression',3,'p_expression_ss','sql_grammar.py',1007), ('expression -> expression MAYOR expression','expression',3,'p_expression_relacional_aux_mayor','sql_grammar.py',1011), ('expression -> expression MENOR expression','expression',3,'p_expression_relacional_aux_menor','sql_grammar.py',1017), ('expression -> expression MAYOR_IGUAL expression','expression',3,'p_expression_relacional_aux_mayorigual','sql_grammar.py',1023), ('expression -> expression MENOR_IGUAL expression','expression',3,'p_expression_relacional_aux_menorigual','sql_grammar.py',1029), ('expression -> expression IGUAL expression','expression',3,'p_expression_relacional_aux_igual','sql_grammar.py',1035), ('expression -> expression NO_IGUAL expression','expression',3,'p_expression_relacional_aux_noigual','sql_grammar.py',1041), ('expression -> expression DIFERENTE expression','expression',3,'p_expression_relacional_aux_diferente','sql_grammar.py',1047), ('expression -> expression AND expression','expression',3,'p_expression_logica_and__and','sql_grammar.py',1053), ('expression -> expression OR expression','expression',3,'p_expression_logica_or','sql_grammar.py',1059), ('expression -> NOT expression','expression',2,'p_expression_logica_not','sql_grammar.py',1065), ('expression -> ID','expression',1,'p_solouno_expression','sql_grammar.py',1071), ('expression -> ASTERISCO','expression',1,'p_solouno_expression','sql_grammar.py',1072), ('expression -> ENTERO','expression',1,'p_expression_entero','sql_grammar.py',1082), ('expression -> DECIMAL_NUM','expression',1,'p_expression_decimal','sql_grammar.py',1094), ('expression -> CADENA','expression',1,'p_expression_cadena','sql_grammar.py',1115), ]
_tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'leftPAR_ABREPAR_CIERRArightIGUALleftORleftANDleftNO_IGUALnonassocMAYORMENORMAYOR_IGUALMENOR_IGUALleftMASMENOSleftASTERISCODIVISIONMODULOleftPOTENCIArightNOTleftLLAVE_ABRELLAVE_CIERRAABS ADD ALL ALTER AND AS ASC ASTERISCO AVG BETWEEN BIGINT BOOLEAN BY CADENA CASE CASTEO CBRT CEIL CEILING CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CORCHE_ABRE CORCHE_CIERRA COUNT CREATE CURRENT_USER DATABASE DATABASES DATE DAY DECIMAL DECIMAL_NUM DEFAULT DEGREES DELETE DESC DIFERENTE DISTINCT DIV DIVISION DOUBLE DROP ELSE END ENTERO ENUM EXISTS EXP FACTORIAL FALSE FIELDS FIRST FLOOR FOREIGN FROM FULL GCD GREATEST GROUP HAVING HOUR ID IF IGUAL ILIKE IN INHERITS INNER INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL JOIN KEY LAST LEAST LEFT LIKE LIMIT LLAVE_ABRE LLAVE_CIERRA LN LOG MAS MAX MAYOR MAYOR_IGUAL MENOR MENOR_IGUAL MENOS MIN MINUTE MOD MODE MODULO MONEY MONTH NOT NOTNULL NO_IGUAL NULL NULLS NUMERIC OFFSET OR ORDER OUTER OWNER PAR_ABRE PAR_CIERRA PI POTENCIA POWER PRECISION PRIMARY PUNTO PUNTOCOMA RADIANS REAL REFERENCE REFERENCES RENAME REPLACE RIGHT ROUND SECOND SELECT SESSION_USER SET SHOW SIMILAR SMALLINT SUBSTRING SUM SYMMETRIC TABLE TEXT THEN TIME TIMESTAMP TO TRUE TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WITH WITHOUT YEAR ZONEinit : instruccionesinstrucciones : instrucciones instruccioninstrucciones : instruccion instruccion : crear_statement PUNTOCOMA\n | alter_statement PUNTOCOMA\n | drop_statement PUNTOCOMA\n | seleccionar PUNTOCOMAinstruccion : SHOW DATABASES PUNTOCOMA\n | INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA\n | UPDATE ID SET ID IGUAL expression where PUNTOCOMA\n | DELETE FROM ID WHERE ID IGUAL expression PUNTOCOMA\n | USE DATABASE ID PUNTOCOMAcrear_statement : CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statementcrear_statement : CREATE or_replace DATABASE if_not_exists ID owner_ mode_or_replace : OR REPLACE\n | if_not_exists : IF NOT EXISTS\n | owner_ : OWNER IGUAL ID\n | mode_ : MODE IGUAL ENTERO\n | alter_statement : ALTER DATABASE ID rename_owneralter_statement : ALTER TABLE ID alter_oprename_owner : RENAME TO ID\n | OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRAow_op : ID\n | CURRENT_USER\n | SESSION_USERdrop_statement : DROP DATABASE if_exists IDdrop_statement : DROP TABLE IDif_exists : IF EXISTS\n | contenido_tabla : contenido_tabla COMA manejo_tablacontenido_tabla : manejo_tablamanejo_tabla : declaracion_columna\n | condition_columndeclaracion_columna : ID type_column condition_column_rowdeclaracion_columna : ID type_columntype_column : SMALLINT\n | INTEGER\n\t | BIGINT\n\t | DECIMAL\n\t | NUMERIC\n\t | REAL\n\t | DOUBLE PRECISION\n\t | MONEY\n\t | VARCHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHAR PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER PAR_ABRE ENTERO PAR_CIERRA\n | CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA\n \t | TEXT\n\t | DATE\n | TIMESTAMP\n | TIMEcondition_column_row : condition_column_row condition_columncondition_column_row : condition_columncondition_column : constraint UNIQUE op_unique\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | key_tablecondition_column : DEFAULT expression\n | NULL\n | NOT NULL\n\t | REFERENCE ID\n\t\t | CONSTRAINT ID key_table\n \t\t | constraint : CONSTRAINT ID\n | op_unique : PAR_ABRE list_id PAR_CIERRA\n | constraint CHECK PAR_ABRE expression PAR_CIERRA\n | list_id : list_id COMA aliaslist_id : aliasalias : IDkey_table : PRIMARY KEY list_key\n\t | FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRAlist_key : PAR_ABRE list_id PAR_CIERRA\n\t | alter_op : ADD op_add\n\t | ALTER COLUMN ID alter_col_op\n\t | DROP alter_drop IDalter_drop : CONSTRAINT\n\t | COLUMN op_add : CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA\n | CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA\n | key_table REFERENCES PAR_ABRE list_id PAR_CIERRAalter_col_op : SET NOT NULL\n | TYPE type_columninherits_statement : INHERITS PAR_ABRE ID PAR_CIERRA\n | list_val : list_val COMA expressionlist_val : expressionwhere : WHERE ID IGUAL expression\n | seleccionar : SELECT distinto select_list FROM table_expression list_fin_selectseleccionar : SELECT GREATEST expressiones\n | SELECT LEAST expressioneslist_fin_select : list_fin_select fin_selectlist_fin_select : fin_selectfin_select : group_by \n\t | donde\n\t | order_by\n\t | group_having\n\t | limite\n \t| expressiones : PAR_ABRE list_expression PAR_CIERRAexpressiones : list_expressiondistinto : DISTINCT\n\t | select_list : ASTERISCO\n\t | expressiones table_expression : expressionesdonde : WHERE expressionesgroup_by : GROUP BY expressiones order_by : ORDER BY expressiones asc_desc nulls_f_lgroup_having : HAVING expressiones asc_desc : ASC\n\t | DESCnulls_f_l : NULLS LAST\n\t | NULLS FIRST\n\t | limite : LIMIT ENTERO\n\t | LIMIT ALL\n\t | OFFSET ENTEROlist_expression : list_expression COMA expressionlist_expression : expressionexpression : SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRAexpression : expression NOT BETWEEN SYMMETRIC expression AND expressionexpression : expression NOT BETWEEN expression AND expression\n | expression BETWEEN SYMMETRIC expression AND expressionexpression : expression BETWEEN expression AND expressionexpression : expression IS DISTINCT FROM expressionexpression : expression IS NOT DISTINCT FROM expressionexpression : ID PUNTO IDexpression : expression IS NOT NULL\n | expression IS NOT TRUE\n | expression IS NOT FALSE\n | expression IS NOT UNKNOWNexpression : expression IS NULL\n | expression IS TRUE\n | expression IS FALSE\n | expression IS UNKNOWNexpression : expression ISNULL\n | expression NOTNULLexpression : SUM PAR_ABRE expression PAR_CIERRA\n | COUNT PAR_ABRE expression PAR_CIERRA\n | AVG PAR_ABRE expression PAR_CIERRA\n | MAX PAR_ABRE expression PAR_CIERRA\n | MIN PAR_ABRE expression PAR_CIERRA\n | ABS PAR_ABRE expression PAR_CIERRA\n | CBRT PAR_ABRE expression PAR_CIERRA\n | CEIL PAR_ABRE expression PAR_CIERRA\n | CEILING PAR_ABRE expression PAR_CIERRA \n | DEGREES PAR_ABRE expression PAR_CIERRA\n | DIV PAR_ABRE expression PAR_CIERRA\n | EXP PAR_ABRE expression PAR_CIERRA\n | FACTORIAL PAR_ABRE expression PAR_CIERRA \n | FLOOR PAR_ABRE expression PAR_CIERRA\n | GCD PAR_ABRE expression PAR_CIERRA\n | LN PAR_ABRE expression PAR_CIERRA\n | LOG PAR_ABRE expression PAR_CIERRA\n | MOD PAR_ABRE expression PAR_CIERRA\n | PI PAR_ABRE expression PAR_CIERRA\n | POWER PAR_ABRE expression PAR_CIERRA\n | RADIANS PAR_ABRE expression PAR_CIERRA\n | ROUND PAR_ABRE expression PAR_CIERRAexpression : seleccionarexpression : PAR_ABRE expression PAR_CIERRAexpression : expression MAYOR expressionexpression : expression MENOR expressionexpression : expression MAYOR_IGUAL expressionexpression : expression MENOR_IGUAL expressionexpression : expression IGUAL expressionexpression : expression NO_IGUAL expressionexpression : expression DIFERENTE expressionexpression : expression AND expressionexpression : expression OR expressionexpression : NOT expressionexpression : ID\n | ASTERISCOexpression : ENTEROexpression : DECIMAL_NUMexpression : CADENA' _lr_action_items = {'SHOW': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [8, 8, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'INSERT': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [9, 9, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'UPDATE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [10, 10, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'DELETE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [11, 11, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'USE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [12, 12, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'CREATE': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [13, 13, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'ALTER': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 47, 92, 364, 366, 368], [14, 14, -3, -2, -4, -5, -6, -7, -8, 99, -12, -9, -10, -11]), 'DROP': ([0, 2, 3, 17, 18, 19, 20, 21, 38, 47, 92, 364, 366, 368], [15, 15, -3, -2, -4, -5, -6, -7, -8, 102, -12, -9, -10, -11]), 'SELECT': ([0, 2, 3, 16, 17, 18, 19, 20, 21, 34, 35, 36, 37, 38, 54, 58, 92, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 364, 366, 368, 394, 397, 398, 404], [16, 16, -3, -109, -2, -4, -5, -6, -7, 16, 16, 16, -108, -8, 16, 16, -12, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -9, -10, -11, 16, 16, 16, 16]), '$end': ([1, 2, 3, 17, 18, 19, 20, 21, 38, 92, 364, 366, 368], [0, -1, -3, -2, -4, -5, -6, -7, -8, -12, -9, -10, -11]), 'PUNTOCOMA': ([4, 5, 6, 7, 22, 42, 50, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 96, 100, 103, 114, 115, 125, 166, 171, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 228, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 246, 256, 259, 265, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 314, 316, 319, 324, 336, 343, 349, 351, 353, 354, 355, 356, 359, 361, 384, 385, 387, 391, 393, 395, 396, 399, 400, 401, 410, 411, 414, 415, 416, 417, 418, 420, 421, 422, 426, 427, 428, 430, 433, 434], [18, 19, 20, 21, 38, 92, -31, -107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -23, -24, -30, -143, -144, -178, -20, -79, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -94, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -90, -22, -25, -81, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 364, 366, 368, -46, -13, -14, -80, -98, -113, -116, -122, -123, -124, -131, -132, -19, -26, -88, -114, -129, -130, -133, -48, -49, -50, -21, -87, -86, -121, -117, -118, -128, -93, -51, -89, -84, -85, -115, -127, -119, -120]), 'DATABASES': ([8], [22]), 'INTO': ([9], [23]), 'ID': ([10, 16, 23, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 40, 44, 48, 54, 58, 91, 93, 94, 104, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 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, 159, 162, 163, 168, 170, 173, 175, 176, 177, 184, 186, 229, 247, 258, 260, 262, 274, 276, 280, 281, 283, 289, 313, 315, 329, 330, 331, 334, 335, 338, 348, 350, 352, 357, 360, 362, 374, 389, 394, 397, 398, 404, 406, 425, 435], [24, -109, 39, 41, 42, 43, 46, 47, -33, 50, 59, 59, 59, -108, 90, -18, 103, 59, 59, 151, 152, 166, -32, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 203, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 252, 253, 259, 261, 263, 265, -82, -83, 59, 59, 59, 152, -17, 340, 346, 59, 59, 59, 59, 59, 59, 59, 367, 378, 379, 59, 378, 378, 384, 378, 59, 59, 59, 59, 59, 403, 413, 59, 59, 59, 59, 378, 432, 378]), 'FROM': ([11, 51, 52, 53, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 188, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 284, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [25, 105, -110, -111, -107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, -105, -112, -106, -168, -125, -176, 283, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -95, -99, -100, -101, -102, -103, -104, 362, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'DATABASE': ([12, 13, 14, 15, 28, 45], [26, -16, 30, 32, 44, -15]), 'TABLE': ([13, 14, 15], [27, 31, 33]), 'OR': ([13, 52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [29, -180, -107, 123, -179, -167, -181, -182, -183, -96, -180, -97, 123, -143, -144, -178, -105, -112, 123, -106, -168, 123, 123, -176, -139, -140, -141, -142, -169, -170, -171, -172, 123, -174, 123, -177, 123, -134, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, -95, -99, -100, -101, -102, -103, -104, 123, 123, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 123, -98, -113, -116, -122, -123, -124, 123, -131, 123, 123, 123, 123, -114, -129, -130, 123, -121, -117, -118, -128, 123, 123, 123, -115, -127, -119, -120]), 'GREATEST': ([16], [35]), 'LEAST': ([16], [36]), 'DISTINCT': ([16, 113, 189], [37, 188, 284]), 'ASTERISCO': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 52, 87, 87, -108, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87]), 'PAR_ABRE': ([16, 34, 35, 36, 37, 43, 54, 57, 58, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 89, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 172, 184, 186, 229, 239, 240, 241, 248, 249, 254, 255, 264, 274, 276, 280, 281, 283, 289, 313, 323, 325, 331, 347, 350, 352, 357, 360, 362, 375, 394, 397, 398, 404, 432], [-109, 54, 54, 54, -108, 93, 106, 124, 106, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 54, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 262, 106, 106, 106, 320, 321, 322, 329, 331, 334, 335, 348, 54, 54, 106, 106, 106, 106, 106, 373, 374, 106, 389, 54, 54, 106, 106, 106, 404, 106, 106, 106, 106, 435]), 'SUBSTRING': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 57, 57, 57, -108, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57]), 'SUM': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 60, 60, 60, -108, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60]), 'COUNT': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 61, 61, 61, -108, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61]), 'AVG': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 62, 62, 62, -108, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62]), 'MAX': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 63, 63, 63, -108, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63]), 'MIN': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 64, 64, 64, -108, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64]), 'ABS': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 65, 65, 65, -108, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65]), 'CBRT': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 66, 66, 66, -108, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66]), 'CEIL': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 67, 67, 67, -108, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67]), 'CEILING': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 68, 68, 68, -108, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68]), 'DEGREES': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 69, 69, 69, -108, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69]), 'DIV': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 70, 70, 70, -108, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70]), 'EXP': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 71, 71, 71, -108, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71]), 'FACTORIAL': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 72, 72, 72, -108, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72]), 'FLOOR': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 73, 73, 73, -108, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73]), 'GCD': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 74, 74, 74, -108, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74]), 'LN': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 75, 75, 75, -108, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75]), 'LOG': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 76, 76, 76, -108, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76]), 'MOD': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 77, 77, 77, -108, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77]), 'PI': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 78, 78, 78, -108, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78]), 'POWER': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 79, 79, 79, -108, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79]), 'RADIANS': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 80, 80, 80, -108, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80]), 'ROUND': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 81, 81, 81, -108, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81]), 'NOT': ([16, 34, 35, 36, 37, 52, 54, 55, 56, 58, 59, 82, 83, 84, 85, 86, 87, 88, 93, 95, 105, 106, 108, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 158, 159, 160, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 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, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 274, 276, 279, 280, 281, 282, 283, 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, 313, 316, 317, 318, 319, 328, 331, 332, 333, 344, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 365, 369, 380, 391, 393, 394, 395, 396, 397, 398, 399, 400, 401, 404, 405, 407, 408, 415, 416, 417, 418, 419, 420, 421, 423, 428, 430, 431, 433, 434, 437], [-109, 58, 58, 58, -108, -180, 58, -107, 110, 58, -179, -167, -181, -182, -183, -96, -180, -97, 161, 167, 58, 58, 110, 58, 58, 58, 189, -143, -144, 58, 58, 58, 58, 58, 58, 58, 58, 58, 110, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, -60, 58, -62, -105, -112, 110, -106, -168, 110, 58, 110, 58, 110, -139, -140, -141, -142, 110, 110, 110, 110, 110, 110, 110, 110, 110, -134, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 58, 161, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 161, -71, 110, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, 58, 58, 110, 58, 58, 110, 58, -135, -136, -137, -138, 58, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 58, 110, 161, -57, -46, -58, 58, -65, -75, 386, -98, 58, -113, 58, -116, -122, -123, -124, 58, 110, 110, 58, 110, 58, 110, 110, -56, 110, -114, 110, 58, 110, 110, 58, 58, -48, -49, -50, 58, -69, -59, -77, -121, -117, -118, 110, 110, 110, -51, 110, -115, -127, -70, -119, -120, -76]), 'ENTERO': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 277, 278, 280, 281, 283, 289, 313, 320, 321, 322, 331, 350, 352, 357, 360, 362, 373, 383, 394, 397, 398, 404], [-109, 83, 83, 83, -108, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 354, 356, 83, 83, 83, 83, 83, 370, 371, 372, 83, 83, 83, 83, 83, 83, 402, 410, 83, 83, 83, 83]), 'DECIMAL_NUM': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [-109, 84, 84, 84, -108, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84]), 'CADENA': ([16, 34, 35, 36, 37, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 388, 394, 397, 398, 404], [-109, 85, 85, 85, -108, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 412, 85, 85, 85, 85]), 'SET': ([24, 261], [40, 344]), 'REPLACE': ([29], [45]), 'IF': ([32, 44], [49, 95]), 'VALUES': ([39], [89]), 'WHERE': ([41, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 228, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [91, -107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 274, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 315, 274, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'RENAME': ([46], [97]), 'OWNER': ([46, 166], [98, 257]), 'ADD': ([47], [101]), 'EXISTS': ([49, 167], [104, 258]), 'BETWEEN': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 110, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 111, -179, -167, -181, -182, -183, -96, -180, -97, 111, 184, -143, -144, -178, -105, -112, 111, -106, -168, 111, 111, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, 111, -177, 111, -134, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, -95, -99, -100, -101, -102, -103, -104, 111, 111, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 111, -98, -113, -116, -122, -123, -124, 111, -131, 111, 111, 111, 111, -114, -129, -130, 111, -121, -117, -118, -128, 111, 111, 111, -115, -127, -119, -120]), 'IS': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 113, -179, -167, -181, -182, -183, -96, -180, -97, 113, -143, -144, -178, -105, -112, 113, -106, -168, 113, 113, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, 113, -177, 113, -134, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, -95, -99, -100, -101, -102, -103, -104, 113, 113, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 113, -98, -113, -116, -122, -123, -124, 113, -131, 113, 113, 113, 113, -114, -129, -130, 113, -121, -117, -118, -128, 113, 113, 113, -115, -127, -119, -120]), 'ISNULL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 114, -179, -167, -181, -182, -183, -96, -180, -97, 114, -143, -144, -178, -105, -112, 114, -106, -168, 114, 114, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, 114, -177, 114, -134, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, -95, -99, -100, -101, -102, -103, -104, 114, 114, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 114, -98, -113, -116, -122, -123, -124, 114, -131, 114, 114, 114, 114, -114, -129, -130, 114, -121, -117, -118, -128, 114, 114, 114, -115, -127, -119, -120]), 'NOTNULL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 115, -179, -167, -181, -182, -183, -96, -180, -97, 115, -143, -144, -178, -105, -112, 115, -106, -168, 115, 115, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, 115, -177, 115, -134, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, -95, -99, -100, -101, -102, -103, -104, 115, 115, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 115, -98, -113, -116, -122, -123, -124, 115, -131, 115, 115, 115, 115, -114, -129, -130, 115, -121, -117, -118, -128, 115, 115, 115, -115, -127, -119, -120]), 'MAYOR': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 116, -179, -167, -181, -182, -183, -96, -180, -97, 116, -143, -144, -178, -105, -112, 116, -106, -168, 116, 116, 116, -139, -140, -141, -142, None, None, None, None, 116, 116, 116, 116, 116, -134, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, -95, -99, -100, -101, -102, -103, -104, 116, 116, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 116, -98, -113, -116, -122, -123, -124, 116, 116, 116, 116, 116, 116, -114, 116, 116, 116, -121, -117, -118, 116, 116, 116, 116, -115, -127, -119, -120]), 'MENOR': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 117, -179, -167, -181, -182, -183, -96, -180, -97, 117, -143, -144, -178, -105, -112, 117, -106, -168, 117, 117, 117, -139, -140, -141, -142, None, None, None, None, 117, 117, 117, 117, 117, -134, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, -95, -99, -100, -101, -102, -103, -104, 117, 117, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 117, -98, -113, -116, -122, -123, -124, 117, 117, 117, 117, 117, 117, -114, 117, 117, 117, -121, -117, -118, 117, 117, 117, 117, -115, -127, -119, -120]), 'MAYOR_IGUAL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 118, -179, -167, -181, -182, -183, -96, -180, -97, 118, -143, -144, -178, -105, -112, 118, -106, -168, 118, 118, 118, -139, -140, -141, -142, None, None, None, None, 118, 118, 118, 118, 118, -134, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, -95, -99, -100, -101, -102, -103, -104, 118, 118, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 118, -98, -113, -116, -122, -123, -124, 118, 118, 118, 118, 118, 118, -114, 118, 118, 118, -121, -117, -118, 118, 118, 118, 118, -115, -127, -119, -120]), 'MENOR_IGUAL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 119, -179, -167, -181, -182, -183, -96, -180, -97, 119, -143, -144, -178, -105, -112, 119, -106, -168, 119, 119, 119, -139, -140, -141, -142, None, None, None, None, 119, 119, 119, 119, 119, -134, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, -95, -99, -100, -101, -102, -103, -104, 119, 119, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 119, -98, -113, -116, -122, -123, -124, 119, 119, 119, 119, 119, 119, -114, 119, 119, 119, -121, -117, -118, 119, 119, 119, 119, -115, -127, -119, -120]), 'IGUAL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 90, 108, 114, 115, 125, 151, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 257, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 337, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 367, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 120, -179, -167, -181, -182, -183, -96, -180, -97, 150, 120, -143, -144, -178, 229, -105, -112, 120, -106, -168, 120, 120, -176, -139, -140, -141, -142, -169, -170, -171, -172, 120, -174, 120, -177, 120, -134, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 338, -95, -99, -100, -101, -102, -103, -104, 120, 120, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 120, 383, -98, -113, -116, -122, -123, -124, 120, -131, 120, 120, 120, 398, 120, -114, -129, -130, 120, -121, -117, -118, -128, 120, 120, 120, -115, -127, -119, -120]), 'NO_IGUAL': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 121, -179, -167, -181, -182, -183, -96, -180, -97, 121, -143, -144, -178, -105, -112, 121, -106, -168, 121, 121, 121, -139, -140, -141, -142, -169, -170, -171, -172, 121, -174, 121, 121, 121, -134, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, -95, -99, -100, -101, -102, -103, -104, 121, 121, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 121, -98, -113, -116, -122, -123, -124, 121, 121, 121, 121, 121, 121, -114, 121, 121, 121, -121, -117, -118, 121, 121, 121, 121, -115, -127, -119, -120]), 'DIFERENTE': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 346, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 122, -179, -167, -181, -182, -183, -96, -180, -97, 122, -143, -144, -178, -105, -112, 122, -106, -168, 122, 122, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, 122, -177, 122, -134, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, -95, -99, -100, -101, -102, -103, -104, 122, 122, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 122, 388, -98, -113, -116, -122, -123, -124, 122, -131, 122, 122, 122, 122, -114, -129, -130, 122, -121, -117, -118, -128, 122, 122, 122, -115, -127, -119, -120]), 'AND': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 108, 114, 115, 125, 178, 179, 180, 181, 182, 183, 185, 187, 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, 227, 228, 250, 266, 267, 268, 269, 270, 271, 272, 279, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 316, 349, 351, 353, 354, 355, 356, 358, 359, 361, 363, 365, 380, 391, 393, 395, 396, 415, 416, 417, 418, 419, 420, 423, 428, 430, 433, 434], [-180, -107, 112, -179, -167, -181, -182, -183, -96, -180, -97, 112, -143, -144, -178, -105, -112, 112, -106, -168, 112, 281, -176, -139, -140, -141, -142, -169, -170, -171, -172, 112, -174, 112, 112, 112, -134, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, -95, -99, -100, -101, -102, -103, -104, 357, 360, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 112, -98, -113, -116, -122, -123, -124, 394, -131, 112, 112, 112, 112, -114, -129, -130, 112, -121, -117, -118, -128, 112, 112, 112, -115, -127, -119, -120]), 'COMA': ([52, 55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 107, 108, 114, 115, 125, 153, 154, 155, 156, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 226, 227, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 326, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 363, 365, 369, 376, 377, 378, 381, 382, 390, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 424, 428, 430, 431, 433, 434, 436, 437], [-180, 109, -126, -179, -167, -181, -182, -183, -96, -180, -97, -66, 109, -126, -143, -144, -178, 247, -35, -36, -37, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, 289, -134, 313, -92, -39, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -66, -71, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -38, -57, -46, -34, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, 397, -91, -56, 406, -73, -74, 406, 406, 406, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -72, -115, -127, -70, -119, -120, 406, -76]), 'PAR_CIERRA': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 107, 108, 114, 115, 125, 153, 154, 155, 156, 158, 160, 178, 179, 180, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 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, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 326, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 365, 369, 370, 371, 372, 376, 377, 378, 380, 381, 382, 390, 391, 393, 395, 396, 399, 400, 401, 402, 403, 405, 407, 408, 412, 413, 415, 416, 417, 418, 419, 421, 423, 424, 428, 430, 431, 433, 434, 436, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -66, 181, 182, -143, -144, -178, 246, -35, -36, -37, -60, -62, -105, -112, 182, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, -92, -39, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -66, -71, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -38, -57, -46, -34, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -91, -56, 399, 400, 401, 405, -73, -74, 407, 408, 409, 414, -114, -129, -130, -133, -48, -49, -50, 421, 422, -69, -59, -77, 426, 427, -121, -117, -118, -128, 430, -51, 431, -72, -115, -127, -70, -119, -120, 437, -76]), 'GROUP': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 273, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 273, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'ORDER': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 275, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 275, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'HAVING': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 276, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 276, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'LIMIT': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 277, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 277, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'OFFSET': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, 278, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 278, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'DEFAULT': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 114, 115, 125, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 159, -143, -144, -178, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 159, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 159, -71, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 159, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'NULL': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 113, 114, 115, 125, 158, 160, 161, 178, 179, 181, 182, 183, 187, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 386, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 160, 190, -143, -144, -178, -60, -62, 251, -105, -112, -106, -168, -125, -176, 285, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 160, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 160, -71, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 160, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, 411, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'REFERENCE': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 114, 115, 125, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 162, -143, -144, -178, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 162, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 162, -71, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 162, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'CONSTRAINT': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 101, 102, 114, 115, 125, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 163, 173, 176, -143, -144, -178, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 163, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 163, 330, -61, -63, -64, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 163, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'PRIMARY': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 101, 114, 115, 125, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 253, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 164, 164, -143, -144, -178, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 164, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 164, -71, -61, -63, -64, 164, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 164, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'FOREIGN': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 101, 114, 115, 125, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 253, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, 165, 165, -143, -144, -178, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, 165, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, 165, -71, -61, -63, -64, 165, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, 165, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'UNIQUE': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 114, 115, 125, 157, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 253, 254, 263, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -68, -143, -144, -178, 248, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -66, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -68, -71, -61, -63, -64, -67, -78, 347, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -66, -57, -46, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'CHECK': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 93, 101, 114, 115, 125, 157, 158, 160, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 230, 231, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 250, 251, 252, 253, 254, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 317, 318, 319, 327, 328, 332, 333, 349, 351, 353, 354, 355, 356, 359, 361, 369, 379, 391, 393, 395, 396, 399, 400, 401, 405, 407, 408, 415, 416, 417, 418, 421, 428, 430, 431, 433, 434, 437], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -68, 172, -143, -144, -178, 249, -60, -62, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -66, -40, -41, -42, -43, -44, -45, -47, -52, -53, -54, -55, -68, -68, -61, -63, -64, -67, -78, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -66, -57, -46, 375, -58, -65, -75, -98, -113, -116, -122, -123, -124, -131, -132, -56, -67, -114, -129, -130, -133, -48, -49, -50, -69, -59, -77, -121, -117, -118, -128, -51, -115, -127, -70, -119, -120, -76]), 'ASC': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 392, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, 416, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'DESC': ([55, 56, 59, 82, 83, 84, 85, 86, 87, 88, 114, 115, 125, 178, 179, 181, 182, 183, 187, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 203, 266, 267, 268, 269, 270, 271, 272, 285, 286, 287, 288, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 349, 351, 353, 354, 355, 356, 359, 361, 391, 392, 393, 395, 396, 415, 416, 417, 418, 428, 430, 433, 434], [-107, -126, -179, -167, -181, -182, -183, -96, -180, -97, -143, -144, -178, -105, -112, -106, -168, -125, -176, -139, -140, -141, -142, -169, -170, -171, -172, -173, -174, -175, -177, -134, -95, -99, -100, -101, -102, -103, -104, -135, -136, -137, -138, -145, -146, -147, -148, -149, -150, -151, -152, -153, -154, -155, -156, -157, -158, -159, -160, -161, -162, -163, -164, -165, -166, -98, -113, -116, -122, -123, -124, -131, -132, -114, 417, -129, -130, -133, -121, -117, -118, -128, -115, -127, -119, -120]), 'PUNTO': ([59], [126]), 'TO': ([97, 98], [168, 169]), 'COLUMN': ([99, 102], [170, 177]), 'SYMMETRIC': ([111, 184], [186, 280]), 'TRUE': ([113, 189], [191, 286]), 'FALSE': ([113, 189], [192, 287]), 'UNKNOWN': ([113, 189], [193, 288]), 'SMALLINT': ([152, 345], [231, 231]), 'INTEGER': ([152, 345], [232, 232]), 'BIGINT': ([152, 345], [233, 233]), 'DECIMAL': ([152, 345], [234, 234]), 'NUMERIC': ([152, 345], [235, 235]), 'REAL': ([152, 345], [236, 236]), 'DOUBLE': ([152, 345], [237, 237]), 'MONEY': ([152, 345], [238, 238]), 'VARCHAR': ([152, 345], [239, 239]), 'CHAR': ([152, 345], [240, 240]), 'CHARACTER': ([152, 345], [241, 241]), 'TEXT': ([152, 345], [242, 242]), 'DATE': ([152, 345], [243, 243]), 'TIMESTAMP': ([152, 345], [244, 244]), 'TIME': ([152, 345], [245, 245]), 'KEY': ([164, 165], [254, 255]), 'MODE': ([166, 256, 384], [-20, 337, -19]), 'LLAVE_ABRE': ([169], [260]), 'REFERENCES': ([174, 254, 333, 408, 409, 437], [264, -78, -75, -77, 425, -76]), 'PRECISION': ([237], [319]), 'VARYING': ([241], [323]), 'INHERITS': ([246], [325]), 'CURRENT_USER': ([260], [341]), 'SESSION_USER': ([260], [342]), 'TYPE': ([261], [345]), 'BY': ([273, 275], [350, 352]), 'ALL': ([277], [355]), 'LLAVE_CIERRA': ([339, 340, 341, 342], [385, -27, -28, -29]), 'NULLS': ([415, 416, 417], [429, -117, -118]), 'LAST': ([429], [433]), 'FIRST': ([429], [434])} _lr_action = {} for (_k, _v) in _lr_action_items.items(): for (_x, _y) in zip(_v[0], _v[1]): if not _x in _lr_action: _lr_action[_x] = {} _lr_action[_x][_k] = _y del _lr_action_items _lr_goto_items = {'init': ([0], [1]), 'instrucciones': ([0], [2]), 'instruccion': ([0, 2], [3, 17]), 'crear_statement': ([0, 2], [4, 4]), 'alter_statement': ([0, 2], [5, 5]), 'drop_statement': ([0, 2], [6, 6]), 'seleccionar': ([0, 2, 34, 35, 36, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [7, 7, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82]), 'or_replace': ([13], [28]), 'distinto': ([16], [34]), 'if_exists': ([32], [48]), 'select_list': ([34], [51]), 'expressiones': ([34, 35, 36, 105, 274, 276, 350, 352], [53, 86, 88, 179, 351, 353, 391, 392]), 'list_expression': ([34, 35, 36, 54, 105, 274, 276, 350, 352], [55, 55, 55, 107, 55, 55, 55, 55, 55]), 'expression': ([34, 35, 36, 54, 58, 105, 106, 109, 111, 112, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 159, 184, 186, 229, 274, 276, 280, 281, 283, 289, 313, 331, 350, 352, 357, 360, 362, 394, 397, 398, 404], [56, 56, 56, 108, 125, 56, 180, 183, 185, 187, 194, 195, 196, 197, 198, 199, 200, 201, 202, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 227, 228, 250, 279, 282, 316, 56, 56, 358, 359, 361, 363, 365, 380, 56, 56, 393, 395, 396, 418, 419, 420, 423]), 'if_not_exists': ([44], [94]), 'rename_owner': ([46], [96]), 'alter_op': ([47], [100]), 'contenido_tabla': ([93], [153]), 'manejo_tabla': ([93, 247], [154, 326]), 'declaracion_columna': ([93, 247], [155, 155]), 'condition_column': ([93, 230, 247, 317], [156, 318, 156, 369]), 'constraint': ([93, 230, 247, 248, 317], [157, 157, 157, 327, 157]), 'key_table': ([93, 101, 230, 247, 253, 317], [158, 174, 158, 158, 332, 158]), 'op_add': ([101], [171]), 'alter_drop': ([102], [175]), 'table_expression': ([105], [178]), 'list_val': ([149], [226]), 'type_column': ([152, 345], [230, 387]), 'owner_': ([166], [256]), 'list_fin_select': ([178], [266]), 'fin_select': ([178, 266], [267, 349]), 'group_by': ([178, 266], [268, 268]), 'donde': ([178, 266], [269, 269]), 'order_by': ([178, 266], [270, 270]), 'group_having': ([178, 266], [271, 271]), 'limite': ([178, 266], [272, 272]), 'where': ([228], [314]), 'condition_column_row': ([230], [317]), 'inherits_statement': ([246], [324]), 'op_unique': ([248], [328]), 'list_key': ([254], [333]), 'mode_': ([256], [336]), 'ow_op': ([260], [339]), 'alter_col_op': ([261], [343]), 'list_id': ([329, 334, 335, 348, 435], [376, 381, 382, 390, 436]), 'alias': ([329, 334, 335, 348, 406, 435], [377, 377, 377, 377, 424, 377]), 'asc_desc': ([392], [415]), 'nulls_f_l': ([415], [428])} _lr_goto = {} for (_k, _v) in _lr_goto_items.items(): for (_x, _y) in zip(_v[0], _v[1]): if not _x in _lr_goto: _lr_goto[_x] = {} _lr_goto[_x][_k] = _y del _lr_goto_items _lr_productions = [("S' -> init", "S'", 1, None, None, None), ('init -> instrucciones', 'init', 1, 'p_init', 'sql_grammar.py', 324), ('instrucciones -> instrucciones instruccion', 'instrucciones', 2, 'p_instrucciones_lista', 'sql_grammar.py', 328), ('instrucciones -> instruccion', 'instrucciones', 1, 'p_instrucciones_instruccion', 'sql_grammar.py', 333), ('instruccion -> crear_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 337), ('instruccion -> alter_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 338), ('instruccion -> drop_statement PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 339), ('instruccion -> seleccionar PUNTOCOMA', 'instruccion', 2, 'p_instruccion', 'sql_grammar.py', 340), ('instruccion -> SHOW DATABASES PUNTOCOMA', 'instruccion', 3, 'p_aux_instruccion', 'sql_grammar.py', 344), ('instruccion -> INSERT INTO ID VALUES PAR_ABRE list_val PAR_CIERRA PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 345), ('instruccion -> UPDATE ID SET ID IGUAL expression where PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 346), ('instruccion -> DELETE FROM ID WHERE ID IGUAL expression PUNTOCOMA', 'instruccion', 8, 'p_aux_instruccion', 'sql_grammar.py', 347), ('instruccion -> USE DATABASE ID PUNTOCOMA', 'instruccion', 4, 'p_aux_instruccion', 'sql_grammar.py', 348), ('crear_statement -> CREATE TABLE ID PAR_ABRE contenido_tabla PAR_CIERRA inherits_statement', 'crear_statement', 7, 'p_crear_statement_tbl', 'sql_grammar.py', 367), ('crear_statement -> CREATE or_replace DATABASE if_not_exists ID owner_ mode_', 'crear_statement', 7, 'p_crear_statement_db', 'sql_grammar.py', 373), ('or_replace -> OR REPLACE', 'or_replace', 2, 'p_or_replace_db', 'sql_grammar.py', 379), ('or_replace -> <empty>', 'or_replace', 0, 'p_or_replace_db', 'sql_grammar.py', 380), ('if_not_exists -> IF NOT EXISTS', 'if_not_exists', 3, 'p_if_not_exists_db', 'sql_grammar.py', 388), ('if_not_exists -> <empty>', 'if_not_exists', 0, 'p_if_not_exists_db', 'sql_grammar.py', 389), ('owner_ -> OWNER IGUAL ID', 'owner_', 3, 'p_owner_db', 'sql_grammar.py', 397), ('owner_ -> <empty>', 'owner_', 0, 'p_owner_db', 'sql_grammar.py', 398), ('mode_ -> MODE IGUAL ENTERO', 'mode_', 3, 'p_mode_db', 'sql_grammar.py', 408), ('mode_ -> <empty>', 'mode_', 0, 'p_mode_db', 'sql_grammar.py', 409), ('alter_statement -> ALTER DATABASE ID rename_owner', 'alter_statement', 4, 'p_alter_db', 'sql_grammar.py', 419), ('alter_statement -> ALTER TABLE ID alter_op', 'alter_statement', 4, 'p_alter_tbl', 'sql_grammar.py', 425), ('rename_owner -> RENAME TO ID', 'rename_owner', 3, 'p_rename_owner_db', 'sql_grammar.py', 432), ('rename_owner -> OWNER TO LLAVE_ABRE ow_op LLAVE_CIERRA', 'rename_owner', 5, 'p_rename_owner_db', 'sql_grammar.py', 433), ('ow_op -> ID', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 443), ('ow_op -> CURRENT_USER', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 444), ('ow_op -> SESSION_USER', 'ow_op', 1, 'p_ow_op_db', 'sql_grammar.py', 445), ('drop_statement -> DROP DATABASE if_exists ID', 'drop_statement', 4, 'p_drop_db', 'sql_grammar.py', 449), ('drop_statement -> DROP TABLE ID', 'drop_statement', 3, 'p_drop_tbl', 'sql_grammar.py', 458), ('if_exists -> IF EXISTS', 'if_exists', 2, 'p_if_exists_db', 'sql_grammar.py', 464), ('if_exists -> <empty>', 'if_exists', 0, 'p_if_exists_db', 'sql_grammar.py', 465), ('contenido_tabla -> contenido_tabla COMA manejo_tabla', 'contenido_tabla', 3, 'p_contenido_tabla', 'sql_grammar.py', 472), ('contenido_tabla -> manejo_tabla', 'contenido_tabla', 1, 'p_aux_contenido_table', 'sql_grammar.py', 477), ('manejo_tabla -> declaracion_columna', 'manejo_tabla', 1, 'p_manejo_tabla', 'sql_grammar.py', 481), ('manejo_tabla -> condition_column', 'manejo_tabla', 1, 'p_manejo_tabla', 'sql_grammar.py', 482), ('declaracion_columna -> ID type_column condition_column_row', 'declaracion_columna', 3, 'p_aux_declaracion_columna', 'sql_grammar.py', 486), ('declaracion_columna -> ID type_column', 'declaracion_columna', 2, 'p_declaracion_columna', 'sql_grammar.py', 492), ('type_column -> SMALLINT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 498), ('type_column -> INTEGER', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 499), ('type_column -> BIGINT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 500), ('type_column -> DECIMAL', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 501), ('type_column -> NUMERIC', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 502), ('type_column -> REAL', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 503), ('type_column -> DOUBLE PRECISION', 'type_column', 2, 'p_type_column', 'sql_grammar.py', 504), ('type_column -> MONEY', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 505), ('type_column -> VARCHAR PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 506), ('type_column -> CHAR PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 507), ('type_column -> CHARACTER PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 4, 'p_type_column', 'sql_grammar.py', 508), ('type_column -> CHARACTER VARYING PAR_ABRE ENTERO PAR_CIERRA', 'type_column', 5, 'p_type_column', 'sql_grammar.py', 509), ('type_column -> TEXT', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 510), ('type_column -> DATE', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 511), ('type_column -> TIMESTAMP', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 512), ('type_column -> TIME', 'type_column', 1, 'p_type_column', 'sql_grammar.py', 513), ('condition_column_row -> condition_column_row condition_column', 'condition_column_row', 2, 'p_condition_column_row', 'sql_grammar.py', 547), ('condition_column_row -> condition_column', 'condition_column_row', 1, 'p_aux_condition_column_row', 'sql_grammar.py', 552), ('condition_column -> constraint UNIQUE op_unique', 'condition_column', 3, 'p_condition_column', 'sql_grammar.py', 556), ('condition_column -> constraint CHECK PAR_ABRE expression PAR_CIERRA', 'condition_column', 5, 'p_condition_column', 'sql_grammar.py', 557), ('condition_column -> key_table', 'condition_column', 1, 'p_condition_column', 'sql_grammar.py', 558), ('condition_column -> DEFAULT expression', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 573), ('condition_column -> NULL', 'condition_column', 1, 'p_aux_condition_column', 'sql_grammar.py', 574), ('condition_column -> NOT NULL', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 575), ('condition_column -> REFERENCE ID', 'condition_column', 2, 'p_aux_condition_column', 'sql_grammar.py', 576), ('condition_column -> CONSTRAINT ID key_table', 'condition_column', 3, 'p_aux_condition_column', 'sql_grammar.py', 577), ('condition_column -> <empty>', 'condition_column', 0, 'p_aux_condition_column', 'sql_grammar.py', 578), ('constraint -> CONSTRAINT ID', 'constraint', 2, 'p_constraint', 'sql_grammar.py', 600), ('constraint -> <empty>', 'constraint', 0, 'p_constraint', 'sql_grammar.py', 601), ('op_unique -> PAR_ABRE list_id PAR_CIERRA', 'op_unique', 3, 'p_op_unique', 'sql_grammar.py', 611), ('op_unique -> constraint CHECK PAR_ABRE expression PAR_CIERRA', 'op_unique', 5, 'p_op_unique', 'sql_grammar.py', 612), ('op_unique -> <empty>', 'op_unique', 0, 'p_op_unique', 'sql_grammar.py', 613), ('list_id -> list_id COMA alias', 'list_id', 3, 'p_list_id', 'sql_grammar.py', 624), ('list_id -> alias', 'list_id', 1, 'p_aux_list_id', 'sql_grammar.py', 629), ('alias -> ID', 'alias', 1, 'p_alias', 'sql_grammar.py', 633), ('key_table -> PRIMARY KEY list_key', 'key_table', 3, 'p_key_table', 'sql_grammar.py', 639), ('key_table -> FOREIGN KEY PAR_ABRE list_id PAR_CIERRA REFERENCES ID PAR_ABRE list_id PAR_CIERRA', 'key_table', 10, 'p_key_table', 'sql_grammar.py', 640), ('list_key -> PAR_ABRE list_id PAR_CIERRA', 'list_key', 3, 'p_list_key', 'sql_grammar.py', 653), ('list_key -> <empty>', 'list_key', 0, 'p_list_key', 'sql_grammar.py', 654), ('alter_op -> ADD op_add', 'alter_op', 2, 'p_alter_op', 'sql_grammar.py', 661), ('alter_op -> ALTER COLUMN ID alter_col_op', 'alter_op', 4, 'p_alter_op', 'sql_grammar.py', 662), ('alter_op -> DROP alter_drop ID', 'alter_op', 3, 'p_alter_op', 'sql_grammar.py', 663), ('alter_drop -> CONSTRAINT', 'alter_drop', 1, 'p_aux_alter_op', 'sql_grammar.py', 678), ('alter_drop -> COLUMN', 'alter_drop', 1, 'p_aux_alter_op', 'sql_grammar.py', 679), ('op_add -> CHECK PAR_ABRE ID DIFERENTE CADENA PAR_CIERRA', 'op_add', 6, 'p_op_add', 'sql_grammar.py', 683), ('op_add -> CONSTRAINT ID UNIQUE PAR_ABRE ID PAR_CIERRA', 'op_add', 6, 'p_op_add', 'sql_grammar.py', 684), ('op_add -> key_table REFERENCES PAR_ABRE list_id PAR_CIERRA', 'op_add', 5, 'p_op_add', 'sql_grammar.py', 685), ('alter_col_op -> SET NOT NULL', 'alter_col_op', 3, 'p_alter_col_op', 'sql_grammar.py', 698), ('alter_col_op -> TYPE type_column', 'alter_col_op', 2, 'p_alter_col_op', 'sql_grammar.py', 699), ('inherits_statement -> INHERITS PAR_ABRE ID PAR_CIERRA', 'inherits_statement', 4, 'p_inherits_tbl', 'sql_grammar.py', 709), ('inherits_statement -> <empty>', 'inherits_statement', 0, 'p_inherits_tbl', 'sql_grammar.py', 710), ('list_val -> list_val COMA expression', 'list_val', 3, 'p_list_val', 'sql_grammar.py', 719), ('list_val -> expression', 'list_val', 1, 'p_aux_list_val', 'sql_grammar.py', 724), ('where -> WHERE ID IGUAL expression', 'where', 4, 'p_where', 'sql_grammar.py', 728), ('where -> <empty>', 'where', 0, 'p_where', 'sql_grammar.py', 729), ('seleccionar -> SELECT distinto select_list FROM table_expression list_fin_select', 'seleccionar', 6, 'p_seleccionar', 'sql_grammar.py', 739), ('seleccionar -> SELECT GREATEST expressiones', 'seleccionar', 3, 'p_aux_seleccionar', 'sql_grammar.py', 749), ('seleccionar -> SELECT LEAST expressiones', 'seleccionar', 3, 'p_aux_seleccionar', 'sql_grammar.py', 750), ('list_fin_select -> list_fin_select fin_select', 'list_fin_select', 2, 'p_list_fin_select', 'sql_grammar.py', 756), ('list_fin_select -> fin_select', 'list_fin_select', 1, 'p_aux_list_fin_select', 'sql_grammar.py', 761), ('fin_select -> group_by', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 765), ('fin_select -> donde', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 766), ('fin_select -> order_by', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 767), ('fin_select -> group_having', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 768), ('fin_select -> limite', 'fin_select', 1, 'p_fin_select', 'sql_grammar.py', 769), ('fin_select -> <empty>', 'fin_select', 0, 'p_fin_select', 'sql_grammar.py', 770), ('expressiones -> PAR_ABRE list_expression PAR_CIERRA', 'expressiones', 3, 'p_expressiones', 'sql_grammar.py', 777), ('expressiones -> list_expression', 'expressiones', 1, 'p_aux_expressiones', 'sql_grammar.py', 781), ('distinto -> DISTINCT', 'distinto', 1, 'p_distinto', 'sql_grammar.py', 785), ('distinto -> <empty>', 'distinto', 0, 'p_distinto', 'sql_grammar.py', 786), ('select_list -> ASTERISCO', 'select_list', 1, 'p_select_list', 'sql_grammar.py', 793), ('select_list -> expressiones', 'select_list', 1, 'p_select_list', 'sql_grammar.py', 794), ('table_expression -> expressiones', 'table_expression', 1, 'p_table_expression', 'sql_grammar.py', 798), ('donde -> WHERE expressiones', 'donde', 2, 'p_donde', 'sql_grammar.py', 802), ('group_by -> GROUP BY expressiones', 'group_by', 3, 'p_group_by', 'sql_grammar.py', 811), ('order_by -> ORDER BY expressiones asc_desc nulls_f_l', 'order_by', 5, 'p_order_by', 'sql_grammar.py', 820), ('group_having -> HAVING expressiones', 'group_having', 2, 'p_group_having', 'sql_grammar.py', 829), ('asc_desc -> ASC', 'asc_desc', 1, 'p_asc_desc', 'sql_grammar.py', 838), ('asc_desc -> DESC', 'asc_desc', 1, 'p_asc_desc', 'sql_grammar.py', 839), ('nulls_f_l -> NULLS LAST', 'nulls_f_l', 2, 'p_nulls_f_l', 'sql_grammar.py', 843), ('nulls_f_l -> NULLS FIRST', 'nulls_f_l', 2, 'p_nulls_f_l', 'sql_grammar.py', 844), ('nulls_f_l -> <empty>', 'nulls_f_l', 0, 'p_nulls_f_l', 'sql_grammar.py', 845), ('limite -> LIMIT ENTERO', 'limite', 2, 'p_limite', 'sql_grammar.py', 852), ('limite -> LIMIT ALL', 'limite', 2, 'p_limite', 'sql_grammar.py', 853), ('limite -> OFFSET ENTERO', 'limite', 2, 'p_limite', 'sql_grammar.py', 854), ('list_expression -> list_expression COMA expression', 'list_expression', 3, 'p_list_expression', 'sql_grammar.py', 863), ('list_expression -> expression', 'list_expression', 1, 'p_aux_list_expression', 'sql_grammar.py', 868), ('expression -> SUBSTRING PAR_ABRE expression COMA expression COMA expression PAR_CIERRA', 'expression', 8, 'p_expression', 'sql_grammar.py', 872), ('expression -> expression NOT BETWEEN SYMMETRIC expression AND expression', 'expression', 7, 'p_expression_between3', 'sql_grammar.py', 881), ('expression -> expression NOT BETWEEN expression AND expression', 'expression', 6, 'p_expression_between2', 'sql_grammar.py', 890), ('expression -> expression BETWEEN SYMMETRIC expression AND expression', 'expression', 6, 'p_expression_between2', 'sql_grammar.py', 891), ('expression -> expression BETWEEN expression AND expression', 'expression', 5, 'p_expression_between', 'sql_grammar.py', 900), ('expression -> expression IS DISTINCT FROM expression', 'expression', 5, 'p_expression_Distinct', 'sql_grammar.py', 911), ('expression -> expression IS NOT DISTINCT FROM expression', 'expression', 6, 'p_expression_not_Distinct', 'sql_grammar.py', 920), ('expression -> ID PUNTO ID', 'expression', 3, 'p_expression_puntoId', 'sql_grammar.py', 929), ('expression -> expression IS NOT NULL', 'expression', 4, 'p_expression_null3', 'sql_grammar.py', 938), ('expression -> expression IS NOT TRUE', 'expression', 4, 'p_expression_null3', 'sql_grammar.py', 939), ('expression -> expression IS NOT FALSE', 'expression', 4, 'p_expression_null3', 'sql_grammar.py', 940), ('expression -> expression IS NOT UNKNOWN', 'expression', 4, 'p_expression_null3', 'sql_grammar.py', 941), ('expression -> expression IS NULL', 'expression', 3, 'p_expression_null2', 'sql_grammar.py', 950), ('expression -> expression IS TRUE', 'expression', 3, 'p_expression_null2', 'sql_grammar.py', 951), ('expression -> expression IS FALSE', 'expression', 3, 'p_expression_null2', 'sql_grammar.py', 952), ('expression -> expression IS UNKNOWN', 'expression', 3, 'p_expression_null2', 'sql_grammar.py', 953), ('expression -> expression ISNULL', 'expression', 2, 'p_expression_null', 'sql_grammar.py', 962), ('expression -> expression NOTNULL', 'expression', 2, 'p_expression_null', 'sql_grammar.py', 963), ('expression -> SUM PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 972), ('expression -> COUNT PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 973), ('expression -> AVG PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 974), ('expression -> MAX PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 975), ('expression -> MIN PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 976), ('expression -> ABS PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 977), ('expression -> CBRT PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 978), ('expression -> CEIL PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 979), ('expression -> CEILING PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 980), ('expression -> DEGREES PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 981), ('expression -> DIV PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 982), ('expression -> EXP PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 983), ('expression -> FACTORIAL PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 984), ('expression -> FLOOR PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 985), ('expression -> GCD PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 986), ('expression -> LN PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 987), ('expression -> LOG PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 988), ('expression -> MOD PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 989), ('expression -> PI PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 990), ('expression -> POWER PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 991), ('expression -> RADIANS PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 992), ('expression -> ROUND PAR_ABRE expression PAR_CIERRA', 'expression', 4, 'p_expression_agrupar', 'sql_grammar.py', 993), ('expression -> seleccionar', 'expression', 1, 'p_expression_select', 'sql_grammar.py', 1003), ('expression -> PAR_ABRE expression PAR_CIERRA', 'expression', 3, 'p_expression_ss', 'sql_grammar.py', 1007), ('expression -> expression MAYOR expression', 'expression', 3, 'p_expression_relacional_aux_mayor', 'sql_grammar.py', 1011), ('expression -> expression MENOR expression', 'expression', 3, 'p_expression_relacional_aux_menor', 'sql_grammar.py', 1017), ('expression -> expression MAYOR_IGUAL expression', 'expression', 3, 'p_expression_relacional_aux_mayorigual', 'sql_grammar.py', 1023), ('expression -> expression MENOR_IGUAL expression', 'expression', 3, 'p_expression_relacional_aux_menorigual', 'sql_grammar.py', 1029), ('expression -> expression IGUAL expression', 'expression', 3, 'p_expression_relacional_aux_igual', 'sql_grammar.py', 1035), ('expression -> expression NO_IGUAL expression', 'expression', 3, 'p_expression_relacional_aux_noigual', 'sql_grammar.py', 1041), ('expression -> expression DIFERENTE expression', 'expression', 3, 'p_expression_relacional_aux_diferente', 'sql_grammar.py', 1047), ('expression -> expression AND expression', 'expression', 3, 'p_expression_logica_and__and', 'sql_grammar.py', 1053), ('expression -> expression OR expression', 'expression', 3, 'p_expression_logica_or', 'sql_grammar.py', 1059), ('expression -> NOT expression', 'expression', 2, 'p_expression_logica_not', 'sql_grammar.py', 1065), ('expression -> ID', 'expression', 1, 'p_solouno_expression', 'sql_grammar.py', 1071), ('expression -> ASTERISCO', 'expression', 1, 'p_solouno_expression', 'sql_grammar.py', 1072), ('expression -> ENTERO', 'expression', 1, 'p_expression_entero', 'sql_grammar.py', 1082), ('expression -> DECIMAL_NUM', 'expression', 1, 'p_expression_decimal', 'sql_grammar.py', 1094), ('expression -> CADENA', 'expression', 1, 'p_expression_cadena', 'sql_grammar.py', 1115)]
#pangram - sentence with all alphabets #example - The quick brown fox jumps over the lazy dog #read the input myStr = input("Enter a sentence: ").lower() #eliminating all the spaces myStr = myStr.replace(" ", "") #eliminating all commonly used special characters myStr = myStr.replace("," , "") myStr = myStr.replace("." , "") myStr = myStr.replace("!" , "") #converting string to set #as set only inputs unique values mySet = set(myStr) #now, this set should contain all the 26 alphabets #i.e length of set = 26 then, the str is pangram if len(mySet) == 26: print("Entered string is a Pangram String") else: print("Not a Pangram String")
my_str = input('Enter a sentence: ').lower() my_str = myStr.replace(' ', '') my_str = myStr.replace(',', '') my_str = myStr.replace('.', '') my_str = myStr.replace('!', '') my_set = set(myStr) if len(mySet) == 26: print('Entered string is a Pangram String') else: print('Not a Pangram String')
__all__ = ["Roll"] class Roll: pass
__all__ = ['Roll'] class Roll: pass
class ApiHttpRequest: GET_METHOD = 'GET' POST_METHOD = 'POST' HTTP_METHODS = [GET_METHOD, POST_METHOD] def __init__(self, api_http_request_method: str, api_url: str, api_http_request_headers: dict = None, api_http_request_body: str = None) -> None: self._method = api_http_request_method self._url = api_url self._headers = api_http_request_headers self._body = api_http_request_body @property def method(self) -> str: return self._method @property def url(self) -> str: return self._url @url.setter def url(self, url) -> None: self._url = url @property def headers(self) -> dict: return self._headers @property def body(self) -> None: return self._body
class Apihttprequest: get_method = 'GET' post_method = 'POST' http_methods = [GET_METHOD, POST_METHOD] def __init__(self, api_http_request_method: str, api_url: str, api_http_request_headers: dict=None, api_http_request_body: str=None) -> None: self._method = api_http_request_method self._url = api_url self._headers = api_http_request_headers self._body = api_http_request_body @property def method(self) -> str: return self._method @property def url(self) -> str: return self._url @url.setter def url(self, url) -> None: self._url = url @property def headers(self) -> dict: return self._headers @property def body(self) -> None: return self._body
# This code reads a text file from user input, finds words and sorts them by unique count then alphabetically. # C++ version is named "sortwords.cpp" and uses no built-in maps. # Dict is like std::map in C++ result = dict() # Count total number of words totalWords = 0 for line in open(input("Enter the filename: "), encoding="utf8"): # Remove punctuation, convert to lowercase and split by spaces for word in ''.join(c for c in line.rstrip().lower() if c == ' ' or c.isalpha()).split(" "): # Ignore blank words if word != "": # Increment if word already exists, otherwise start from 1 result[word] = result[word] + 1 if word in result else 1 totalWords += 1 # Sort by count, then alphabetically result = sorted(result.items(), key=lambda k: (-k[1], k[0])) # Print final output print("Total: {0}\nUnique: {1}\nFirst 15: {2}\nLast 15: {3}".format(totalWords, len(result), result[:15], result[-15:]))
result = dict() total_words = 0 for line in open(input('Enter the filename: '), encoding='utf8'): for word in ''.join((c for c in line.rstrip().lower() if c == ' ' or c.isalpha())).split(' '): if word != '': result[word] = result[word] + 1 if word in result else 1 total_words += 1 result = sorted(result.items(), key=lambda k: (-k[1], k[0])) print('Total: {0}\nUnique: {1}\nFirst 15: {2}\nLast 15: {3}'.format(totalWords, len(result), result[:15], result[-15:]))
# https://www.hackerrank.com/challenges/crush/problem?isFullScreen=true def reduce_x(a, b, c): mod = 1000000007 return a % mod, b % mod, c % mod # Main Method if __name__ == '__main__': n, m = map(int, input().split()) arr = [0] * (n + 2) for _ in range(m): a, b, k = map(int, input().split()) a, b, k = reduce_x(a, b, k) arr[a] += k arr[b + 1] -= k ''' if a == b: arr[a-1] += k else: arr[a-1 : b] = [i + k for i in arr[a-1 : b]] ''' m = v = 0 for i in range(1, n + 1): v += arr[i] m = max(m, v) print(m)
def reduce_x(a, b, c): mod = 1000000007 return (a % mod, b % mod, c % mod) if __name__ == '__main__': (n, m) = map(int, input().split()) arr = [0] * (n + 2) for _ in range(m): (a, b, k) = map(int, input().split()) (a, b, k) = reduce_x(a, b, k) arr[a] += k arr[b + 1] -= k '\n if a == b: \n arr[a-1] += k\n else: \n arr[a-1 : b] = [i + k for i in arr[a-1 : b]]\n ' m = v = 0 for i in range(1, n + 1): v += arr[i] m = max(m, v) print(m)
def calcManhattanDist(x1, y1, x2, y2) -> float: return abs(x1 - x2) + abs(y1 - y2) def main(): print(calcManhattanDist(2, 5, 10, 14)) if __name__ == "__main__": main()
def calc_manhattan_dist(x1, y1, x2, y2) -> float: return abs(x1 - x2) + abs(y1 - y2) def main(): print(calc_manhattan_dist(2, 5, 10, 14)) if __name__ == '__main__': main()
def collatz(n): seq = [n] while n != 1: if n % 2 == 0: n = n / 2 seq.append(int(n)) else: n = 3 * n + 1 seq.append(int(n)) return len(seq) i = 1 seqs = [] dictich = {} while i < 1000000: length = collatz(i) dictich[length] = i seqs.append(length) i += 1 max_len = max(seqs) print(dictich[max_len])
def collatz(n): seq = [n] while n != 1: if n % 2 == 0: n = n / 2 seq.append(int(n)) else: n = 3 * n + 1 seq.append(int(n)) return len(seq) i = 1 seqs = [] dictich = {} while i < 1000000: length = collatz(i) dictich[length] = i seqs.append(length) i += 1 max_len = max(seqs) print(dictich[max_len])
# DEVELOPER NOTES: # Copy this file and rename it to config.py # Replace your client/secret/callback url for each environment below with your specific app details # (Note: local is mainly for BB2 internal developers) ConfigType = { 'production' : { 'bb2BaseUrl' : 'https://api.bluebutton.cms.gov', 'bb2ClientId' : '<client-id>', 'bb2ClientSecret' : '<client-secret>', 'bb2CallbackUrl' : '<only https is supported in prod>', 'port' : 3001, 'host' : 'Unk' }, 'sandbox' : { 'bb2BaseUrl' : 'https://sandbox.bluebutton.cms.gov', 'bb2ClientId' : '<client-id>', 'bb2ClientSecret' : '<client-secret>', 'bb2CallbackUrl' : 'http://localhost:3001/api/bluebutton/callback/', 'port' : 3001, 'host' : 'server' }, 'local' : { 'bb2BaseUrl' : 'https://sandbox.bluebutton.cms.gov', 'bb2ClientId' : '<client-id>', 'bb2ClientSecret' : '<client-secret>', 'bb2CallbackUrl' : 'http://localhost:3001/api/bluebutton/callback/', 'port' : 3001, 'host' : 'server' } }
config_type = {'production': {'bb2BaseUrl': 'https://api.bluebutton.cms.gov', 'bb2ClientId': '<client-id>', 'bb2ClientSecret': '<client-secret>', 'bb2CallbackUrl': '<only https is supported in prod>', 'port': 3001, 'host': 'Unk'}, 'sandbox': {'bb2BaseUrl': 'https://sandbox.bluebutton.cms.gov', 'bb2ClientId': '<client-id>', 'bb2ClientSecret': '<client-secret>', 'bb2CallbackUrl': 'http://localhost:3001/api/bluebutton/callback/', 'port': 3001, 'host': 'server'}, 'local': {'bb2BaseUrl': 'https://sandbox.bluebutton.cms.gov', 'bb2ClientId': '<client-id>', 'bb2ClientSecret': '<client-secret>', 'bb2CallbackUrl': 'http://localhost:3001/api/bluebutton/callback/', 'port': 3001, 'host': 'server'}}
class prm: std = dict( field_color="mediumseagreen", field_markings_color="White", title_color="White", ) pc = dict( field_color="White", field_markings_color="black", title_color="black" ) field_width = 1000 field_height = 700 field_dim = (106.0, 68.0) marker_border_color = "white" marker_border_size = 2 blocked_marker_color = "white" goal_marker_color = "#EE3124" home_color = "#AD0B05" away_color = "#0570B0" player_marker_size = 20 # symbols sym_header = "circle" sym_header_off_target = "circle-open" sym_footer = "triangle-up" sym_footer_off_target = "triangle-up-open" sym_corners = "square" # sizes -> corners [10] fks [15] chlnge/recov/turnov [18] rest [20] player_marker_args = { "Home": dict( mode="markers+text", marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=home_color, marker_line_width=marker_border_size, textfont=dict(size=11, color="white"), ), "Away": dict( mode="markers+text", marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=away_color, marker_line_width=marker_border_size, textfont=dict(size=11, color="white"), ), } event_player_marker_args = { "Home": dict( mode="lines+markers+text", marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=home_color, marker_line_width=marker_border_size, line_color=home_color, textfont=dict(size=11, color="white"), ), "Away": dict( mode="lines+markers+text", marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=away_color, marker_line_width=marker_border_size, line_color=away_color, textfont=dict(size=11, color="white"), ), }
class Prm: std = dict(field_color='mediumseagreen', field_markings_color='White', title_color='White') pc = dict(field_color='White', field_markings_color='black', title_color='black') field_width = 1000 field_height = 700 field_dim = (106.0, 68.0) marker_border_color = 'white' marker_border_size = 2 blocked_marker_color = 'white' goal_marker_color = '#EE3124' home_color = '#AD0B05' away_color = '#0570B0' player_marker_size = 20 sym_header = 'circle' sym_header_off_target = 'circle-open' sym_footer = 'triangle-up' sym_footer_off_target = 'triangle-up-open' sym_corners = 'square' player_marker_args = {'Home': dict(mode='markers+text', marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=home_color, marker_line_width=marker_border_size, textfont=dict(size=11, color='white')), 'Away': dict(mode='markers+text', marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=away_color, marker_line_width=marker_border_size, textfont=dict(size=11, color='white'))} event_player_marker_args = {'Home': dict(mode='lines+markers+text', marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=home_color, marker_line_width=marker_border_size, line_color=home_color, textfont=dict(size=11, color='white')), 'Away': dict(mode='lines+markers+text', marker_size=player_marker_size, marker_line_color=marker_border_color, marker_color=away_color, marker_line_width=marker_border_size, line_color=away_color, textfont=dict(size=11, color='white'))}
assert gradiente('rojo', 'azul') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='centro') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='izquierda') == gradiente('rojo', 'azul', inicio='izquierda') assert gradiente('rojo', 'azul') != gradiente('rojo', 'azul', inicio='izquierda') assert gradiente('rojo', 'azul', inicio='izquierda') != gradiente('rojo', 'azul') assert gradiente('rojo', 'verde') != gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', 'naranja') != gradiente('rojo', 'azul') assert rgb(0, 0, 0) == rgb(0, 0, 0) assert rgb(1, 0, 0) != rgb(0, 0, 0) assert rgb(0, 1, 0) != rgb(0, 0, 0) assert rgb(0, 0, 1) != rgb(0, 0, 0) assert gradiente('rojo', rgb(0, 0, 5)) == gradiente('rojo', rgb(0, 0, 5)) assert gradiente('rojo', rgb(0, 0, 5)) != gradiente('rojo', rgb(0, 5, 0)) assert gradiente('rojo', rgb(0, 0, 5)) != gradiente('rojo', 'verde') assert gradiente('rojo', 'verde') != gradiente('rojo', rgb(0, 0, 5)) rect = Rect(50, 50, 150, 150, relleno=gradiente('naranja', 'rojo')) assert rect.relleno == gradiente('naranja', 'rojo')
assert gradiente('rojo', 'azul') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='centro') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='izquierda') == gradiente('rojo', 'azul', inicio='izquierda') assert gradiente('rojo', 'azul') != gradiente('rojo', 'azul', inicio='izquierda') assert gradiente('rojo', 'azul', inicio='izquierda') != gradiente('rojo', 'azul') assert gradiente('rojo', 'verde') != gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', 'naranja') != gradiente('rojo', 'azul') assert rgb(0, 0, 0) == rgb(0, 0, 0) assert rgb(1, 0, 0) != rgb(0, 0, 0) assert rgb(0, 1, 0) != rgb(0, 0, 0) assert rgb(0, 0, 1) != rgb(0, 0, 0) assert gradiente('rojo', rgb(0, 0, 5)) == gradiente('rojo', rgb(0, 0, 5)) assert gradiente('rojo', rgb(0, 0, 5)) != gradiente('rojo', rgb(0, 5, 0)) assert gradiente('rojo', rgb(0, 0, 5)) != gradiente('rojo', 'verde') assert gradiente('rojo', 'verde') != gradiente('rojo', rgb(0, 0, 5)) rect = rect(50, 50, 150, 150, relleno=gradiente('naranja', 'rojo')) assert rect.relleno == gradiente('naranja', 'rojo')
def foo(y): x = 5 x / y def bar(): foo(0) bar()
def foo(y): x = 5 x / y def bar(): foo(0) bar()
class Error(Exception): def __init__(self, message, error): self.message = message self.error = error @property def code(self): return 503 @property def name(self): return self.__class__.__name__ @property def description(self): return self.message class OperatorImportError(Error): pass class OperatorRegistError(Error): pass class PipelineCheckError(Error): pass class Insert2SQLError(Error): pass class QueryFromSQLError(Error): pass class DeleteFromSQLError(Error): pass class UpdateFromSQLError(Error): pass class NotExistError(Error): @property def code(self): return 404 class MilvusError(Error): pass class S3Error(Error): pass class DecodeError(Error): @property def code(self): return 400 class DownloadFileError(Error): @property def code(self): return 598 class PipelineIlegalError(Error): @property def code(self): return 400 class RPCExecError(Error): @property def code(self): return 503 class RequestError(Error): @property def code(self): return 400 class NoneVectorError(Error): @property def code(self): return 400
class Error(Exception): def __init__(self, message, error): self.message = message self.error = error @property def code(self): return 503 @property def name(self): return self.__class__.__name__ @property def description(self): return self.message class Operatorimporterror(Error): pass class Operatorregisterror(Error): pass class Pipelinecheckerror(Error): pass class Insert2Sqlerror(Error): pass class Queryfromsqlerror(Error): pass class Deletefromsqlerror(Error): pass class Updatefromsqlerror(Error): pass class Notexisterror(Error): @property def code(self): return 404 class Milvuserror(Error): pass class S3Error(Error): pass class Decodeerror(Error): @property def code(self): return 400 class Downloadfileerror(Error): @property def code(self): return 598 class Pipelineilegalerror(Error): @property def code(self): return 400 class Rpcexecerror(Error): @property def code(self): return 503 class Requesterror(Error): @property def code(self): return 400 class Nonevectorerror(Error): @property def code(self): return 400
def sixIntegers(): print("Please enter 6 integers:") i = 0 even = 0 odd = 0 while i < 6: try: six = input(">") six = int(six) i += 1 if (six % 2) == 0: even = even + six elif (six % 2) == 1: odd = odd + six except ValueError: print("Try again, not a valid Integer!") return even, odd def printResults(even, odd): print("\n\nEven sum:", even) print("Odd sum:", odd, "\n") def calculator(): even, odd = sixIntegers() printResults(even, odd) repeatCalc() def repeatCalc(): repeat = input("Do you wish to return this program? (y/n) \n>") if repeat.upper() == "Y": print("") calculator() elif repeat.upper() == "N": print("\nDone!") quit() else: print("Please enter y or n.") repeatCalc() calculator()
def six_integers(): print('Please enter 6 integers:') i = 0 even = 0 odd = 0 while i < 6: try: six = input('>') six = int(six) i += 1 if six % 2 == 0: even = even + six elif six % 2 == 1: odd = odd + six except ValueError: print('Try again, not a valid Integer!') return (even, odd) def print_results(even, odd): print('\n\nEven sum:', even) print('Odd sum:', odd, '\n') def calculator(): (even, odd) = six_integers() print_results(even, odd) repeat_calc() def repeat_calc(): repeat = input('Do you wish to return this program? (y/n) \n>') if repeat.upper() == 'Y': print('') calculator() elif repeat.upper() == 'N': print('\nDone!') quit() else: print('Please enter y or n.') repeat_calc() calculator()
class YLBaseServer(object): def name(self): pass def handle(self, args): pass def startup(self, *args): pass def stop(self, *args): pass
class Ylbaseserver(object): def name(self): pass def handle(self, args): pass def startup(self, *args): pass def stop(self, *args): pass
#!/usr/local/bin/python3 def checkDriverAge(age=0): # if not age: # age = int(input('What is your age?: ')) if int(age) < 18: print('Sorry, you are too young to drive this car ' 'Powering off!') elif int(age) > 18: print('Powering On. Enjoy the ride!') elif int(age) == 18: print('Congratulations on your first year of' 'driving. Enjoy the ride') return age if __name__ == "__main__": age = checkDriverAge(19) print(f'You\'re age is {age}')
def check_driver_age(age=0): if int(age) < 18: print('Sorry, you are too young to drive this car Powering off!') elif int(age) > 18: print('Powering On. Enjoy the ride!') elif int(age) == 18: print('Congratulations on your first year ofdriving. Enjoy the ride') return age if __name__ == '__main__': age = check_driver_age(19) print(f"You're age is {age}")
#!/usr/bin/env python3 #encoding=utf-8 #--------------------------------------- # Usage: python3 5-tracer1.py # Description: Recall from Chapter 30 that the __call__ operator overloading # method implements a function-call interface for class instances. # The following code uses this to define a call proxy class that # saves the decorated function in the instance and catches calls # to the original name. Because this is a class, it also has state # information -- a counter of calls made #--------------------------------------- class Tracer: def __init__(self, func): # Remember original, init counter self.calls = 0 self.func = func def __call__(self, *args): # On later calls: add logic, run original self.calls += 1 print('call %s to %s' % (self.calls, self.func.__name__)) return self.func(*args) if __name__ == '__main__': ''' Because the spam function is run through the tracer decorator, when the original spam name is called it actually triggers the __call__ method in the class. This method counts and logs the call, and then dispatches it to the original wrapped function. Note how the *name argument syntax is used to pack and unpack the passed-in arguments; because of this, this decorator can be used to wrap any function with any number of positional arguments. ''' @Tracer # same as spam = Tracer(spam) def spam(a, b, c): # Wrap spam in a decorator object return a + b + c print(spam(1, 2, 3)) # really call the Tracer wrapper object print(spam('a', 'b', 'c')) # Invokes __call__ in class ''' results: Chapter32.AdvancedClassTopics]# python3 5-tracer1.py call 1 to spam 6 call 2 to spam abc '''
class Tracer: def __init__(self, func): self.calls = 0 self.func = func def __call__(self, *args): self.calls += 1 print('call %s to %s' % (self.calls, self.func.__name__)) return self.func(*args) if __name__ == '__main__': '\n Because the spam function is run through the tracer decorator, when the original\n spam name is called it actually triggers the __call__ method in the class. This\n method counts and logs the call, and then dispatches it to the original wrapped \n function. Note how the *name argument syntax is used to pack and unpack the passed-in\n arguments; because of this, this decorator can be used to wrap any function with\n any number of positional arguments.\n ' @Tracer def spam(a, b, c): return a + b + c print(spam(1, 2, 3)) print(spam('a', 'b', 'c')) '\n results:\n Chapter32.AdvancedClassTopics]# python3 5-tracer1.py\n call 1 to spam\n 6\n call 2 to spam\n abc\n '
class Artist: def __init__(self, name = 'None', birthYear = 0, deathYear = 0): self.name = name self.BirthYear = birthYear self.deathYear = deathYear def printInfo(self): if self.deathYear == str('alive'): print('Artist: {}, born {}'.format(self.name, self.BirthYear)) else: print('Artist: {} ({}-{})'.format(self.name, self.BirthYear, self.deathYear))
class Artist: def __init__(self, name='None', birthYear=0, deathYear=0): self.name = name self.BirthYear = birthYear self.deathYear = deathYear def print_info(self): if self.deathYear == str('alive'): print('Artist: {}, born {}'.format(self.name, self.BirthYear)) else: print('Artist: {} ({}-{})'.format(self.name, self.BirthYear, self.deathYear))
alert_failure_count = 0 MAX_TEMP_ALLOWED_IN_CELCIUS = 200 def network_alert_stub(celcius): print(f'ALERT: Temperature is {celcius} celcius') if(celcius <= MAX_TEMP_ALLOWED_IN_CELCIUS): # Return 200 for ok return 200 else: # Return 500 for not-ok return 500 def network_alert_real(celcius): # Dummy function to simulate real network functionality return 200 def farenheit2celcius(farenheit): celcius = (farenheit - 32) * 5 / 9 return celcius def check_temp_in_farenheit(temp_farenheit, alertFunction=network_alert_real): # Complain, this function ask for celcius but the parameter is in Farenheit celcius = farenheit2celcius(temp_farenheit) returnCode = alertFunction(celcius) if returnCode != 200: # non-ok response is not an error! Issues happen in life! # let us keep a count of failures to report # However, this code doesn't count failures! # Add a test below to catch this bug. Alter the stub above, if needed. global alert_failure_count alert_failure_count += 1 # Error, this lines adds 0, must add 1. # Test network_alert_stub output = network_alert_stub(200) expectedOutput = 200 assert(output==expectedOutput) output = network_alert_stub(0) expectedOutput = 200 assert(output==expectedOutput) output = network_alert_stub(400.2) expectedOutput = 500 assert(output==expectedOutput) # Test farenheit2celcius() output = farenheit2celcius(212) expectedOutput = 100 assert(output == expectedOutput) # Main funcionality Test # insert 3 valid temperatures check_temp_in_farenheit(250.5, alertFunction=network_alert_stub) check_temp_in_farenheit(300.6, alertFunction=network_alert_stub) check_temp_in_farenheit(303.6, alertFunction=network_alert_stub) # insert 3 invalid temperatures check_temp_in_farenheit(400.6,alertFunction=network_alert_stub) check_temp_in_farenheit(401.6, alertFunction=network_alert_stub) check_temp_in_farenheit(560.6, alertFunction=network_alert_stub) print(f'{alert_failure_count} alerts failed.') assert(alert_failure_count == 3) print('All is well (maybe!)')
alert_failure_count = 0 max_temp_allowed_in_celcius = 200 def network_alert_stub(celcius): print(f'ALERT: Temperature is {celcius} celcius') if celcius <= MAX_TEMP_ALLOWED_IN_CELCIUS: return 200 else: return 500 def network_alert_real(celcius): return 200 def farenheit2celcius(farenheit): celcius = (farenheit - 32) * 5 / 9 return celcius def check_temp_in_farenheit(temp_farenheit, alertFunction=network_alert_real): celcius = farenheit2celcius(temp_farenheit) return_code = alert_function(celcius) if returnCode != 200: global alert_failure_count alert_failure_count += 1 output = network_alert_stub(200) expected_output = 200 assert output == expectedOutput output = network_alert_stub(0) expected_output = 200 assert output == expectedOutput output = network_alert_stub(400.2) expected_output = 500 assert output == expectedOutput output = farenheit2celcius(212) expected_output = 100 assert output == expectedOutput check_temp_in_farenheit(250.5, alertFunction=network_alert_stub) check_temp_in_farenheit(300.6, alertFunction=network_alert_stub) check_temp_in_farenheit(303.6, alertFunction=network_alert_stub) check_temp_in_farenheit(400.6, alertFunction=network_alert_stub) check_temp_in_farenheit(401.6, alertFunction=network_alert_stub) check_temp_in_farenheit(560.6, alertFunction=network_alert_stub) print(f'{alert_failure_count} alerts failed.') assert alert_failure_count == 3 print('All is well (maybe!)')
class Spam(object): def __init__(self, count): self.count = count def __eq__(self, other): return self.count == other.count
class Spam(object): def __init__(self, count): self.count = count def __eq__(self, other): return self.count == other.count
class Node: def __init__(self, data=None, pointer=None): self.data = data self.pointer = pointer def set_data(self, data): self.data = data def get_data(self): return self.data def set_pointer(self, pointer): self.pointer = pointer def get_pointer(self): return self.pointer class LinkedList: def __init__(self, head=None): self.head = head def add_node(self, data): # empty list if self.head == None: self.head = Node(data) else: curr_node = self.head if data < curr_node.get_data(): self.head = Node(data, curr_node) else: while curr_node.get_data() < data and curr_node.get_pointer() != None: prev_node = curr_node curr_node = curr_node.get_pointer() if curr_node.get_data() > data: prev_node.set_pointer(Node(data, curr_node)) elif curr_node.get_data() < data and curr_node.get_pointer() == None: curr_node.set_pointer(Node(data)) else: prev_node.set_pointer(Node(data, curr_node)) def return_list(self): curr_node = self.head linked_list = list() while curr_node.get_pointer() != None: linked_list.append(curr_node.get_data()) curr_node = curr_node.get_pointer() linked_list.append(curr_node.get_data()) return linked_list def search(self, data): curr_node = self.head while curr_node.get_pointer() != None: if curr_node.get_data() == data: return True curr_node = curr_node.get_pointer() if curr_node.get_data() == data: return True return False def delete(self, data): prev_node = curr_node = self.head while curr_node.get_pointer() != None: if curr_node.get_data() == data: if prev_node == curr_node: self.head = curr_node.get_pointer() # curr_node.set_pointer(None) # curr_node.set_data(None) return True else: prev_node.set_pointer(curr_node.get_pointer()) # curr_node.set_pointer(None) # curr_node.set_data(None) return True prev_node = curr_node curr_node = curr_node.get_pointer() if curr_node.get_data() == data: prev_node.set_pointer(None) # curr_node.set_pointer(None) # curr_node.set_data(None) return True return False def size(self): size = 0 curr_node = self.head while curr_node.get_pointer() != None: size += 1 curr_node = curr_node.get_pointer() size += 1 return size if __name__ == '__main__': linked_list = LinkedList() linked_list.add_node(4) linked_list.add_node(2) linked_list.add_node(1) linked_list.add_node(3) linked_list.add_node(8) linked_list.add_node(10) linked_list.add_node(5) linked_list.add_node(9) linked_list.add_node(5) linked_list.add_node(7) linked_list.add_node(7) linked_list.add_node(6) linked_list.add_node(100) linked_list.add_node(1000) linked_list.add_node(150) linked_list.add_node(50) print(linked_list.return_list()) print(linked_list.search(1000)) print(linked_list.delete(1000)) print(linked_list.return_list()) print(linked_list.search(1000)) print(linked_list.delete(50)) print(linked_list.search(50)) print(linked_list.return_list()) linked_list.add_node(50) print(linked_list.return_list()) print(linked_list.size())
class Node: def __init__(self, data=None, pointer=None): self.data = data self.pointer = pointer def set_data(self, data): self.data = data def get_data(self): return self.data def set_pointer(self, pointer): self.pointer = pointer def get_pointer(self): return self.pointer class Linkedlist: def __init__(self, head=None): self.head = head def add_node(self, data): if self.head == None: self.head = node(data) else: curr_node = self.head if data < curr_node.get_data(): self.head = node(data, curr_node) else: while curr_node.get_data() < data and curr_node.get_pointer() != None: prev_node = curr_node curr_node = curr_node.get_pointer() if curr_node.get_data() > data: prev_node.set_pointer(node(data, curr_node)) elif curr_node.get_data() < data and curr_node.get_pointer() == None: curr_node.set_pointer(node(data)) else: prev_node.set_pointer(node(data, curr_node)) def return_list(self): curr_node = self.head linked_list = list() while curr_node.get_pointer() != None: linked_list.append(curr_node.get_data()) curr_node = curr_node.get_pointer() linked_list.append(curr_node.get_data()) return linked_list def search(self, data): curr_node = self.head while curr_node.get_pointer() != None: if curr_node.get_data() == data: return True curr_node = curr_node.get_pointer() if curr_node.get_data() == data: return True return False def delete(self, data): prev_node = curr_node = self.head while curr_node.get_pointer() != None: if curr_node.get_data() == data: if prev_node == curr_node: self.head = curr_node.get_pointer() return True else: prev_node.set_pointer(curr_node.get_pointer()) return True prev_node = curr_node curr_node = curr_node.get_pointer() if curr_node.get_data() == data: prev_node.set_pointer(None) return True return False def size(self): size = 0 curr_node = self.head while curr_node.get_pointer() != None: size += 1 curr_node = curr_node.get_pointer() size += 1 return size if __name__ == '__main__': linked_list = linked_list() linked_list.add_node(4) linked_list.add_node(2) linked_list.add_node(1) linked_list.add_node(3) linked_list.add_node(8) linked_list.add_node(10) linked_list.add_node(5) linked_list.add_node(9) linked_list.add_node(5) linked_list.add_node(7) linked_list.add_node(7) linked_list.add_node(6) linked_list.add_node(100) linked_list.add_node(1000) linked_list.add_node(150) linked_list.add_node(50) print(linked_list.return_list()) print(linked_list.search(1000)) print(linked_list.delete(1000)) print(linked_list.return_list()) print(linked_list.search(1000)) print(linked_list.delete(50)) print(linked_list.search(50)) print(linked_list.return_list()) linked_list.add_node(50) print(linked_list.return_list()) print(linked_list.size())
def test_message_create_list(test_client, version_header): payload = {"subject": "heyhey", "message": "testing"} create_response = test_client.post( "/messages", json=payload, headers=version_header ) assert create_response.status_code == 201 response = test_client.get("/messages", headers=version_header) results = response.json() assert len(results) == 1
def test_message_create_list(test_client, version_header): payload = {'subject': 'heyhey', 'message': 'testing'} create_response = test_client.post('/messages', json=payload, headers=version_header) assert create_response.status_code == 201 response = test_client.get('/messages', headers=version_header) results = response.json() assert len(results) == 1
# 11. Write a program that asks the user to enter a word that contains the letter a. The program # should then print the following two lines: On the first line should be the part of the string up # to and including the the first a, and on the second line should be the rest of the string. Sample # output is shown below: # Enter a word: buffalo # buffa # lo word = input('Enter a word: ') idx = word.find('a') print(word[:idx + 1]) print(word[idx + 1:])
word = input('Enter a word: ') idx = word.find('a') print(word[:idx + 1]) print(word[idx + 1:])
''' The floor number we can check given m moves and k eggs. dp[m][k] = dp[m - 1][k - 1] + dp[m - 1][k] + 1 ''' class Solution: def superEggDrop(self, K: int, N: int) -> int: dp = [0] * (K + 1) m = 0 while dp[K] < N: for k in range(K, 0, -1): dp[k] = dp[k - 1] + dp[k] + 1 m += 1 return m
""" The floor number we can check given m moves and k eggs. dp[m][k] = dp[m - 1][k - 1] + dp[m - 1][k] + 1 """ class Solution: def super_egg_drop(self, K: int, N: int) -> int: dp = [0] * (K + 1) m = 0 while dp[K] < N: for k in range(K, 0, -1): dp[k] = dp[k - 1] + dp[k] + 1 m += 1 return m
def dfs(node,parent,ptaken): if dp[node][ptaken]!=-1: return dp[node][ptaken] taking,nottaking=1,0 total=0 tways for neig in graph[node]: if neig!=parent: taking+=dfs(neig,node,1) nottaking+=dfs(neig,node,0) if ptaken: dp[node][ptaken]=min(taking,nottaking) else: dp[node][ptaken]=taking return dp[node][ptaken] if __name__ == '__main__': n=int(input()) graph=[[]for ii in range(n)] for i in range(n-1): a,b=map(int,input().split()) a=a-1 b=b-1 graph[a].append(b) graph[b].append(a) dp=[[-1 for i in range(2)]for j in range(n)] print(dfs(0,-1,1))
def dfs(node, parent, ptaken): if dp[node][ptaken] != -1: return dp[node][ptaken] (taking, nottaking) = (1, 0) total = 0 tways for neig in graph[node]: if neig != parent: taking += dfs(neig, node, 1) nottaking += dfs(neig, node, 0) if ptaken: dp[node][ptaken] = min(taking, nottaking) else: dp[node][ptaken] = taking return dp[node][ptaken] if __name__ == '__main__': n = int(input()) graph = [[] for ii in range(n)] for i in range(n - 1): (a, b) = map(int, input().split()) a = a - 1 b = b - 1 graph[a].append(b) graph[b].append(a) dp = [[-1 for i in range(2)] for j in range(n)] print(dfs(0, -1, 1))
# Vicfred # https://atcoder.jp/contests/abc154/tasks/abc154_a # simulation s, t = input().split() a, b = list(map(int, input().split())) u = input() balls = {} balls[s] = a balls[t] = b balls[u] = balls[u] - 1 print(balls[s], balls[t])
(s, t) = input().split() (a, b) = list(map(int, input().split())) u = input() balls = {} balls[s] = a balls[t] = b balls[u] = balls[u] - 1 print(balls[s], balls[t])
class Solution: def longestPalindrome(self, s: str) -> str: def expand(left:int, right:int) -> str: while left >= 0 and right <= len(s) and s[left] == s[right-1]: left -= 1 right += 1 return s[left+1 : right-1] if len(s) < 2 or s == s[::-1]: return s result = '' for i in range(len(s) - 1): result = max(result, expand(i, i+1), expand(i, i+2), key = len) return result
class Solution: def longest_palindrome(self, s: str) -> str: def expand(left: int, right: int) -> str: while left >= 0 and right <= len(s) and (s[left] == s[right - 1]): left -= 1 right += 1 return s[left + 1:right - 1] if len(s) < 2 or s == s[::-1]: return s result = '' for i in range(len(s) - 1): result = max(result, expand(i, i + 1), expand(i, i + 2), key=len) return result
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "David S. Batista" __email__ = "dsbatista@inesc-id.pt" class Seed(object): def __init__(self, _e1, _e2): self.e1 = _e1 self.e2 = _e2 def __hash__(self): return hash(self.e1) ^ hash(self.e2) def __eq__(self, other): return self.e1 == other.e1 and self.e2 == other.e2
__author__ = 'David S. Batista' __email__ = 'dsbatista@inesc-id.pt' class Seed(object): def __init__(self, _e1, _e2): self.e1 = _e1 self.e2 = _e2 def __hash__(self): return hash(self.e1) ^ hash(self.e2) def __eq__(self, other): return self.e1 == other.e1 and self.e2 == other.e2
CONFIG = { 'file_gdb': 'curb_geocoder.gdb', 'input': { 'address_pt': 'ADDRESS_CURB_20141105', 'address_fields': { 'address_id': 'OBJECTID', 'address_full': 'ADDRESS_ID', 'poly_id': 'OBJECTID_1', }, 'streets_lin': 'STREETS_LIN', 'streets_fields': { 'street_name': 'STNAME', 'left_from': 'L_F_ADD', 'left_to': 'L_T_ADD', 'right_from': 'R_F_ADD', 'right_to': 'R_T_ADD', }, 'curbs_ply': 'CURBS_PLY', }, 'output': { 'constr_lin': 'CONSTR_LIN', # Relative path for output files (non-GDB) 'dir': 'output', }, 'logging': { 'max_bytes': 5*1024*1024, 'backup_count': 3, # CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET 'console_level': 'CRITICAL', 'file_level': 'DEBUG', }, 'debug': { 'max_rows': 0, # Time every n runs 'timed_row_interval': 50000, } }
config = {'file_gdb': 'curb_geocoder.gdb', 'input': {'address_pt': 'ADDRESS_CURB_20141105', 'address_fields': {'address_id': 'OBJECTID', 'address_full': 'ADDRESS_ID', 'poly_id': 'OBJECTID_1'}, 'streets_lin': 'STREETS_LIN', 'streets_fields': {'street_name': 'STNAME', 'left_from': 'L_F_ADD', 'left_to': 'L_T_ADD', 'right_from': 'R_F_ADD', 'right_to': 'R_T_ADD'}, 'curbs_ply': 'CURBS_PLY'}, 'output': {'constr_lin': 'CONSTR_LIN', 'dir': 'output'}, 'logging': {'max_bytes': 5 * 1024 * 1024, 'backup_count': 3, 'console_level': 'CRITICAL', 'file_level': 'DEBUG'}, 'debug': {'max_rows': 0, 'timed_row_interval': 50000}}
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def findBottomLeftValue(self, root: Optional[TreeNode]) -> int: bottomleft=root.val stack=[(root, 0)] prev_depth=0 while(stack): cur, depth = stack.pop(0) if depth!=prev_depth: bottomleft=cur.val if cur.left: stack.append((cur.left, depth+1)) if cur.right: stack.append((cur.right, depth+1)) prev_depth=depth return bottomleft
class Solution: def find_bottom_left_value(self, root: Optional[TreeNode]) -> int: bottomleft = root.val stack = [(root, 0)] prev_depth = 0 while stack: (cur, depth) = stack.pop(0) if depth != prev_depth: bottomleft = cur.val if cur.left: stack.append((cur.left, depth + 1)) if cur.right: stack.append((cur.right, depth + 1)) prev_depth = depth return bottomleft
# # PySNMP MIB module AISPY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AISPY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:00:57 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) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint") TruthValue, = mibBuilder.importSymbols("RFC1253-MIB", "TruthValue") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Integer32, NotificationType, ModuleIdentity, enterprises, ObjectIdentity, Gauge32, iso, Counter32, TimeTicks, Counter64, NotificationType, MibIdentifier, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "NotificationType", "ModuleIdentity", "enterprises", "ObjectIdentity", "Gauge32", "iso", "Counter32", "TimeTicks", "Counter64", "NotificationType", "MibIdentifier", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Unsigned32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") aii = MibIdentifier((1, 3, 6, 1, 4, 1, 539)) aiSPY = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20)) aiSPYIdent = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 1)) aiSPYIdentManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYIdentManufacturer.setStatus('mandatory') aiSPYIdentModel = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYIdentModel.setStatus('mandatory') aiSPYIdentSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYIdentSoftwareVersion.setStatus('mandatory') aiSPYIdentSpecific = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYIdentSpecific.setStatus('mandatory') aiSPYSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 2)) aiSPYClock = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYClock.setStatus('mandatory') aiSPYDoorAlarmBypass = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYDoorAlarmBypass.setStatus('mandatory') aiSPYKeypad = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 2, 3)) aiSPYKeypadCode1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode1.setStatus('mandatory') aiSPYKeypadName1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName1.setStatus('mandatory') aiSPYKeypadCode2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode2.setStatus('mandatory') aiSPYKeypadName2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName2.setStatus('mandatory') aiSPYKeypadCode3 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode3.setStatus('mandatory') aiSPYKeypadName3 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName3.setStatus('mandatory') aiSPYKeypadCode4 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode4.setStatus('mandatory') aiSPYKeypadName4 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName4.setStatus('mandatory') aiSPYKeypadCode5 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 9), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode5.setStatus('mandatory') aiSPYKeypadName5 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName5.setStatus('mandatory') aiSPYKeypadCode6 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 11), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode6.setStatus('mandatory') aiSPYKeypadName6 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 12), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName6.setStatus('mandatory') aiSPYKeypadCode7 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 13), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode7.setStatus('mandatory') aiSPYKeypadName7 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 14), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName7.setStatus('mandatory') aiSPYKeypadCode8 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 15), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode8.setStatus('mandatory') aiSPYKeypadName8 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 16), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName8.setStatus('mandatory') aiSPYKeypadCode9 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 17), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode9.setStatus('mandatory') aiSPYKeypadName9 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 18), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName9.setStatus('mandatory') aiSPYKeypadCode10 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 19), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode10.setStatus('mandatory') aiSPYKeypadName10 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 20), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName10.setStatus('mandatory') aiSPYKeypadCode11 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 21), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode11.setStatus('mandatory') aiSPYKeypadName11 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 22), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName11.setStatus('mandatory') aiSPYKeypadCode12 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 23), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode12.setStatus('mandatory') aiSPYKeypadName12 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 24), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName12.setStatus('mandatory') aiSPYKeypadCode13 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 25), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode13.setStatus('mandatory') aiSPYKeypadName13 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 26), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName13.setStatus('mandatory') aiSPYKeypadCode14 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 27), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode14.setStatus('mandatory') aiSPYKeypadName14 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 28), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName14.setStatus('mandatory') aiSPYKeypadCode15 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 29), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode15.setStatus('mandatory') aiSPYKeypadName15 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 30), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName15.setStatus('mandatory') aiSPYKeypadCode16 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 31), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode16.setStatus('mandatory') aiSPYKeypadName16 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 32), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName16.setStatus('mandatory') aiSPYKeypadCode17 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 33), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode17.setStatus('mandatory') aiSPYKeypadName17 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 34), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName17.setStatus('mandatory') aiSPYKeypadCode18 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 35), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode18.setStatus('mandatory') aiSPYKeypadName18 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 36), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName18.setStatus('mandatory') aiSPYKeypadCode19 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 37), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode19.setStatus('mandatory') aiSPYKeypadName19 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 38), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName19.setStatus('mandatory') aiSPYKeypadCode20 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 39), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadCode20.setStatus('mandatory') aiSPYKeypadName20 = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 40), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYKeypadName20.setStatus('mandatory') aiSPYInputVoltage = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInputVoltage.setStatus('mandatory') aiSPYOnBattery = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notInstalled", 0), ("installed", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYOnBattery.setStatus('mandatory') aiSPYLowBatteryThreshold = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYLowBatteryThreshold.setStatus('mandatory') aiSPYAnalogAverage = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYAnalogAverage.setStatus('mandatory') aiSPYInputs = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3)) aiSPYInput1 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 1)) aiSPYInput1State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notinstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1State.setStatus('mandatory') aiSPYInput1Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput1Reading.setStatus('mandatory') aiSPYInput1Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1Gain.setStatus('mandatory') aiSPYInput1Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1Offset.setStatus('mandatory') aiSPYInput1Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1Label.setStatus('mandatory') aiSPYInput1UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1UOM.setStatus('mandatory') aiSPYInput1HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1HighLimit.setStatus('mandatory') aiSPYInput1LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1LowLimit.setStatus('mandatory') aiSPYInput1RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1RlyControl.setStatus('mandatory') aiSPYInput1Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1Delay.setStatus('mandatory') aiSPYInput1RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1RTNDelay.setStatus('mandatory') aiSPYInput1Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput1Hysteresis.setStatus('mandatory') aiSPYInput2 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 2)) aiSPYInput2State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2State.setStatus('mandatory') aiSPYInput2Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput2Reading.setStatus('mandatory') aiSPYInput2Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2Gain.setStatus('mandatory') aiSPYInput2Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2Offset.setStatus('mandatory') aiSPYInput2Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2Label.setStatus('mandatory') aiSPYInput2UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2UOM.setStatus('mandatory') aiSPYInput2HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2HighLimit.setStatus('mandatory') aiSPYInput2LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2LowLimit.setStatus('mandatory') aiSPYInput2RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2RlyControl.setStatus('mandatory') aiSPYInput2Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2Delay.setStatus('mandatory') aiSPYInput2RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2RTNDelay.setStatus('mandatory') aiSPYInput2Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput2Hysteresis.setStatus('mandatory') aiSPYInput3 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 3)) aiSPYInput3State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3State.setStatus('mandatory') aiSPYInput3Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput3Reading.setStatus('mandatory') aiSPYInput3Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3Gain.setStatus('mandatory') aiSPYInput3Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3Offset.setStatus('mandatory') aiSPYInput3Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3Label.setStatus('mandatory') aiSPYInput3UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3UOM.setStatus('mandatory') aiSPYInput3HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3HighLimit.setStatus('mandatory') aiSPYInput3LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3LowLimit.setStatus('mandatory') aiSPYInput3RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3RlyControl.setStatus('mandatory') aiSPYInput3Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3Delay.setStatus('mandatory') aiSPYInput3RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3RTNDelay.setStatus('mandatory') aiSPYInput3Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput3Hysteresis.setStatus('mandatory') aiSPYInput4 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 4)) aiSPYInput4State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4State.setStatus('mandatory') aiSPYInput4Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput4Reading.setStatus('mandatory') aiSPYInput4Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4Gain.setStatus('mandatory') aiSPYInput4Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4Offset.setStatus('mandatory') aiSPYInput4Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4Label.setStatus('mandatory') aiSPYInput4UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4UOM.setStatus('mandatory') aiSPYInput4HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4HighLimit.setStatus('mandatory') aiSPYInput4LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4LowLimit.setStatus('mandatory') aiSPYInput4RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4RlyControl.setStatus('mandatory') aiSPYInput4Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4Delay.setStatus('mandatory') aiSPYInput4RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4RTNDelay.setStatus('mandatory') aiSPYInput4Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput4Hysteresis.setStatus('mandatory') aiSPYInput5 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 5)) aiSPYInput5State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5State.setStatus('mandatory') aiSPYInput5Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput5Reading.setStatus('mandatory') aiSPYInput5Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5Gain.setStatus('mandatory') aiSPYInput5Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5Offset.setStatus('mandatory') aiSPYInput5Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5Label.setStatus('mandatory') aiSPYInput5UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5UOM.setStatus('mandatory') aiSPYInput5HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5HighLimit.setStatus('mandatory') aiSPYInput5LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5LowLimit.setStatus('mandatory') aiSPYInput5RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5RlyControl.setStatus('mandatory') aiSPYInput5Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5Delay.setStatus('mandatory') aiSPYInput5RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5RTNDelay.setStatus('mandatory') aiSPYInput5Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput5Hysteresis.setStatus('mandatory') aiSPYInput6 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 6)) aiSPYInput6State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6State.setStatus('mandatory') aiSPYInput6Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput6Reading.setStatus('mandatory') aiSPYInput6Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6Gain.setStatus('mandatory') aiSPYInput6Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6Offset.setStatus('mandatory') aiSPYInput6Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6Label.setStatus('mandatory') aiSPYInput6UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6UOM.setStatus('mandatory') aiSPYInput6HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6HighLimit.setStatus('mandatory') aiSPYInput6LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6LowLimit.setStatus('mandatory') aiSPYInput6RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6RlyControl.setStatus('mandatory') aiSPYInput6Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6Delay.setStatus('mandatory') aiSPYInput6RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6RTNDelay.setStatus('mandatory') aiSPYInput6Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput6Hysteresis.setStatus('mandatory') aiSPYInput7 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 7)) aiSPYInput7State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7State.setStatus('mandatory') aiSPYInput7Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput7Reading.setStatus('mandatory') aiSPYInput7Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7Gain.setStatus('mandatory') aiSPYInput7Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7Offset.setStatus('mandatory') aiSPYInput7Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7Label.setStatus('mandatory') aiSPYInput7UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7UOM.setStatus('mandatory') aiSPYInput7HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7HighLimit.setStatus('mandatory') aiSPYInput7LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7LowLimit.setStatus('mandatory') aiSPYInput7RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7RlyControl.setStatus('mandatory') aiSPYInput7Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7Delay.setStatus('mandatory') aiSPYInput7RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7RTNDelay.setStatus('mandatory') aiSPYInput7Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput7Hysteresis.setStatus('mandatory') aiSPYInput8 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 8)) aiSPYInput8State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notInstalled", 1), ("analog-4to20-installed", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8State.setStatus('mandatory') aiSPYInput8Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput8Reading.setStatus('mandatory') aiSPYInput8Gain = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8Gain.setStatus('mandatory') aiSPYInput8Offset = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8Offset.setStatus('mandatory') aiSPYInput8Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8Label.setStatus('mandatory') aiSPYInput8UOM = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8UOM.setStatus('mandatory') aiSPYInput8HighLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8HighLimit.setStatus('mandatory') aiSPYInput8LowLimit = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8LowLimit.setStatus('mandatory') aiSPYInput8RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8RlyControl.setStatus('mandatory') aiSPYInput8Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8Delay.setStatus('mandatory') aiSPYInput8RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8RTNDelay.setStatus('mandatory') aiSPYInput8Hysteresis = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput8Hysteresis.setStatus('mandatory') aiSPYInput9 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 25)) aiSPYInput9State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput9State.setStatus('mandatory') aiSPYInput9Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput9Reading.setStatus('mandatory') aiSPYInput9Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput9Label.setStatus('mandatory') aiSPYInput9RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput9RlyControl.setStatus('mandatory') aiSPYInput9Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput9Delay.setStatus('mandatory') aiSPYInput9RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput9RTNDelay.setStatus('mandatory') aiSPYInput10 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 26)) aiSPYInput10State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput10State.setStatus('mandatory') aiSPYInput10Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput10Reading.setStatus('mandatory') aiSPYInput10Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput10Label.setStatus('mandatory') aiSPYInput10RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput10RlyControl.setStatus('mandatory') aiSPYInput10Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput10Delay.setStatus('mandatory') aiSPYInput10RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput10RTNDelay.setStatus('mandatory') aiSPYInput11 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 27)) aiSPYInput11State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput11State.setStatus('mandatory') aiSPYInput11Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput11Reading.setStatus('mandatory') aiSPYInput11Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput11Label.setStatus('mandatory') aiSPYInput11RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput11RlyControl.setStatus('mandatory') aiSPYInput11Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput11Delay.setStatus('mandatory') aiSPYInput11RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput11RTNDelay.setStatus('mandatory') aiSPYInput12 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 28)) aiSPYInput12State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput12State.setStatus('mandatory') aiSPYInput12Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput12Reading.setStatus('mandatory') aiSPYInput12Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput12Label.setStatus('mandatory') aiSPYInput12RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput12RlyControl.setStatus('mandatory') aiSPYInput12Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput12Delay.setStatus('mandatory') aiSPYInput12RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput12RTNDelay.setStatus('mandatory') aiSPYInput13 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 29)) aiSPYInput13State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput13State.setStatus('mandatory') aiSPYInput13Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput13Reading.setStatus('mandatory') aiSPYInput13Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput13Label.setStatus('mandatory') aiSPYInput13RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput13RlyControl.setStatus('mandatory') aiSPYInput13Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput13Delay.setStatus('mandatory') aiSPYInput13RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput13RTNDelay.setStatus('mandatory') aiSPYInput14 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 30)) aiSPYInput14State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput14State.setStatus('mandatory') aiSPYInput14Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput14Reading.setStatus('mandatory') aiSPYInput14Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput14Label.setStatus('mandatory') aiSPYInput14RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput14RlyControl.setStatus('mandatory') aiSPYInput14Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput14Delay.setStatus('mandatory') aiSPYInput14RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput14RTNDelay.setStatus('mandatory') aiSPYInput15 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 31)) aiSPYInput15State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput15State.setStatus('mandatory') aiSPYInput15Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput15Reading.setStatus('mandatory') aiSPYInput15Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput15Label.setStatus('mandatory') aiSPYInput15RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput15RlyControl.setStatus('mandatory') aiSPYInput15Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput15Delay.setStatus('mandatory') aiSPYInput15RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput15RTNDelay.setStatus('mandatory') aiSPYInput16 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 32)) aiSPYInput16State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput16State.setStatus('mandatory') aiSPYInput16Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput16Reading.setStatus('mandatory') aiSPYInput16Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput16Label.setStatus('mandatory') aiSPYInput16RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput16RlyControl.setStatus('mandatory') aiSPYInput16Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput16Delay.setStatus('mandatory') aiSPYInput16RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput16RTNDelay.setStatus('mandatory') aiSPYInput17 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 33)) aiSPYInput17State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput17State.setStatus('mandatory') aiSPYInput17Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput17Reading.setStatus('mandatory') aiSPYInput17Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput17Label.setStatus('mandatory') aiSPYInput17RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput17RlyControl.setStatus('mandatory') aiSPYInput17Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput17Delay.setStatus('mandatory') aiSPYInput17RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput17RTNDelay.setStatus('mandatory') aiSPYInput18 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 34)) aiSPYInput18State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput18State.setStatus('mandatory') aiSPYInput18Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput18Reading.setStatus('mandatory') aiSPYInput18Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput18Label.setStatus('mandatory') aiSPYInput18RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput18RlyControl.setStatus('mandatory') aiSPYInput18Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput18Delay.setStatus('mandatory') aiSPYInput18RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput18RTNDelay.setStatus('mandatory') aiSPYInput19 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 35)) aiSPYInput19State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput19State.setStatus('mandatory') aiSPYInput19Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput19Reading.setStatus('mandatory') aiSPYInput19Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput19Label.setStatus('mandatory') aiSPYInput19RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput19RlyControl.setStatus('mandatory') aiSPYInput19Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput19Delay.setStatus('mandatory') aiSPYInput19RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput19RTNDelay.setStatus('mandatory') aiSPYInput20 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 36)) aiSPYInput20State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput20State.setStatus('mandatory') aiSPYInput20Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput20Reading.setStatus('mandatory') aiSPYInput20Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput20Label.setStatus('mandatory') aiSPYInput20RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput20RlyControl.setStatus('mandatory') aiSPYInput20Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput20Delay.setStatus('mandatory') aiSPYInput20RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput20RTNDelay.setStatus('mandatory') aiSPYInput21 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 37)) aiSPYInput21State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput21State.setStatus('mandatory') aiSPYInput21Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput21Reading.setStatus('mandatory') aiSPYInput21Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput21Label.setStatus('mandatory') aiSPYInput21RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput21RlyControl.setStatus('mandatory') aiSPYInput21Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput21Delay.setStatus('mandatory') aiSPYInput21RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput21RTNDelay.setStatus('mandatory') aiSPYInput22 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 38)) aiSPYInput22State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput22State.setStatus('mandatory') aiSPYInput22Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput22Reading.setStatus('mandatory') aiSPYInput22Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput22Label.setStatus('mandatory') aiSPYInput22RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput22RlyControl.setStatus('mandatory') aiSPYInput22Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput22Delay.setStatus('mandatory') aiSPYInput22RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput22RTNDelay.setStatus('mandatory') aiSPYInput23 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 39)) aiSPYInput23State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput23State.setStatus('mandatory') aiSPYInput23Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput23Reading.setStatus('mandatory') aiSPYInput23Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput23Label.setStatus('mandatory') aiSPYInput23RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput23RlyControl.setStatus('mandatory') aiSPYInput23Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput23Delay.setStatus('mandatory') aiSPYInput23RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput23RTNDelay.setStatus('mandatory') aiSPYInput24 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 40)) aiSPYInput24State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput24State.setStatus('mandatory') aiSPYInput24Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput24Reading.setStatus('mandatory') aiSPYInput24Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput24Label.setStatus('mandatory') aiSPYInput24RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput24RlyControl.setStatus('mandatory') aiSPYInput24Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput24Delay.setStatus('mandatory') aiSPYInput24RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput24RTNDelay.setStatus('mandatory') aiSPYInput25 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 41)) aiSPYInput25State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput25State.setStatus('mandatory') aiSPYInput25Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput25Reading.setStatus('mandatory') aiSPYInput25Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput25Label.setStatus('mandatory') aiSPYInput25RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput25RlyControl.setStatus('mandatory') aiSPYInput25Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput25Delay.setStatus('mandatory') aiSPYInput25RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput25RTNDelay.setStatus('mandatory') aiSPYInput26 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 42)) aiSPYInput26State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput26State.setStatus('mandatory') aiSPYInput26Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput26Reading.setStatus('mandatory') aiSPYInput26Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput26Label.setStatus('mandatory') aiSPYInput26RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput26RlyControl.setStatus('mandatory') aiSPYInput26Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput26Delay.setStatus('mandatory') aiSPYInput26RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput26RTNDelay.setStatus('mandatory') aiSPYInput27 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 43)) aiSPYInput27State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput27State.setStatus('mandatory') aiSPYInput27Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput27Reading.setStatus('mandatory') aiSPYInput27Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput27Label.setStatus('mandatory') aiSPYInput27RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput27RlyControl.setStatus('mandatory') aiSPYInput27Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput27Delay.setStatus('mandatory') aiSPYInput27RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput27RTNDelay.setStatus('mandatory') aiSPYInput28 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 44)) aiSPYInput28State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("notInstalled", 1), ("digital-no-installed", 3), ("digital-nc-installed", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput28State.setStatus('mandatory') aiSPYInput28Reading = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYInput28Reading.setStatus('mandatory') aiSPYInput28Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput28Label.setStatus('mandatory') aiSPYInput28RlyControl = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput28RlyControl.setStatus('mandatory') aiSPYInput28Delay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput28Delay.setStatus('mandatory') aiSPYInput28RTNDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYInput28RTNDelay.setStatus('mandatory') aiSPYOutputs = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4)) aiSPYRelay1 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 1)) aiSPYRelay1State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay1State.setStatus('mandatory') aiSPYRelay1Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay1Status.setStatus('mandatory') aiSPYRelay1Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay1Label.setStatus('mandatory') aiSPYRelay1Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay1Time.setStatus('mandatory') aiSPYRelay2 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 2)) aiSPYRelay2State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay2State.setStatus('mandatory') aiSPYRelay2Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay2Status.setStatus('mandatory') aiSPYRelay2Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay2Label.setStatus('mandatory') aiSPYRelay2Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay2Time.setStatus('mandatory') aiSPYRelay3 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 3)) aiSPYRelay3State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay3State.setStatus('mandatory') aiSPYRelay3Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay3Status.setStatus('mandatory') aiSPYRelay3Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay3Label.setStatus('mandatory') aiSPYRelay3Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay3Time.setStatus('mandatory') aiSPYRelay4 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 4)) aiSPYRelay4State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay4State.setStatus('mandatory') aiSPYRelay4Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay4Status.setStatus('mandatory') aiSPYRelay4Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay4Label.setStatus('mandatory') aiSPYRelay4Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay4Time.setStatus('mandatory') aiSPYRelay5 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 5)) aiSPYRelay5State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay5State.setStatus('mandatory') aiSPYRelay5Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay5Status.setStatus('mandatory') aiSPYRelay5Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay5Label.setStatus('mandatory') aiSPYRelay5Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay5Time.setStatus('mandatory') aiSPYRelay6 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 6)) aiSPYRelay6State = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normallyoff", 1), ("normallyon", 2), ("forceon", 3), ("forceoff", 4), ("keypadcontrolled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay6State.setStatus('mandatory') aiSPYRelay6Status = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("normaloff", 1), ("normalon", 2), ("forcedon", 3), ("forcedoff", 4), ("keycodeactive", 5), ("alarmedactive", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYRelay6Status.setStatus('mandatory') aiSPYRelay6Label = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay6Label.setStatus('mandatory') aiSPYRelay6Time = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYRelay6Time.setStatus('mandatory') aiSPYAlarms = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 5)) aiSPYAlarmsPresent = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 5, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYAlarmsPresent.setStatus('current') aiSPYAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 539, 20, 5, 2), ) if mibBuilder.loadTexts: aiSPYAlarmTable.setStatus('current') aiSPYAlarmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1), ).setIndexNames((0, "AISPY-MIB", "aiSPYAlarmId")) if mibBuilder.loadTexts: aiSPYAlarmEntry.setStatus('current') aiSPYAlarmId = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1, 1), Integer32()) if mibBuilder.loadTexts: aiSPYAlarmId.setStatus('current') aiSPYAlarmDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYAlarmDescr.setStatus('current') aiSPYWellKnownAlarms = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 5, 3)) aiSPYInput1HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 1)) if mibBuilder.loadTexts: aiSPYInput1HighAlarm.setStatus('current') aiSPYInput1LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 2)) if mibBuilder.loadTexts: aiSPYInput1LowAlarm.setStatus('current') aiSPYInput2HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 3)) if mibBuilder.loadTexts: aiSPYInput2HighAlarm.setStatus('current') aiSPYInput2LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 4)) if mibBuilder.loadTexts: aiSPYInput2LowAlarm.setStatus('current') aiSPYInput3HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 5)) if mibBuilder.loadTexts: aiSPYInput3HighAlarm.setStatus('current') aiSPYInput3LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 6)) if mibBuilder.loadTexts: aiSPYInput3LowAlarm.setStatus('current') aiSPYInput4HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 7)) if mibBuilder.loadTexts: aiSPYInput4HighAlarm.setStatus('current') aiSPYInput4LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 8)) if mibBuilder.loadTexts: aiSPYInput4LowAlarm.setStatus('current') aiSPYInput5HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 9)) if mibBuilder.loadTexts: aiSPYInput5HighAlarm.setStatus('current') aiSPYInput5LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 10)) if mibBuilder.loadTexts: aiSPYInput5LowAlarm.setStatus('current') aiSPYInput6HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 11)) if mibBuilder.loadTexts: aiSPYInput6HighAlarm.setStatus('current') aiSPYInput6LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 12)) if mibBuilder.loadTexts: aiSPYInput6LowAlarm.setStatus('current') aiSPYInput7HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 13)) if mibBuilder.loadTexts: aiSPYInput7HighAlarm.setStatus('current') aiSPYInput7LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 14)) if mibBuilder.loadTexts: aiSPYInput7LowAlarm.setStatus('current') aiSPYInput8HighAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 15)) if mibBuilder.loadTexts: aiSPYInput8HighAlarm.setStatus('current') aiSPYInput8LowAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 16)) if mibBuilder.loadTexts: aiSPYInput8LowAlarm.setStatus('current') aiSPYInput1DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 17)) if mibBuilder.loadTexts: aiSPYInput1DigAlarm.setStatus('current') aiSPYInput2DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 18)) if mibBuilder.loadTexts: aiSPYInput2DigAlarm.setStatus('current') aiSPYInput3DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 19)) if mibBuilder.loadTexts: aiSPYInput3DigAlarm.setStatus('current') aiSPYInput4DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 20)) if mibBuilder.loadTexts: aiSPYInput4DigAlarm.setStatus('current') aiSPYInput5DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 21)) if mibBuilder.loadTexts: aiSPYInput5DigAlarm.setStatus('current') aiSPYInput6DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 22)) if mibBuilder.loadTexts: aiSPYInput6DigAlarm.setStatus('current') aiSPYInput7DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 23)) if mibBuilder.loadTexts: aiSPYInput7DigAlarm.setStatus('current') aiSPYInput8DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 24)) if mibBuilder.loadTexts: aiSPYInput8DigAlarm.setStatus('current') aiSPYInput9DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 25)) if mibBuilder.loadTexts: aiSPYInput9DigAlarm.setStatus('current') aiSPYInput10DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 26)) if mibBuilder.loadTexts: aiSPYInput10DigAlarm.setStatus('current') aiSPYInput11DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 27)) if mibBuilder.loadTexts: aiSPYInput11DigAlarm.setStatus('current') aiSPYInput12DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 28)) if mibBuilder.loadTexts: aiSPYInput12DigAlarm.setStatus('current') aiSPYInput13DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 29)) if mibBuilder.loadTexts: aiSPYInput13DigAlarm.setStatus('current') aiSPYInput14DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 30)) if mibBuilder.loadTexts: aiSPYInput14DigAlarm.setStatus('current') aiSPYInput15DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 31)) if mibBuilder.loadTexts: aiSPYInput15DigAlarm.setStatus('current') aiSPYInput16DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 32)) if mibBuilder.loadTexts: aiSPYInput16DigAlarm.setStatus('current') aiSPYInput17DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 33)) if mibBuilder.loadTexts: aiSPYInput17DigAlarm.setStatus('current') aiSPYInput18DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 34)) if mibBuilder.loadTexts: aiSPYInput18DigAlarm.setStatus('current') aiSPYInput19DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 35)) if mibBuilder.loadTexts: aiSPYInput19DigAlarm.setStatus('current') aiSPYInput20DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 36)) if mibBuilder.loadTexts: aiSPYInput20DigAlarm.setStatus('current') aiSPYInput21DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 37)) if mibBuilder.loadTexts: aiSPYInput21DigAlarm.setStatus('current') aiSPYInput22DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 38)) if mibBuilder.loadTexts: aiSPYInput22DigAlarm.setStatus('current') aiSPYInput23DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 39)) if mibBuilder.loadTexts: aiSPYInput23DigAlarm.setStatus('current') aiSPYInput24DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 40)) if mibBuilder.loadTexts: aiSPYInput24DigAlarm.setStatus('current') aiSPYInput25DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 41)) if mibBuilder.loadTexts: aiSPYInput25DigAlarm.setStatus('current') aiSPYInput26DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 42)) if mibBuilder.loadTexts: aiSPYInput26DigAlarm.setStatus('current') aiSPYInput27DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 43)) if mibBuilder.loadTexts: aiSPYInput27DigAlarm.setStatus('current') aiSPYInput28DigAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 44)) if mibBuilder.loadTexts: aiSPYInput28DigAlarm.setStatus('current') aiSPYOnBatteryAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 96)) if mibBuilder.loadTexts: aiSPYOnBatteryAlarm.setStatus('current') aiSPYLowBatteryAlarm = ObjectIdentity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 97)) if mibBuilder.loadTexts: aiSPYLowBatteryAlarm.setStatus('current') aiSPYTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 6)) aiSPYAlarmEntryAdded = NotificationType((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0,1)) aiSPYAlarmEntryRemoved = NotificationType((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0,2)) aiSPYAccessGranted = NotificationType((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0,3)) aiSPYAccessDenied = NotificationType((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0,4)) aiSPYAlarmHistory = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 7)) aiSPYAlarmHistoryEntries = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 7, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYAlarmHistoryEntries.setStatus('current') aiSPYAlarmHistoryClear = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 7, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("clearbuffer", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYAlarmHistoryClear.setStatus('mandatory') aiSPYAlarmHistoryTable = MibTable((1, 3, 6, 1, 4, 1, 539, 20, 7, 3), ) if mibBuilder.loadTexts: aiSPYAlarmHistoryTable.setStatus('current') aiSPYAlarmHistoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1), ).setIndexNames((0, "AISPY-MIB", "aiSPYAlarmHistoryId")) if mibBuilder.loadTexts: aiSPYAlarmHistoryEntry.setStatus('current') aiSPYAlarmHistoryId = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: aiSPYAlarmHistoryId.setStatus('current') aiSPYAlarmHistoryText = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiSPYAlarmHistoryText.setStatus('current') aiSPYTrapSettings = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 8)) aiSPYPersistantTraps = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYPersistantTraps.setStatus('mandatory') aiSPYAlarmAcknowledge = MibScalar((1, 3, 6, 1, 4, 1, 539, 20, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("acknowledgealarms", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiSPYAlarmAcknowledge.setStatus('mandatory') aiSPY8124 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 20, 3)) mibBuilder.exportSymbols("AISPY-MIB", aiSPYInput8HighLimit=aiSPYInput8HighLimit, aiSPYInput21=aiSPYInput21, aiSPYInput10Label=aiSPYInput10Label, aiSPYRelay2=aiSPYRelay2, aiSPYKeypadCode12=aiSPYKeypadCode12, aiSPYInput17=aiSPYInput17, aiSPYKeypadCode19=aiSPYKeypadCode19, aiSPYInput19State=aiSPYInput19State, aiSPY8124=aiSPY8124, aiSPYInput15RlyControl=aiSPYInput15RlyControl, aiSPYInput5Delay=aiSPYInput5Delay, aiSPYInput23State=aiSPYInput23State, aiSPYInput7Offset=aiSPYInput7Offset, aiSPYKeypadName4=aiSPYKeypadName4, aiSPYInput1Gain=aiSPYInput1Gain, aiSPYInput19Delay=aiSPYInput19Delay, aiSPYKeypadName11=aiSPYKeypadName11, aiSPYInput3UOM=aiSPYInput3UOM, aiSPYInput7DigAlarm=aiSPYInput7DigAlarm, aiSPYInput5UOM=aiSPYInput5UOM, aiSPYInput23Reading=aiSPYInput23Reading, aiSPYKeypadCode8=aiSPYKeypadCode8, aiSPYInput26RlyControl=aiSPYInput26RlyControl, aiSPYInput16Delay=aiSPYInput16Delay, aiSPYInput20DigAlarm=aiSPYInput20DigAlarm, aiSPYInput18RTNDelay=aiSPYInput18RTNDelay, aiSPYInput19DigAlarm=aiSPYInput19DigAlarm, aiSPYInput5HighLimit=aiSPYInput5HighLimit, aiSPYKeypadCode3=aiSPYKeypadCode3, aiSPYInput18Label=aiSPYInput18Label, aiSPYInput1LowAlarm=aiSPYInput1LowAlarm, aiSPYInput26Label=aiSPYInput26Label, aiSPYKeypadName1=aiSPYKeypadName1, aiSPYInput3LowAlarm=aiSPYInput3LowAlarm, aiSPYInput20Label=aiSPYInput20Label, aiSPYInput6HighAlarm=aiSPYInput6HighAlarm, aiSPYRelay6Status=aiSPYRelay6Status, aiSPYInput7RTNDelay=aiSPYInput7RTNDelay, aiSPYInput6Gain=aiSPYInput6Gain, aiSPYRelay1State=aiSPYRelay1State, aiSPYInput8Label=aiSPYInput8Label, aiSPYInput18DigAlarm=aiSPYInput18DigAlarm, aiSPYInput11Delay=aiSPYInput11Delay, aiSPYInput16Reading=aiSPYInput16Reading, aiSPYInput17State=aiSPYInput17State, aiSPYInput5LowLimit=aiSPYInput5LowLimit, aiSPYAnalogAverage=aiSPYAnalogAverage, aiSPYInput21Delay=aiSPYInput21Delay, aiSPYInput5RTNDelay=aiSPYInput5RTNDelay, aiSPYInput19Reading=aiSPYInput19Reading, aiSPYInput8RlyControl=aiSPYInput8RlyControl, aiSPYKeypadCode16=aiSPYKeypadCode16, aiSPYInput16Label=aiSPYInput16Label, aiSPYInput5State=aiSPYInput5State, aiSPYInput21RTNDelay=aiSPYInput21RTNDelay, aiSPYKeypadCode9=aiSPYKeypadCode9, aiSPYInput14=aiSPYInput14, aiSPYInput14Delay=aiSPYInput14Delay, aiSPYInput13DigAlarm=aiSPYInput13DigAlarm, aiSPYInput10RlyControl=aiSPYInput10RlyControl, aiSPYInput23RlyControl=aiSPYInput23RlyControl, aiSPYOnBatteryAlarm=aiSPYOnBatteryAlarm, aiSPYInput5=aiSPYInput5, aiSPYInput1RTNDelay=aiSPYInput1RTNDelay, aiSPYKeypadName20=aiSPYKeypadName20, aiSPYInput12Delay=aiSPYInput12Delay, aiSPYLowBatteryAlarm=aiSPYLowBatteryAlarm, aiSPYInput18State=aiSPYInput18State, aiSPYInput8Gain=aiSPYInput8Gain, aiSPYInput6UOM=aiSPYInput6UOM, aiSPYRelay3State=aiSPYRelay3State, aiSPYInput23RTNDelay=aiSPYInput23RTNDelay, aiSPYRelay5=aiSPYRelay5, aiSPYInput24State=aiSPYInput24State, aiSPYInput8LowAlarm=aiSPYInput8LowAlarm, aiSPYInput7LowAlarm=aiSPYInput7LowAlarm, aiSPYInput17RlyControl=aiSPYInput17RlyControl, aiSPYInput4Delay=aiSPYInput4Delay, aiSPYInput12RTNDelay=aiSPYInput12RTNDelay, aiSPYInput28Reading=aiSPYInput28Reading, aiSPYInput1=aiSPYInput1, aiSPYInput11State=aiSPYInput11State, aiSPYRelay1Time=aiSPYRelay1Time, aiSPYInput1Offset=aiSPYInput1Offset, aiSPYInput6DigAlarm=aiSPYInput6DigAlarm, aiSPYRelay3Time=aiSPYRelay3Time, aiSPYInput26State=aiSPYInput26State, aiSPYInput22Delay=aiSPYInput22Delay, aiSPYInput9=aiSPYInput9, aiSPYInput20RTNDelay=aiSPYInput20RTNDelay, aiSPYInput25RTNDelay=aiSPYInput25RTNDelay, aiSPYInput27Delay=aiSPYInput27Delay, aiSPYInput17RTNDelay=aiSPYInput17RTNDelay, aiSPYInput26Reading=aiSPYInput26Reading, aiSPYInput5Hysteresis=aiSPYInput5Hysteresis, aiSPYIdent=aiSPYIdent, aiSPYAlarmAcknowledge=aiSPYAlarmAcknowledge, aiSPYAlarmHistoryEntry=aiSPYAlarmHistoryEntry, aiSPYInput2=aiSPYInput2, aiSPYInput3Delay=aiSPYInput3Delay, aiSPYKeypadName14=aiSPYKeypadName14, aiSPYInput21DigAlarm=aiSPYInput21DigAlarm, aiSPYInput3Label=aiSPYInput3Label, aiSPYInput18Reading=aiSPYInput18Reading, aiSPYInput20Reading=aiSPYInput20Reading, aiSPYAlarmHistoryText=aiSPYAlarmHistoryText, aiSPYInput16RlyControl=aiSPYInput16RlyControl, aiSPYInputVoltage=aiSPYInputVoltage, aiSPYInput5Reading=aiSPYInput5Reading, aiSPYKeypadName5=aiSPYKeypadName5, aiSPYInput25DigAlarm=aiSPYInput25DigAlarm, aiSPYInput19RlyControl=aiSPYInput19RlyControl, aiSPYRelay3Status=aiSPYRelay3Status, aiSPYInput13State=aiSPYInput13State, aiSPYInput25RlyControl=aiSPYInput25RlyControl, aiSPYInput8=aiSPYInput8, aiSPY=aiSPY, aiSPYInput27State=aiSPYInput27State, aiSPYInput11Reading=aiSPYInput11Reading, aiSPYRelay2Time=aiSPYRelay2Time, aiSPYIdentSpecific=aiSPYIdentSpecific, aiSPYInput11RlyControl=aiSPYInput11RlyControl, aiSPYKeypadCode17=aiSPYKeypadCode17, aiSPYIdentManufacturer=aiSPYIdentManufacturer, aiSPYInput4LowAlarm=aiSPYInput4LowAlarm, aiSPYInput7Label=aiSPYInput7Label, aiSPYInput2HighLimit=aiSPYInput2HighLimit, aiSPYInput7Reading=aiSPYInput7Reading, aiSPYInput8State=aiSPYInput8State, aiSPYInput12RlyControl=aiSPYInput12RlyControl, aiSPYInput17DigAlarm=aiSPYInput17DigAlarm, aiSPYInput1HighLimit=aiSPYInput1HighLimit, aiSPYRelay5Label=aiSPYRelay5Label, aiSPYInput8LowLimit=aiSPYInput8LowLimit, aiSPYInput7State=aiSPYInput7State, aiSPYInput5LowAlarm=aiSPYInput5LowAlarm, aiSPYInput15Delay=aiSPYInput15Delay, aiSPYInput5Gain=aiSPYInput5Gain, aiSPYInput7RlyControl=aiSPYInput7RlyControl, aiSPYInput14Reading=aiSPYInput14Reading, aiSPYInput1UOM=aiSPYInput1UOM, aiSPYRelay2Label=aiSPYRelay2Label, aiSPYInput6Delay=aiSPYInput6Delay, aiSPYInput1Reading=aiSPYInput1Reading, aiSPYKeypadName13=aiSPYKeypadName13, aiSPYInput20Delay=aiSPYInput20Delay, aiSPYInput15Label=aiSPYInput15Label, aiSPYInput20RlyControl=aiSPYInput20RlyControl, aiSPYInput24=aiSPYInput24, aiSPYInput28State=aiSPYInput28State, aiSPYInput19Label=aiSPYInput19Label, aiSPYInput9Label=aiSPYInput9Label, aiSPYInput7Gain=aiSPYInput7Gain, aiSPYInput4Reading=aiSPYInput4Reading, aiSPYRelay4=aiSPYRelay4, aiSPYInput3Gain=aiSPYInput3Gain, aiSPYAlarmEntry=aiSPYAlarmEntry, aiSPYInput27DigAlarm=aiSPYInput27DigAlarm, aiSPYInput12Reading=aiSPYInput12Reading, aiSPYInput28=aiSPYInput28, aiSPYInput22State=aiSPYInput22State, aiSPYKeypadCode11=aiSPYKeypadCode11, aiSPYDoorAlarmBypass=aiSPYDoorAlarmBypass, aiSPYInput12DigAlarm=aiSPYInput12DigAlarm, aiSPYKeypadName16=aiSPYKeypadName16, aiSPYIdentModel=aiSPYIdentModel, aiSPYInput15Reading=aiSPYInput15Reading, aiSPYInput7Delay=aiSPYInput7Delay, aiSPYInput20=aiSPYInput20, aiSPYKeypadCode20=aiSPYKeypadCode20, aiSPYInput15=aiSPYInput15, aiSPYInput6LowAlarm=aiSPYInput6LowAlarm, aiSPYInput14RTNDelay=aiSPYInput14RTNDelay, aiSPYInput7LowLimit=aiSPYInput7LowLimit, aiSPYKeypadCode10=aiSPYKeypadCode10, aiSPYInput4HighAlarm=aiSPYInput4HighAlarm, aiSPYInput10DigAlarm=aiSPYInput10DigAlarm, aiSPYInput4DigAlarm=aiSPYInput4DigAlarm, aiSPYInput22Label=aiSPYInput22Label, aiSPYTrapSettings=aiSPYTrapSettings, aiSPYKeypadCode18=aiSPYKeypadCode18, aiSPYInput2RTNDelay=aiSPYInput2RTNDelay, aiSPYInput22RTNDelay=aiSPYInput22RTNDelay, aiSPYRelay6State=aiSPYRelay6State, aiSPYInput9RTNDelay=aiSPYInput9RTNDelay, aiSPYRelay4Label=aiSPYRelay4Label, aiSPYRelay2State=aiSPYRelay2State, aiSPYInput10Reading=aiSPYInput10Reading, aiSPYKeypadCode4=aiSPYKeypadCode4, aiSPYInput3Offset=aiSPYInput3Offset, aiSPYInput4State=aiSPYInput4State, aiSPYRelay4Time=aiSPYRelay4Time, aiSPYInput16DigAlarm=aiSPYInput16DigAlarm, aiSPYInput9Delay=aiSPYInput9Delay, aiSPYInput28DigAlarm=aiSPYInput28DigAlarm, aiSPYInput3HighLimit=aiSPYInput3HighLimit, aiSPYInput22Reading=aiSPYInput22Reading, aiSPYInput19=aiSPYInput19, aiSPYInput28Delay=aiSPYInput28Delay, aiSPYKeypadCode15=aiSPYKeypadCode15, aiSPYInput1LowLimit=aiSPYInput1LowLimit, aiSPYInput4RlyControl=aiSPYInput4RlyControl, aiSPYInput8Hysteresis=aiSPYInput8Hysteresis, aiSPYInput17Delay=aiSPYInput17Delay, aiSPYInput27RTNDelay=aiSPYInput27RTNDelay, aiSPYInput4Hysteresis=aiSPYInput4Hysteresis, aiSPYInput26Delay=aiSPYInput26Delay, aiSPYRelay3=aiSPYRelay3, aiSPYInput12State=aiSPYInput12State, aiSPYInput13Delay=aiSPYInput13Delay, aiSPYInput3Hysteresis=aiSPYInput3Hysteresis, aiSPYKeypadCode14=aiSPYKeypadCode14, aiSPYRelay6=aiSPYRelay6, aiSPYWellKnownAlarms=aiSPYWellKnownAlarms, aiSPYAlarms=aiSPYAlarms, aiSPYInput3State=aiSPYInput3State, aiSPYInput24Reading=aiSPYInput24Reading, aiSPYInput1Delay=aiSPYInput1Delay, aiSPYInput24Delay=aiSPYInput24Delay, aiSPYAlarmHistoryEntries=aiSPYAlarmHistoryEntries, aiSPYInput4=aiSPYInput4, aiSPYKeypadName18=aiSPYKeypadName18, aiSPYInput6State=aiSPYInput6State, aiSPYAlarmId=aiSPYAlarmId, aiSPYAccessGranted=aiSPYAccessGranted, aiSPYInput7HighLimit=aiSPYInput7HighLimit, aiSPYKeypadCode13=aiSPYKeypadCode13, aiSPYAlarmEntryRemoved=aiSPYAlarmEntryRemoved, aiSPYKeypadName12=aiSPYKeypadName12, aiSPYInput2State=aiSPYInput2State, aiSPYInput7HighAlarm=aiSPYInput7HighAlarm, aiSPYRelay1Status=aiSPYRelay1Status, aiSPYInput23DigAlarm=aiSPYInput23DigAlarm, aiSPYKeypadCode6=aiSPYKeypadCode6, aiSPYRelay4Status=aiSPYRelay4Status, aiSPYInput22DigAlarm=aiSPYInput22DigAlarm, aiSPYInput4UOM=aiSPYInput4UOM, aiSPYInput26=aiSPYInput26, aiSPYInput26RTNDelay=aiSPYInput26RTNDelay, aiSPYKeypadName6=aiSPYKeypadName6, aiSPYInput3LowLimit=aiSPYInput3LowLimit, aiSPYRelay4State=aiSPYRelay4State, aiSPYInput17Reading=aiSPYInput17Reading, aiSPYInput5RlyControl=aiSPYInput5RlyControl, aiSPYInput6Label=aiSPYInput6Label, aiSPYInput16RTNDelay=aiSPYInput16RTNDelay, aiSPYInput5DigAlarm=aiSPYInput5DigAlarm, aiSPYRelay1=aiSPYRelay1, aiSPYInput6HighLimit=aiSPYInput6HighLimit, aiSPYKeypadCode5=aiSPYKeypadCode5, aiSPYInput3RTNDelay=aiSPYInput3RTNDelay, aiSPYInput7Hysteresis=aiSPYInput7Hysteresis, aiSPYInput3DigAlarm=aiSPYInput3DigAlarm, aiSPYInput15DigAlarm=aiSPYInput15DigAlarm) mibBuilder.exportSymbols("AISPY-MIB", aiSPYInput9DigAlarm=aiSPYInput9DigAlarm, aiSPYAccessDenied=aiSPYAccessDenied, aiSPYInput16State=aiSPYInput16State, aiSPYInput13RTNDelay=aiSPYInput13RTNDelay, aiSPYInput26DigAlarm=aiSPYInput26DigAlarm, aiSPYInput14State=aiSPYInput14State, aiSPYRelay2Status=aiSPYRelay2Status, aiSPYInput4Gain=aiSPYInput4Gain, aiSPYInput10State=aiSPYInput10State, aiSPYKeypadName7=aiSPYKeypadName7, aiSPYInput27RlyControl=aiSPYInput27RlyControl, aiSPYInput3RlyControl=aiSPYInput3RlyControl, aiSPYInput1HighAlarm=aiSPYInput1HighAlarm, aiSPYInput1DigAlarm=aiSPYInput1DigAlarm, aiSPYInput13RlyControl=aiSPYInput13RlyControl, aiSPYInput22=aiSPYInput22, aiSPYInput10RTNDelay=aiSPYInput10RTNDelay, aiSPYInput23Label=aiSPYInput23Label, aiSPYInput24Label=aiSPYInput24Label, aiSPYInput2Offset=aiSPYInput2Offset, aiSPYInput3HighAlarm=aiSPYInput3HighAlarm, aiSPYRelay5Time=aiSPYRelay5Time, aiSPYInput4Offset=aiSPYInput4Offset, aiSPYInput15State=aiSPYInput15State, aiSPYInput8Delay=aiSPYInput8Delay, aiSPYInput6=aiSPYInput6, aiSPYRelay6Time=aiSPYRelay6Time, aiSPYInput2Gain=aiSPYInput2Gain, aiSPYKeypadName15=aiSPYKeypadName15, aiSPYClock=aiSPYClock, aiSPYInput8DigAlarm=aiSPYInput8DigAlarm, aiSPYInput18Delay=aiSPYInput18Delay, aiSPYRelay5Status=aiSPYRelay5Status, aiSPYKeypadName2=aiSPYKeypadName2, aiSPYKeypadName3=aiSPYKeypadName3, aiSPYInput18RlyControl=aiSPYInput18RlyControl, aiSPYInput28RlyControl=aiSPYInput28RlyControl, aiSPYSystem=aiSPYSystem, aiSPYInput14Label=aiSPYInput14Label, aiSPYInput2UOM=aiSPYInput2UOM, aiSPYAlarmsPresent=aiSPYAlarmsPresent, aiSPYAlarmHistoryTable=aiSPYAlarmHistoryTable, aiSPYInput2Delay=aiSPYInput2Delay, aiSPYInput12=aiSPYInput12, aiSPYInput5Label=aiSPYInput5Label, aiSPYInput1State=aiSPYInput1State, aiSPYInput8HighAlarm=aiSPYInput8HighAlarm, aiSPYInput15RTNDelay=aiSPYInput15RTNDelay, aiSPYInput7UOM=aiSPYInput7UOM, aiSPYInput1Hysteresis=aiSPYInput1Hysteresis, aiSPYInput7=aiSPYInput7, aiSPYInput21RlyControl=aiSPYInput21RlyControl, aiSPYAlarmTable=aiSPYAlarmTable, aiSPYInput5HighAlarm=aiSPYInput5HighAlarm, aiSPYInput20State=aiSPYInput20State, aiSPYKeypadName17=aiSPYKeypadName17, aiSPYRelay6Label=aiSPYRelay6Label, aiSPYKeypadName10=aiSPYKeypadName10, aiSPYPersistantTraps=aiSPYPersistantTraps, aiSPYInput2LowAlarm=aiSPYInput2LowAlarm, aiSPYInput21State=aiSPYInput21State, aiSPYInput21Reading=aiSPYInput21Reading, aiSPYInput25=aiSPYInput25, aiSPYInput4LowLimit=aiSPYInput4LowLimit, aiSPYInput3=aiSPYInput3, aiSPYAlarmDescr=aiSPYAlarmDescr, aiSPYInput8UOM=aiSPYInput8UOM, aiSPYKeypadCode1=aiSPYKeypadCode1, aiSPYInput6LowLimit=aiSPYInput6LowLimit, aiSPYInput11=aiSPYInput11, aiSPYInput27=aiSPYInput27, aiSPYKeypadName8=aiSPYKeypadName8, aiSPYInput17Label=aiSPYInput17Label, aiSPYInput13Reading=aiSPYInput13Reading, aiSPYInput11RTNDelay=aiSPYInput11RTNDelay, aiSPYOutputs=aiSPYOutputs, aiSPYInput27Reading=aiSPYInput27Reading, aiSPYInput13=aiSPYInput13, aiSPYKeypadCode2=aiSPYKeypadCode2, aiSPYInput22RlyControl=aiSPYInput22RlyControl, aiSPYLowBatteryThreshold=aiSPYLowBatteryThreshold, aiSPYInput2LowLimit=aiSPYInput2LowLimit, aiSPYInputs=aiSPYInputs, aiSPYInput27Label=aiSPYInput27Label, aiSPYInput14DigAlarm=aiSPYInput14DigAlarm, aiSPYInput2Reading=aiSPYInput2Reading, aiSPYInput9State=aiSPYInput9State, aiSPYIdentSoftwareVersion=aiSPYIdentSoftwareVersion, aiSPYInput2HighAlarm=aiSPYInput2HighAlarm, aiSPYInput11Label=aiSPYInput11Label, aiSPYInput28RTNDelay=aiSPYInput28RTNDelay, aiSPYInput14RlyControl=aiSPYInput14RlyControl, aiSPYInput25Delay=aiSPYInput25Delay, aiSPYInput4HighLimit=aiSPYInput4HighLimit, aiSPYInput6Offset=aiSPYInput6Offset, aiSPYInput23=aiSPYInput23, aiSPYInput25State=aiSPYInput25State, aiSPYInput2Label=aiSPYInput2Label, aiSPYAlarmHistoryId=aiSPYAlarmHistoryId, aiSPYInput8Offset=aiSPYInput8Offset, aiSPYRelay1Label=aiSPYRelay1Label, aiSPYInput1RlyControl=aiSPYInput1RlyControl, aiSPYInput6Hysteresis=aiSPYInput6Hysteresis, aiSPYAlarmEntryAdded=aiSPYAlarmEntryAdded, aiSPYKeypadName19=aiSPYKeypadName19, aiSPYInput16=aiSPYInput16, aiSPYInput2Hysteresis=aiSPYInput2Hysteresis, aiSPYInput28Label=aiSPYInput28Label, aiSPYInput6Reading=aiSPYInput6Reading, aiSPYInput19RTNDelay=aiSPYInput19RTNDelay, aiSPYInput1Label=aiSPYInput1Label, aii=aii, aiSPYKeypadCode7=aiSPYKeypadCode7, aiSPYInput2RlyControl=aiSPYInput2RlyControl, aiSPYInput24RlyControl=aiSPYInput24RlyControl, aiSPYInput24DigAlarm=aiSPYInput24DigAlarm, aiSPYInput2DigAlarm=aiSPYInput2DigAlarm, aiSPYOnBattery=aiSPYOnBattery, aiSPYInput6RTNDelay=aiSPYInput6RTNDelay, aiSPYInput3Reading=aiSPYInput3Reading, aiSPYInput6RlyControl=aiSPYInput6RlyControl, aiSPYInput25Label=aiSPYInput25Label, aiSPYInput8Reading=aiSPYInput8Reading, aiSPYInput21Label=aiSPYInput21Label, aiSPYInput10Delay=aiSPYInput10Delay, aiSPYInput12Label=aiSPYInput12Label, aiSPYAlarmHistory=aiSPYAlarmHistory, aiSPYInput24RTNDelay=aiSPYInput24RTNDelay, aiSPYInput5Offset=aiSPYInput5Offset, aiSPYInput13Label=aiSPYInput13Label, aiSPYInput4RTNDelay=aiSPYInput4RTNDelay, aiSPYRelay5State=aiSPYRelay5State, aiSPYInput23Delay=aiSPYInput23Delay, aiSPYInput11DigAlarm=aiSPYInput11DigAlarm, aiSPYTraps=aiSPYTraps, aiSPYInput9RlyControl=aiSPYInput9RlyControl, aiSPYAlarmHistoryClear=aiSPYAlarmHistoryClear, aiSPYInput18=aiSPYInput18, aiSPYRelay3Label=aiSPYRelay3Label, aiSPYInput4Label=aiSPYInput4Label, aiSPYKeypad=aiSPYKeypad, aiSPYInput8RTNDelay=aiSPYInput8RTNDelay, aiSPYInput10=aiSPYInput10, aiSPYInput9Reading=aiSPYInput9Reading, aiSPYKeypadName9=aiSPYKeypadName9, aiSPYInput25Reading=aiSPYInput25Reading)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, constraints_union, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint') (truth_value,) = mibBuilder.importSymbols('RFC1253-MIB', 'TruthValue') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (integer32, notification_type, module_identity, enterprises, object_identity, gauge32, iso, counter32, time_ticks, counter64, notification_type, mib_identifier, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'NotificationType', 'ModuleIdentity', 'enterprises', 'ObjectIdentity', 'Gauge32', 'iso', 'Counter32', 'TimeTicks', 'Counter64', 'NotificationType', 'MibIdentifier', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Unsigned32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') aii = mib_identifier((1, 3, 6, 1, 4, 1, 539)) ai_spy = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20)) ai_spy_ident = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 1)) ai_spy_ident_manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYIdentManufacturer.setStatus('mandatory') ai_spy_ident_model = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYIdentModel.setStatus('mandatory') ai_spy_ident_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYIdentSoftwareVersion.setStatus('mandatory') ai_spy_ident_specific = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 1, 4), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYIdentSpecific.setStatus('mandatory') ai_spy_system = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 2)) ai_spy_clock = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYClock.setStatus('mandatory') ai_spy_door_alarm_bypass = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYDoorAlarmBypass.setStatus('mandatory') ai_spy_keypad = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 2, 3)) ai_spy_keypad_code1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode1.setStatus('mandatory') ai_spy_keypad_name1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName1.setStatus('mandatory') ai_spy_keypad_code2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode2.setStatus('mandatory') ai_spy_keypad_name2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName2.setStatus('mandatory') ai_spy_keypad_code3 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode3.setStatus('mandatory') ai_spy_keypad_name3 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName3.setStatus('mandatory') ai_spy_keypad_code4 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode4.setStatus('mandatory') ai_spy_keypad_name4 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName4.setStatus('mandatory') ai_spy_keypad_code5 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 9), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode5.setStatus('mandatory') ai_spy_keypad_name5 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName5.setStatus('mandatory') ai_spy_keypad_code6 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 11), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode6.setStatus('mandatory') ai_spy_keypad_name6 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 12), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName6.setStatus('mandatory') ai_spy_keypad_code7 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 13), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode7.setStatus('mandatory') ai_spy_keypad_name7 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 14), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName7.setStatus('mandatory') ai_spy_keypad_code8 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 15), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode8.setStatus('mandatory') ai_spy_keypad_name8 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 16), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName8.setStatus('mandatory') ai_spy_keypad_code9 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 17), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode9.setStatus('mandatory') ai_spy_keypad_name9 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 18), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName9.setStatus('mandatory') ai_spy_keypad_code10 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 19), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode10.setStatus('mandatory') ai_spy_keypad_name10 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 20), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName10.setStatus('mandatory') ai_spy_keypad_code11 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 21), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode11.setStatus('mandatory') ai_spy_keypad_name11 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 22), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName11.setStatus('mandatory') ai_spy_keypad_code12 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 23), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode12.setStatus('mandatory') ai_spy_keypad_name12 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 24), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName12.setStatus('mandatory') ai_spy_keypad_code13 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 25), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode13.setStatus('mandatory') ai_spy_keypad_name13 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 26), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName13.setStatus('mandatory') ai_spy_keypad_code14 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 27), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode14.setStatus('mandatory') ai_spy_keypad_name14 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 28), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName14.setStatus('mandatory') ai_spy_keypad_code15 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 29), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode15.setStatus('mandatory') ai_spy_keypad_name15 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 30), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName15.setStatus('mandatory') ai_spy_keypad_code16 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 31), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode16.setStatus('mandatory') ai_spy_keypad_name16 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 32), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName16.setStatus('mandatory') ai_spy_keypad_code17 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 33), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode17.setStatus('mandatory') ai_spy_keypad_name17 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 34), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName17.setStatus('mandatory') ai_spy_keypad_code18 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 35), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode18.setStatus('mandatory') ai_spy_keypad_name18 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 36), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName18.setStatus('mandatory') ai_spy_keypad_code19 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 37), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode19.setStatus('mandatory') ai_spy_keypad_name19 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 38), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName19.setStatus('mandatory') ai_spy_keypad_code20 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 39), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadCode20.setStatus('mandatory') ai_spy_keypad_name20 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 3, 40), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYKeypadName20.setStatus('mandatory') ai_spy_input_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInputVoltage.setStatus('mandatory') ai_spy_on_battery = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notInstalled', 0), ('installed', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYOnBattery.setStatus('mandatory') ai_spy_low_battery_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 6), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYLowBatteryThreshold.setStatus('mandatory') ai_spy_analog_average = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 2, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYAnalogAverage.setStatus('mandatory') ai_spy_inputs = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3)) ai_spy_input1 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 1)) ai_spy_input1_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notinstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1State.setStatus('mandatory') ai_spy_input1_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput1Reading.setStatus('mandatory') ai_spy_input1_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1Gain.setStatus('mandatory') ai_spy_input1_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1Offset.setStatus('mandatory') ai_spy_input1_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1Label.setStatus('mandatory') ai_spy_input1_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1UOM.setStatus('mandatory') ai_spy_input1_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1HighLimit.setStatus('mandatory') ai_spy_input1_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1LowLimit.setStatus('mandatory') ai_spy_input1_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1RlyControl.setStatus('mandatory') ai_spy_input1_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1Delay.setStatus('mandatory') ai_spy_input1_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1RTNDelay.setStatus('mandatory') ai_spy_input1_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput1Hysteresis.setStatus('mandatory') ai_spy_input2 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 2)) ai_spy_input2_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2State.setStatus('mandatory') ai_spy_input2_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput2Reading.setStatus('mandatory') ai_spy_input2_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2Gain.setStatus('mandatory') ai_spy_input2_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2Offset.setStatus('mandatory') ai_spy_input2_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2Label.setStatus('mandatory') ai_spy_input2_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2UOM.setStatus('mandatory') ai_spy_input2_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2HighLimit.setStatus('mandatory') ai_spy_input2_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2LowLimit.setStatus('mandatory') ai_spy_input2_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2RlyControl.setStatus('mandatory') ai_spy_input2_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2Delay.setStatus('mandatory') ai_spy_input2_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2RTNDelay.setStatus('mandatory') ai_spy_input2_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 2, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput2Hysteresis.setStatus('mandatory') ai_spy_input3 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 3)) ai_spy_input3_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3State.setStatus('mandatory') ai_spy_input3_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput3Reading.setStatus('mandatory') ai_spy_input3_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3Gain.setStatus('mandatory') ai_spy_input3_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3Offset.setStatus('mandatory') ai_spy_input3_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3Label.setStatus('mandatory') ai_spy_input3_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3UOM.setStatus('mandatory') ai_spy_input3_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3HighLimit.setStatus('mandatory') ai_spy_input3_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3LowLimit.setStatus('mandatory') ai_spy_input3_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3RlyControl.setStatus('mandatory') ai_spy_input3_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3Delay.setStatus('mandatory') ai_spy_input3_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3RTNDelay.setStatus('mandatory') ai_spy_input3_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 3, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput3Hysteresis.setStatus('mandatory') ai_spy_input4 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 4)) ai_spy_input4_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4State.setStatus('mandatory') ai_spy_input4_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput4Reading.setStatus('mandatory') ai_spy_input4_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4Gain.setStatus('mandatory') ai_spy_input4_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4Offset.setStatus('mandatory') ai_spy_input4_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4Label.setStatus('mandatory') ai_spy_input4_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4UOM.setStatus('mandatory') ai_spy_input4_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4HighLimit.setStatus('mandatory') ai_spy_input4_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4LowLimit.setStatus('mandatory') ai_spy_input4_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4RlyControl.setStatus('mandatory') ai_spy_input4_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4Delay.setStatus('mandatory') ai_spy_input4_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4RTNDelay.setStatus('mandatory') ai_spy_input4_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 4, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput4Hysteresis.setStatus('mandatory') ai_spy_input5 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 5)) ai_spy_input5_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5State.setStatus('mandatory') ai_spy_input5_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput5Reading.setStatus('mandatory') ai_spy_input5_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5Gain.setStatus('mandatory') ai_spy_input5_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5Offset.setStatus('mandatory') ai_spy_input5_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5Label.setStatus('mandatory') ai_spy_input5_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5UOM.setStatus('mandatory') ai_spy_input5_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5HighLimit.setStatus('mandatory') ai_spy_input5_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5LowLimit.setStatus('mandatory') ai_spy_input5_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5RlyControl.setStatus('mandatory') ai_spy_input5_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5Delay.setStatus('mandatory') ai_spy_input5_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5RTNDelay.setStatus('mandatory') ai_spy_input5_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 5, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput5Hysteresis.setStatus('mandatory') ai_spy_input6 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 6)) ai_spy_input6_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6State.setStatus('mandatory') ai_spy_input6_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput6Reading.setStatus('mandatory') ai_spy_input6_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6Gain.setStatus('mandatory') ai_spy_input6_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6Offset.setStatus('mandatory') ai_spy_input6_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6Label.setStatus('mandatory') ai_spy_input6_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6UOM.setStatus('mandatory') ai_spy_input6_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6HighLimit.setStatus('mandatory') ai_spy_input6_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6LowLimit.setStatus('mandatory') ai_spy_input6_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6RlyControl.setStatus('mandatory') ai_spy_input6_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6Delay.setStatus('mandatory') ai_spy_input6_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6RTNDelay.setStatus('mandatory') ai_spy_input6_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 6, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput6Hysteresis.setStatus('mandatory') ai_spy_input7 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 7)) ai_spy_input7_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7State.setStatus('mandatory') ai_spy_input7_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput7Reading.setStatus('mandatory') ai_spy_input7_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7Gain.setStatus('mandatory') ai_spy_input7_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7Offset.setStatus('mandatory') ai_spy_input7_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7Label.setStatus('mandatory') ai_spy_input7_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7UOM.setStatus('mandatory') ai_spy_input7_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7HighLimit.setStatus('mandatory') ai_spy_input7_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7LowLimit.setStatus('mandatory') ai_spy_input7_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7RlyControl.setStatus('mandatory') ai_spy_input7_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7Delay.setStatus('mandatory') ai_spy_input7_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7RTNDelay.setStatus('mandatory') ai_spy_input7_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 7, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput7Hysteresis.setStatus('mandatory') ai_spy_input8 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 8)) ai_spy_input8_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notInstalled', 1), ('analog-4to20-installed', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8State.setStatus('mandatory') ai_spy_input8_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 2), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput8Reading.setStatus('mandatory') ai_spy_input8_gain = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8Gain.setStatus('mandatory') ai_spy_input8_offset = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8Offset.setStatus('mandatory') ai_spy_input8_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8Label.setStatus('mandatory') ai_spy_input8_uom = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8UOM.setStatus('mandatory') ai_spy_input8_high_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8HighLimit.setStatus('mandatory') ai_spy_input8_low_limit = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 8), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8LowLimit.setStatus('mandatory') ai_spy_input8_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 9), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8RlyControl.setStatus('mandatory') ai_spy_input8_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8Delay.setStatus('mandatory') ai_spy_input8_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8RTNDelay.setStatus('mandatory') ai_spy_input8_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 8, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput8Hysteresis.setStatus('mandatory') ai_spy_input9 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 25)) ai_spy_input9_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput9State.setStatus('mandatory') ai_spy_input9_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput9Reading.setStatus('mandatory') ai_spy_input9_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput9Label.setStatus('mandatory') ai_spy_input9_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput9RlyControl.setStatus('mandatory') ai_spy_input9_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput9Delay.setStatus('mandatory') ai_spy_input9_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 25, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput9RTNDelay.setStatus('mandatory') ai_spy_input10 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 26)) ai_spy_input10_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput10State.setStatus('mandatory') ai_spy_input10_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput10Reading.setStatus('mandatory') ai_spy_input10_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput10Label.setStatus('mandatory') ai_spy_input10_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput10RlyControl.setStatus('mandatory') ai_spy_input10_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput10Delay.setStatus('mandatory') ai_spy_input10_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 26, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput10RTNDelay.setStatus('mandatory') ai_spy_input11 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 27)) ai_spy_input11_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput11State.setStatus('mandatory') ai_spy_input11_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput11Reading.setStatus('mandatory') ai_spy_input11_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput11Label.setStatus('mandatory') ai_spy_input11_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput11RlyControl.setStatus('mandatory') ai_spy_input11_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput11Delay.setStatus('mandatory') ai_spy_input11_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 27, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput11RTNDelay.setStatus('mandatory') ai_spy_input12 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 28)) ai_spy_input12_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput12State.setStatus('mandatory') ai_spy_input12_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput12Reading.setStatus('mandatory') ai_spy_input12_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput12Label.setStatus('mandatory') ai_spy_input12_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput12RlyControl.setStatus('mandatory') ai_spy_input12_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput12Delay.setStatus('mandatory') ai_spy_input12_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 28, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput12RTNDelay.setStatus('mandatory') ai_spy_input13 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 29)) ai_spy_input13_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput13State.setStatus('mandatory') ai_spy_input13_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput13Reading.setStatus('mandatory') ai_spy_input13_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput13Label.setStatus('mandatory') ai_spy_input13_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput13RlyControl.setStatus('mandatory') ai_spy_input13_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput13Delay.setStatus('mandatory') ai_spy_input13_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 29, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput13RTNDelay.setStatus('mandatory') ai_spy_input14 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 30)) ai_spy_input14_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput14State.setStatus('mandatory') ai_spy_input14_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput14Reading.setStatus('mandatory') ai_spy_input14_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput14Label.setStatus('mandatory') ai_spy_input14_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput14RlyControl.setStatus('mandatory') ai_spy_input14_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput14Delay.setStatus('mandatory') ai_spy_input14_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 30, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput14RTNDelay.setStatus('mandatory') ai_spy_input15 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 31)) ai_spy_input15_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput15State.setStatus('mandatory') ai_spy_input15_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput15Reading.setStatus('mandatory') ai_spy_input15_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput15Label.setStatus('mandatory') ai_spy_input15_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput15RlyControl.setStatus('mandatory') ai_spy_input15_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput15Delay.setStatus('mandatory') ai_spy_input15_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 31, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput15RTNDelay.setStatus('mandatory') ai_spy_input16 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 32)) ai_spy_input16_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput16State.setStatus('mandatory') ai_spy_input16_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput16Reading.setStatus('mandatory') ai_spy_input16_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput16Label.setStatus('mandatory') ai_spy_input16_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput16RlyControl.setStatus('mandatory') ai_spy_input16_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput16Delay.setStatus('mandatory') ai_spy_input16_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 32, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput16RTNDelay.setStatus('mandatory') ai_spy_input17 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 33)) ai_spy_input17_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput17State.setStatus('mandatory') ai_spy_input17_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput17Reading.setStatus('mandatory') ai_spy_input17_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput17Label.setStatus('mandatory') ai_spy_input17_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput17RlyControl.setStatus('mandatory') ai_spy_input17_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput17Delay.setStatus('mandatory') ai_spy_input17_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 33, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput17RTNDelay.setStatus('mandatory') ai_spy_input18 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 34)) ai_spy_input18_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput18State.setStatus('mandatory') ai_spy_input18_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput18Reading.setStatus('mandatory') ai_spy_input18_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput18Label.setStatus('mandatory') ai_spy_input18_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput18RlyControl.setStatus('mandatory') ai_spy_input18_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput18Delay.setStatus('mandatory') ai_spy_input18_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 34, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput18RTNDelay.setStatus('mandatory') ai_spy_input19 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 35)) ai_spy_input19_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput19State.setStatus('mandatory') ai_spy_input19_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput19Reading.setStatus('mandatory') ai_spy_input19_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput19Label.setStatus('mandatory') ai_spy_input19_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput19RlyControl.setStatus('mandatory') ai_spy_input19_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput19Delay.setStatus('mandatory') ai_spy_input19_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 35, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput19RTNDelay.setStatus('mandatory') ai_spy_input20 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 36)) ai_spy_input20_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput20State.setStatus('mandatory') ai_spy_input20_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput20Reading.setStatus('mandatory') ai_spy_input20_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput20Label.setStatus('mandatory') ai_spy_input20_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput20RlyControl.setStatus('mandatory') ai_spy_input20_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput20Delay.setStatus('mandatory') ai_spy_input20_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 36, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput20RTNDelay.setStatus('mandatory') ai_spy_input21 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 37)) ai_spy_input21_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput21State.setStatus('mandatory') ai_spy_input21_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput21Reading.setStatus('mandatory') ai_spy_input21_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput21Label.setStatus('mandatory') ai_spy_input21_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput21RlyControl.setStatus('mandatory') ai_spy_input21_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput21Delay.setStatus('mandatory') ai_spy_input21_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 37, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput21RTNDelay.setStatus('mandatory') ai_spy_input22 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 38)) ai_spy_input22_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput22State.setStatus('mandatory') ai_spy_input22_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput22Reading.setStatus('mandatory') ai_spy_input22_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput22Label.setStatus('mandatory') ai_spy_input22_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput22RlyControl.setStatus('mandatory') ai_spy_input22_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput22Delay.setStatus('mandatory') ai_spy_input22_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 38, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput22RTNDelay.setStatus('mandatory') ai_spy_input23 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 39)) ai_spy_input23_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput23State.setStatus('mandatory') ai_spy_input23_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput23Reading.setStatus('mandatory') ai_spy_input23_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput23Label.setStatus('mandatory') ai_spy_input23_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput23RlyControl.setStatus('mandatory') ai_spy_input23_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput23Delay.setStatus('mandatory') ai_spy_input23_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 39, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput23RTNDelay.setStatus('mandatory') ai_spy_input24 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 40)) ai_spy_input24_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput24State.setStatus('mandatory') ai_spy_input24_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput24Reading.setStatus('mandatory') ai_spy_input24_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput24Label.setStatus('mandatory') ai_spy_input24_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput24RlyControl.setStatus('mandatory') ai_spy_input24_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput24Delay.setStatus('mandatory') ai_spy_input24_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 40, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput24RTNDelay.setStatus('mandatory') ai_spy_input25 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 41)) ai_spy_input25_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput25State.setStatus('mandatory') ai_spy_input25_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput25Reading.setStatus('mandatory') ai_spy_input25_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput25Label.setStatus('mandatory') ai_spy_input25_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput25RlyControl.setStatus('mandatory') ai_spy_input25_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput25Delay.setStatus('mandatory') ai_spy_input25_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 41, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput25RTNDelay.setStatus('mandatory') ai_spy_input26 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 42)) ai_spy_input26_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput26State.setStatus('mandatory') ai_spy_input26_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput26Reading.setStatus('mandatory') ai_spy_input26_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput26Label.setStatus('mandatory') ai_spy_input26_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput26RlyControl.setStatus('mandatory') ai_spy_input26_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput26Delay.setStatus('mandatory') ai_spy_input26_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 42, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput26RTNDelay.setStatus('mandatory') ai_spy_input27 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 43)) ai_spy_input27_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput27State.setStatus('mandatory') ai_spy_input27_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput27Reading.setStatus('mandatory') ai_spy_input27_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput27Label.setStatus('mandatory') ai_spy_input27_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput27RlyControl.setStatus('mandatory') ai_spy_input27_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput27Delay.setStatus('mandatory') ai_spy_input27_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 43, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput27RTNDelay.setStatus('mandatory') ai_spy_input28 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3, 44)) ai_spy_input28_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('notInstalled', 1), ('digital-no-installed', 3), ('digital-nc-installed', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput28State.setStatus('mandatory') ai_spy_input28_reading = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYInput28Reading.setStatus('mandatory') ai_spy_input28_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput28Label.setStatus('mandatory') ai_spy_input28_rly_control = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput28RlyControl.setStatus('mandatory') ai_spy_input28_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput28Delay.setStatus('mandatory') ai_spy_input28_rtn_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 3, 44, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYInput28RTNDelay.setStatus('mandatory') ai_spy_outputs = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4)) ai_spy_relay1 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 1)) ai_spy_relay1_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay1State.setStatus('mandatory') ai_spy_relay1_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay1Status.setStatus('mandatory') ai_spy_relay1_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay1Label.setStatus('mandatory') ai_spy_relay1_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay1Time.setStatus('mandatory') ai_spy_relay2 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 2)) ai_spy_relay2_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay2State.setStatus('mandatory') ai_spy_relay2_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay2Status.setStatus('mandatory') ai_spy_relay2_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay2Label.setStatus('mandatory') ai_spy_relay2_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay2Time.setStatus('mandatory') ai_spy_relay3 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 3)) ai_spy_relay3_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay3State.setStatus('mandatory') ai_spy_relay3_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay3Status.setStatus('mandatory') ai_spy_relay3_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay3Label.setStatus('mandatory') ai_spy_relay3_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 3, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay3Time.setStatus('mandatory') ai_spy_relay4 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 4)) ai_spy_relay4_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay4State.setStatus('mandatory') ai_spy_relay4_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay4Status.setStatus('mandatory') ai_spy_relay4_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay4Label.setStatus('mandatory') ai_spy_relay4_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 4, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay4Time.setStatus('mandatory') ai_spy_relay5 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 5)) ai_spy_relay5_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay5State.setStatus('mandatory') ai_spy_relay5_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay5Status.setStatus('mandatory') ai_spy_relay5_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay5Label.setStatus('mandatory') ai_spy_relay5_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 5, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay5Time.setStatus('mandatory') ai_spy_relay6 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 4, 6)) ai_spy_relay6_state = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normallyoff', 1), ('normallyon', 2), ('forceon', 3), ('forceoff', 4), ('keypadcontrolled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay6State.setStatus('mandatory') ai_spy_relay6_status = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('normaloff', 1), ('normalon', 2), ('forcedon', 3), ('forcedoff', 4), ('keycodeactive', 5), ('alarmedactive', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYRelay6Status.setStatus('mandatory') ai_spy_relay6_label = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay6Label.setStatus('mandatory') ai_spy_relay6_time = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 4, 6, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYRelay6Time.setStatus('mandatory') ai_spy_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 5)) ai_spy_alarms_present = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 5, 1), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYAlarmsPresent.setStatus('current') ai_spy_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 539, 20, 5, 2)) if mibBuilder.loadTexts: aiSPYAlarmTable.setStatus('current') ai_spy_alarm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1)).setIndexNames((0, 'AISPY-MIB', 'aiSPYAlarmId')) if mibBuilder.loadTexts: aiSPYAlarmEntry.setStatus('current') ai_spy_alarm_id = mib_table_column((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1, 1), integer32()) if mibBuilder.loadTexts: aiSPYAlarmId.setStatus('current') ai_spy_alarm_descr = mib_table_column((1, 3, 6, 1, 4, 1, 539, 20, 5, 2, 1, 2), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYAlarmDescr.setStatus('current') ai_spy_well_known_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 5, 3)) ai_spy_input1_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 1)) if mibBuilder.loadTexts: aiSPYInput1HighAlarm.setStatus('current') ai_spy_input1_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 2)) if mibBuilder.loadTexts: aiSPYInput1LowAlarm.setStatus('current') ai_spy_input2_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 3)) if mibBuilder.loadTexts: aiSPYInput2HighAlarm.setStatus('current') ai_spy_input2_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 4)) if mibBuilder.loadTexts: aiSPYInput2LowAlarm.setStatus('current') ai_spy_input3_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 5)) if mibBuilder.loadTexts: aiSPYInput3HighAlarm.setStatus('current') ai_spy_input3_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 6)) if mibBuilder.loadTexts: aiSPYInput3LowAlarm.setStatus('current') ai_spy_input4_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 7)) if mibBuilder.loadTexts: aiSPYInput4HighAlarm.setStatus('current') ai_spy_input4_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 8)) if mibBuilder.loadTexts: aiSPYInput4LowAlarm.setStatus('current') ai_spy_input5_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 9)) if mibBuilder.loadTexts: aiSPYInput5HighAlarm.setStatus('current') ai_spy_input5_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 10)) if mibBuilder.loadTexts: aiSPYInput5LowAlarm.setStatus('current') ai_spy_input6_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 11)) if mibBuilder.loadTexts: aiSPYInput6HighAlarm.setStatus('current') ai_spy_input6_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 12)) if mibBuilder.loadTexts: aiSPYInput6LowAlarm.setStatus('current') ai_spy_input7_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 13)) if mibBuilder.loadTexts: aiSPYInput7HighAlarm.setStatus('current') ai_spy_input7_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 14)) if mibBuilder.loadTexts: aiSPYInput7LowAlarm.setStatus('current') ai_spy_input8_high_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 15)) if mibBuilder.loadTexts: aiSPYInput8HighAlarm.setStatus('current') ai_spy_input8_low_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 16)) if mibBuilder.loadTexts: aiSPYInput8LowAlarm.setStatus('current') ai_spy_input1_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 17)) if mibBuilder.loadTexts: aiSPYInput1DigAlarm.setStatus('current') ai_spy_input2_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 18)) if mibBuilder.loadTexts: aiSPYInput2DigAlarm.setStatus('current') ai_spy_input3_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 19)) if mibBuilder.loadTexts: aiSPYInput3DigAlarm.setStatus('current') ai_spy_input4_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 20)) if mibBuilder.loadTexts: aiSPYInput4DigAlarm.setStatus('current') ai_spy_input5_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 21)) if mibBuilder.loadTexts: aiSPYInput5DigAlarm.setStatus('current') ai_spy_input6_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 22)) if mibBuilder.loadTexts: aiSPYInput6DigAlarm.setStatus('current') ai_spy_input7_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 23)) if mibBuilder.loadTexts: aiSPYInput7DigAlarm.setStatus('current') ai_spy_input8_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 24)) if mibBuilder.loadTexts: aiSPYInput8DigAlarm.setStatus('current') ai_spy_input9_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 25)) if mibBuilder.loadTexts: aiSPYInput9DigAlarm.setStatus('current') ai_spy_input10_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 26)) if mibBuilder.loadTexts: aiSPYInput10DigAlarm.setStatus('current') ai_spy_input11_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 27)) if mibBuilder.loadTexts: aiSPYInput11DigAlarm.setStatus('current') ai_spy_input12_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 28)) if mibBuilder.loadTexts: aiSPYInput12DigAlarm.setStatus('current') ai_spy_input13_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 29)) if mibBuilder.loadTexts: aiSPYInput13DigAlarm.setStatus('current') ai_spy_input14_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 30)) if mibBuilder.loadTexts: aiSPYInput14DigAlarm.setStatus('current') ai_spy_input15_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 31)) if mibBuilder.loadTexts: aiSPYInput15DigAlarm.setStatus('current') ai_spy_input16_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 32)) if mibBuilder.loadTexts: aiSPYInput16DigAlarm.setStatus('current') ai_spy_input17_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 33)) if mibBuilder.loadTexts: aiSPYInput17DigAlarm.setStatus('current') ai_spy_input18_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 34)) if mibBuilder.loadTexts: aiSPYInput18DigAlarm.setStatus('current') ai_spy_input19_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 35)) if mibBuilder.loadTexts: aiSPYInput19DigAlarm.setStatus('current') ai_spy_input20_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 36)) if mibBuilder.loadTexts: aiSPYInput20DigAlarm.setStatus('current') ai_spy_input21_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 37)) if mibBuilder.loadTexts: aiSPYInput21DigAlarm.setStatus('current') ai_spy_input22_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 38)) if mibBuilder.loadTexts: aiSPYInput22DigAlarm.setStatus('current') ai_spy_input23_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 39)) if mibBuilder.loadTexts: aiSPYInput23DigAlarm.setStatus('current') ai_spy_input24_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 40)) if mibBuilder.loadTexts: aiSPYInput24DigAlarm.setStatus('current') ai_spy_input25_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 41)) if mibBuilder.loadTexts: aiSPYInput25DigAlarm.setStatus('current') ai_spy_input26_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 42)) if mibBuilder.loadTexts: aiSPYInput26DigAlarm.setStatus('current') ai_spy_input27_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 43)) if mibBuilder.loadTexts: aiSPYInput27DigAlarm.setStatus('current') ai_spy_input28_dig_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 44)) if mibBuilder.loadTexts: aiSPYInput28DigAlarm.setStatus('current') ai_spy_on_battery_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 96)) if mibBuilder.loadTexts: aiSPYOnBatteryAlarm.setStatus('current') ai_spy_low_battery_alarm = object_identity((1, 3, 6, 1, 4, 1, 539, 20, 5, 3, 97)) if mibBuilder.loadTexts: aiSPYLowBatteryAlarm.setStatus('current') ai_spy_traps = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 6)) ai_spy_alarm_entry_added = notification_type((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0, 1)) ai_spy_alarm_entry_removed = notification_type((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0, 2)) ai_spy_access_granted = notification_type((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0, 3)) ai_spy_access_denied = notification_type((1, 3, 6, 1, 4, 1, 539, 20, 6) + (0, 4)) ai_spy_alarm_history = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 7)) ai_spy_alarm_history_entries = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 7, 1), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYAlarmHistoryEntries.setStatus('current') ai_spy_alarm_history_clear = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 7, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('clearbuffer', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYAlarmHistoryClear.setStatus('mandatory') ai_spy_alarm_history_table = mib_table((1, 3, 6, 1, 4, 1, 539, 20, 7, 3)) if mibBuilder.loadTexts: aiSPYAlarmHistoryTable.setStatus('current') ai_spy_alarm_history_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1)).setIndexNames((0, 'AISPY-MIB', 'aiSPYAlarmHistoryId')) if mibBuilder.loadTexts: aiSPYAlarmHistoryEntry.setStatus('current') ai_spy_alarm_history_id = mib_table_column((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1, 1), integer32()) if mibBuilder.loadTexts: aiSPYAlarmHistoryId.setStatus('current') ai_spy_alarm_history_text = mib_table_column((1, 3, 6, 1, 4, 1, 539, 20, 7, 3, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiSPYAlarmHistoryText.setStatus('current') ai_spy_trap_settings = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 8)) ai_spy_persistant_traps = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 8, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYPersistantTraps.setStatus('mandatory') ai_spy_alarm_acknowledge = mib_scalar((1, 3, 6, 1, 4, 1, 539, 20, 8, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('acknowledgealarms', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiSPYAlarmAcknowledge.setStatus('mandatory') ai_spy8124 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 20, 3)) mibBuilder.exportSymbols('AISPY-MIB', aiSPYInput8HighLimit=aiSPYInput8HighLimit, aiSPYInput21=aiSPYInput21, aiSPYInput10Label=aiSPYInput10Label, aiSPYRelay2=aiSPYRelay2, aiSPYKeypadCode12=aiSPYKeypadCode12, aiSPYInput17=aiSPYInput17, aiSPYKeypadCode19=aiSPYKeypadCode19, aiSPYInput19State=aiSPYInput19State, aiSPY8124=aiSPY8124, aiSPYInput15RlyControl=aiSPYInput15RlyControl, aiSPYInput5Delay=aiSPYInput5Delay, aiSPYInput23State=aiSPYInput23State, aiSPYInput7Offset=aiSPYInput7Offset, aiSPYKeypadName4=aiSPYKeypadName4, aiSPYInput1Gain=aiSPYInput1Gain, aiSPYInput19Delay=aiSPYInput19Delay, aiSPYKeypadName11=aiSPYKeypadName11, aiSPYInput3UOM=aiSPYInput3UOM, aiSPYInput7DigAlarm=aiSPYInput7DigAlarm, aiSPYInput5UOM=aiSPYInput5UOM, aiSPYInput23Reading=aiSPYInput23Reading, aiSPYKeypadCode8=aiSPYKeypadCode8, aiSPYInput26RlyControl=aiSPYInput26RlyControl, aiSPYInput16Delay=aiSPYInput16Delay, aiSPYInput20DigAlarm=aiSPYInput20DigAlarm, aiSPYInput18RTNDelay=aiSPYInput18RTNDelay, aiSPYInput19DigAlarm=aiSPYInput19DigAlarm, aiSPYInput5HighLimit=aiSPYInput5HighLimit, aiSPYKeypadCode3=aiSPYKeypadCode3, aiSPYInput18Label=aiSPYInput18Label, aiSPYInput1LowAlarm=aiSPYInput1LowAlarm, aiSPYInput26Label=aiSPYInput26Label, aiSPYKeypadName1=aiSPYKeypadName1, aiSPYInput3LowAlarm=aiSPYInput3LowAlarm, aiSPYInput20Label=aiSPYInput20Label, aiSPYInput6HighAlarm=aiSPYInput6HighAlarm, aiSPYRelay6Status=aiSPYRelay6Status, aiSPYInput7RTNDelay=aiSPYInput7RTNDelay, aiSPYInput6Gain=aiSPYInput6Gain, aiSPYRelay1State=aiSPYRelay1State, aiSPYInput8Label=aiSPYInput8Label, aiSPYInput18DigAlarm=aiSPYInput18DigAlarm, aiSPYInput11Delay=aiSPYInput11Delay, aiSPYInput16Reading=aiSPYInput16Reading, aiSPYInput17State=aiSPYInput17State, aiSPYInput5LowLimit=aiSPYInput5LowLimit, aiSPYAnalogAverage=aiSPYAnalogAverage, aiSPYInput21Delay=aiSPYInput21Delay, aiSPYInput5RTNDelay=aiSPYInput5RTNDelay, aiSPYInput19Reading=aiSPYInput19Reading, aiSPYInput8RlyControl=aiSPYInput8RlyControl, aiSPYKeypadCode16=aiSPYKeypadCode16, aiSPYInput16Label=aiSPYInput16Label, aiSPYInput5State=aiSPYInput5State, aiSPYInput21RTNDelay=aiSPYInput21RTNDelay, aiSPYKeypadCode9=aiSPYKeypadCode9, aiSPYInput14=aiSPYInput14, aiSPYInput14Delay=aiSPYInput14Delay, aiSPYInput13DigAlarm=aiSPYInput13DigAlarm, aiSPYInput10RlyControl=aiSPYInput10RlyControl, aiSPYInput23RlyControl=aiSPYInput23RlyControl, aiSPYOnBatteryAlarm=aiSPYOnBatteryAlarm, aiSPYInput5=aiSPYInput5, aiSPYInput1RTNDelay=aiSPYInput1RTNDelay, aiSPYKeypadName20=aiSPYKeypadName20, aiSPYInput12Delay=aiSPYInput12Delay, aiSPYLowBatteryAlarm=aiSPYLowBatteryAlarm, aiSPYInput18State=aiSPYInput18State, aiSPYInput8Gain=aiSPYInput8Gain, aiSPYInput6UOM=aiSPYInput6UOM, aiSPYRelay3State=aiSPYRelay3State, aiSPYInput23RTNDelay=aiSPYInput23RTNDelay, aiSPYRelay5=aiSPYRelay5, aiSPYInput24State=aiSPYInput24State, aiSPYInput8LowAlarm=aiSPYInput8LowAlarm, aiSPYInput7LowAlarm=aiSPYInput7LowAlarm, aiSPYInput17RlyControl=aiSPYInput17RlyControl, aiSPYInput4Delay=aiSPYInput4Delay, aiSPYInput12RTNDelay=aiSPYInput12RTNDelay, aiSPYInput28Reading=aiSPYInput28Reading, aiSPYInput1=aiSPYInput1, aiSPYInput11State=aiSPYInput11State, aiSPYRelay1Time=aiSPYRelay1Time, aiSPYInput1Offset=aiSPYInput1Offset, aiSPYInput6DigAlarm=aiSPYInput6DigAlarm, aiSPYRelay3Time=aiSPYRelay3Time, aiSPYInput26State=aiSPYInput26State, aiSPYInput22Delay=aiSPYInput22Delay, aiSPYInput9=aiSPYInput9, aiSPYInput20RTNDelay=aiSPYInput20RTNDelay, aiSPYInput25RTNDelay=aiSPYInput25RTNDelay, aiSPYInput27Delay=aiSPYInput27Delay, aiSPYInput17RTNDelay=aiSPYInput17RTNDelay, aiSPYInput26Reading=aiSPYInput26Reading, aiSPYInput5Hysteresis=aiSPYInput5Hysteresis, aiSPYIdent=aiSPYIdent, aiSPYAlarmAcknowledge=aiSPYAlarmAcknowledge, aiSPYAlarmHistoryEntry=aiSPYAlarmHistoryEntry, aiSPYInput2=aiSPYInput2, aiSPYInput3Delay=aiSPYInput3Delay, aiSPYKeypadName14=aiSPYKeypadName14, aiSPYInput21DigAlarm=aiSPYInput21DigAlarm, aiSPYInput3Label=aiSPYInput3Label, aiSPYInput18Reading=aiSPYInput18Reading, aiSPYInput20Reading=aiSPYInput20Reading, aiSPYAlarmHistoryText=aiSPYAlarmHistoryText, aiSPYInput16RlyControl=aiSPYInput16RlyControl, aiSPYInputVoltage=aiSPYInputVoltage, aiSPYInput5Reading=aiSPYInput5Reading, aiSPYKeypadName5=aiSPYKeypadName5, aiSPYInput25DigAlarm=aiSPYInput25DigAlarm, aiSPYInput19RlyControl=aiSPYInput19RlyControl, aiSPYRelay3Status=aiSPYRelay3Status, aiSPYInput13State=aiSPYInput13State, aiSPYInput25RlyControl=aiSPYInput25RlyControl, aiSPYInput8=aiSPYInput8, aiSPY=aiSPY, aiSPYInput27State=aiSPYInput27State, aiSPYInput11Reading=aiSPYInput11Reading, aiSPYRelay2Time=aiSPYRelay2Time, aiSPYIdentSpecific=aiSPYIdentSpecific, aiSPYInput11RlyControl=aiSPYInput11RlyControl, aiSPYKeypadCode17=aiSPYKeypadCode17, aiSPYIdentManufacturer=aiSPYIdentManufacturer, aiSPYInput4LowAlarm=aiSPYInput4LowAlarm, aiSPYInput7Label=aiSPYInput7Label, aiSPYInput2HighLimit=aiSPYInput2HighLimit, aiSPYInput7Reading=aiSPYInput7Reading, aiSPYInput8State=aiSPYInput8State, aiSPYInput12RlyControl=aiSPYInput12RlyControl, aiSPYInput17DigAlarm=aiSPYInput17DigAlarm, aiSPYInput1HighLimit=aiSPYInput1HighLimit, aiSPYRelay5Label=aiSPYRelay5Label, aiSPYInput8LowLimit=aiSPYInput8LowLimit, aiSPYInput7State=aiSPYInput7State, aiSPYInput5LowAlarm=aiSPYInput5LowAlarm, aiSPYInput15Delay=aiSPYInput15Delay, aiSPYInput5Gain=aiSPYInput5Gain, aiSPYInput7RlyControl=aiSPYInput7RlyControl, aiSPYInput14Reading=aiSPYInput14Reading, aiSPYInput1UOM=aiSPYInput1UOM, aiSPYRelay2Label=aiSPYRelay2Label, aiSPYInput6Delay=aiSPYInput6Delay, aiSPYInput1Reading=aiSPYInput1Reading, aiSPYKeypadName13=aiSPYKeypadName13, aiSPYInput20Delay=aiSPYInput20Delay, aiSPYInput15Label=aiSPYInput15Label, aiSPYInput20RlyControl=aiSPYInput20RlyControl, aiSPYInput24=aiSPYInput24, aiSPYInput28State=aiSPYInput28State, aiSPYInput19Label=aiSPYInput19Label, aiSPYInput9Label=aiSPYInput9Label, aiSPYInput7Gain=aiSPYInput7Gain, aiSPYInput4Reading=aiSPYInput4Reading, aiSPYRelay4=aiSPYRelay4, aiSPYInput3Gain=aiSPYInput3Gain, aiSPYAlarmEntry=aiSPYAlarmEntry, aiSPYInput27DigAlarm=aiSPYInput27DigAlarm, aiSPYInput12Reading=aiSPYInput12Reading, aiSPYInput28=aiSPYInput28, aiSPYInput22State=aiSPYInput22State, aiSPYKeypadCode11=aiSPYKeypadCode11, aiSPYDoorAlarmBypass=aiSPYDoorAlarmBypass, aiSPYInput12DigAlarm=aiSPYInput12DigAlarm, aiSPYKeypadName16=aiSPYKeypadName16, aiSPYIdentModel=aiSPYIdentModel, aiSPYInput15Reading=aiSPYInput15Reading, aiSPYInput7Delay=aiSPYInput7Delay, aiSPYInput20=aiSPYInput20, aiSPYKeypadCode20=aiSPYKeypadCode20, aiSPYInput15=aiSPYInput15, aiSPYInput6LowAlarm=aiSPYInput6LowAlarm, aiSPYInput14RTNDelay=aiSPYInput14RTNDelay, aiSPYInput7LowLimit=aiSPYInput7LowLimit, aiSPYKeypadCode10=aiSPYKeypadCode10, aiSPYInput4HighAlarm=aiSPYInput4HighAlarm, aiSPYInput10DigAlarm=aiSPYInput10DigAlarm, aiSPYInput4DigAlarm=aiSPYInput4DigAlarm, aiSPYInput22Label=aiSPYInput22Label, aiSPYTrapSettings=aiSPYTrapSettings, aiSPYKeypadCode18=aiSPYKeypadCode18, aiSPYInput2RTNDelay=aiSPYInput2RTNDelay, aiSPYInput22RTNDelay=aiSPYInput22RTNDelay, aiSPYRelay6State=aiSPYRelay6State, aiSPYInput9RTNDelay=aiSPYInput9RTNDelay, aiSPYRelay4Label=aiSPYRelay4Label, aiSPYRelay2State=aiSPYRelay2State, aiSPYInput10Reading=aiSPYInput10Reading, aiSPYKeypadCode4=aiSPYKeypadCode4, aiSPYInput3Offset=aiSPYInput3Offset, aiSPYInput4State=aiSPYInput4State, aiSPYRelay4Time=aiSPYRelay4Time, aiSPYInput16DigAlarm=aiSPYInput16DigAlarm, aiSPYInput9Delay=aiSPYInput9Delay, aiSPYInput28DigAlarm=aiSPYInput28DigAlarm, aiSPYInput3HighLimit=aiSPYInput3HighLimit, aiSPYInput22Reading=aiSPYInput22Reading, aiSPYInput19=aiSPYInput19, aiSPYInput28Delay=aiSPYInput28Delay, aiSPYKeypadCode15=aiSPYKeypadCode15, aiSPYInput1LowLimit=aiSPYInput1LowLimit, aiSPYInput4RlyControl=aiSPYInput4RlyControl, aiSPYInput8Hysteresis=aiSPYInput8Hysteresis, aiSPYInput17Delay=aiSPYInput17Delay, aiSPYInput27RTNDelay=aiSPYInput27RTNDelay, aiSPYInput4Hysteresis=aiSPYInput4Hysteresis, aiSPYInput26Delay=aiSPYInput26Delay, aiSPYRelay3=aiSPYRelay3, aiSPYInput12State=aiSPYInput12State, aiSPYInput13Delay=aiSPYInput13Delay, aiSPYInput3Hysteresis=aiSPYInput3Hysteresis, aiSPYKeypadCode14=aiSPYKeypadCode14, aiSPYRelay6=aiSPYRelay6, aiSPYWellKnownAlarms=aiSPYWellKnownAlarms, aiSPYAlarms=aiSPYAlarms, aiSPYInput3State=aiSPYInput3State, aiSPYInput24Reading=aiSPYInput24Reading, aiSPYInput1Delay=aiSPYInput1Delay, aiSPYInput24Delay=aiSPYInput24Delay, aiSPYAlarmHistoryEntries=aiSPYAlarmHistoryEntries, aiSPYInput4=aiSPYInput4, aiSPYKeypadName18=aiSPYKeypadName18, aiSPYInput6State=aiSPYInput6State, aiSPYAlarmId=aiSPYAlarmId, aiSPYAccessGranted=aiSPYAccessGranted, aiSPYInput7HighLimit=aiSPYInput7HighLimit, aiSPYKeypadCode13=aiSPYKeypadCode13, aiSPYAlarmEntryRemoved=aiSPYAlarmEntryRemoved, aiSPYKeypadName12=aiSPYKeypadName12, aiSPYInput2State=aiSPYInput2State, aiSPYInput7HighAlarm=aiSPYInput7HighAlarm, aiSPYRelay1Status=aiSPYRelay1Status, aiSPYInput23DigAlarm=aiSPYInput23DigAlarm, aiSPYKeypadCode6=aiSPYKeypadCode6, aiSPYRelay4Status=aiSPYRelay4Status, aiSPYInput22DigAlarm=aiSPYInput22DigAlarm, aiSPYInput4UOM=aiSPYInput4UOM, aiSPYInput26=aiSPYInput26, aiSPYInput26RTNDelay=aiSPYInput26RTNDelay, aiSPYKeypadName6=aiSPYKeypadName6, aiSPYInput3LowLimit=aiSPYInput3LowLimit, aiSPYRelay4State=aiSPYRelay4State, aiSPYInput17Reading=aiSPYInput17Reading, aiSPYInput5RlyControl=aiSPYInput5RlyControl, aiSPYInput6Label=aiSPYInput6Label, aiSPYInput16RTNDelay=aiSPYInput16RTNDelay, aiSPYInput5DigAlarm=aiSPYInput5DigAlarm, aiSPYRelay1=aiSPYRelay1, aiSPYInput6HighLimit=aiSPYInput6HighLimit, aiSPYKeypadCode5=aiSPYKeypadCode5, aiSPYInput3RTNDelay=aiSPYInput3RTNDelay, aiSPYInput7Hysteresis=aiSPYInput7Hysteresis, aiSPYInput3DigAlarm=aiSPYInput3DigAlarm, aiSPYInput15DigAlarm=aiSPYInput15DigAlarm) mibBuilder.exportSymbols('AISPY-MIB', aiSPYInput9DigAlarm=aiSPYInput9DigAlarm, aiSPYAccessDenied=aiSPYAccessDenied, aiSPYInput16State=aiSPYInput16State, aiSPYInput13RTNDelay=aiSPYInput13RTNDelay, aiSPYInput26DigAlarm=aiSPYInput26DigAlarm, aiSPYInput14State=aiSPYInput14State, aiSPYRelay2Status=aiSPYRelay2Status, aiSPYInput4Gain=aiSPYInput4Gain, aiSPYInput10State=aiSPYInput10State, aiSPYKeypadName7=aiSPYKeypadName7, aiSPYInput27RlyControl=aiSPYInput27RlyControl, aiSPYInput3RlyControl=aiSPYInput3RlyControl, aiSPYInput1HighAlarm=aiSPYInput1HighAlarm, aiSPYInput1DigAlarm=aiSPYInput1DigAlarm, aiSPYInput13RlyControl=aiSPYInput13RlyControl, aiSPYInput22=aiSPYInput22, aiSPYInput10RTNDelay=aiSPYInput10RTNDelay, aiSPYInput23Label=aiSPYInput23Label, aiSPYInput24Label=aiSPYInput24Label, aiSPYInput2Offset=aiSPYInput2Offset, aiSPYInput3HighAlarm=aiSPYInput3HighAlarm, aiSPYRelay5Time=aiSPYRelay5Time, aiSPYInput4Offset=aiSPYInput4Offset, aiSPYInput15State=aiSPYInput15State, aiSPYInput8Delay=aiSPYInput8Delay, aiSPYInput6=aiSPYInput6, aiSPYRelay6Time=aiSPYRelay6Time, aiSPYInput2Gain=aiSPYInput2Gain, aiSPYKeypadName15=aiSPYKeypadName15, aiSPYClock=aiSPYClock, aiSPYInput8DigAlarm=aiSPYInput8DigAlarm, aiSPYInput18Delay=aiSPYInput18Delay, aiSPYRelay5Status=aiSPYRelay5Status, aiSPYKeypadName2=aiSPYKeypadName2, aiSPYKeypadName3=aiSPYKeypadName3, aiSPYInput18RlyControl=aiSPYInput18RlyControl, aiSPYInput28RlyControl=aiSPYInput28RlyControl, aiSPYSystem=aiSPYSystem, aiSPYInput14Label=aiSPYInput14Label, aiSPYInput2UOM=aiSPYInput2UOM, aiSPYAlarmsPresent=aiSPYAlarmsPresent, aiSPYAlarmHistoryTable=aiSPYAlarmHistoryTable, aiSPYInput2Delay=aiSPYInput2Delay, aiSPYInput12=aiSPYInput12, aiSPYInput5Label=aiSPYInput5Label, aiSPYInput1State=aiSPYInput1State, aiSPYInput8HighAlarm=aiSPYInput8HighAlarm, aiSPYInput15RTNDelay=aiSPYInput15RTNDelay, aiSPYInput7UOM=aiSPYInput7UOM, aiSPYInput1Hysteresis=aiSPYInput1Hysteresis, aiSPYInput7=aiSPYInput7, aiSPYInput21RlyControl=aiSPYInput21RlyControl, aiSPYAlarmTable=aiSPYAlarmTable, aiSPYInput5HighAlarm=aiSPYInput5HighAlarm, aiSPYInput20State=aiSPYInput20State, aiSPYKeypadName17=aiSPYKeypadName17, aiSPYRelay6Label=aiSPYRelay6Label, aiSPYKeypadName10=aiSPYKeypadName10, aiSPYPersistantTraps=aiSPYPersistantTraps, aiSPYInput2LowAlarm=aiSPYInput2LowAlarm, aiSPYInput21State=aiSPYInput21State, aiSPYInput21Reading=aiSPYInput21Reading, aiSPYInput25=aiSPYInput25, aiSPYInput4LowLimit=aiSPYInput4LowLimit, aiSPYInput3=aiSPYInput3, aiSPYAlarmDescr=aiSPYAlarmDescr, aiSPYInput8UOM=aiSPYInput8UOM, aiSPYKeypadCode1=aiSPYKeypadCode1, aiSPYInput6LowLimit=aiSPYInput6LowLimit, aiSPYInput11=aiSPYInput11, aiSPYInput27=aiSPYInput27, aiSPYKeypadName8=aiSPYKeypadName8, aiSPYInput17Label=aiSPYInput17Label, aiSPYInput13Reading=aiSPYInput13Reading, aiSPYInput11RTNDelay=aiSPYInput11RTNDelay, aiSPYOutputs=aiSPYOutputs, aiSPYInput27Reading=aiSPYInput27Reading, aiSPYInput13=aiSPYInput13, aiSPYKeypadCode2=aiSPYKeypadCode2, aiSPYInput22RlyControl=aiSPYInput22RlyControl, aiSPYLowBatteryThreshold=aiSPYLowBatteryThreshold, aiSPYInput2LowLimit=aiSPYInput2LowLimit, aiSPYInputs=aiSPYInputs, aiSPYInput27Label=aiSPYInput27Label, aiSPYInput14DigAlarm=aiSPYInput14DigAlarm, aiSPYInput2Reading=aiSPYInput2Reading, aiSPYInput9State=aiSPYInput9State, aiSPYIdentSoftwareVersion=aiSPYIdentSoftwareVersion, aiSPYInput2HighAlarm=aiSPYInput2HighAlarm, aiSPYInput11Label=aiSPYInput11Label, aiSPYInput28RTNDelay=aiSPYInput28RTNDelay, aiSPYInput14RlyControl=aiSPYInput14RlyControl, aiSPYInput25Delay=aiSPYInput25Delay, aiSPYInput4HighLimit=aiSPYInput4HighLimit, aiSPYInput6Offset=aiSPYInput6Offset, aiSPYInput23=aiSPYInput23, aiSPYInput25State=aiSPYInput25State, aiSPYInput2Label=aiSPYInput2Label, aiSPYAlarmHistoryId=aiSPYAlarmHistoryId, aiSPYInput8Offset=aiSPYInput8Offset, aiSPYRelay1Label=aiSPYRelay1Label, aiSPYInput1RlyControl=aiSPYInput1RlyControl, aiSPYInput6Hysteresis=aiSPYInput6Hysteresis, aiSPYAlarmEntryAdded=aiSPYAlarmEntryAdded, aiSPYKeypadName19=aiSPYKeypadName19, aiSPYInput16=aiSPYInput16, aiSPYInput2Hysteresis=aiSPYInput2Hysteresis, aiSPYInput28Label=aiSPYInput28Label, aiSPYInput6Reading=aiSPYInput6Reading, aiSPYInput19RTNDelay=aiSPYInput19RTNDelay, aiSPYInput1Label=aiSPYInput1Label, aii=aii, aiSPYKeypadCode7=aiSPYKeypadCode7, aiSPYInput2RlyControl=aiSPYInput2RlyControl, aiSPYInput24RlyControl=aiSPYInput24RlyControl, aiSPYInput24DigAlarm=aiSPYInput24DigAlarm, aiSPYInput2DigAlarm=aiSPYInput2DigAlarm, aiSPYOnBattery=aiSPYOnBattery, aiSPYInput6RTNDelay=aiSPYInput6RTNDelay, aiSPYInput3Reading=aiSPYInput3Reading, aiSPYInput6RlyControl=aiSPYInput6RlyControl, aiSPYInput25Label=aiSPYInput25Label, aiSPYInput8Reading=aiSPYInput8Reading, aiSPYInput21Label=aiSPYInput21Label, aiSPYInput10Delay=aiSPYInput10Delay, aiSPYInput12Label=aiSPYInput12Label, aiSPYAlarmHistory=aiSPYAlarmHistory, aiSPYInput24RTNDelay=aiSPYInput24RTNDelay, aiSPYInput5Offset=aiSPYInput5Offset, aiSPYInput13Label=aiSPYInput13Label, aiSPYInput4RTNDelay=aiSPYInput4RTNDelay, aiSPYRelay5State=aiSPYRelay5State, aiSPYInput23Delay=aiSPYInput23Delay, aiSPYInput11DigAlarm=aiSPYInput11DigAlarm, aiSPYTraps=aiSPYTraps, aiSPYInput9RlyControl=aiSPYInput9RlyControl, aiSPYAlarmHistoryClear=aiSPYAlarmHistoryClear, aiSPYInput18=aiSPYInput18, aiSPYRelay3Label=aiSPYRelay3Label, aiSPYInput4Label=aiSPYInput4Label, aiSPYKeypad=aiSPYKeypad, aiSPYInput8RTNDelay=aiSPYInput8RTNDelay, aiSPYInput10=aiSPYInput10, aiSPYInput9Reading=aiSPYInput9Reading, aiSPYKeypadName9=aiSPYKeypadName9, aiSPYInput25Reading=aiSPYInput25Reading)
class OrangeRicky(): def __init__(self, rotation): self.colour = "O" self.rotation = rotation if rotation == 0: self.coords = [[8, 0], [8, 1], [7, 1], [6, 1]] elif rotation == 1: self.coords = [[8, 2], [7, 2], [7, 1], [7, 0]] elif rotation == 2: self.coords = [[6, 2], [6, 1], [7, 1], [8, 1]] elif rotation == 3: self.coords = [[6, 0], [7, 0], [7, 1], [7, 2]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][0] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][0] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class BlueRicky(): def __init__(self, rotation): self.colour = "DB" self.rotation = rotation if rotation == 0: self.coords = [[6, 0], [6, 1], [7, 1], [8, 1]] elif rotation == 1: self.coords = [[8, 0], [7, 0], [7, 1], [7, 2]] elif rotation == 2: self.coords = [[8, 2], [8, 1], [7, 1], [6, 1]] elif rotation == 3: self.coords = [[6, 2], [7, 2], [7, 1], [7, 0]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][0] += 2 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][0] -= 2 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class CleveZ(): def __init__(self, rotation): self.colour = "R" self.rotation = rotation if rotation == 0: self.coords = [[6, 0], [7, 0], [7, 1], [8, 1]] elif rotation == 1: self.coords = [[8, 0], [8, 1], [7, 1], [7, 2]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][0] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][0] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class RhodeZ(): def __init__(self, rotation): self.colour = "G" self.rotation = rotation if rotation == 0: self.coords = [[8, 0], [7, 0], [7, 1], [6, 1]] elif rotation == 1: self.coords = [[8, 2], [8, 1], [7, 1], [7, 0]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 0 def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class Hero(): def __init__(self, rotation): self.colour = "LB" self.rotation = rotation if rotation == 0: self.coords = [[7, 0], [7, 1], [7, 2], [7, 3]] elif rotation == 1: self.coords = [[6, 1], [7, 1], [8, 1], [9, 1]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] - 1][self.coords[0][1] + 1].getObject() == None and\ board[self.coords[2][0] + 1][self.coords[2][1] - 1].getObject() == None and\ board[self.coords[3][0] + 2][self.coords[3][1] - 2].getObject() == None: self.coords[0][1] += 1 self.coords[0][0] -= 1 self.coords[2][1] -= 1 self.coords[2][0] += 1 self.coords[3][1] -= 2 self.coords[3][0] += 2 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] + 1][self.coords[0][1] - 1].getObject() == None and\ board[self.coords[2][0] - 1][self.coords[2][1] + 1].getObject() == None and\ board[self.coords[3][0] - 2][self.coords[3][1] + 2].getObject() == None: self.coords[0][1] -= 1 self.coords[0][0] += 1 self.coords[2][1] += 1 self.coords[2][0] -= 1 self.coords[3][1] += 2 self.coords[3][0] -= 2 self.rotation = 0 def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class Teewee(): def __init__(self, rotation): self.colour = "P" self.rotation = rotation if rotation == 0: self.coords = [[8, 1], [7, 0], [7, 1], [7, 2]] elif rotation == 1: self.coords = [[7, 2], [8, 1], [7, 1], [6, 1]] elif rotation == 2: self.coords = [[6, 1], [7, 2], [7, 1], [7, 0]] elif rotation == 3: self.coords = [[7, 0], [6, 1], [7, 1], [8, 1]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] - 1][self.coords[0][1] + 1].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][1] += 1 self.coords[0][0] -= 1 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 1][self.coords[0][1] - 1].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None: self.coords[0][1] -= 1 self.coords[0][0] -= 1 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0] + 1][self.coords[0][1] - 1].getObject() == None and\ board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][1] -= 1 self.coords[0][0] += 1 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0] + 1][self.coords[0][1] + 1].getObject() == None and\ board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and\ board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None: self.coords[0][1] += 1 self.coords[0][0] += 1 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 0 def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour class Smashboy(): def __init__(self): self.colour = "Y" self.coords = [[6, 0], [7, 0], [6, 1], [7, 1]] def rotate(self, board): return def moveDown(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveRight(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def moveLeft(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def getCoords(self): return self.coords def getColour(self): return self.colour
class Orangericky: def __init__(self, rotation): self.colour = 'O' self.rotation = rotation if rotation == 0: self.coords = [[8, 0], [8, 1], [7, 1], [6, 1]] elif rotation == 1: self.coords = [[8, 2], [7, 2], [7, 1], [7, 0]] elif rotation == 2: self.coords = [[6, 2], [6, 1], [7, 1], [8, 1]] elif rotation == 3: self.coords = [[6, 0], [7, 0], [7, 1], [7, 2]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][0] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][0] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Bluericky: def __init__(self, rotation): self.colour = 'DB' self.rotation = rotation if rotation == 0: self.coords = [[6, 0], [6, 1], [7, 1], [8, 1]] elif rotation == 1: self.coords = [[8, 0], [7, 0], [7, 1], [7, 2]] elif rotation == 2: self.coords = [[8, 2], [8, 1], [7, 1], [6, 1]] elif rotation == 3: self.coords = [[6, 2], [7, 2], [7, 1], [7, 0]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][0] += 2 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][0] -= 2 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Clevez: def __init__(self, rotation): self.colour = 'R' self.rotation = rotation if rotation == 0: self.coords = [[6, 0], [7, 0], [7, 1], [8, 1]] elif rotation == 1: self.coords = [[8, 0], [8, 1], [7, 1], [7, 2]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] + 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][0] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 2][self.coords[0][1]].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][0] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 0 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Rhodez: def __init__(self, rotation): self.colour = 'G' self.rotation = rotation if rotation == 0: self.coords = [[8, 0], [7, 0], [7, 1], [6, 1]] elif rotation == 1: self.coords = [[8, 2], [8, 1], [7, 1], [7, 0]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0]][self.coords[0][1] + 2].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][1] += 2 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0]][self.coords[0][1] - 2].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][1] -= 2 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 0 def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Hero: def __init__(self, rotation): self.colour = 'LB' self.rotation = rotation if rotation == 0: self.coords = [[7, 0], [7, 1], [7, 2], [7, 3]] elif rotation == 1: self.coords = [[6, 1], [7, 1], [8, 1], [9, 1]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] - 1][self.coords[0][1] + 1].getObject() == None and board[self.coords[2][0] + 1][self.coords[2][1] - 1].getObject() == None and (board[self.coords[3][0] + 2][self.coords[3][1] - 2].getObject() == None): self.coords[0][1] += 1 self.coords[0][0] -= 1 self.coords[2][1] -= 1 self.coords[2][0] += 1 self.coords[3][1] -= 2 self.coords[3][0] += 2 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] + 1][self.coords[0][1] - 1].getObject() == None and board[self.coords[2][0] - 1][self.coords[2][1] + 1].getObject() == None and (board[self.coords[3][0] - 2][self.coords[3][1] + 2].getObject() == None): self.coords[0][1] -= 1 self.coords[0][0] += 1 self.coords[2][1] += 1 self.coords[2][0] -= 1 self.coords[3][1] += 2 self.coords[3][0] -= 2 self.rotation = 0 def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Teewee: def __init__(self, rotation): self.colour = 'P' self.rotation = rotation if rotation == 0: self.coords = [[8, 1], [7, 0], [7, 1], [7, 2]] elif rotation == 1: self.coords = [[7, 2], [8, 1], [7, 1], [6, 1]] elif rotation == 2: self.coords = [[6, 1], [7, 2], [7, 1], [7, 0]] elif rotation == 3: self.coords = [[7, 0], [6, 1], [7, 1], [8, 1]] def rotate(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) if self.rotation == 0: if board[self.coords[0][0] - 1][self.coords[0][1] + 1].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][1] += 1 self.coords[0][0] -= 1 self.coords[1][1] += 1 self.coords[1][0] += 1 self.coords[3][1] -= 1 self.coords[3][0] -= 1 self.rotation = 1 elif self.rotation == 1: if board[self.coords[0][0] - 1][self.coords[0][1] - 1].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] + 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] - 1].getObject() == None): self.coords[0][1] -= 1 self.coords[0][0] -= 1 self.coords[1][1] += 1 self.coords[1][0] -= 1 self.coords[3][1] -= 1 self.coords[3][0] += 1 self.rotation = 2 elif self.rotation == 2: if board[self.coords[0][0] + 1][self.coords[0][1] - 1].getObject() == None and board[self.coords[1][0] - 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] + 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][1] -= 1 self.coords[0][0] += 1 self.coords[1][1] -= 1 self.coords[1][0] -= 1 self.coords[3][1] += 1 self.coords[3][0] += 1 self.rotation = 3 elif self.rotation == 3: if board[self.coords[0][0] + 1][self.coords[0][1] + 1].getObject() == None and board[self.coords[1][0] + 1][self.coords[1][1] - 1].getObject() == None and (board[self.coords[3][0] - 1][self.coords[3][1] + 1].getObject() == None): self.coords[0][1] += 1 self.coords[0][0] += 1 self.coords[1][1] -= 1 self.coords[1][0] += 1 self.coords[3][1] += 1 self.coords[3][0] -= 1 self.rotation = 0 def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour class Smashboy: def __init__(self): self.colour = 'Y' self.coords = [[6, 0], [7, 0], [6, 1], [7, 1]] def rotate(self, board): return def move_down(self, board): for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][1] += 1 self.coords[1][1] += 1 self.coords[2][1] += 1 self.coords[3][1] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_right(self, board): move = True for coord in self.coords: if coord[0] + 1 == 15: return if board[coord[0] + 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] += 1 self.coords[1][0] += 1 self.coords[2][0] += 1 self.coords[3][0] += 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def move_left(self, board): move = True for coord in self.coords: if coord[0] - 1 == -1: return if coord[0] - 1 > -1 and board[coord[0] - 1][coord[1]].getObject() not in [None, self]: move = False if move: for coord in self.coords: board[coord[0]][coord[1]].setObject(None) self.coords[0][0] -= 1 self.coords[1][0] -= 1 self.coords[2][0] -= 1 self.coords[3][0] -= 1 for coord in self.coords: board[coord[0]][coord[1]].setObject(self) def get_coords(self): return self.coords def get_colour(self): return self.colour
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def widthOfBinaryTree(self, root: TreeNode) -> int: if not root: return 0 queue=[[root,0]] max_width=1 while queue: new_queue=[] for node,node_id in queue: if node.left: new_queue.append([node.left,node_id*2]) if node.right: new_queue.append([node.right,node_id*2+1]) if len(new_queue)>=2: max_width=max(max_width,new_queue[-1][1] - new_queue[0][1] + 1) queue=new_queue return max_width
class Solution: def width_of_binary_tree(self, root: TreeNode) -> int: if not root: return 0 queue = [[root, 0]] max_width = 1 while queue: new_queue = [] for (node, node_id) in queue: if node.left: new_queue.append([node.left, node_id * 2]) if node.right: new_queue.append([node.right, node_id * 2 + 1]) if len(new_queue) >= 2: max_width = max(max_width, new_queue[-1][1] - new_queue[0][1] + 1) queue = new_queue return max_width
class AppMetricsError(Exception): pass class InvalidMetricsBackend(AppMetricsError): pass class MetricError(AppMetricsError): pass class TimerError(AppMetricsError): pass
class Appmetricserror(Exception): pass class Invalidmetricsbackend(AppMetricsError): pass class Metricerror(AppMetricsError): pass class Timererror(AppMetricsError): pass
def get_tensor_shape(tensor): shape = [] for s in tensor.shape: if s is None: shape.append(s) else: shape.append(s.value) return tuple(shape)
def get_tensor_shape(tensor): shape = [] for s in tensor.shape: if s is None: shape.append(s) else: shape.append(s.value) return tuple(shape)
#!/usr/bin/python3 f = open("day8-input.txt", "r") finput = f.read().split("\n") finput.pop() def get_instruction_set(): instruction_set = [] for i in finput: instruction_set.append({ "instruction" : i.split(' ')[0], "value": int(i.split(' ')[1]), "order": [] }) return instruction_set def run_instruction_set(change, change_line): order = 0 acc = 0 index = 0 i_set = get_instruction_set() i_set[change_line]['instruction'] = change run = True while run: i_set[index]['order'].append(order) order += 1 i = i_set[index] if i['instruction'] == "acc": acc += i['value'] index += 1 elif i['instruction'] == "jmp": index += i['value'] else: index += 1 if (len(i_set) - 1) == index: run = False return True, acc if len(i['order']) > 10: run = False return False, 0 def find_change(): instruction_set = get_instruction_set() for i in range(len(instruction_set)): suc = False acc = 0 if instruction_set[i]['instruction'] == 'jmp': suc, acc = run_instruction_set('nop', i) elif instruction_set[i]['instruction'] == 'nop': suc, acc = run_instruction_set('jmp', i) if suc: print("Run ", i, "Success, Accumulator = ", acc) break find_change()
f = open('day8-input.txt', 'r') finput = f.read().split('\n') finput.pop() def get_instruction_set(): instruction_set = [] for i in finput: instruction_set.append({'instruction': i.split(' ')[0], 'value': int(i.split(' ')[1]), 'order': []}) return instruction_set def run_instruction_set(change, change_line): order = 0 acc = 0 index = 0 i_set = get_instruction_set() i_set[change_line]['instruction'] = change run = True while run: i_set[index]['order'].append(order) order += 1 i = i_set[index] if i['instruction'] == 'acc': acc += i['value'] index += 1 elif i['instruction'] == 'jmp': index += i['value'] else: index += 1 if len(i_set) - 1 == index: run = False return (True, acc) if len(i['order']) > 10: run = False return (False, 0) def find_change(): instruction_set = get_instruction_set() for i in range(len(instruction_set)): suc = False acc = 0 if instruction_set[i]['instruction'] == 'jmp': (suc, acc) = run_instruction_set('nop', i) elif instruction_set[i]['instruction'] == 'nop': (suc, acc) = run_instruction_set('jmp', i) if suc: print('Run ', i, 'Success, Accumulator = ', acc) break find_change()
num = [] par = [] impar = [] for i in range(20): num.append(float(input())) print(num) for i in num: if i % 2 == 0: par.append(i) else: impar.append(i) print(par) print(impar)
num = [] par = [] impar = [] for i in range(20): num.append(float(input())) print(num) for i in num: if i % 2 == 0: par.append(i) else: impar.append(i) print(par) print(impar)
data = '/home/tong.wang001/data/TS/textsimp.train.pt' save_model = 'textsimp' train_from_state_dict = '' train_from = '' curriculum = True extra_shuffle = True batch_size = 64 gpus = [0] layers = 2 rnn_size = 500 word_vec_size = 500 input_feed = 1 brnn_merge = 'concat' max_generator_batches = 32 epochs = 13 start_epoch = 1 param_init = 0.1 optim = 'sgd' max_grad_norm = 5 dropout = 0.3 learning_rate = 1.0 learning_rate_decay = 0.5 start_decay_at = 8 brnn = True log_interval = 50 pre_word_vecs_enc = None pre_word_vecs_dec = None
data = '/home/tong.wang001/data/TS/textsimp.train.pt' save_model = 'textsimp' train_from_state_dict = '' train_from = '' curriculum = True extra_shuffle = True batch_size = 64 gpus = [0] layers = 2 rnn_size = 500 word_vec_size = 500 input_feed = 1 brnn_merge = 'concat' max_generator_batches = 32 epochs = 13 start_epoch = 1 param_init = 0.1 optim = 'sgd' max_grad_norm = 5 dropout = 0.3 learning_rate = 1.0 learning_rate_decay = 0.5 start_decay_at = 8 brnn = True log_interval = 50 pre_word_vecs_enc = None pre_word_vecs_dec = None
#!/usr/bin/python3 count = 0 with open('./input.txt', 'r') as input: list_lines = input.read().split('\n\n') for line in list_lines: count += len({i:line.replace("\n", "").count(i) for i in line.replace("\n", "")}) print(count) input.close()
count = 0 with open('./input.txt', 'r') as input: list_lines = input.read().split('\n\n') for line in list_lines: count += len({i: line.replace('\n', '').count(i) for i in line.replace('\n', '')}) print(count) input.close()
h, n = map(int, input().split()) a = [] b = [] for _ in range(n): ai, bi = map(int, input().split()) a.append(ai) b.append(bi) dp = [float("inf")] * (h + 1) dp[0] = 0 for i in range(h): for j in range(n): index = min(i + a[j], h) dp[index] = min(dp[index], dp[i] + b[j]) print(dp[h])
(h, n) = map(int, input().split()) a = [] b = [] for _ in range(n): (ai, bi) = map(int, input().split()) a.append(ai) b.append(bi) dp = [float('inf')] * (h + 1) dp[0] = 0 for i in range(h): for j in range(n): index = min(i + a[j], h) dp[index] = min(dp[index], dp[i] + b[j]) print(dp[h])
test = { 'name': 'q5', 'points': 3, 'suites': [ { 'cases': [ {'code': '>>> abs(kg_to_newtons(100) - 980) < 0.000001\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> abs(kg_to_newtons(3) - 29.4) < 0.000001\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> abs(kg_to_newtons(47) - 460.6) < 0.000001\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
test = {'name': 'q5', 'points': 3, 'suites': [{'cases': [{'code': '>>> abs(kg_to_newtons(100) - 980) < 0.000001\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> abs(kg_to_newtons(3) - 29.4) < 0.000001\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> abs(kg_to_newtons(47) - 460.6) < 0.000001\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
PROCESS_NAME_SET = None PROCESS_DATA = None SERVICE_NAME_SET = None SYSPATH_STR = None SYSPATH_FILE_SET = None SYSTEMROOT_STR = None SYSTEMROOT_FILE_SET = None DRIVERPATH_STR = None DRIVERPATH_FILE_SET = None DRIVERPATH_DATA = None PROFILE_PATH = None USER_DIRS_LIST = None HKEY_USERS_DATA = None PROGRAM_FILES_STR = None PROGRAM_FILESX86_STR = None ENV_VARS = None
process_name_set = None process_data = None service_name_set = None syspath_str = None syspath_file_set = None systemroot_str = None systemroot_file_set = None driverpath_str = None driverpath_file_set = None driverpath_data = None profile_path = None user_dirs_list = None hkey_users_data = None program_files_str = None program_filesx86_str = None env_vars = None
class ShoppingCartItem: def __init__(self, id, name, price, quantity): self.id = id self.name = name self.price = price self.quantity = quantity @property def total_price(self): return self.price * self.quantity
class Shoppingcartitem: def __init__(self, id, name, price, quantity): self.id = id self.name = name self.price = price self.quantity = quantity @property def total_price(self): return self.price * self.quantity
def sort_(arr, temporary=False, reverse=False): # Making copy of array if temporary is true if temporary: ar = arr[:] else: ar = arr # To blend every element # in correct position # length of total array is required length = len(ar) # After each iteration right-most # element is completed sorted while length > 0: # So every next time we iterate only # through un-sorted elements for i in range(0, length - 1): if reverse: # Swapping greater elements to left # and smaller to right # decending order if ar[i] < ar[i + 1]: tmp = ar[i] ar[i] = ar[i + 1] ar[i + 1] = tmp else: # Swapping greater elements to right # and smaller to left # accending order if ar[i] > ar[i + 1]: tmp = ar[i] ar[i] = ar[i + 1] ar[i + 1] = tmp # making sure loop breaks length = length - 1 # if temporary, then returning # copied arr's sorted form # cuz if not returned, then function # is literally of no use if temporary: return ar # See proper explaination # at: https://www.geeksforgeeks.org/bubble-sort/ # a good site! # Testing tests = [[7, 8, 9, 6, 4, 5, 3, 2, 1, 115], [1, 90, 1110, 1312, 1110, 98, 76, 54, 32, 10], ] # Add your test cases for test in tests: print("Orignal:" + str(test)) print("Sorted: " + str(sort_(test, True))) print("Sorted(reverse): " + str(sort_(test, True, True)) + '\n') ''' for test in tests: accend , decend = sort_(test, True), sort_(test, True, True) if accend == sorted(test) and decend == sorted(test, reverse=True): print("Orignal: {}".format(test)) print("Sorted: {}".format(accend)) print("Sorted(reverse): {}\n".format(decend)) else: print("Something went wrong!\n") '''
def sort_(arr, temporary=False, reverse=False): if temporary: ar = arr[:] else: ar = arr length = len(ar) while length > 0: for i in range(0, length - 1): if reverse: if ar[i] < ar[i + 1]: tmp = ar[i] ar[i] = ar[i + 1] ar[i + 1] = tmp elif ar[i] > ar[i + 1]: tmp = ar[i] ar[i] = ar[i + 1] ar[i + 1] = tmp length = length - 1 if temporary: return ar tests = [[7, 8, 9, 6, 4, 5, 3, 2, 1, 115], [1, 90, 1110, 1312, 1110, 98, 76, 54, 32, 10]] for test in tests: print('Orignal:' + str(test)) print('Sorted: ' + str(sort_(test, True))) print('Sorted(reverse): ' + str(sort_(test, True, True)) + '\n') '\nfor test in tests:\n accend , decend = sort_(test, True), sort_(test, True, True)\n if accend == sorted(test) and decend == sorted(test, reverse=True):\n print("Orignal: {}".format(test))\n print("Sorted: {}".format(accend))\n print("Sorted(reverse): {}\n".format(decend))\n else:\n print("Something went wrong!\n") '
def tagWithMostP(dom, tagMaxP=None): for child in dom.findChildren(recursive=False): if child and not child.get('name') == 'p': numMaxP = 0 if tagMaxP: numMaxP = len(tagMaxP.find_all('p', recursive=False)) numCurrentP = len(child.find_all('p', recursive=False)) if numCurrentP > numMaxP: tagMaxP = child tagMaxP = tagWithMostP(dom=child, tagMaxP=tagMaxP) return tagMaxP def pageToArticle(dom): return tagWithMostP(dom)
def tag_with_most_p(dom, tagMaxP=None): for child in dom.findChildren(recursive=False): if child and (not child.get('name') == 'p'): num_max_p = 0 if tagMaxP: num_max_p = len(tagMaxP.find_all('p', recursive=False)) num_current_p = len(child.find_all('p', recursive=False)) if numCurrentP > numMaxP: tag_max_p = child tag_max_p = tag_with_most_p(dom=child, tagMaxP=tagMaxP) return tagMaxP def page_to_article(dom): return tag_with_most_p(dom)
a = [3, 8, 5, 1, 8, 9, 4, 9, 6, 4, 3, 7] b = list (set (a)) for i in range (len(b)): for j in range (i+1,len (b)): if b[i]>b[j]: b[i] , b[j] = b[j], b[i] print (b)
a = [3, 8, 5, 1, 8, 9, 4, 9, 6, 4, 3, 7] b = list(set(a)) for i in range(len(b)): for j in range(i + 1, len(b)): if b[i] > b[j]: (b[i], b[j]) = (b[j], b[i]) print(b)
def get_input(path): with open(path, 'r') as fh: return fh.read().splitlines() def isValid_part1(rule, password): (r, c) = rule.split(" ") (mini, maxi) = r.split("-") num_of_occur = password.count(c) if num_of_occur < int(mini) or num_of_occur > int(maxi): return False return True def isValid(rule, password): (r, c) = rule.split(" ") (first, second) = r.split("-") first_val = password[int(first)-1] second_val = password[int(second)-1] if (c == first_val and c != second_val) or (c != first_val and c == second_val): return True return False # _file = 'resources/day2_test.txt' _file = 'resources/day2_input.txt' data = get_input(_file) counter = 0 for line in data: (rule, password) = line.split(': ') if isValid_part1(rule, password): counter += 1 print("Day2 - part I:", counter) data = get_input(_file) counter = 0 for line in data: (rule, password) = line.split(': ') if isValid(rule, password): counter += 1 print("Day2 - part II:", counter)
def get_input(path): with open(path, 'r') as fh: return fh.read().splitlines() def is_valid_part1(rule, password): (r, c) = rule.split(' ') (mini, maxi) = r.split('-') num_of_occur = password.count(c) if num_of_occur < int(mini) or num_of_occur > int(maxi): return False return True def is_valid(rule, password): (r, c) = rule.split(' ') (first, second) = r.split('-') first_val = password[int(first) - 1] second_val = password[int(second) - 1] if c == first_val and c != second_val or (c != first_val and c == second_val): return True return False _file = 'resources/day2_input.txt' data = get_input(_file) counter = 0 for line in data: (rule, password) = line.split(': ') if is_valid_part1(rule, password): counter += 1 print('Day2 - part I:', counter) data = get_input(_file) counter = 0 for line in data: (rule, password) = line.split(': ') if is_valid(rule, password): counter += 1 print('Day2 - part II:', counter)
def default(): return { 'columns': [ {'name': 'id', 'type': 'string'}, {'name': 'sku', 'type': 'object'}, {'name': 'name', 'type': 'string'}, {'name': 'type', 'type': 'string'}, {'name': 'kind', 'type': 'string'}, {'name': 'plan', 'type': 'object'}, {'name': 'tags', 'type': 'object'}, {'name': 'location', 'type': 'string'}, {'name': 'properties', 'type': 'object'}, {'name': 'resourceGroup', 'type': 'string'}, {'name': 'subscriptionId', 'type': 'string'}, {'name': 'managedBy', 'type': 'string'}, {'name': 'identity', 'type': 'object'}, {'name': 'zones', 'type': 'object'}, {'name': 'tenantId', 'type': 'string'} ], 'rows': [ [ '/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft.Compute/virtualMachines' '/vmachine1', None, 'vmachine1', 'microsoft.compute/virtualmachines', '', None, None, 'westeurope', { 'provisioningState': 'Succeeded', 'networkProfile': { 'networkInterfaces': [ { 'id': '/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft' '.Network/networkInterfaces/vmachine1960 ' } ] }, 'storageProfile': { 'imageReference': { 'publisher': 'Canonical', 'exactVersion': '18.04.202004290', 'version': 'latest', 'sku': '18.04-LTS', 'offer': 'UbuntuServer' }, 'dataDisks': [], 'osDisk': { 'name': 'vmachine1_disk1_300a88dc334643b187532d00957f5736', 'createOption': 'FromImage', 'diskSizeGB': 30, 'managedDisk': { 'id': '/subscriptions/05aaaafa-6aa1/resourceGroups/VMACHINE/providers/Microsoft' '.Compute/disks/vmachine1_disk1_300a88dc334643b187532d00957f5736', 'storageAccountType': 'Premium_LRS'}, 'caching': 'ReadWrite', 'osType': 'Linux'} }, 'hardwareProfile': { 'vmSize': 'Standard_B1ls'}, 'osProfile': { 'allowExtensionOperations': True, 'secrets': [], 'requireGuestProvisionSignal': True, 'adminUsername': 'buderre', 'linuxConfiguration': { 'disablePasswordAuthentication': False, 'provisionVMAgent': True}, 'computerName': 'vmachine1'}, 'vmId': 'e267230d-b84a-45cd-a212-ca1c26decaf8', 'diagnosticsProfile': { 'bootDiagnostics': { 'enabled': True, 'storageUri': 'https://vmachinediag754.blob.core.windows.net/'} } }, 'vmachine', '05aaaafa-6aa1', '', None, None, 'fead2b37-53d7-4cd9-ad12-d2b6c0751f29'] ] } def simple(): return { 'columns': [ {'name': 'id', 'type': 'string'}, {'name': 'name', 'type': 'string'}, {'name': 'type', 'type': 'string'}, ], 'rows': [ [ '/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft.Compute/virtualMachines' '/vmachine1', 'vmachine1', 'microsoft.compute/virtualmachines' ] ] } def empty(): return { 'columns': [], 'rows': [] }
def default(): return {'columns': [{'name': 'id', 'type': 'string'}, {'name': 'sku', 'type': 'object'}, {'name': 'name', 'type': 'string'}, {'name': 'type', 'type': 'string'}, {'name': 'kind', 'type': 'string'}, {'name': 'plan', 'type': 'object'}, {'name': 'tags', 'type': 'object'}, {'name': 'location', 'type': 'string'}, {'name': 'properties', 'type': 'object'}, {'name': 'resourceGroup', 'type': 'string'}, {'name': 'subscriptionId', 'type': 'string'}, {'name': 'managedBy', 'type': 'string'}, {'name': 'identity', 'type': 'object'}, {'name': 'zones', 'type': 'object'}, {'name': 'tenantId', 'type': 'string'}], 'rows': [['/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft.Compute/virtualMachines/vmachine1', None, 'vmachine1', 'microsoft.compute/virtualmachines', '', None, None, 'westeurope', {'provisioningState': 'Succeeded', 'networkProfile': {'networkInterfaces': [{'id': '/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft.Network/networkInterfaces/vmachine1960 '}]}, 'storageProfile': {'imageReference': {'publisher': 'Canonical', 'exactVersion': '18.04.202004290', 'version': 'latest', 'sku': '18.04-LTS', 'offer': 'UbuntuServer'}, 'dataDisks': [], 'osDisk': {'name': 'vmachine1_disk1_300a88dc334643b187532d00957f5736', 'createOption': 'FromImage', 'diskSizeGB': 30, 'managedDisk': {'id': '/subscriptions/05aaaafa-6aa1/resourceGroups/VMACHINE/providers/Microsoft.Compute/disks/vmachine1_disk1_300a88dc334643b187532d00957f5736', 'storageAccountType': 'Premium_LRS'}, 'caching': 'ReadWrite', 'osType': 'Linux'}}, 'hardwareProfile': {'vmSize': 'Standard_B1ls'}, 'osProfile': {'allowExtensionOperations': True, 'secrets': [], 'requireGuestProvisionSignal': True, 'adminUsername': 'buderre', 'linuxConfiguration': {'disablePasswordAuthentication': False, 'provisionVMAgent': True}, 'computerName': 'vmachine1'}, 'vmId': 'e267230d-b84a-45cd-a212-ca1c26decaf8', 'diagnosticsProfile': {'bootDiagnostics': {'enabled': True, 'storageUri': 'https://vmachinediag754.blob.core.windows.net/'}}}, 'vmachine', '05aaaafa-6aa1', '', None, None, 'fead2b37-53d7-4cd9-ad12-d2b6c0751f29']]} def simple(): return {'columns': [{'name': 'id', 'type': 'string'}, {'name': 'name', 'type': 'string'}, {'name': 'type', 'type': 'string'}], 'rows': [['/subscriptions/05aaaafa-6aa1/resourceGroups/vmachine/providers/Microsoft.Compute/virtualMachines/vmachine1', 'vmachine1', 'microsoft.compute/virtualmachines']]} def empty(): return {'columns': [], 'rows': []}
numbers=[] while True: number=input("Enter a number:") if number=="done": break else: number=float(number) numbers.append(number) continue print("Maximum:",max(numbers)) print("Minimum:",min(numbers))
numbers = [] while True: number = input('Enter a number:') if number == 'done': break else: number = float(number) numbers.append(number) continue print('Maximum:', max(numbers)) print('Minimum:', min(numbers))
def g_load(file): print("file {} loaded as BMP v2".format(file)) return None if __name__ == "__main__": print("Test Bmp.py") print(g_load("test.bmp"))
def g_load(file): print('file {} loaded as BMP v2'.format(file)) return None if __name__ == '__main__': print('Test Bmp.py') print(g_load('test.bmp'))
## Shorty ## Copyright 2009 Joshua Roesslein ## See LICENSE ## @url budurl.com class Budurl(Service): def __init__(self, apikey=None): self.apikey = apikey def _test(self): #prompt for apikey self.apikey = raw_input('budurl apikey: ') Service._test(self) def shrink(self, bigurl, notes=None): if self.apikey is None: raise ShortyError('Must set an apikey') parameters = {'long_url': bigurl, 'api_key': self.apikey} if notes: parameters['notes'] = notes resp = request('http://budurl.com/api/v1/budurls/shrink', parameters) jdata = json.loads(resp.read()) if jdata['success'] != 1: raise ShortyError(jdata['error_message']) else: return str(jdata['budurl']) def expand(self, tinyurl): resp = request('http://budurl.com/api/v1/budurls/expand', {'budurl': tinyurl}) jdata = json.loads(resp.read()) if jdata['success'] != 1: raise ShortyError(jdata['error_message']) else: return str(jdata['long_url'])
class Budurl(Service): def __init__(self, apikey=None): self.apikey = apikey def _test(self): self.apikey = raw_input('budurl apikey: ') Service._test(self) def shrink(self, bigurl, notes=None): if self.apikey is None: raise shorty_error('Must set an apikey') parameters = {'long_url': bigurl, 'api_key': self.apikey} if notes: parameters['notes'] = notes resp = request('http://budurl.com/api/v1/budurls/shrink', parameters) jdata = json.loads(resp.read()) if jdata['success'] != 1: raise shorty_error(jdata['error_message']) else: return str(jdata['budurl']) def expand(self, tinyurl): resp = request('http://budurl.com/api/v1/budurls/expand', {'budurl': tinyurl}) jdata = json.loads(resp.read()) if jdata['success'] != 1: raise shorty_error(jdata['error_message']) else: return str(jdata['long_url'])
def validate_genome(genome, *args, **kwargs): if len(set(e.innov for e in genome.edges)) != len(genome.edges): raise ValueError('Non-unique edge in genome edges.') if len(set(n.innov for n in genome.nodes)) != len(genome.nodes): raise ValueError('Non-unique node in genome node.') for e in genome.edges: if not (e.from_node.innov, e.to_node.innov) in genome.edge_innovs: raise ValueError('Edge innovation not registered.') for e_1, e_2 in zip(genome.edges, genome.edges[1:]): if not e_1.innov < e_2.innov: raise ValueError('Edge innovations are out of order.') for n_1, n_2 in zip(genome.nodes, genome.nodes[1:]): if not n_1.innov < n_2.innov: raise ValueError('Node innovations are out of order.') for n in genome.inputs: if not n.type == 'input': raise ValueError('Non input node in inputs.') for n in genome.outputs: if not n.type == 'output': raise ValueError('Non output node in outputs.')
def validate_genome(genome, *args, **kwargs): if len(set((e.innov for e in genome.edges))) != len(genome.edges): raise value_error('Non-unique edge in genome edges.') if len(set((n.innov for n in genome.nodes))) != len(genome.nodes): raise value_error('Non-unique node in genome node.') for e in genome.edges: if not (e.from_node.innov, e.to_node.innov) in genome.edge_innovs: raise value_error('Edge innovation not registered.') for (e_1, e_2) in zip(genome.edges, genome.edges[1:]): if not e_1.innov < e_2.innov: raise value_error('Edge innovations are out of order.') for (n_1, n_2) in zip(genome.nodes, genome.nodes[1:]): if not n_1.innov < n_2.innov: raise value_error('Node innovations are out of order.') for n in genome.inputs: if not n.type == 'input': raise value_error('Non input node in inputs.') for n in genome.outputs: if not n.type == 'output': raise value_error('Non output node in outputs.')
print("enter the two number") n1,n2=map(int,input().split()) print("press + for add") print("press - for subb") print("press * for mul") print("press / for div") e=input() if e == "+": print(n1+n2) elif e == "-": print(n1-n2) elif e == "*": print(n1*n2) elif e == "/": print(n1/n2) else: print("you entered wrong key")
print('enter the two number') (n1, n2) = map(int, input().split()) print('press + for add') print('press - for subb') print('press * for mul') print('press / for div') e = input() if e == '+': print(n1 + n2) elif e == '-': print(n1 - n2) elif e == '*': print(n1 * n2) elif e == '/': print(n1 / n2) else: print('you entered wrong key')
recipes,available = {'flour': 500, 'sugar': 200, 'eggs': 1}, {'flour': 1200, 'sugar': 1200, 'eggs': 5, 'milk': 200} print(min([available.get(k,0) // recipes[k] for k in recipes]))
(recipes, available) = ({'flour': 500, 'sugar': 200, 'eggs': 1}, {'flour': 1200, 'sugar': 1200, 'eggs': 5, 'milk': 200}) print(min([available.get(k, 0) // recipes[k] for k in recipes]))
# Program to calculate the gross pay of a worker hours_worked = input("Enter the hours worked:\n") rate = input("Enter the payment rate:\n ") pay = int(hours_worked)*float(rate) print(pay)
hours_worked = input('Enter the hours worked:\n') rate = input('Enter the payment rate:\n ') pay = int(hours_worked) * float(rate) print(pay)
# # PySNMP MIB module A3COM-HUAWEI-QINQ-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-QINQ-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:52:01 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) # h3cCommon, = mibBuilder.importSymbols("A3COM-HUAWEI-OID-MIB", "h3cCommon") ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ObjectIdentity, Counter32, Unsigned32, Counter64, ModuleIdentity, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, IpAddress, Bits, Gauge32, MibIdentifier, NotificationType, iso = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter32", "Unsigned32", "Counter64", "ModuleIdentity", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "IpAddress", "Bits", "Gauge32", "MibIdentifier", "NotificationType", "iso") TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString") h3cQINQ = ModuleIdentity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69)) h3cQINQ.setRevisions(('2006-03-10 00:00',)) if mibBuilder.loadTexts: h3cQINQ.setLastUpdated('200603100000Z') if mibBuilder.loadTexts: h3cQINQ.setOrganization('Huawei-3Com Technologies Co., Ltd.') class H3cQinQSwitchState(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("enabled", 1), ("disabled", 2)) h3cQinQMibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1)) h3cQinQGlobalConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1)) h3cQinQBpduTunnelSwitch = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 1), H3cQinQSwitchState().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cQinQBpduTunnelSwitch.setStatus('current') h3cQinQEthernetTypeValue = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cQinQEthernetTypeValue.setStatus('current') h3cQinQServiceTPIDValue = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cQinQServiceTPIDValue.setStatus('current') h3cQinQCustomerTPIDValue = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cQinQCustomerTPIDValue.setStatus('current') h3cQinQBpduTunnelTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2), ) if mibBuilder.loadTexts: h3cQinQBpduTunnelTable.setStatus('current') h3cQinQBpduTunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQProtocolIndex")) if mibBuilder.loadTexts: h3cQinQBpduTunnelEntry.setStatus('current') h3cQinQProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bpdu", 1), ("stp", 2), ("gvrp", 3), ("igmp", 4)))) if mibBuilder.loadTexts: h3cQinQProtocolIndex.setStatus('current') h3cQinQBpduRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQBpduRowStatus.setStatus('current') h3cQinQPriorityRemarkTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3), ) if mibBuilder.loadTexts: h3cQinQPriorityRemarkTable.setStatus('current') h3cQinQPriorityRemarkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQPriorityValue")) if mibBuilder.loadTexts: h3cQinQPriorityRemarkEntry.setStatus('current') h3cQinQPriorityValue = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))) if mibBuilder.loadTexts: h3cQinQPriorityValue.setStatus('current') h3cQinQPriorityRemarkValue = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQPriorityRemarkValue.setStatus('current') h3cQinQPriorityRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQPriorityRowStatus.setStatus('current') h3cQinQVidTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4), ) if mibBuilder.loadTexts: h3cQinQVidTable.setStatus('current') h3cQinQVidEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQVlanID")) if mibBuilder.loadTexts: h3cQinQVidEntry.setStatus('current') h3cQinQVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))) if mibBuilder.loadTexts: h3cQinQVlanID.setStatus('current') h3cQinQInboundVidListLow = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(256, 256)).setFixedLength(256)).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQInboundVidListLow.setStatus('current') h3cQinQInboundVidListHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(256, 256)).setFixedLength(256)).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQInboundVidListHigh.setStatus('current') h3cQinQVidEthernetType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(33024)).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQVidEthernetType.setStatus('current') h3cQinQVidRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQVidRowStatus.setStatus('current') h3cQinQVidSwapTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5), ) if mibBuilder.loadTexts: h3cQinQVidSwapTable.setStatus('current') h3cQinQVidSwapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQVlanID"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQVidSwapOld")) if mibBuilder.loadTexts: h3cQinQVidSwapEntry.setStatus('current') h3cQinQVidSwapOld = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))) if mibBuilder.loadTexts: h3cQinQVidSwapOld.setStatus('current') h3cQinQVidSwapNew = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQVidSwapNew.setStatus('current') h3cQinQVidSwapRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQVidSwapRowStatus.setStatus('current') h3cQinQPrioritySwapTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6), ) if mibBuilder.loadTexts: h3cQinQPrioritySwapTable.setStatus('current') h3cQinQPrioritySwapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQVlanID"), (0, "A3COM-HUAWEI-QINQ-MIB", "h3cQinQPrioritySwapOld")) if mibBuilder.loadTexts: h3cQinQPrioritySwapEntry.setStatus('current') h3cQinQPrioritySwapOld = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))) if mibBuilder.loadTexts: h3cQinQPrioritySwapOld.setStatus('current') h3cQinQPrioritySwapNew = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQPrioritySwapNew.setStatus('current') h3cQinQPrioritySwapRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQPrioritySwapRowStatus.setStatus('current') h3cQinQIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7), ) if mibBuilder.loadTexts: h3cQinQIfConfigTable.setStatus('current') h3cQinQIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: h3cQinQIfConfigEntry.setStatus('current') h3cQinQIfEthernetType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(33024)).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfEthernetType.setStatus('current') h3cQinQIfSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 2), H3cQinQSwitchState().clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfSwitch.setStatus('current') h3cQinQIfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfRowStatus.setStatus('current') h3cQinQIfServiceTPIDValue = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfServiceTPIDValue.setStatus('current') h3cQinQIfCustomerTPIDValue = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfCustomerTPIDValue.setStatus('current') h3cQinQIfUplinkSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 6), H3cQinQSwitchState().clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfUplinkSwitch.setStatus('current') h3cQinQIfDownlinkSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 7), H3cQinQSwitchState().clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cQinQIfDownlinkSwitch.setStatus('current') mibBuilder.exportSymbols("A3COM-HUAWEI-QINQ-MIB", h3cQinQPrioritySwapNew=h3cQinQPrioritySwapNew, h3cQinQInboundVidListLow=h3cQinQInboundVidListLow, h3cQinQServiceTPIDValue=h3cQinQServiceTPIDValue, h3cQinQBpduRowStatus=h3cQinQBpduRowStatus, h3cQinQBpduTunnelSwitch=h3cQinQBpduTunnelSwitch, h3cQinQIfConfigEntry=h3cQinQIfConfigEntry, h3cQinQInboundVidListHigh=h3cQinQInboundVidListHigh, h3cQinQIfServiceTPIDValue=h3cQinQIfServiceTPIDValue, PYSNMP_MODULE_ID=h3cQINQ, h3cQinQVidSwapEntry=h3cQinQVidSwapEntry, h3cQinQIfRowStatus=h3cQinQIfRowStatus, h3cQinQIfUplinkSwitch=h3cQinQIfUplinkSwitch, h3cQinQPriorityRemarkValue=h3cQinQPriorityRemarkValue, h3cQinQIfCustomerTPIDValue=h3cQinQIfCustomerTPIDValue, h3cQinQPriorityRowStatus=h3cQinQPriorityRowStatus, h3cQinQPrioritySwapEntry=h3cQinQPrioritySwapEntry, h3cQinQCustomerTPIDValue=h3cQinQCustomerTPIDValue, h3cQinQVidSwapTable=h3cQinQVidSwapTable, h3cQinQIfConfigTable=h3cQinQIfConfigTable, h3cQinQProtocolIndex=h3cQinQProtocolIndex, h3cQINQ=h3cQINQ, h3cQinQGlobalConfigGroup=h3cQinQGlobalConfigGroup, h3cQinQVidSwapOld=h3cQinQVidSwapOld, h3cQinQPriorityRemarkEntry=h3cQinQPriorityRemarkEntry, h3cQinQVidSwapNew=h3cQinQVidSwapNew, h3cQinQIfSwitch=h3cQinQIfSwitch, h3cQinQBpduTunnelEntry=h3cQinQBpduTunnelEntry, h3cQinQEthernetTypeValue=h3cQinQEthernetTypeValue, h3cQinQVidRowStatus=h3cQinQVidRowStatus, h3cQinQMibObject=h3cQinQMibObject, h3cQinQPrioritySwapTable=h3cQinQPrioritySwapTable, h3cQinQVidTable=h3cQinQVidTable, h3cQinQPriorityRemarkTable=h3cQinQPriorityRemarkTable, h3cQinQIfDownlinkSwitch=h3cQinQIfDownlinkSwitch, h3cQinQBpduTunnelTable=h3cQinQBpduTunnelTable, h3cQinQVidSwapRowStatus=h3cQinQVidSwapRowStatus, h3cQinQVlanID=h3cQinQVlanID, h3cQinQIfEthernetType=h3cQinQIfEthernetType, H3cQinQSwitchState=H3cQinQSwitchState, h3cQinQVidEthernetType=h3cQinQVidEthernetType, h3cQinQPriorityValue=h3cQinQPriorityValue, h3cQinQVidEntry=h3cQinQVidEntry, h3cQinQPrioritySwapRowStatus=h3cQinQPrioritySwapRowStatus, h3cQinQPrioritySwapOld=h3cQinQPrioritySwapOld)
(h3c_common,) = mibBuilder.importSymbols('A3COM-HUAWEI-OID-MIB', 'h3cCommon') (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (object_identity, counter32, unsigned32, counter64, module_identity, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, ip_address, bits, gauge32, mib_identifier, notification_type, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Counter32', 'Unsigned32', 'Counter64', 'ModuleIdentity', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'IpAddress', 'Bits', 'Gauge32', 'MibIdentifier', 'NotificationType', 'iso') (textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString') h3c_qinq = module_identity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69)) h3cQINQ.setRevisions(('2006-03-10 00:00',)) if mibBuilder.loadTexts: h3cQINQ.setLastUpdated('200603100000Z') if mibBuilder.loadTexts: h3cQINQ.setOrganization('Huawei-3Com Technologies Co., Ltd.') class H3Cqinqswitchstate(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('enabled', 1), ('disabled', 2)) h3c_qin_q_mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1)) h3c_qin_q_global_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1)) h3c_qin_q_bpdu_tunnel_switch = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 1), h3c_qin_q_switch_state().clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cQinQBpduTunnelSwitch.setStatus('current') h3c_qin_q_ethernet_type_value = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cQinQEthernetTypeValue.setStatus('current') h3c_qin_q_service_tpid_value = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cQinQServiceTPIDValue.setStatus('current') h3c_qin_q_customer_tpid_value = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cQinQCustomerTPIDValue.setStatus('current') h3c_qin_q_bpdu_tunnel_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2)) if mibBuilder.loadTexts: h3cQinQBpduTunnelTable.setStatus('current') h3c_qin_q_bpdu_tunnel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQProtocolIndex')) if mibBuilder.loadTexts: h3cQinQBpduTunnelEntry.setStatus('current') h3c_qin_q_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('bpdu', 1), ('stp', 2), ('gvrp', 3), ('igmp', 4)))) if mibBuilder.loadTexts: h3cQinQProtocolIndex.setStatus('current') h3c_qin_q_bpdu_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 2, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQBpduRowStatus.setStatus('current') h3c_qin_q_priority_remark_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3)) if mibBuilder.loadTexts: h3cQinQPriorityRemarkTable.setStatus('current') h3c_qin_q_priority_remark_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQPriorityValue')) if mibBuilder.loadTexts: h3cQinQPriorityRemarkEntry.setStatus('current') h3c_qin_q_priority_value = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))) if mibBuilder.loadTexts: h3cQinQPriorityValue.setStatus('current') h3c_qin_q_priority_remark_value = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQPriorityRemarkValue.setStatus('current') h3c_qin_q_priority_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 3, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQPriorityRowStatus.setStatus('current') h3c_qin_q_vid_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4)) if mibBuilder.loadTexts: h3cQinQVidTable.setStatus('current') h3c_qin_q_vid_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQVlanID')) if mibBuilder.loadTexts: h3cQinQVidEntry.setStatus('current') h3c_qin_q_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))) if mibBuilder.loadTexts: h3cQinQVlanID.setStatus('current') h3c_qin_q_inbound_vid_list_low = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(256, 256)).setFixedLength(256)).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQInboundVidListLow.setStatus('current') h3c_qin_q_inbound_vid_list_high = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(256, 256)).setFixedLength(256)).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQInboundVidListHigh.setStatus('current') h3c_qin_q_vid_ethernet_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(33024)).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQVidEthernetType.setStatus('current') h3c_qin_q_vid_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 4, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQVidRowStatus.setStatus('current') h3c_qin_q_vid_swap_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5)) if mibBuilder.loadTexts: h3cQinQVidSwapTable.setStatus('current') h3c_qin_q_vid_swap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQVlanID'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQVidSwapOld')) if mibBuilder.loadTexts: h3cQinQVidSwapEntry.setStatus('current') h3c_qin_q_vid_swap_old = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))) if mibBuilder.loadTexts: h3cQinQVidSwapOld.setStatus('current') h3c_qin_q_vid_swap_new = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQVidSwapNew.setStatus('current') h3c_qin_q_vid_swap_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 5, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQVidSwapRowStatus.setStatus('current') h3c_qin_q_priority_swap_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6)) if mibBuilder.loadTexts: h3cQinQPrioritySwapTable.setStatus('current') h3c_qin_q_priority_swap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQVlanID'), (0, 'A3COM-HUAWEI-QINQ-MIB', 'h3cQinQPrioritySwapOld')) if mibBuilder.loadTexts: h3cQinQPrioritySwapEntry.setStatus('current') h3c_qin_q_priority_swap_old = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))) if mibBuilder.loadTexts: h3cQinQPrioritySwapOld.setStatus('current') h3c_qin_q_priority_swap_new = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQPrioritySwapNew.setStatus('current') h3c_qin_q_priority_swap_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 6, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQPrioritySwapRowStatus.setStatus('current') h3c_qin_q_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7)) if mibBuilder.loadTexts: h3cQinQIfConfigTable.setStatus('current') h3c_qin_q_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: h3cQinQIfConfigEntry.setStatus('current') h3c_qin_q_if_ethernet_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(33024)).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfEthernetType.setStatus('current') h3c_qin_q_if_switch = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 2), h3c_qin_q_switch_state().clone('disabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfSwitch.setStatus('current') h3c_qin_q_if_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfRowStatus.setStatus('current') h3c_qin_q_if_service_tpid_value = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfServiceTPIDValue.setStatus('current') h3c_qin_q_if_customer_tpid_value = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfCustomerTPIDValue.setStatus('current') h3c_qin_q_if_uplink_switch = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 6), h3c_qin_q_switch_state().clone('disabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfUplinkSwitch.setStatus('current') h3c_qin_q_if_downlink_switch = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 69, 1, 7, 1, 7), h3c_qin_q_switch_state().clone('disabled')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cQinQIfDownlinkSwitch.setStatus('current') mibBuilder.exportSymbols('A3COM-HUAWEI-QINQ-MIB', h3cQinQPrioritySwapNew=h3cQinQPrioritySwapNew, h3cQinQInboundVidListLow=h3cQinQInboundVidListLow, h3cQinQServiceTPIDValue=h3cQinQServiceTPIDValue, h3cQinQBpduRowStatus=h3cQinQBpduRowStatus, h3cQinQBpduTunnelSwitch=h3cQinQBpduTunnelSwitch, h3cQinQIfConfigEntry=h3cQinQIfConfigEntry, h3cQinQInboundVidListHigh=h3cQinQInboundVidListHigh, h3cQinQIfServiceTPIDValue=h3cQinQIfServiceTPIDValue, PYSNMP_MODULE_ID=h3cQINQ, h3cQinQVidSwapEntry=h3cQinQVidSwapEntry, h3cQinQIfRowStatus=h3cQinQIfRowStatus, h3cQinQIfUplinkSwitch=h3cQinQIfUplinkSwitch, h3cQinQPriorityRemarkValue=h3cQinQPriorityRemarkValue, h3cQinQIfCustomerTPIDValue=h3cQinQIfCustomerTPIDValue, h3cQinQPriorityRowStatus=h3cQinQPriorityRowStatus, h3cQinQPrioritySwapEntry=h3cQinQPrioritySwapEntry, h3cQinQCustomerTPIDValue=h3cQinQCustomerTPIDValue, h3cQinQVidSwapTable=h3cQinQVidSwapTable, h3cQinQIfConfigTable=h3cQinQIfConfigTable, h3cQinQProtocolIndex=h3cQinQProtocolIndex, h3cQINQ=h3cQINQ, h3cQinQGlobalConfigGroup=h3cQinQGlobalConfigGroup, h3cQinQVidSwapOld=h3cQinQVidSwapOld, h3cQinQPriorityRemarkEntry=h3cQinQPriorityRemarkEntry, h3cQinQVidSwapNew=h3cQinQVidSwapNew, h3cQinQIfSwitch=h3cQinQIfSwitch, h3cQinQBpduTunnelEntry=h3cQinQBpduTunnelEntry, h3cQinQEthernetTypeValue=h3cQinQEthernetTypeValue, h3cQinQVidRowStatus=h3cQinQVidRowStatus, h3cQinQMibObject=h3cQinQMibObject, h3cQinQPrioritySwapTable=h3cQinQPrioritySwapTable, h3cQinQVidTable=h3cQinQVidTable, h3cQinQPriorityRemarkTable=h3cQinQPriorityRemarkTable, h3cQinQIfDownlinkSwitch=h3cQinQIfDownlinkSwitch, h3cQinQBpduTunnelTable=h3cQinQBpduTunnelTable, h3cQinQVidSwapRowStatus=h3cQinQVidSwapRowStatus, h3cQinQVlanID=h3cQinQVlanID, h3cQinQIfEthernetType=h3cQinQIfEthernetType, H3cQinQSwitchState=H3cQinQSwitchState, h3cQinQVidEthernetType=h3cQinQVidEthernetType, h3cQinQPriorityValue=h3cQinQPriorityValue, h3cQinQVidEntry=h3cQinQVidEntry, h3cQinQPrioritySwapRowStatus=h3cQinQPrioritySwapRowStatus, h3cQinQPrioritySwapOld=h3cQinQPrioritySwapOld)
def handle_request(): print("hello world!") return "hello world!" if __name__ == '__main__': handle_request()
def handle_request(): print('hello world!') return 'hello world!' if __name__ == '__main__': handle_request()
# ShortTk DownlaodRealeses shell lib Copyright (c) Boubajoker 2021. All right reserved. Project under MIT License. __version__ = "0.0.1 Alpha A-1" __all__ = [ "librairy", "shell", "librairy shell", "downlaod shell lib" ]
__version__ = '0.0.1 Alpha A-1' __all__ = ['librairy', 'shell', 'librairy shell', 'downlaod shell lib']
string = "Emir Nazira Zarina Aijana Sultan Danil Adis" string = string.replace('Emir', 'Baizak') string = string.replace('Nazira', 'l') print(string)
string = 'Emir Nazira Zarina Aijana Sultan Danil Adis' string = string.replace('Emir', 'Baizak') string = string.replace('Nazira', 'l') print(string)
A, B, C = map(int, input().split()) if A == B: print(C) elif A == C: print(B) else: print(A)
(a, b, c) = map(int, input().split()) if A == B: print(C) elif A == C: print(B) else: print(A)
###### Birthday Cake Candles def birthdayCakeCandles(ar): blown_candle=0 maxi=max(ar) for i in ar: if i==maxi: blown_candle+=1 print(blown_candle) birthdayCakeCandles([3,2,1,3])
def birthday_cake_candles(ar): blown_candle = 0 maxi = max(ar) for i in ar: if i == maxi: blown_candle += 1 print(blown_candle) birthday_cake_candles([3, 2, 1, 3])
i = 1 j = 7 while(i<10): for x in range(3): print("I=%d J=%d" %(i,j)) j += -1 i += 2 j = i + 6
i = 1 j = 7 while i < 10: for x in range(3): print('I=%d J=%d' % (i, j)) j += -1 i += 2 j = i + 6
def check_matrix(mat): O_win = 0 X_win = 0 if mat[:3].count('O') == 3: O_win += 1 if mat[:3].count('X') == 3: X_win += 1 if mat[3:6].count('O') == 3: O_win += 1 if mat[3:6].count('X') == 3: X_win += 1 if mat[6:].count('O') == 3: O_win += 1 if mat[6:].count('X') == 3: X_win += 1 if mat[::3].count('O') == 3: O_win += 1 if mat[::3].count('X') == 3: X_win += 1 if mat[1::3].count('O') == 3: O_win += 1 if mat[1::3].count('X') == 3: X_win += 1 if mat[2::3].count('O') == 3: O_win += 1 if mat[2::3].count('X') == 3: X_win += 1 if mat[::4].count('O') == 3: O_win += 1 if mat[::4].count('X') == 3: X_win += 1 if mat[2:8:2].count('O') == 3: O_win += 1 if mat[2:8:2].count('X') == 3: X_win += 1 return O_win, X_win matrix = list(input()) + list(input()) + list(input()) for x in matrix: if not (x == 'O' or x == 'X' or x == '.'): print('IMPOSSIBLE') exit() a = matrix.count('O') b = matrix.count('X') if a-b == 1: O, X = check_matrix(matrix) if X == 0: print('POSSIBLE') exit() elif a-b == 0: O, X = check_matrix(matrix) if O == 0: print('POSSIBLE') exit() print('IMPOSSIBLE')
def check_matrix(mat): o_win = 0 x_win = 0 if mat[:3].count('O') == 3: o_win += 1 if mat[:3].count('X') == 3: x_win += 1 if mat[3:6].count('O') == 3: o_win += 1 if mat[3:6].count('X') == 3: x_win += 1 if mat[6:].count('O') == 3: o_win += 1 if mat[6:].count('X') == 3: x_win += 1 if mat[::3].count('O') == 3: o_win += 1 if mat[::3].count('X') == 3: x_win += 1 if mat[1::3].count('O') == 3: o_win += 1 if mat[1::3].count('X') == 3: x_win += 1 if mat[2::3].count('O') == 3: o_win += 1 if mat[2::3].count('X') == 3: x_win += 1 if mat[::4].count('O') == 3: o_win += 1 if mat[::4].count('X') == 3: x_win += 1 if mat[2:8:2].count('O') == 3: o_win += 1 if mat[2:8:2].count('X') == 3: x_win += 1 return (O_win, X_win) matrix = list(input()) + list(input()) + list(input()) for x in matrix: if not (x == 'O' or x == 'X' or x == '.'): print('IMPOSSIBLE') exit() a = matrix.count('O') b = matrix.count('X') if a - b == 1: (o, x) = check_matrix(matrix) if X == 0: print('POSSIBLE') exit() elif a - b == 0: (o, x) = check_matrix(matrix) if O == 0: print('POSSIBLE') exit() print('IMPOSSIBLE')
#!/usr/bin/env python3 class Error(Exception): '''Base class for exceptions''' def __init__(self, msg=''): self.message = msg Exception.__init__(self, msg) def __repr__(self): return self.message class InterpolationError(Error): '''Base class for interpolation-related exceptions''' def __init__(self, name, value, msg): Error.__init__(self, msg) self.value = value self.name = name
class Error(Exception): """Base class for exceptions""" def __init__(self, msg=''): self.message = msg Exception.__init__(self, msg) def __repr__(self): return self.message class Interpolationerror(Error): """Base class for interpolation-related exceptions""" def __init__(self, name, value, msg): Error.__init__(self, msg) self.value = value self.name = name
class ActionListener: def __init__(self, function): self.function = function def execute(self): if self.function is not None: self.function()
class Actionlistener: def __init__(self, function): self.function = function def execute(self): if self.function is not None: self.function()
class Ansvar: def __init__(self, id, name, strength, beskrivelse): self.id = id self.name = name self.strength = strength self.description = beskrivelse
class Ansvar: def __init__(self, id, name, strength, beskrivelse): self.id = id self.name = name self.strength = strength self.description = beskrivelse
# automatically generated by the FlatBuffers compiler, do not modify # namespace: Register class RegisterStatus(object): Success = 0 FailUnknown = 1 FailUserNameConflicted = 2
class Registerstatus(object): success = 0 fail_unknown = 1 fail_user_name_conflicted = 2
word1 = input() word2 = txt = input()[::-1] if(word1 == word2): print("YES") else: print("NO")
word1 = input() word2 = txt = input()[::-1] if word1 == word2: print('YES') else: print('NO')
# MIT License # Copyright (C) Michael Tao-Yi Lee (taoyil AT UCI EDU) # A descriptor class class PositiveAttr(object): def __init__(self, name): self.name = name self.parent = None def __get__(self, instance, cls): print("get called", instance, cls) return instance.__dict__[self.name] def __set__(self, instance, value): print("set called", instance, value) if value < 0 or value == 0: raise ValueError("Value of {} should be positive.".format(self.name)) else: instance.__dict__[self.name] = value class Employee: age = PositiveAttr('age') def __init__(self): self.age = 10 self.age_descriptor.parent = 25 def __getattribute__(self, key): if key == 'age_descriptor': return self.__class__.__dict__[key.replace("_descriptor", "")] v = object.__getattribute__(self, key) if hasattr(v, '__get__'): return v.__get__(None, self) return v if __name__ == '__main__': tom = Employee() tom.age = 20 print(tom.age) print(tom.age_descriptor) print(tom.age_descriptor.parent) tom.age_descriptor.parent = 10 print(tom.age_descriptor.parent) print(tom.__dict__)
class Positiveattr(object): def __init__(self, name): self.name = name self.parent = None def __get__(self, instance, cls): print('get called', instance, cls) return instance.__dict__[self.name] def __set__(self, instance, value): print('set called', instance, value) if value < 0 or value == 0: raise value_error('Value of {} should be positive.'.format(self.name)) else: instance.__dict__[self.name] = value class Employee: age = positive_attr('age') def __init__(self): self.age = 10 self.age_descriptor.parent = 25 def __getattribute__(self, key): if key == 'age_descriptor': return self.__class__.__dict__[key.replace('_descriptor', '')] v = object.__getattribute__(self, key) if hasattr(v, '__get__'): return v.__get__(None, self) return v if __name__ == '__main__': tom = employee() tom.age = 20 print(tom.age) print(tom.age_descriptor) print(tom.age_descriptor.parent) tom.age_descriptor.parent = 10 print(tom.age_descriptor.parent) print(tom.__dict__)
class Solution: def licenseKeyFormatting(self, s: str, k: int) -> str: s = s.replace('-', '').upper()[::-1] return '-'.join(s[i:i + k] for i in range(0, len(s), k))[::-1]
class Solution: def license_key_formatting(self, s: str, k: int) -> str: s = s.replace('-', '').upper()[::-1] return '-'.join((s[i:i + k] for i in range(0, len(s), k)))[::-1]
class Solution: def rotate(self, nums: List[int], k: int) -> None: if not nums: return step = k % len(nums) self.swap(nums, 0, len(nums) - step - 1) self.swap(nums, len(nums)-step, len(nums) - 1) self.swap(nums, 0, len(nums) - 1) def swap(self, nums, left, right): while left < right: nums[left], nums[right] = nums[right], nums[left] left += 1 right -= 1 return
class Solution: def rotate(self, nums: List[int], k: int) -> None: if not nums: return step = k % len(nums) self.swap(nums, 0, len(nums) - step - 1) self.swap(nums, len(nums) - step, len(nums) - 1) self.swap(nums, 0, len(nums) - 1) def swap(self, nums, left, right): while left < right: (nums[left], nums[right]) = (nums[right], nums[left]) left += 1 right -= 1 return
#!/usr/bin/env python #------------------------------------------------------------------------------- # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: #------------------------------------------------------------------------------- # Clean Solution #------------------------------------------------------------------------------- def minDepth(self, root): if root == None: return 0 if root.left==None or root.right==None: return self.minDepth(root.left)+self.minDepth(root.right)+1 return min(self.minDepth(root.right),self.minDepth(root.left))+1 #------------------------------------------------------------------------------- # Less optimal/clean solution #------------------------------------------------------------------------------- def minDepth2(self, root): if root: return self.help(root, 1) return 0 def help(self, root, count): if root is None: # Probably a bad way to do this lol return 99999999 if root.left is None and root.right is None: return count return min(self.help(root.left, count+1), self.help(root.right, count+1)) #------------------------------------------------------------------------------- # Testing
class Solution: def min_depth(self, root): if root == None: return 0 if root.left == None or root.right == None: return self.minDepth(root.left) + self.minDepth(root.right) + 1 return min(self.minDepth(root.right), self.minDepth(root.left)) + 1 def min_depth2(self, root): if root: return self.help(root, 1) return 0 def help(self, root, count): if root is None: return 99999999 if root.left is None and root.right is None: return count return min(self.help(root.left, count + 1), self.help(root.right, count + 1))
# reads from the console two numbers a and b, calculates and prints the face of a rectangle with sides a and b a = int(input()) b = int(input()) print(a * b)
a = int(input()) b = int(input()) print(a * b)
a = [] a.append(2) for i in range(1,36): sum,dem,cnt = 0,0,9; for j in range(i): cnt = 9*(10**(j//2)) sum += cnt a.append(a[i-1]+sum) t = int(input()) for i in range(t): n = int(input()) print(a[n])
a = [] a.append(2) for i in range(1, 36): (sum, dem, cnt) = (0, 0, 9) for j in range(i): cnt = 9 * 10 ** (j // 2) sum += cnt a.append(a[i - 1] + sum) t = int(input()) for i in range(t): n = int(input()) print(a[n])
c_num = int(input()) a_num = 1 b_num = 1 # O(n**2) while a_num < c_num: while b_num < c_num: if (a_num**2 + b_num**2) == c_num**2: print(a_num, b_num) b_num += 1 b_num = 1 a_num += 1 # Bisa pakai yang atas atau yang bawah # O(n**2) # for a in range(1, c_num): # for b in range(1, c_num): # if (a**2 + b**2) == c_num**2: # print(a, b)
c_num = int(input()) a_num = 1 b_num = 1 while a_num < c_num: while b_num < c_num: if a_num ** 2 + b_num ** 2 == c_num ** 2: print(a_num, b_num) b_num += 1 b_num = 1 a_num += 1
num = int(input("Enter a number: \t")) pow = int(input("Enter Power: \t")) sum = 1 i = 1 while(i<=pow): sum=sum*num i+=1 print(num,"to the power",pow,"is",sum)
num = int(input('Enter a number: \t')) pow = int(input('Enter Power: \t')) sum = 1 i = 1 while i <= pow: sum = sum * num i += 1 print(num, 'to the power', pow, 'is', sum)
items = [] def enqueue(item): items.append(item) def dequeue(): if len(items) > 0: items.pop(0) enqueue(5) enqueue(11) enqueue('Jones') enqueue(45) print(items) dequeue() print(items) dequeue() print(items)
items = [] def enqueue(item): items.append(item) def dequeue(): if len(items) > 0: items.pop(0) enqueue(5) enqueue(11) enqueue('Jones') enqueue(45) print(items) dequeue() print(items) dequeue() print(items)
class Sampling_InfinteLoopWrapper: def __init__(self, sampling_algo): self.sampling_algo = sampling_algo def get(self): return self.sampling_algo.current() def move_next(self): if not self.sampling_algo.move_next(): self.sampling_algo.reset() assert self.sampling_algo.move_next()
class Sampling_Infinteloopwrapper: def __init__(self, sampling_algo): self.sampling_algo = sampling_algo def get(self): return self.sampling_algo.current() def move_next(self): if not self.sampling_algo.move_next(): self.sampling_algo.reset() assert self.sampling_algo.move_next()
##################################### # Installation module for autorecon ##################################### # XXX: Expects seclists to be in /usr/share/seclists # AUTHOR OF MODULE NAME AUTHOR="ypcrts" # DESCRIPTION OF THE MODULE DESCRIPTION="This module will install/update autorecon - a multi-threaded network reconnaissance tool" # INSTALL TYPE GIT, SVN, FILE DOWNLOAD # OPTIONS = GIT, SVN, FILE INSTALL_TYPE="GIT" # LOCATION OF THE FILE OR GIT/SVN REPOSITORY REPOSITORY_LOCATION="https://github.com/Tib3rius/AutoRecon.git" # WHERE DO YOU WANT TO INSTALL IT INSTALL_LOCATION="autorecon" # DEPENDS FOR DEBIAN INSTALLS DEBIAN="python3,python3-pip" # DEPENDS FOR FEDORA INSTALLS FEDORA="git" # COMMANDS TO RUN AFTER AFTER_COMMANDS="cd {INSTALL_LOCATION}, pip3 install -r requirements.txt" # AUTOMATIC LAUNCH LAUNCHER="autorecon" # needed for install #BYPASS_UPDATE="YES"
author = 'ypcrts' description = 'This module will install/update autorecon - a multi-threaded network reconnaissance tool' install_type = 'GIT' repository_location = 'https://github.com/Tib3rius/AutoRecon.git' install_location = 'autorecon' debian = 'python3,python3-pip' fedora = 'git' after_commands = 'cd {INSTALL_LOCATION}, pip3 install -r requirements.txt' launcher = 'autorecon'
# -*- coding: UTF-8 -*- lan = 15 for a in range(5): lan *= 10 print(lan)
lan = 15 for a in range(5): lan *= 10 print(lan)
def almost_equal(obj1, obj2, exclude_paths=[]): def almost_equal_helper(x, y, path): if isinstance(x, dict): if not isinstance(y, dict): print(f"At path {path}, obj1 was of type dict while obj2 was not") return False if not set(x.keys()) == set(y.keys()): print(f"At path {path}, obj1 has keys\n{x.keys()}\n while obj2 has keys\n{y.keys()}") return False for key in x.keys(): current_path = path + [key] if current_path not in exclude_paths: if not almost_equal_helper(x[key], y[key], current_path): return False elif isinstance(x, list) or isinstance(x, tuple): if not( (isinstance(y, list) or isinstance(y, tuple)) and len(x) == len(y)): print(f"At path {path}, obj1 is an array and obj2 is either not an array or has different length") return False for i in range(len(x)): if not almost_equal_helper(x[i], y[i], path): return False else: if not x == y: print(f"{x} != {y} at path {path}") return False return True return almost_equal_helper(obj1, obj2, [])
def almost_equal(obj1, obj2, exclude_paths=[]): def almost_equal_helper(x, y, path): if isinstance(x, dict): if not isinstance(y, dict): print(f'At path {path}, obj1 was of type dict while obj2 was not') return False if not set(x.keys()) == set(y.keys()): print(f'At path {path}, obj1 has keys\n{x.keys()}\n while obj2 has keys\n{y.keys()}') return False for key in x.keys(): current_path = path + [key] if current_path not in exclude_paths: if not almost_equal_helper(x[key], y[key], current_path): return False elif isinstance(x, list) or isinstance(x, tuple): if not ((isinstance(y, list) or isinstance(y, tuple)) and len(x) == len(y)): print(f'At path {path}, obj1 is an array and obj2 is either not an array or has different length') return False for i in range(len(x)): if not almost_equal_helper(x[i], y[i], path): return False elif not x == y: print(f'{x} != {y} at path {path}') return False return True return almost_equal_helper(obj1, obj2, [])