content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
#!/usr/bin/python3
#str = input("Please give me an integer: ")
#num = int(str)
num = 20
# I'm guessing we can optionally exception catch.
# Perhaps this alone makes people recommend Python over Java.
# Optional error handling was a feature of BASIC.
if num < 0:
#print(num = 0, "");
# Among other reasons, Python can't allow this due to positional arguments.
print("Negative..");
elif num == 0: print("Zero.")
elif num > 0: print("Positive..")
if False: pass
#else: if True: print("Hmm"); # There was an attempt.
elif True: print("Hmm");
words = ['my IME is not working', 'goodbye']
for w in words: print(w, len(w))
room = {}
room["bear"] = "inactive"
room["koala"] = "active"
room["kangaroo"] = "not sure how to explain"
print(room)
for user, status in room.copy().items():
if status == 'inactive':
del room[user];
# Rather than preserve your iterator by assembling/modifying a copy,
# this iterates over a copy and modifies the original in-place. Interesting.
room["bear"] = "inactive" # Bring back kicked user.
copy = {}
for user, status in room.items():
if status != 'inactive':
copy[user] = status
# Depending on your scenario there's a bunch of things you can do with a copy.
# This one's a standard filter.
print(range(6)) # There was an attempt. This is a generator function.
for off in range(5): print(off) # Range defaults at start 0.
for ind in range(1, 6): print(ind) # Also, range never visits end.
for x in range(0, 85, 10): print(x)
lines = [ 'append', 'edit', 'replace', 'insert', 'write' ]
for off in range(len(lines)): print(off, lines[off])
print(sum(range(6))) # One reason having range be an iterable is useful.
for o1 in range(10):
for o2 in range(10):
for o3 in range(10):
print("o3", end=' ');
break;
print("o2", end=' ');
break;
print("o1", end=' ');
break;
print();
for line in lines:
if line == 'concatenate':
print(line);
break;
else: # what!
print("Couldn't find.");
# Fairly convenient over throwing an exception or keeping a variable around.
class StubClass:
pass
def printer(seq):
"A docstring can be any string literal."
for item in seq: print(str(item))
printer(["string", 4, "number", 6, "even", 7])
#help(printer)
# They say that variable lookup traverses all the symbol tables, but
# variable assignment works only on the local symbol table by default.
# Global variables are marked assignable through 'global',
# normally local symbols of enclosing functions 'nonlocal'.
if None: pass
if True: None
# Python doesn't have "nil", it's "None".
# The pass statement seems a bit unnecessary if expressions can be standalone..
class StubClass2:
None; # Oui. This works.
print(StubClass2);
def aDecentlyLong(strings):
for string in strings:
if (len(string) > 4): return string;
# We don't have to explicitly return some null.
# Fallthrough, or return without argument, returns None.
print(aDecentlyLong(['no', 'a long string']));
print(aDecentlyLong(['no']))
print(aDecentlyLong([]))
def dangerous(item, prev=[]):
prev.append(item);
return prev;
print(dangerous("One"));
print(dangerous("Two"));
# Default argument being mutated between calls!
# Not a fresh variable declaration as expected.
def safe(item, prev=None):
if not prev: prev = []; # Manually default the unspecified.
prev.append(item);
return prev;
print(safe("One"));
print(safe("Two", prev=safe("One")));
def curious(number, *addi_pos, **addi_kw):
for o in range(len(addi_pos)):
print("..", o, addi_pos[o], "..");
for k, v in addi_kw.items():
print("..", k, v, "..");
return number + 1;
print(curious(4, 6, 5, seven=7, eight=8));
# And we know that (I recall noting somewhere..) we can
# force arguments to be positional or keyword.
print(list(range(4, 5)))
print(list(range(*[4, 5])))
curious(1, **{"start": 4, "end": 5}) # Can't test on range since it takes no kwargs.
perhaps = lambda x: print(x)
perhaps("?")
# Though, Python does have a fairly rich argument system.
# I'm guessing lambdas don't have that luxury?
filesizes = [ ("test.txt", 16), ("music.zip", 64234), ("demo.doc", 1024) ]
filesizes.sort(key = lambda listing: listing[1])
print(filesizes)
def andEggs(ham: str, eggs: str = 'tempeh') -> str:
print(andEggs.__annotations__);
return ham + " and " + eggs;
print(andEggs('onion'));
# Note that what follows the colon or arrow is an expression.
# Which will actually be evaluated! __annotations__ show that
# they were identified as the Python class 'str'. Kind of scary.
| num = 20
if num < 0:
print('Negative..')
elif num == 0:
print('Zero.')
elif num > 0:
print('Positive..')
if False:
pass
elif True:
print('Hmm')
words = ['my IME is not working', 'goodbye']
for w in words:
print(w, len(w))
room = {}
room['bear'] = 'inactive'
room['koala'] = 'active'
room['kangaroo'] = 'not sure how to explain'
print(room)
for (user, status) in room.copy().items():
if status == 'inactive':
del room[user]
room['bear'] = 'inactive'
copy = {}
for (user, status) in room.items():
if status != 'inactive':
copy[user] = status
print(range(6))
for off in range(5):
print(off)
for ind in range(1, 6):
print(ind)
for x in range(0, 85, 10):
print(x)
lines = ['append', 'edit', 'replace', 'insert', 'write']
for off in range(len(lines)):
print(off, lines[off])
print(sum(range(6)))
for o1 in range(10):
for o2 in range(10):
for o3 in range(10):
print('o3', end=' ')
break
print('o2', end=' ')
break
print('o1', end=' ')
break
print()
for line in lines:
if line == 'concatenate':
print(line)
break
else:
print("Couldn't find.")
class Stubclass:
pass
def printer(seq):
"""A docstring can be any string literal."""
for item in seq:
print(str(item))
printer(['string', 4, 'number', 6, 'even', 7])
if None:
pass
if True:
None
class Stubclass2:
None
print(StubClass2)
def a_decently_long(strings):
for string in strings:
if len(string) > 4:
return string
print(a_decently_long(['no', 'a long string']))
print(a_decently_long(['no']))
print(a_decently_long([]))
def dangerous(item, prev=[]):
prev.append(item)
return prev
print(dangerous('One'))
print(dangerous('Two'))
def safe(item, prev=None):
if not prev:
prev = []
prev.append(item)
return prev
print(safe('One'))
print(safe('Two', prev=safe('One')))
def curious(number, *addi_pos, **addi_kw):
for o in range(len(addi_pos)):
print('..', o, addi_pos[o], '..')
for (k, v) in addi_kw.items():
print('..', k, v, '..')
return number + 1
print(curious(4, 6, 5, seven=7, eight=8))
print(list(range(4, 5)))
print(list(range(*[4, 5])))
curious(1, **{'start': 4, 'end': 5})
perhaps = lambda x: print(x)
perhaps('?')
filesizes = [('test.txt', 16), ('music.zip', 64234), ('demo.doc', 1024)]
filesizes.sort(key=lambda listing: listing[1])
print(filesizes)
def and_eggs(ham: str, eggs: str='tempeh') -> str:
print(andEggs.__annotations__)
return ham + ' and ' + eggs
print(and_eggs('onion')) |
STORAGE_ACCOUNT_NAME = " aibootcamp2019sa "
STORAGE_ACCOUNT_KEY = ""
BATCH_ACCOUNT_NAME = "aibootcamp2019ba"
BATCH_ACCOUNT_KEY = ""
BATCH_ACCOUNT_URL = "https://aibootcamp2019ba.westeurope.batch.azure.com"
ACR_LOGINSERVER = "athensaibootcampdemo.azurecr.io"
ACR_USERNAME = "athensaibootcampdemo"
ACR_PASSWORD = "" | storage_account_name = ' aibootcamp2019sa '
storage_account_key = ''
batch_account_name = 'aibootcamp2019ba'
batch_account_key = ''
batch_account_url = 'https://aibootcamp2019ba.westeurope.batch.azure.com'
acr_loginserver = 'athensaibootcampdemo.azurecr.io'
acr_username = 'athensaibootcampdemo'
acr_password = '' |
buf = b""
buf += b"\x48\x31\xc9\x48\x81\xe9\xb1\xff\xff\xff\x48\x8d\x05"
buf += b"\xef\xff\xff\xff\x48\xbb\xf8\x3d\x59\x54\x46\x6d\x59"
buf += b"\x99\x48\x31\x58\x27\x48\x2d\xf8\xff\xff\xff\xe2\xf4"
buf += b"\x04\x75\xda\xb0\xb6\x85\x95\x99\xf8\x3d\x18\x05\x07"
buf += b"\x3d\x0b\xc8\xae\x75\x68\x86\x23\x25\xd2\xcb\x98\x75"
buf += b"\xd2\x06\x5e\x25\xd2\xcb\xd8\x75\xd2\x26\x16\x25\x56"
buf += b"\x2e\xb2\x77\x14\x65\x8f\x25\x68\x59\x54\x01\x38\x28"
buf += b"\x44\x41\x79\xd8\x39\xf4\x54\x15\x47\xac\xbb\x74\xaa"
buf += b"\x7c\x08\x1c\xcd\x3f\x79\x12\xba\x01\x11\x55\x96\x0b"
buf += b"\xd8\xe1\xe0\x36\x5b\x5b\xc3\x1f\x59\x99\xf8\xb6\xd9"
buf += b"\xdc\x46\x6d\x59\xd1\x7d\xfd\x2d\x33\x0e\x6c\x89\xc9"
buf += b"\x73\x75\x41\x10\xcd\x2d\x79\xd0\xf9\xed\xba\x02\x0e"
buf += b"\x92\x90\xd8\x73\x09\xd1\x1c\x47\xbb\x14\xa8\x31\x75"
buf += b"\x68\x94\xea\x2c\x98\x50\xf5\x7c\x58\x95\x7e\x8d\x2c"
buf += b"\x68\xb4\x3e\x15\x70\x4e\x28\x60\x48\x8d\xe5\x01\x10"
buf += b"\xcd\x2d\x7d\xd0\xf9\xed\x3f\x15\xcd\x61\x11\xdd\x73"
buf += b"\x7d\x45\x1d\x47\xbd\x18\x12\xfc\xb5\x11\x55\x96\x2c"
buf += b"\x01\xd8\xa0\x63\x00\x0e\x07\x35\x18\xc0\xb9\x67\x11"
buf += b"\xd7\xaa\x4d\x18\xcb\x07\xdd\x01\x15\x1f\x37\x11\x12"
buf += b"\xea\xd4\x12\xab\xb9\x92\x04\xd0\x46\x4a\x2a\x66\x19"
buf += b"\x5e\x6b\x99\xf8\x7c\x0f\x1d\xcf\x8b\x11\x18\x14\x9d"
buf += b"\x58\x54\x46\x24\xd0\x7c\xb0\x0c\x99\x04\x16\x24\xe5"
buf += b"\x9b\xf8\x1d\xa9\x54\x46\x6d\x59\xd8\xac\x74\xd0\xb0"
buf += b"\x0a\xe4\xa8\xd8\x42\x71\x2e\x72\x41\x92\x8c\xd5\x71"
buf += b"\xd7\x31\x55\x47\x6d\x59\xc0\xb9\x87\x70\xd4\x2d\x6d"
buf += b"\xa6\x4c\x92\x3f\x00\x04\x16\x20\x68\x50\xb5\x0c\x99"
buf += b"\x1c\xb9\xad\x11\x10\x3a\x7c\xe3\xbe\x49\xb2\xb9\x66"
buf += b"\x2d\x75\xd0\x93\x2c\x7d\x18\xc1\xb4\xb4\xbb\x1c\xcf"
buf += b"\x94\x18\x23\x3a\xe6\x6e\x33\xb9\xb8\x11\xa8\x2a\x75"
buf += b"\xd0\xad\x07\xd7\xee\x70\xc0\xc2\xa6\x81\x0b\x5c\x99"
buf += b"\xd1\xc9\xef\x11\xdd\xbf\x2c\xe3\xed\x14\x06\xb8\xab"
buf += b"\x93\x25\xd0\x60\xb0\xb4\x9e\x15\xfc\x18\x37\xd4\x99"
buf += b"\xc2\x8c\x1c\xc7\xa9\xe9\x9b\xf8\x3d\x11\xd7\xaa\x7d"
buf += b"\x11\x10\x1a\x70\x68\x9d\x2c\x69\x18\xc1\xb0\xb4\xa0"
buf += b"\x15\xfc\x6f\x80\x51\xa7\xc2\x8c\x1c\xc5\xa9\x79\xc7"
buf += b"\x71\xcb\xd8\xa2\x74\xd6\x41\x2f\xb4\xb0\xc7\x54\x47"
buf += b"\x6d\x59\xf3\xb8\x7c\x00\x3c\x46\x7d\x59\x99\xb9\x65"
buf += b"\x11\xdd\xb4\x25\x68\x50\xb9\x87\x01\xf0\x15\x88\xa6"
buf += b"\x4c\xb0\xb0\xc1\x54\x47\x6d\x59\xd0\x71\xe2\x0a\x02"
buf += b"\x16\x20\x68\x50\xb1\xb4\xa9\x1c\xcf\xb7\x11\x10\x01"
buf += b"\x7c\xe3\x56\x9f\xa5\x06\x66\x2d\x75\xda\x90\x66\x25"
buf += b"\x58\x5a\xb0\x14\x9f\x21\xa6\x24\xd0\x67\xa7\x64\x18"
buf += b"\x0d\x07\x3b\xb1\x89\xf8\x3d\x59\x79\x16\xf6\x59\xa1"
buf += b"\xb0\xe2\xd3\xf9\xc5\xba\x57\x09\x5d\xf3\xde\x0a\x0e"
buf += b"\x5c\x99\xd0\x71\xc5\xf3\xaa\x86\x18\xa2\xd1\xc9\xe6"
buf += b"\x18\x56\x5a\x6d\x11\x10\x3a\xbd\xbb\x5b\x44\x71\x4f"
buf += b"\xd8\x72\x29\x59\x15\xc0\x79\x41\xd8\x70\x29\x59\xaa"
buf += b"\x86\x18\xba\xd1\xc9\xe6\xa7\x94\x07\x6f\x45\x99\xb9"
buf += b"\xb7\x4d\x54\x07\xeb\x4d\x81\xb9\xb5\x4d\x54\x07\x6f"
buf += b"\x4d\x81\xb9\xb7\x4d\x44\x07\x5d\x48\xd0\x07\xfc\x11"
buf += b"\xab\x8f\x18\x82\xc6\xb9\xc2\xbe\x0c\x2c\x6d\x00\xd0"
buf += b"\x3f\xff\xa9\xe1\xe4\x3b\xa6\x4c"
| buf = b''
buf += b'H1\xc9H\x81\xe9\xb1\xff\xff\xffH\x8d\x05'
buf += b'\xef\xff\xff\xffH\xbb\xf8=YTFmY'
buf += b"\x99H1X'H-\xf8\xff\xff\xff\xe2\xf4"
buf += b'\x04u\xda\xb0\xb6\x85\x95\x99\xf8=\x18\x05\x07'
buf += b'=\x0b\xc8\xaeuh\x86#%\xd2\xcb\x98u'
buf += b'\xd2\x06^%\xd2\xcb\xd8u\xd2&\x16%V'
buf += b'.\xb2w\x14e\x8f%hYT\x018('
buf += b'DAy\xd89\xf4T\x15G\xac\xbbt\xaa'
buf += b'|\x08\x1c\xcd?y\x12\xba\x01\x11U\x96\x0b'
buf += b'\xd8\xe1\xe06[[\xc3\x1fY\x99\xf8\xb6\xd9'
buf += b'\xdcFmY\xd1}\xfd-3\x0el\x89\xc9'
buf += b'suA\x10\xcd-y\xd0\xf9\xed\xba\x02\x0e'
buf += b'\x92\x90\xd8s\t\xd1\x1cG\xbb\x14\xa81u'
buf += b'h\x94\xea,\x98P\xf5|X\x95~\x8d,'
buf += b'h\xb4>\x15pN(`H\x8d\xe5\x01\x10'
buf += b'\xcd-}\xd0\xf9\xed?\x15\xcda\x11\xdds'
buf += b'}E\x1dG\xbd\x18\x12\xfc\xb5\x11U\x96,'
buf += b'\x01\xd8\xa0c\x00\x0e\x075\x18\xc0\xb9g\x11'
buf += b'\xd7\xaaM\x18\xcb\x07\xdd\x01\x15\x1f7\x11\x12'
buf += b'\xea\xd4\x12\xab\xb9\x92\x04\xd0FJ*f\x19'
buf += b'^k\x99\xf8|\x0f\x1d\xcf\x8b\x11\x18\x14\x9d'
buf += b'XTF$\xd0|\xb0\x0c\x99\x04\x16$\xe5'
buf += b'\x9b\xf8\x1d\xa9TFmY\xd8\xact\xd0\xb0'
buf += b'\n\xe4\xa8\xd8Bq.rA\x92\x8c\xd5q'
buf += b'\xd71UGmY\xc0\xb9\x87p\xd4-m'
buf += b'\xa6L\x92?\x00\x04\x16 hP\xb5\x0c\x99'
buf += b'\x1c\xb9\xad\x11\x10:|\xe3\xbeI\xb2\xb9f'
buf += b'-u\xd0\x93,}\x18\xc1\xb4\xb4\xbb\x1c\xcf'
buf += b'\x94\x18#:\xe6n3\xb9\xb8\x11\xa8*u'
buf += b'\xd0\xad\x07\xd7\xeep\xc0\xc2\xa6\x81\x0b\\\x99'
buf += b'\xd1\xc9\xef\x11\xdd\xbf,\xe3\xed\x14\x06\xb8\xab'
buf += b'\x93%\xd0`\xb0\xb4\x9e\x15\xfc\x187\xd4\x99'
buf += b'\xc2\x8c\x1c\xc7\xa9\xe9\x9b\xf8=\x11\xd7\xaa}'
buf += b'\x11\x10\x1aph\x9d,i\x18\xc1\xb0\xb4\xa0'
buf += b'\x15\xfco\x80Q\xa7\xc2\x8c\x1c\xc5\xa9y\xc7'
buf += b'q\xcb\xd8\xa2t\xd6A/\xb4\xb0\xc7TG'
buf += b'mY\xf3\xb8|\x00<F}Y\x99\xb9e'
buf += b'\x11\xdd\xb4%hP\xb9\x87\x01\xf0\x15\x88\xa6'
buf += b'L\xb0\xb0\xc1TGmY\xd0q\xe2\n\x02'
buf += b'\x16 hP\xb1\xb4\xa9\x1c\xcf\xb7\x11\x10\x01'
buf += b'|\xe3V\x9f\xa5\x06f-u\xda\x90f%'
buf += b'XZ\xb0\x14\x9f!\xa6$\xd0g\xa7d\x18'
buf += b'\r\x07;\xb1\x89\xf8=Yy\x16\xf6Y\xa1'
buf += b'\xb0\xe2\xd3\xf9\xc5\xbaW\t]\xf3\xde\n\x0e'
buf += b'\\\x99\xd0q\xc5\xf3\xaa\x86\x18\xa2\xd1\xc9\xe6'
buf += b'\x18VZm\x11\x10:\xbd\xbb[DqO'
buf += b'\xd8r)Y\x15\xc0yA\xd8p)Y\xaa'
buf += b'\x86\x18\xba\xd1\xc9\xe6\xa7\x94\x07oE\x99\xb9'
buf += b'\xb7MT\x07\xebM\x81\xb9\xb5MT\x07o'
buf += b'M\x81\xb9\xb7MD\x07]H\xd0\x07\xfc\x11'
buf += b'\xab\x8f\x18\x82\xc6\xb9\xc2\xbe\x0c,m\x00\xd0'
buf += b'?\xff\xa9\xe1\xe4;\xa6L' |
class Utils(object):
# From https://gist.github.com/miohtama/5389146
@staticmethod
def get_decoded_email_body(msg, html_needed):
""" Decode email body.
Detect character set if the header is not set.
We try to get text/plain, but if there is not one then fallback to text/html.
:param html_needed: html if True, or plain if False, or None perhaps
:param message_body: Raw 7-bit message body input e.g. from imaplib. Double encoded in quoted-printable and latin-1
:return: Message body as unicode string
"""
multipart = msg.is_multipart()
content_type_is_html = msg.get_content_type() == "text/html"
text = ""
if multipart:
html = None
for part in msg.get_payload():
if part.get_content_charset() is None:
# We cannot know the character set, so return decoded "something"
text = part.get_payload(decode=True)
continue
charset = part.get_content_charset()
if part.get_content_type() == 'text/plain' and html_needed == False:
text = part.get_payload(decode=True)
return text.strip()
if part.get_content_type() == 'text/html' and html_needed == True:
html = part.get_payload(decode=True)
return html.strip()
elif not multipart and content_type_is_html:
payload = msg.get_payload(decode=True)
return payload.strip()
else:
if html_needed == False:
chrset = msg.get_content_charset()
if chrset is not None:
return msg.get_payload(decode=True).strip()
else:
return msg.get_payload(decode=True)
else:
return None
| class Utils(object):
@staticmethod
def get_decoded_email_body(msg, html_needed):
""" Decode email body.
Detect character set if the header is not set.
We try to get text/plain, but if there is not one then fallback to text/html.
:param html_needed: html if True, or plain if False, or None perhaps
:param message_body: Raw 7-bit message body input e.g. from imaplib. Double encoded in quoted-printable and latin-1
:return: Message body as unicode string
"""
multipart = msg.is_multipart()
content_type_is_html = msg.get_content_type() == 'text/html'
text = ''
if multipart:
html = None
for part in msg.get_payload():
if part.get_content_charset() is None:
text = part.get_payload(decode=True)
continue
charset = part.get_content_charset()
if part.get_content_type() == 'text/plain' and html_needed == False:
text = part.get_payload(decode=True)
return text.strip()
if part.get_content_type() == 'text/html' and html_needed == True:
html = part.get_payload(decode=True)
return html.strip()
elif not multipart and content_type_is_html:
payload = msg.get_payload(decode=True)
return payload.strip()
elif html_needed == False:
chrset = msg.get_content_charset()
if chrset is not None:
return msg.get_payload(decode=True).strip()
else:
return msg.get_payload(decode=True)
else:
return None |
# Definition for an interval.
# class Interval:
# def __init__(self, s=0, e=0):
# self.start = s
# self.end = e
class Solution(object):
def insert(self, intervals, newInterval):
"""
:type intervals: List[Interval]
:type newInterval: Interval
:rtype: List[Interval]
"""
n = len(intervals)
i = 0
while(i<n and newInterval.start > intervals[i].end):
i += 1
while(i<len(intervals) and newInterval.end>=intervals[i].start):
newInterval.start = min(intervals[i].start, newInterval.start)
newInterval.end = max(intervals[i].end, newInterval.end)
intervals.pop(i)
intervals.insert(i,newInterval)
return intervals
| class Solution(object):
def insert(self, intervals, newInterval):
"""
:type intervals: List[Interval]
:type newInterval: Interval
:rtype: List[Interval]
"""
n = len(intervals)
i = 0
while i < n and newInterval.start > intervals[i].end:
i += 1
while i < len(intervals) and newInterval.end >= intervals[i].start:
newInterval.start = min(intervals[i].start, newInterval.start)
newInterval.end = max(intervals[i].end, newInterval.end)
intervals.pop(i)
intervals.insert(i, newInterval)
return intervals |
def separate_speaker(speaker_npz_obj):
all_speaker = sorted(list(set(map(str, speaker_npz_obj.values()))))
all_keys = sorted(list(speaker_npz_obj.keys()))
speaker_individual_keys = [
[
key
for key in all_keys if speaker_npz_obj[key] == speaker
]
for speaker in all_speaker
]
return all_speaker, speaker_individual_keys
def get_separated_values(npz_obj, speaker_individual_keys):
speaker_individual_datas = [
[
npz_obj[key]
for key in keylist
]
for keylist in speaker_individual_keys
]
return speaker_individual_datas
| def separate_speaker(speaker_npz_obj):
all_speaker = sorted(list(set(map(str, speaker_npz_obj.values()))))
all_keys = sorted(list(speaker_npz_obj.keys()))
speaker_individual_keys = [[key for key in all_keys if speaker_npz_obj[key] == speaker] for speaker in all_speaker]
return (all_speaker, speaker_individual_keys)
def get_separated_values(npz_obj, speaker_individual_keys):
speaker_individual_datas = [[npz_obj[key] for key in keylist] for keylist in speaker_individual_keys]
return speaker_individual_datas |
# Problem: Reshape the Matrix
# Difficulty: Easy
# Category: Array
# Leetcode 566: https://leetcode.com/problems/reshape-the-matrix/#/description
# Description:
"""
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix
into a new one with different size but keep its original data.
You're given a matrix represented by a two-dimensional array, and two positive integers
r and c representing the row number and column number of the wanted reshaped matrix, respectively.
The reshaped matrix need to be filled with all the elements of the original matrix
in the same row-traversing order as they were.
If the 'reshape' operation with given parameters is possible and legal, output the new reshaped matrix;
Otherwise, output the original matrix.
Example 1:
Input:
nums =
[[1,2],
[3,4]]
r = 1, c = 4
Output:
[[1,2,3,4]]
Explanation:
The row-traversing of nums is [1,2,3,4]. The new reshaped matrix is a 1 * 4 matrix,
fill it row by row by using the previous list.
Example 2:
Input:
nums =
[[1,2],
[3,4]]
r = 2, c = 4
Output:
[[1,2],
[3,4]]
Explanation:
There is no way to reshape a 2 * 2 matrix to a 2 * 4 matrix. So output the original matrix.
"""
# @Solution 1
"""
Solution 1 contains two steps:
1. convert the original matrix to a one row matrix or a list;
in this step, two for loops are used, thus the time complexity is O(n*2)
2. convert the list to the new matrix, it takes O(n) in this step
Thus, the time complexity of this solution is 0(n*2), which needs to be improved
"""
def matrix_reshape(matrix, row, column):
# 0. initialize
if len(matrix) == 0:
return matrix
new_matrix = []
traverse_matrix = []
minimal = row * column
# 1. first convert the input matrix to a list
for rowNum in range(len(matrix)):
for colNum in range(len(matrix[rowNum])):
traverse_matrix.append(matrix[rowNum][colNum])
# 2. convert the after traversing matrix into the objective matrix
if (len(traverse_matrix) % minimal is 0) and (len(traverse_matrix) >= minimal):
for i in range(row):
new_matrix.append(traverse_matrix[i * column:(i + 1) * column])
return new_matrix
else:
return matrix
print(matrix_reshape([[1, 2], [3, 4]], 1, 4))
print(matrix_reshape([[1, 2], [3, 4]], 2, 4))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 5, 3))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 4, 3))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 15, 1))
print(matrix_reshape([], 1, 1))
| """
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix
into a new one with different size but keep its original data.
You're given a matrix represented by a two-dimensional array, and two positive integers
r and c representing the row number and column number of the wanted reshaped matrix, respectively.
The reshaped matrix need to be filled with all the elements of the original matrix
in the same row-traversing order as they were.
If the 'reshape' operation with given parameters is possible and legal, output the new reshaped matrix;
Otherwise, output the original matrix.
Example 1:
Input:
nums =
[[1,2],
[3,4]]
r = 1, c = 4
Output:
[[1,2,3,4]]
Explanation:
The row-traversing of nums is [1,2,3,4]. The new reshaped matrix is a 1 * 4 matrix,
fill it row by row by using the previous list.
Example 2:
Input:
nums =
[[1,2],
[3,4]]
r = 2, c = 4
Output:
[[1,2],
[3,4]]
Explanation:
There is no way to reshape a 2 * 2 matrix to a 2 * 4 matrix. So output the original matrix.
"""
'\nSolution 1 contains two steps:\n1. convert the original matrix to a one row matrix or a list;\n in this step, two for loops are used, thus the time complexity is O(n*2)\n2. convert the list to the new matrix, it takes O(n) in this step\nThus, the time complexity of this solution is 0(n*2), which needs to be improved\n'
def matrix_reshape(matrix, row, column):
if len(matrix) == 0:
return matrix
new_matrix = []
traverse_matrix = []
minimal = row * column
for row_num in range(len(matrix)):
for col_num in range(len(matrix[rowNum])):
traverse_matrix.append(matrix[rowNum][colNum])
if len(traverse_matrix) % minimal is 0 and len(traverse_matrix) >= minimal:
for i in range(row):
new_matrix.append(traverse_matrix[i * column:(i + 1) * column])
return new_matrix
else:
return matrix
print(matrix_reshape([[1, 2], [3, 4]], 1, 4))
print(matrix_reshape([[1, 2], [3, 4]], 2, 4))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 5, 3))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 4, 3))
print(matrix_reshape([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]], 15, 1))
print(matrix_reshape([], 1, 1)) |
def main():
# input
H, W = map(int, input().split())
Ass = [[*map(int, input().split())] for _ in range(H)]
# compute
ansss = []
for i in range(H):
ansss.append([sum(Ass[i])] * W)
for j in range(W):
tmp_sum = 0
for i in range(H):
tmp_sum += Ass[i][j]
for i in range(H):
ansss[i][j] += tmp_sum
for i in range(H):
for j in range(W):
ansss[i][j] -= Ass[i][j]
# output
for i in range(H):
print(*ansss[i])
if __name__ == '__main__':
main()
| def main():
(h, w) = map(int, input().split())
ass = [[*map(int, input().split())] for _ in range(H)]
ansss = []
for i in range(H):
ansss.append([sum(Ass[i])] * W)
for j in range(W):
tmp_sum = 0
for i in range(H):
tmp_sum += Ass[i][j]
for i in range(H):
ansss[i][j] += tmp_sum
for i in range(H):
for j in range(W):
ansss[i][j] -= Ass[i][j]
for i in range(H):
print(*ansss[i])
if __name__ == '__main__':
main() |
class MonsterClassificationAgent:
def __init__(self):
#If you want to do any initial processing, add it here.
self.default_monster_attributes = {
'size': ['tiny', 'small', 'medium', 'large', 'huge'],
'color': ['black', 'white', 'brown', 'gray', 'red', 'yellow', 'blue', 'green', 'orange', 'purple'],
'covering': ['fur', 'feathers', 'scales', 'skin'],
'foot-type': ['paw', 'hoof', 'talon', 'foot', 'none'],
'leg-count': [0, 1, 2, 3, 4, 5, 6, 7, 8],
'arm-count': [0, 1, 2, 3, 4, 5, 6, 7, 8],
'eye-count': [0, 1, 2, 3, 4, 5, 6, 7, 8],
'horn-count': [0, 1, 2],
'lays-eggs': [True, False],
'has-wings': [True, False],
'has-gills': [True, False],
'has-tail': [True, False]
}
self.monster_has = {}
self.monster_doesnt_have = {}
self.count_dict = {}
def find_monster_ranks(self, monsters):
count_dict = {}
max_size = max(set([monsters['size']]), key = monsters['size'].count)
max_color= max(set([monsters['color']]), key = monsters['color'].count)
max_covering = max(set([monsters['covering']]), key = monsters['covering'].count)
max_foot_type = max(set([monsters['foot-type']]), key = monsters['foot-type'].count)
max_arm_count = max(set([monsters['arm-count']]), key = lambda x: x)
max_eye_count = max(set([monsters['eye-count']]), key = lambda x: x)
max_horn_count = max(set([monsters['horn-count']]), key = lambda x: x)
max_wings_count = max(set([monsters['has-wings']]), key = lambda x: x)
max_gills_count = max(set([monsters['has-gills']]), key = lambda x: x)
max_tails_count = max(set([monsters['has-tail']]), key = lambda x: x)
max_eggs_count = max(set([monsters['lays-eggs']]), key = lambda x: x)
max_leg_count = max(set([monsters['leg-count']]), key = lambda x: x)
self.count_dict['size'] = max_size
self.count_dict['color'] = max_color
self.count_dict['covering'] = max_covering
self.count_dict['foot-type'] = max_foot_type
self.count_dict['leg-count'] = max_leg_count
self.count_dict['arm-count'] = max_arm_count
self.count_dict['eye-count'] = max_eye_count
self.count_dict['horn-count'] = max_horn_count
self.count_dict['lays-eggs'] = max_eggs_count
self.count_dict['has-wings'] = max_wings_count
self.count_dict['has-gills'] = max_gills_count
self.count_dict['has-tail'] = max_tails_count
return self.count_dict
def solve(self, samples, new_monster):
for monster in samples:
# monster_attributes = monster[0].items()
for i in ['horn-count', 'leg-count', 'arm-count', 'eye-count']:
monster[0][i] = monster[0][i]*1/10
print(monster[0]['eye-count'])
monster_attributes = {x:y for x,y in monster[0].items()}
if monster[1] == True:
self.monster_has['size'] = monster_attributes['size']
self.monster_has['color'] = monster_attributes['color']
self.monster_has['covering'] = monster_attributes['covering']
self.monster_has['foot-type'] = monster_attributes['foot-type']
self.monster_has['leg-count'] = monster_attributes['leg-count']
self.monster_has['arm-count'] = monster_attributes['arm-count']
self.monster_has['eye-count'] = monster_attributes['eye-count']
self.monster_has['horn-count'] = monster_attributes['horn-count']
self.monster_has['lays-eggs'] = monster_attributes['lays-eggs']
self.monster_has['has-wings'] = monster_attributes['has-wings']
self.monster_has['has-gills'] = monster_attributes['has-gills']
self.monster_has['has-tail'] = monster_attributes['has-tail']
self.monster_doesnt_have['size'] = [x for x in list(self.default_monster_attributes['size']) if x !=self.monster_has['size']]
self.monster_doesnt_have['color'] = [x for x in list(self.default_monster_attributes['color']) if x !=self.monster_has['color']]
self.monster_doesnt_have['covering'] = [x for x in list(self.default_monster_attributes['covering']) if x !=self.monster_has['covering']]
self.monster_doesnt_have['foot-type'] = [x for x in list(self.default_monster_attributes['foot-type']) if x !=self.monster_has['foot-type']]
self.monster_doesnt_have['leg-count'] = [x for x in list(self.default_monster_attributes['leg-count']) if x !=self.monster_has['leg-count']]
self.monster_doesnt_have['arm-count'] = [x for x in list(self.default_monster_attributes['arm-count']) if x !=self.monster_has['arm-count']]
self.monster_doesnt_have['eye-count'] = [x for x in list(self.default_monster_attributes['eye-count']) if x !=self.monster_has['eye-count']]
self.monster_doesnt_have['horn-count'] = [x for x in list(self.default_monster_attributes['horn-count']) if x !=self.monster_has['horn-count']]
self.monster_doesnt_have['lays-eggs'] = [x for x in list(self.default_monster_attributes['lays-eggs']) if x !=self.monster_has['lays-eggs']]
self.monster_doesnt_have['has-wings'] = [x for x in list(self.default_monster_attributes['has-wings']) if x !=self.monster_has['has-wings']]
self.monster_doesnt_have['has-gills'] = [x for x in list(self.default_monster_attributes['has-gills']) if x !=self.monster_has['has-gills']]
self.monster_doesnt_have['has-tail'] = [x for x in list(self.default_monster_attributes['has-tail']) if x !=self.monster_has['has-tail']]
# print(self.monster_has)
ranked_dict = ((self.find_monster_ranks(self.monster_has)))
value = { k : ranked_dict.items() for k in set(ranked_dict.items()) - set(new_monster.items()) }
# print(value)
diff = (len(list(value)))
# print(len(list(value)))
# print(diff)
if diff == 0:
return True
elif diff == 1:
return True
elif diff == 2:
return True
elif diff == 3:
return True
elif diff == 4:
return True
elif diff == 5:
return True
elif diff == 6:
return False
elif diff == 7:
return False
elif diff == 8:
return False
elif diff == 9:
return False
elif diff == 10:
return False
elif diff == 11:
return False
else:
print("default")
return False
# print(diff)
# score= (diff/len(samples))
# print(score)
# if score > 0.70:
# return True
# else:
# return False
# known_positive_1 = {'size': 'huge', 'color': 'black', 'covering': 'fur', 'foot-type': 'paw', 'leg-count': 2, 'arm-count': 4, 'eye-count': 2, 'horn-count': 0, 'lays-eggs': True, 'has-wings': True, 'has_gills': True, 'has-tail': True}
# new_monster_1 = {'size': 'large', 'color': 'black', 'covering': 'fur', 'foot-type': 'paw', 'leg-count': 1, 'arm-count': 3, 'eye-count': 2, 'horn-count': 0, 'lays-eggs': True, 'has-wings': True, 'has_gills': True, 'has-tail': True}
# known_positive_2 = {'size': 'large', 'color': 'white', 'covering': 'fur', 'foot-type': 'paw', 'leg-count': 2, 'arm-count': 4, 'eye-count': 2, 'horn-count': 0, 'lays-eggs': True, 'has-wings': True, 'has_gills': True, 'has-tail': False}
# m = MonsterClassificationAgent([known_positive_1,known_positive_2,]) | class Monsterclassificationagent:
def __init__(self):
self.default_monster_attributes = {'size': ['tiny', 'small', 'medium', 'large', 'huge'], 'color': ['black', 'white', 'brown', 'gray', 'red', 'yellow', 'blue', 'green', 'orange', 'purple'], 'covering': ['fur', 'feathers', 'scales', 'skin'], 'foot-type': ['paw', 'hoof', 'talon', 'foot', 'none'], 'leg-count': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'arm-count': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'eye-count': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'horn-count': [0, 1, 2], 'lays-eggs': [True, False], 'has-wings': [True, False], 'has-gills': [True, False], 'has-tail': [True, False]}
self.monster_has = {}
self.monster_doesnt_have = {}
self.count_dict = {}
def find_monster_ranks(self, monsters):
count_dict = {}
max_size = max(set([monsters['size']]), key=monsters['size'].count)
max_color = max(set([monsters['color']]), key=monsters['color'].count)
max_covering = max(set([monsters['covering']]), key=monsters['covering'].count)
max_foot_type = max(set([monsters['foot-type']]), key=monsters['foot-type'].count)
max_arm_count = max(set([monsters['arm-count']]), key=lambda x: x)
max_eye_count = max(set([monsters['eye-count']]), key=lambda x: x)
max_horn_count = max(set([monsters['horn-count']]), key=lambda x: x)
max_wings_count = max(set([monsters['has-wings']]), key=lambda x: x)
max_gills_count = max(set([monsters['has-gills']]), key=lambda x: x)
max_tails_count = max(set([monsters['has-tail']]), key=lambda x: x)
max_eggs_count = max(set([monsters['lays-eggs']]), key=lambda x: x)
max_leg_count = max(set([monsters['leg-count']]), key=lambda x: x)
self.count_dict['size'] = max_size
self.count_dict['color'] = max_color
self.count_dict['covering'] = max_covering
self.count_dict['foot-type'] = max_foot_type
self.count_dict['leg-count'] = max_leg_count
self.count_dict['arm-count'] = max_arm_count
self.count_dict['eye-count'] = max_eye_count
self.count_dict['horn-count'] = max_horn_count
self.count_dict['lays-eggs'] = max_eggs_count
self.count_dict['has-wings'] = max_wings_count
self.count_dict['has-gills'] = max_gills_count
self.count_dict['has-tail'] = max_tails_count
return self.count_dict
def solve(self, samples, new_monster):
for monster in samples:
for i in ['horn-count', 'leg-count', 'arm-count', 'eye-count']:
monster[0][i] = monster[0][i] * 1 / 10
print(monster[0]['eye-count'])
monster_attributes = {x: y for (x, y) in monster[0].items()}
if monster[1] == True:
self.monster_has['size'] = monster_attributes['size']
self.monster_has['color'] = monster_attributes['color']
self.monster_has['covering'] = monster_attributes['covering']
self.monster_has['foot-type'] = monster_attributes['foot-type']
self.monster_has['leg-count'] = monster_attributes['leg-count']
self.monster_has['arm-count'] = monster_attributes['arm-count']
self.monster_has['eye-count'] = monster_attributes['eye-count']
self.monster_has['horn-count'] = monster_attributes['horn-count']
self.monster_has['lays-eggs'] = monster_attributes['lays-eggs']
self.monster_has['has-wings'] = monster_attributes['has-wings']
self.monster_has['has-gills'] = monster_attributes['has-gills']
self.monster_has['has-tail'] = monster_attributes['has-tail']
self.monster_doesnt_have['size'] = [x for x in list(self.default_monster_attributes['size']) if x != self.monster_has['size']]
self.monster_doesnt_have['color'] = [x for x in list(self.default_monster_attributes['color']) if x != self.monster_has['color']]
self.monster_doesnt_have['covering'] = [x for x in list(self.default_monster_attributes['covering']) if x != self.monster_has['covering']]
self.monster_doesnt_have['foot-type'] = [x for x in list(self.default_monster_attributes['foot-type']) if x != self.monster_has['foot-type']]
self.monster_doesnt_have['leg-count'] = [x for x in list(self.default_monster_attributes['leg-count']) if x != self.monster_has['leg-count']]
self.monster_doesnt_have['arm-count'] = [x for x in list(self.default_monster_attributes['arm-count']) if x != self.monster_has['arm-count']]
self.monster_doesnt_have['eye-count'] = [x for x in list(self.default_monster_attributes['eye-count']) if x != self.monster_has['eye-count']]
self.monster_doesnt_have['horn-count'] = [x for x in list(self.default_monster_attributes['horn-count']) if x != self.monster_has['horn-count']]
self.monster_doesnt_have['lays-eggs'] = [x for x in list(self.default_monster_attributes['lays-eggs']) if x != self.monster_has['lays-eggs']]
self.monster_doesnt_have['has-wings'] = [x for x in list(self.default_monster_attributes['has-wings']) if x != self.monster_has['has-wings']]
self.monster_doesnt_have['has-gills'] = [x for x in list(self.default_monster_attributes['has-gills']) if x != self.monster_has['has-gills']]
self.monster_doesnt_have['has-tail'] = [x for x in list(self.default_monster_attributes['has-tail']) if x != self.monster_has['has-tail']]
ranked_dict = self.find_monster_ranks(self.monster_has)
value = {k: ranked_dict.items() for k in set(ranked_dict.items()) - set(new_monster.items())}
diff = len(list(value))
if diff == 0:
return True
elif diff == 1:
return True
elif diff == 2:
return True
elif diff == 3:
return True
elif diff == 4:
return True
elif diff == 5:
return True
elif diff == 6:
return False
elif diff == 7:
return False
elif diff == 8:
return False
elif diff == 9:
return False
elif diff == 10:
return False
elif diff == 11:
return False
else:
print('default')
return False |
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 18 17:40:33 2020
This time, write a procedure, called biggest, which returns the key
corresponding to the entry with the largest number of values associated with it.
If there is more than one such entry, return any one of the matching keys.
@author: MarcoSilva
"""
animals = { 'a': ['aardvark'], 'b': ['baboon'], 'c': ['coati']}
animals['d'] = ['donkey']
animals['d'].append('dog')
animals['d'].append('dingo')
def biggest(aDict):
'''
aDict: A dictionary, where all the values are lists.
returns: The key with the largest number of values associated with it
'''
longest = max((aDict.values()))
long = len(longest)
values = []
for k in aDict:
if len(aDict[k]) == long:
values.append(k)
if len(values) == 0:
return None
elif len(values) == 1:
return values[0]
else:
return values
| """
Created on Thu Jun 18 17:40:33 2020
This time, write a procedure, called biggest, which returns the key
corresponding to the entry with the largest number of values associated with it.
If there is more than one such entry, return any one of the matching keys.
@author: MarcoSilva
"""
animals = {'a': ['aardvark'], 'b': ['baboon'], 'c': ['coati']}
animals['d'] = ['donkey']
animals['d'].append('dog')
animals['d'].append('dingo')
def biggest(aDict):
"""
aDict: A dictionary, where all the values are lists.
returns: The key with the largest number of values associated with it
"""
longest = max(aDict.values())
long = len(longest)
values = []
for k in aDict:
if len(aDict[k]) == long:
values.append(k)
if len(values) == 0:
return None
elif len(values) == 1:
return values[0]
else:
return values |
with open('inputs/input11.txt') as fin:
raw = fin.read()
def parse(raw):
x = tuple(x for x in raw.split('\n'))
return x
a = parse(raw)
def part_1(data):
test = data[:]
test2 = []
while test != test2:
test = data[:]
for i, x in enumerate(data):
for a, b in enumerate(x):
adjacent = [x[a + 1], x[a - 1], data[i + 1][a], data[i + 1][a + 1], data[i + 1][a - 1], data[i -1][a], data[i -1][a + 1], data[i -1][a - 1]]
if b == 'L' and '#' not in adjacent:
data = data[i][:a] + ('#',) + data[i][a:]
elif b == '#' and adjacent.count('#') >= 4:
data = x[:a] + ('L',) + x[a:]
test2 = data[:]
return data.count('#')
print(part_1(a))
| with open('inputs/input11.txt') as fin:
raw = fin.read()
def parse(raw):
x = tuple((x for x in raw.split('\n')))
return x
a = parse(raw)
def part_1(data):
test = data[:]
test2 = []
while test != test2:
test = data[:]
for (i, x) in enumerate(data):
for (a, b) in enumerate(x):
adjacent = [x[a + 1], x[a - 1], data[i + 1][a], data[i + 1][a + 1], data[i + 1][a - 1], data[i - 1][a], data[i - 1][a + 1], data[i - 1][a - 1]]
if b == 'L' and '#' not in adjacent:
data = data[i][:a] + ('#',) + data[i][a:]
elif b == '#' and adjacent.count('#') >= 4:
data = x[:a] + ('L',) + x[a:]
test2 = data[:]
return data.count('#')
print(part_1(a)) |
#############################################
### web face setting
#############################################
pretrain_model_path = 'E:/git/project/facenet/model/20180402-114759'
train_mode = 'TRAIN'
classify_mode = 'CLASSIFY'
profile_data_root_path = 'E:/temp/flask-upload-test/'
image_upload_path = 'E:/temp/flask-upload-test/'
detect_dir = 'detect'
post_process_image_size = 160
gpu_memory_fraction = 0.25
minsize = 20 # minimum size of face
threshold = [0.6, 0.7, 0.7] # three steps's threshold
factor = 0.709 # scale factor
margin = 44
detect_multiple_faces = True
use_split_dataset = False
seed = 666
nrof_train_images_per_class = 10
min_nrof_images_per_class = 20
batch_size = 90
predict_model_running = False
image_raw_dir = 'raw'
classify_file_extention = '.model'
predict_image_extention = '.png'
training_file_extention = '.training'
general_classifier_file = 'E:/temp/flask-upload-test/Full.model'
###############################################
### face search setting
###############################################
## KAFKA settings
bootstrap_hosts = ["localhost:9092"]
extract_topic = "extract_request"
compare_topic = "compare_topic"
aggregate_topic = "aggregate_topic"
response_topic = "response_topic"
group_id = "event_processor"
model = 'E:/git/project/python/facenet/model/20180402-114759'
# image size
compare_is = 160
#
compare_margin = 44
#gpu_memory_fraction
compare_gmf = 1.0 | pretrain_model_path = 'E:/git/project/facenet/model/20180402-114759'
train_mode = 'TRAIN'
classify_mode = 'CLASSIFY'
profile_data_root_path = 'E:/temp/flask-upload-test/'
image_upload_path = 'E:/temp/flask-upload-test/'
detect_dir = 'detect'
post_process_image_size = 160
gpu_memory_fraction = 0.25
minsize = 20
threshold = [0.6, 0.7, 0.7]
factor = 0.709
margin = 44
detect_multiple_faces = True
use_split_dataset = False
seed = 666
nrof_train_images_per_class = 10
min_nrof_images_per_class = 20
batch_size = 90
predict_model_running = False
image_raw_dir = 'raw'
classify_file_extention = '.model'
predict_image_extention = '.png'
training_file_extention = '.training'
general_classifier_file = 'E:/temp/flask-upload-test/Full.model'
bootstrap_hosts = ['localhost:9092']
extract_topic = 'extract_request'
compare_topic = 'compare_topic'
aggregate_topic = 'aggregate_topic'
response_topic = 'response_topic'
group_id = 'event_processor'
model = 'E:/git/project/python/facenet/model/20180402-114759'
compare_is = 160
compare_margin = 44
compare_gmf = 1.0 |
str1 = "abcdefghijklmnopqrstuvwxyz"
# 1. Create a slice that produces "qpo"
print(str1[16:13:-1])
# 2. Slice the string to produce "edcba"
print(str1[4::-1])
# 3. Slice the string to produce the last 8 characters, in reverse order
print(str1[:-9:-1])
print(str1[-4:])
print(str1[-1:])
print(str1[:1])
print(str1[0])
| str1 = 'abcdefghijklmnopqrstuvwxyz'
print(str1[16:13:-1])
print(str1[4::-1])
print(str1[:-9:-1])
print(str1[-4:])
print(str1[-1:])
print(str1[:1])
print(str1[0]) |
class AddInCommandBinding(object):
"""
This object represents a binding between a Revit command and one or more handlers which
override the behavior of the command in Revit.
"""
RevitCommandId = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""The Revit command Id.
Get: RevitCommandId(self: AddInCommandBinding) -> RevitCommandId
"""
BeforeExecuted = None
CanExecute = None
Executed = None
| class Addincommandbinding(object):
"""
This object represents a binding between a Revit command and one or more handlers which
override the behavior of the command in Revit.
"""
revit_command_id = property(lambda self: object(), lambda self, v: None, lambda self: None)
'The Revit command Id.\n\n\n\nGet: RevitCommandId(self: AddInCommandBinding) -> RevitCommandId\n\n\n\n'
before_executed = None
can_execute = None
executed = None |
class Settings():
# APP SETTINGS
# ///////////////////////////////////////////////////////////////
ENABLE_CUSTOM_TITLE_BAR = True
MENU_WIDTH = 240
LEFT_BOX_WIDTH = 240
RIGHT_BOX_WIDTH = 240
TIME_ANIMATION = 500
# BTNS LEFT AND RIGHT BOX COLORS
BTN_LEFT_BOX_COLOR = "background-color: rgb(44, 49, 58);"
BTN_RIGHT_BOX_COLOR = "background-color: rgb(255, 211, 0);"
# MENU SELECTED STYLESHEET
MENU_SELECTED_STYLESHEET = """
border-left: 22px solid qlineargradient(spread:pad, x1:0.034, y1:0, x2:0.216, y2:0, stop:0.499 rgba(228, 38, 24, 255), stop:0.5 rgba(255, 211, 0, 0));
background-color: rgb(249, 179, 0);
"""
# background-color: rgb(40, 44, 52); | class Settings:
enable_custom_title_bar = True
menu_width = 240
left_box_width = 240
right_box_width = 240
time_animation = 500
btn_left_box_color = 'background-color: rgb(44, 49, 58);'
btn_right_box_color = 'background-color: rgb(255, 211, 0);'
menu_selected_stylesheet = '\n border-left: 22px solid qlineargradient(spread:pad, x1:0.034, y1:0, x2:0.216, y2:0, stop:0.499 rgba(228, 38, 24, 255), stop:0.5 rgba(255, 211, 0, 0));\n background-color: rgb(249, 179, 0);\n ' |
expected_output = {
'instance': {
'test': {
'vrf': {
'default': {
'interfaces': {
'Ethernet1/1.115': {
'adjacencies': {
'R2_xr': {
'neighbor_snpa': {
'fa16.3eff.4abd': {
'level': {
"1": {
'hold_time': '00:00:09',
'state': 'UP',
},
"2": {
'hold_time': '00:00:07',
'state': 'UP',
},
},
},
},
},
},
},
'Ethernet1/2.115': {
'adjacencies': {
'R1_ios': {
'neighbor_snpa': {
'fa16.3eff.0c11': {
'level': {
"1": {
'hold_time': '00:00:07',
'state': 'UP',
},
"2": {
'hold_time': '00:00:10',
'state': 'UP',
},
},
},
},
},
},
},
},
},
'VRF1': {
'interfaces': {
'Ethernet1/1.415': {
'adjacencies': {
'2222.22ff.4444': {
'neighbor_snpa': {
'fa16.3eff.4abd': {
'level': {
"1": {
'hold_time': '00:00:32',
'state': 'INIT',
},
"2": {
'hold_time': '00:00:24',
'state': 'INIT',
},
},
},
},
},
},
},
},
},
},
},
},
} | expected_output = {'instance': {'test': {'vrf': {'default': {'interfaces': {'Ethernet1/1.115': {'adjacencies': {'R2_xr': {'neighbor_snpa': {'fa16.3eff.4abd': {'level': {'1': {'hold_time': '00:00:09', 'state': 'UP'}, '2': {'hold_time': '00:00:07', 'state': 'UP'}}}}}}}, 'Ethernet1/2.115': {'adjacencies': {'R1_ios': {'neighbor_snpa': {'fa16.3eff.0c11': {'level': {'1': {'hold_time': '00:00:07', 'state': 'UP'}, '2': {'hold_time': '00:00:10', 'state': 'UP'}}}}}}}}}, 'VRF1': {'interfaces': {'Ethernet1/1.415': {'adjacencies': {'2222.22ff.4444': {'neighbor_snpa': {'fa16.3eff.4abd': {'level': {'1': {'hold_time': '00:00:32', 'state': 'INIT'}, '2': {'hold_time': '00:00:24', 'state': 'INIT'}}}}}}}}}}}}} |
skip_list = [
{'scheme': 'kyber1024', 'implementation': 'm3', 'estmemory': 12288},
{'scheme': 'kyber512', 'implementation': 'm3', 'estmemory': 7168},
{'scheme': 'kyber768', 'implementation': 'm3', 'estmemory': 9216},
{'scheme': 'saber', 'implementation': 'm3', 'estmemory': 22528},
{'scheme': 'sikep434', 'implementation': 'opt', 'estmemory': 10240},
{'scheme': 'sikep503', 'implementation': 'opt', 'estmemory': 10240},
{'scheme': 'sikep610', 'implementation': 'opt', 'estmemory': 14336},
{'scheme': 'sikep751', 'implementation': 'opt', 'estmemory': 16384},
{'scheme': 'bikel1', 'implementation': 'opt', 'estmemory': 90112},
{'scheme': 'bikel3', 'implementation': 'opt', 'estmemory': 175104},
{'scheme': 'firesaber', 'implementation': 'clean', 'estmemory': 28672},
{'scheme': 'frodokem1344aes', 'implementation': 'clean', 'estmemory': 3853312},
{'scheme': 'frodokem1344aes', 'implementation': 'opt', 'estmemory': 305152},
{'scheme': 'frodokem1344shake', 'implementation': 'clean', 'estmemory': 3852288},
{'scheme': 'frodokem1344shake', 'implementation': 'opt', 'estmemory': 252928},
{'scheme': 'frodokem640aes', 'implementation': 'clean', 'estmemory': 932864},
{'scheme': 'frodokem640aes', 'implementation': 'opt', 'estmemory': 144384},
{'scheme': 'frodokem640shake', 'implementation': 'clean', 'estmemory': 932864},
{'scheme': 'frodokem640shake', 'implementation': 'opt', 'estmemory': 119808},
{'scheme': 'frodokem976aes', 'implementation': 'clean', 'estmemory': 2080768},
{'scheme': 'frodokem976aes', 'implementation': 'opt', 'estmemory': 222208},
{'scheme': 'frodokem976shake', 'implementation': 'clean', 'estmemory': 2079744},
{'scheme': 'frodokem976shake', 'implementation': 'opt', 'estmemory': 185344},
{'scheme': 'kyber1024-90s', 'implementation': 'clean', 'estmemory': 28672},
{'scheme': 'kyber1024', 'implementation': 'clean', 'estmemory': 28672},
{'scheme': 'kyber512-90s', 'implementation': 'clean', 'estmemory': 15360},
{'scheme': 'kyber512', 'implementation': 'clean', 'estmemory': 14336},
{'scheme': 'kyber768', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'lightsaber', 'implementation': 'clean', 'estmemory': 15360},
{'scheme': 'kyber768-90s', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'mceliece348864', 'implementation': 'clean', 'estmemory': 833536},
{'scheme': 'mceliece348864f', 'implementation': 'clean', 'estmemory': 833536},
{'scheme': 'mceliece460896', 'implementation': 'clean', 'estmemory': 4733952},
{'scheme': 'mceliece460896f', 'implementation': 'clean', 'estmemory': 4733952},
{'scheme': 'mceliece6688128', 'implementation': 'clean', 'estmemory': 5255168},
{'scheme': 'mceliece6688128f', 'implementation': 'clean', 'estmemory': 5255168},
{'scheme': 'mceliece6960119', 'implementation': 'clean', 'estmemory': 5257216},
{'scheme': 'mceliece6960119f', 'implementation': 'clean', 'estmemory': 5257216},
{'scheme': 'mceliece8192128', 'implementation': 'clean', 'estmemory': 5568512},
{'scheme': 'mceliece8192128f', 'implementation': 'clean', 'estmemory': 5568512},
{'scheme': 'ntruhps2048509', 'implementation': 'clean', 'estmemory': 29696},
{'scheme': 'ntruhps2048677', 'implementation': 'clean', 'estmemory': 38912},
{'scheme': 'ntruhps4096821', 'implementation': 'clean', 'estmemory': 47104},
{'scheme': 'ntruhrss701', 'implementation': 'clean', 'estmemory': 38912},
{'scheme': 'saber', 'implementation': 'clean', 'estmemory': 20480},
{'scheme': 'hqc-rmrs-128', 'implementation': 'clean', 'estmemory': 81920},
{'scheme': 'hqc-rmrs-192', 'implementation': 'clean', 'estmemory': 161792},
{'scheme': 'hqc-rmrs-256', 'implementation': 'clean', 'estmemory': 257024},
{'scheme': 'ntrulpr653', 'implementation': 'clean', 'estmemory': 18432},
{'scheme': 'ntrulpr761', 'implementation': 'clean', 'estmemory': 19456},
{'scheme': 'ntrulpr857', 'implementation': 'clean', 'estmemory': 23552},
{'scheme': 'sntrup653', 'implementation': 'clean', 'estmemory': 15360},
{'scheme': 'sntrup761', 'implementation': 'clean', 'estmemory': 18432},
{'scheme': 'sntrup857', 'implementation': 'clean', 'estmemory': 20480},
{'scheme': 'dilithium2', 'implementation': 'clean', 'estmemory': 60416},
{'scheme': 'dilithium3', 'implementation': 'clean', 'estmemory': 91136},
{'scheme': 'falcon-1024', 'implementation': 'clean', 'estmemory': 90112},
{'scheme': 'falcon-512', 'implementation': 'clean', 'estmemory': 47104},
{'scheme': 'sphincs-haraka-128f-robust', 'implementation': 'clean', 'estmemory': 23552},
{'scheme': 'sphincs-haraka-128f-simple', 'implementation': 'clean', 'estmemory': 23552},
{'scheme': 'sphincs-haraka-128s-robust', 'implementation': 'clean', 'estmemory': 13312},
{'scheme': 'sphincs-haraka-128s-simple', 'implementation': 'clean', 'estmemory': 13312},
{'scheme': 'sphincs-haraka-192f-robust', 'implementation': 'clean', 'estmemory': 43008},
{'scheme': 'sphincs-haraka-192f-simple', 'implementation': 'clean', 'estmemory': 43008},
{'scheme': 'sphincs-haraka-192s-robust', 'implementation': 'clean', 'estmemory': 23552},
{'scheme': 'sphincs-haraka-192s-simple', 'implementation': 'clean', 'estmemory': 23552},
{'scheme': 'sphincs-haraka-256f-robust', 'implementation': 'clean', 'estmemory': 59392},
{'scheme': 'sphincs-haraka-256f-simple', 'implementation': 'clean', 'estmemory': 59392},
{'scheme': 'sphincs-haraka-256s-robust', 'implementation': 'clean', 'estmemory': 38912},
{'scheme': 'sphincs-haraka-256s-simple', 'implementation': 'clean', 'estmemory': 38912},
{'scheme': 'sphincs-sha256-128f-robust', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'sphincs-sha256-128f-simple', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'sphincs-sha256-128s-robust', 'implementation': 'clean', 'estmemory': 12288},
{'scheme': 'sphincs-sha256-128s-simple', 'implementation': 'clean', 'estmemory': 12288},
{'scheme': 'sphincs-sha256-192f-robust', 'implementation': 'clean', 'estmemory': 41984},
{'scheme': 'sphincs-sha256-192f-simple', 'implementation': 'clean', 'estmemory': 41984},
{'scheme': 'sphincs-sha256-192s-robust', 'implementation': 'clean', 'estmemory': 22528},
{'scheme': 'sphincs-sha256-192s-simple', 'implementation': 'clean', 'estmemory': 22528},
{'scheme': 'sphincs-sha256-256f-robust', 'implementation': 'clean', 'estmemory': 57344},
{'scheme': 'sphincs-sha256-256f-simple', 'implementation': 'clean', 'estmemory': 57344},
{'scheme': 'sphincs-sha256-256s-robust', 'implementation': 'clean', 'estmemory': 37888},
{'scheme': 'sphincs-sha256-256s-simple', 'implementation': 'clean', 'estmemory': 37888},
{'scheme': 'sphincs-shake256-128f-robust', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'sphincs-shake256-128f-simple', 'implementation': 'clean', 'estmemory': 21504},
{'scheme': 'sphincs-shake256-128s-robust', 'implementation': 'clean', 'estmemory': 12288},
{'scheme': 'sphincs-shake256-128s-simple', 'implementation': 'clean', 'estmemory': 12288},
{'scheme': 'sphincs-shake256-192f-robust', 'implementation': 'clean', 'estmemory': 41984},
{'scheme': 'sphincs-shake256-192f-simple', 'implementation': 'clean', 'estmemory': 41984},
{'scheme': 'sphincs-shake256-192s-robust', 'implementation': 'clean', 'estmemory': 22528},
{'scheme': 'sphincs-shake256-192s-simple', 'implementation': 'clean', 'estmemory': 22528},
{'scheme': 'sphincs-shake256-256f-robust', 'implementation': 'clean', 'estmemory': 57344},
{'scheme': 'sphincs-shake256-256f-simple', 'implementation': 'clean', 'estmemory': 57344},
{'scheme': 'sphincs-shake256-256s-robust', 'implementation': 'clean', 'estmemory': 37888},
{'scheme': 'sphincs-shake256-256s-simple', 'implementation': 'clean', 'estmemory': 37888},
{'scheme': 'dilithium2aes', 'implementation': 'clean', 'estmemory': 61440},
{'scheme': 'dilithium3aes', 'implementation': 'clean', 'estmemory': 92160},
{'scheme': 'dilithium5', 'implementation': 'clean', 'estmemory': 136192},
{'scheme': 'dilithium5aes', 'implementation': 'clean', 'estmemory': 138240},
{'scheme': 'rainbowI-circumzenithal', 'implementation': 'clean', 'estmemory': 490496},
{'scheme': 'rainbowI-classic', 'implementation': 'clean', 'estmemory': 445440},
{'scheme': 'rainbowI-compressed', 'implementation': 'clean', 'estmemory': 387072},
{'scheme': 'rainbowIII-circumzenithal', 'implementation': 'clean', 'estmemory': 5087232},
{'scheme': 'rainbowIII-classic', 'implementation': 'clean', 'estmemory': 5704704},
{'scheme': 'rainbowIII-compressed', 'implementation': 'clean', 'estmemory': 4460544},
{'scheme': 'rainbowV-circumzenithal', 'implementation': 'clean', 'estmemory': 6140928},
{'scheme': 'rainbowV-classic', 'implementation': 'clean', 'estmemory': 7535616},
{'scheme': 'rainbowV-compressed', 'implementation': 'clean', 'estmemory': 4732928},
{'scheme': 'falcon-1024-tree', 'implementation': 'opt-ct', 'estmemory': 186368},
{'scheme': 'falcon-1024-tree', 'implementation': 'opt-leaktime', 'estmemory': 186368},
{'scheme': 'falcon-1024', 'implementation': 'opt-ct', 'estmemory': 90112},
{'scheme': 'falcon-1024', 'implementation': 'opt-leaktime', 'estmemory': 90112},
{'scheme': 'falcon-512-tree', 'implementation': 'opt-ct', 'estmemory': 91136},
{'scheme': 'falcon-512-tree', 'implementation': 'opt-leaktime', 'estmemory': 91136},
{'scheme': 'falcon-512', 'implementation': 'opt-ct', 'estmemory': 47104},
{'scheme': 'falcon-512', 'implementation': 'opt-leaktime', 'estmemory': 47104},
{'scheme': 'dilithium2', 'implementation': 'm3', 'estmemory': 46080},
{'scheme': 'dilithium3', 'implementation': 'm3', 'estmemory': 62464},
{'scheme': 'dilithium4', 'implementation': 'm3', 'estmemory': 79872},
]
| skip_list = [{'scheme': 'kyber1024', 'implementation': 'm3', 'estmemory': 12288}, {'scheme': 'kyber512', 'implementation': 'm3', 'estmemory': 7168}, {'scheme': 'kyber768', 'implementation': 'm3', 'estmemory': 9216}, {'scheme': 'saber', 'implementation': 'm3', 'estmemory': 22528}, {'scheme': 'sikep434', 'implementation': 'opt', 'estmemory': 10240}, {'scheme': 'sikep503', 'implementation': 'opt', 'estmemory': 10240}, {'scheme': 'sikep610', 'implementation': 'opt', 'estmemory': 14336}, {'scheme': 'sikep751', 'implementation': 'opt', 'estmemory': 16384}, {'scheme': 'bikel1', 'implementation': 'opt', 'estmemory': 90112}, {'scheme': 'bikel3', 'implementation': 'opt', 'estmemory': 175104}, {'scheme': 'firesaber', 'implementation': 'clean', 'estmemory': 28672}, {'scheme': 'frodokem1344aes', 'implementation': 'clean', 'estmemory': 3853312}, {'scheme': 'frodokem1344aes', 'implementation': 'opt', 'estmemory': 305152}, {'scheme': 'frodokem1344shake', 'implementation': 'clean', 'estmemory': 3852288}, {'scheme': 'frodokem1344shake', 'implementation': 'opt', 'estmemory': 252928}, {'scheme': 'frodokem640aes', 'implementation': 'clean', 'estmemory': 932864}, {'scheme': 'frodokem640aes', 'implementation': 'opt', 'estmemory': 144384}, {'scheme': 'frodokem640shake', 'implementation': 'clean', 'estmemory': 932864}, {'scheme': 'frodokem640shake', 'implementation': 'opt', 'estmemory': 119808}, {'scheme': 'frodokem976aes', 'implementation': 'clean', 'estmemory': 2080768}, {'scheme': 'frodokem976aes', 'implementation': 'opt', 'estmemory': 222208}, {'scheme': 'frodokem976shake', 'implementation': 'clean', 'estmemory': 2079744}, {'scheme': 'frodokem976shake', 'implementation': 'opt', 'estmemory': 185344}, {'scheme': 'kyber1024-90s', 'implementation': 'clean', 'estmemory': 28672}, {'scheme': 'kyber1024', 'implementation': 'clean', 'estmemory': 28672}, {'scheme': 'kyber512-90s', 'implementation': 'clean', 'estmemory': 15360}, {'scheme': 'kyber512', 'implementation': 'clean', 'estmemory': 14336}, {'scheme': 'kyber768', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'lightsaber', 'implementation': 'clean', 'estmemory': 15360}, {'scheme': 'kyber768-90s', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'mceliece348864', 'implementation': 'clean', 'estmemory': 833536}, {'scheme': 'mceliece348864f', 'implementation': 'clean', 'estmemory': 833536}, {'scheme': 'mceliece460896', 'implementation': 'clean', 'estmemory': 4733952}, {'scheme': 'mceliece460896f', 'implementation': 'clean', 'estmemory': 4733952}, {'scheme': 'mceliece6688128', 'implementation': 'clean', 'estmemory': 5255168}, {'scheme': 'mceliece6688128f', 'implementation': 'clean', 'estmemory': 5255168}, {'scheme': 'mceliece6960119', 'implementation': 'clean', 'estmemory': 5257216}, {'scheme': 'mceliece6960119f', 'implementation': 'clean', 'estmemory': 5257216}, {'scheme': 'mceliece8192128', 'implementation': 'clean', 'estmemory': 5568512}, {'scheme': 'mceliece8192128f', 'implementation': 'clean', 'estmemory': 5568512}, {'scheme': 'ntruhps2048509', 'implementation': 'clean', 'estmemory': 29696}, {'scheme': 'ntruhps2048677', 'implementation': 'clean', 'estmemory': 38912}, {'scheme': 'ntruhps4096821', 'implementation': 'clean', 'estmemory': 47104}, {'scheme': 'ntruhrss701', 'implementation': 'clean', 'estmemory': 38912}, {'scheme': 'saber', 'implementation': 'clean', 'estmemory': 20480}, {'scheme': 'hqc-rmrs-128', 'implementation': 'clean', 'estmemory': 81920}, {'scheme': 'hqc-rmrs-192', 'implementation': 'clean', 'estmemory': 161792}, {'scheme': 'hqc-rmrs-256', 'implementation': 'clean', 'estmemory': 257024}, {'scheme': 'ntrulpr653', 'implementation': 'clean', 'estmemory': 18432}, {'scheme': 'ntrulpr761', 'implementation': 'clean', 'estmemory': 19456}, {'scheme': 'ntrulpr857', 'implementation': 'clean', 'estmemory': 23552}, {'scheme': 'sntrup653', 'implementation': 'clean', 'estmemory': 15360}, {'scheme': 'sntrup761', 'implementation': 'clean', 'estmemory': 18432}, {'scheme': 'sntrup857', 'implementation': 'clean', 'estmemory': 20480}, {'scheme': 'dilithium2', 'implementation': 'clean', 'estmemory': 60416}, {'scheme': 'dilithium3', 'implementation': 'clean', 'estmemory': 91136}, {'scheme': 'falcon-1024', 'implementation': 'clean', 'estmemory': 90112}, {'scheme': 'falcon-512', 'implementation': 'clean', 'estmemory': 47104}, {'scheme': 'sphincs-haraka-128f-robust', 'implementation': 'clean', 'estmemory': 23552}, {'scheme': 'sphincs-haraka-128f-simple', 'implementation': 'clean', 'estmemory': 23552}, {'scheme': 'sphincs-haraka-128s-robust', 'implementation': 'clean', 'estmemory': 13312}, {'scheme': 'sphincs-haraka-128s-simple', 'implementation': 'clean', 'estmemory': 13312}, {'scheme': 'sphincs-haraka-192f-robust', 'implementation': 'clean', 'estmemory': 43008}, {'scheme': 'sphincs-haraka-192f-simple', 'implementation': 'clean', 'estmemory': 43008}, {'scheme': 'sphincs-haraka-192s-robust', 'implementation': 'clean', 'estmemory': 23552}, {'scheme': 'sphincs-haraka-192s-simple', 'implementation': 'clean', 'estmemory': 23552}, {'scheme': 'sphincs-haraka-256f-robust', 'implementation': 'clean', 'estmemory': 59392}, {'scheme': 'sphincs-haraka-256f-simple', 'implementation': 'clean', 'estmemory': 59392}, {'scheme': 'sphincs-haraka-256s-robust', 'implementation': 'clean', 'estmemory': 38912}, {'scheme': 'sphincs-haraka-256s-simple', 'implementation': 'clean', 'estmemory': 38912}, {'scheme': 'sphincs-sha256-128f-robust', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'sphincs-sha256-128f-simple', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'sphincs-sha256-128s-robust', 'implementation': 'clean', 'estmemory': 12288}, {'scheme': 'sphincs-sha256-128s-simple', 'implementation': 'clean', 'estmemory': 12288}, {'scheme': 'sphincs-sha256-192f-robust', 'implementation': 'clean', 'estmemory': 41984}, {'scheme': 'sphincs-sha256-192f-simple', 'implementation': 'clean', 'estmemory': 41984}, {'scheme': 'sphincs-sha256-192s-robust', 'implementation': 'clean', 'estmemory': 22528}, {'scheme': 'sphincs-sha256-192s-simple', 'implementation': 'clean', 'estmemory': 22528}, {'scheme': 'sphincs-sha256-256f-robust', 'implementation': 'clean', 'estmemory': 57344}, {'scheme': 'sphincs-sha256-256f-simple', 'implementation': 'clean', 'estmemory': 57344}, {'scheme': 'sphincs-sha256-256s-robust', 'implementation': 'clean', 'estmemory': 37888}, {'scheme': 'sphincs-sha256-256s-simple', 'implementation': 'clean', 'estmemory': 37888}, {'scheme': 'sphincs-shake256-128f-robust', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'sphincs-shake256-128f-simple', 'implementation': 'clean', 'estmemory': 21504}, {'scheme': 'sphincs-shake256-128s-robust', 'implementation': 'clean', 'estmemory': 12288}, {'scheme': 'sphincs-shake256-128s-simple', 'implementation': 'clean', 'estmemory': 12288}, {'scheme': 'sphincs-shake256-192f-robust', 'implementation': 'clean', 'estmemory': 41984}, {'scheme': 'sphincs-shake256-192f-simple', 'implementation': 'clean', 'estmemory': 41984}, {'scheme': 'sphincs-shake256-192s-robust', 'implementation': 'clean', 'estmemory': 22528}, {'scheme': 'sphincs-shake256-192s-simple', 'implementation': 'clean', 'estmemory': 22528}, {'scheme': 'sphincs-shake256-256f-robust', 'implementation': 'clean', 'estmemory': 57344}, {'scheme': 'sphincs-shake256-256f-simple', 'implementation': 'clean', 'estmemory': 57344}, {'scheme': 'sphincs-shake256-256s-robust', 'implementation': 'clean', 'estmemory': 37888}, {'scheme': 'sphincs-shake256-256s-simple', 'implementation': 'clean', 'estmemory': 37888}, {'scheme': 'dilithium2aes', 'implementation': 'clean', 'estmemory': 61440}, {'scheme': 'dilithium3aes', 'implementation': 'clean', 'estmemory': 92160}, {'scheme': 'dilithium5', 'implementation': 'clean', 'estmemory': 136192}, {'scheme': 'dilithium5aes', 'implementation': 'clean', 'estmemory': 138240}, {'scheme': 'rainbowI-circumzenithal', 'implementation': 'clean', 'estmemory': 490496}, {'scheme': 'rainbowI-classic', 'implementation': 'clean', 'estmemory': 445440}, {'scheme': 'rainbowI-compressed', 'implementation': 'clean', 'estmemory': 387072}, {'scheme': 'rainbowIII-circumzenithal', 'implementation': 'clean', 'estmemory': 5087232}, {'scheme': 'rainbowIII-classic', 'implementation': 'clean', 'estmemory': 5704704}, {'scheme': 'rainbowIII-compressed', 'implementation': 'clean', 'estmemory': 4460544}, {'scheme': 'rainbowV-circumzenithal', 'implementation': 'clean', 'estmemory': 6140928}, {'scheme': 'rainbowV-classic', 'implementation': 'clean', 'estmemory': 7535616}, {'scheme': 'rainbowV-compressed', 'implementation': 'clean', 'estmemory': 4732928}, {'scheme': 'falcon-1024-tree', 'implementation': 'opt-ct', 'estmemory': 186368}, {'scheme': 'falcon-1024-tree', 'implementation': 'opt-leaktime', 'estmemory': 186368}, {'scheme': 'falcon-1024', 'implementation': 'opt-ct', 'estmemory': 90112}, {'scheme': 'falcon-1024', 'implementation': 'opt-leaktime', 'estmemory': 90112}, {'scheme': 'falcon-512-tree', 'implementation': 'opt-ct', 'estmemory': 91136}, {'scheme': 'falcon-512-tree', 'implementation': 'opt-leaktime', 'estmemory': 91136}, {'scheme': 'falcon-512', 'implementation': 'opt-ct', 'estmemory': 47104}, {'scheme': 'falcon-512', 'implementation': 'opt-leaktime', 'estmemory': 47104}, {'scheme': 'dilithium2', 'implementation': 'm3', 'estmemory': 46080}, {'scheme': 'dilithium3', 'implementation': 'm3', 'estmemory': 62464}, {'scheme': 'dilithium4', 'implementation': 'm3', 'estmemory': 79872}] |
class RougeDatasetResults(object):
""" Class for storing the results of the ROUGE evaluation for multiple texts.
"""
def __init__(self):
self.runs = 0
self.successes = 0
self.timeouts = 0
self.errors = 0
self.output = None
def add_success(self):
self.runs += 1
self.successes += 1
def add_error(self):
self.runs += 1
self.errors += 1
def add_timeout(self):
self.runs += 1
self.timeouts += 1 | class Rougedatasetresults(object):
""" Class for storing the results of the ROUGE evaluation for multiple texts.
"""
def __init__(self):
self.runs = 0
self.successes = 0
self.timeouts = 0
self.errors = 0
self.output = None
def add_success(self):
self.runs += 1
self.successes += 1
def add_error(self):
self.runs += 1
self.errors += 1
def add_timeout(self):
self.runs += 1
self.timeouts += 1 |
def add(a, b):
c = a + b
return c
c = add(1, 2)
print(c)
def subtraction(a, b):
return a - b
print(subtraction(b=5, a=10))
def division(a, b=1):
return a / b
print(division(5))
print(division(10, 5))
def print_a(a, *b):
print(a, b)
print_a(1, 2, 3, 4, 5, 6)
def print_b(a, **b):
print_a(a, b)
print_b(1, q='q', w='w', e='e')
print_a(1)
print_b(1) | def add(a, b):
c = a + b
return c
c = add(1, 2)
print(c)
def subtraction(a, b):
return a - b
print(subtraction(b=5, a=10))
def division(a, b=1):
return a / b
print(division(5))
print(division(10, 5))
def print_a(a, *b):
print(a, b)
print_a(1, 2, 3, 4, 5, 6)
def print_b(a, **b):
print_a(a, b)
print_b(1, q='q', w='w', e='e')
print_a(1)
print_b(1) |
def problem_14():
"Which starting number, under one million, produces the longest [Collatz sequence] chain?"
longest_length = 0
longest_start = 0
# For each number between 1 and one million...
for i in range(1, 1000000):
# Take a copy of each number
n = i
# Set the length of the chain to 1
length = 1
# While n is not 1...
while n != 1:
# If the number is even...
if n % 2 == 0:
# Floor divide the number by 2
n /= 2
# Increase the length of the chain by 1
length += 1
# Otherwise, if the number is odd...
else:
n = ((3 * n) + 1)
length += 1
if(length > longest_length):
longest_length = length
longest_start = i
return longest_start
if __name__ == "__main__":
answer = problem_14()
print(answer)
| def problem_14():
"""Which starting number, under one million, produces the longest [Collatz sequence] chain?"""
longest_length = 0
longest_start = 0
for i in range(1, 1000000):
n = i
length = 1
while n != 1:
if n % 2 == 0:
n /= 2
length += 1
else:
n = 3 * n + 1
length += 1
if length > longest_length:
longest_length = length
longest_start = i
return longest_start
if __name__ == '__main__':
answer = problem_14()
print(answer) |
class SuperElasticHardeningModifications:
"""The SuperElasticHardeningModifications object specifies the variation of the
transformation stress levels of a material model.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].superElasticity.SuperElasticHardening
import odbMaterial
session.odbs[name].materials[name].superElasticity.SuperElasticHardening
The table data for this object are:
- Start of Transformation (Loading).
- End of Transformation (Loading).
- Start of Transformation (Unloading).
- End of Transformation (Unloading).
- Plastic Strain.
The corresponding analysis keywords are:
- SUPERELASTIC HARDENING MODIFICATIONS
"""
def __init__(self, table: tuple):
"""This method creates a SuperElasticHardeningModifications object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].superElasticity.SuperElasticHardeningModifications
session.odbs[name].materials[name].superElasticity.SuperElasticHardeningModifications
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below or user-defined
data if the dependence of the transformation stress levels on Plastic strain is
specified in a user subroutine.
Returns
-------
A SuperElasticHardeningModifications object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the SuperElasticHardeningModifications object.
Raises
------
RangeError
"""
pass
| class Superelastichardeningmodifications:
"""The SuperElasticHardeningModifications object specifies the variation of the
transformation stress levels of a material model.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].superElasticity.SuperElasticHardening
import odbMaterial
session.odbs[name].materials[name].superElasticity.SuperElasticHardening
The table data for this object are:
- Start of Transformation (Loading).
- End of Transformation (Loading).
- Start of Transformation (Unloading).
- End of Transformation (Unloading).
- Plastic Strain.
The corresponding analysis keywords are:
- SUPERELASTIC HARDENING MODIFICATIONS
"""
def __init__(self, table: tuple):
"""This method creates a SuperElasticHardeningModifications object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].superElasticity.SuperElasticHardeningModifications
session.odbs[name].materials[name].superElasticity.SuperElasticHardeningModifications
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below or user-defined
data if the dependence of the transformation stress levels on Plastic strain is
specified in a user subroutine.
Returns
-------
A SuperElasticHardeningModifications object.
Raises
------
RangeError
"""
pass
def set_values(self):
"""This method modifies the SuperElasticHardeningModifications object.
Raises
------
RangeError
"""
pass |
#!/usr/bin/env python
# encoding: utf-8
def run(whatweb, pluginname):
whatweb.recog_from_content(pluginname, "/WorldClient.dll?View=Main")
| def run(whatweb, pluginname):
whatweb.recog_from_content(pluginname, '/WorldClient.dll?View=Main') |
def update_fields_widget(form, fields, css_class):
for field in fields:
form.fields[field].widget.attrs.update({'class': css_class})
| def update_fields_widget(form, fields, css_class):
for field in fields:
form.fields[field].widget.attrs.update({'class': css_class}) |
"""
Code for computing collected components.
"""
class Component:
"""
Holder for a connected component.
"""
def __init__(self, item):
self.id = item
self.items = {item}
def connected_components(f, g):
"""
Compute connected components of undirected edges (f[i], g[i]).
For the return value we are using the
category formulation that these are the co-equalizer of f and g,
meaning it is a finest partition such that return[f[i]] = return[g[i]]
for all i. We pick the least item in each component as the representation.
This is just a long way of saying: as each side of an edge is in the same
component, we return the assignment by labeling the edges by components
(instead of the vertices).
Not as fast as union/find but fast.
f = [1, 4, 6, 2, 1]
g = [2, 5, 7, 3, 7]
res = connected_components(f, g)
print(res)
:param f: list or vector of hashable/comparable items of length n
:param g: list or vector of hashable/comparable items of length n
:return: list of assignments of length n (map both f and g to same values.
"""
keys = set([k for k in f]).union((k for k in g))
components = {k: Component(k) for k in keys}
for fi, gi in zip(f, g):
# print({k: components[k].id for k in keys})
component_f = components[fi]
component_g = components[gi]
if component_f.id != component_g.id:
if len(component_f.items) >= len(component_g.items):
merged = component_f
donor = component_g
else:
merged = component_g
donor = component_f
merged.items.update(donor.items)
merged.id = min(merged.id, donor.id)
for k in donor.items:
components[k] = merged
assignments = [components[k].id for k in f]
return assignments
| """
Code for computing collected components.
"""
class Component:
"""
Holder for a connected component.
"""
def __init__(self, item):
self.id = item
self.items = {item}
def connected_components(f, g):
"""
Compute connected components of undirected edges (f[i], g[i]).
For the return value we are using the
category formulation that these are the co-equalizer of f and g,
meaning it is a finest partition such that return[f[i]] = return[g[i]]
for all i. We pick the least item in each component as the representation.
This is just a long way of saying: as each side of an edge is in the same
component, we return the assignment by labeling the edges by components
(instead of the vertices).
Not as fast as union/find but fast.
f = [1, 4, 6, 2, 1]
g = [2, 5, 7, 3, 7]
res = connected_components(f, g)
print(res)
:param f: list or vector of hashable/comparable items of length n
:param g: list or vector of hashable/comparable items of length n
:return: list of assignments of length n (map both f and g to same values.
"""
keys = set([k for k in f]).union((k for k in g))
components = {k: component(k) for k in keys}
for (fi, gi) in zip(f, g):
component_f = components[fi]
component_g = components[gi]
if component_f.id != component_g.id:
if len(component_f.items) >= len(component_g.items):
merged = component_f
donor = component_g
else:
merged = component_g
donor = component_f
merged.items.update(donor.items)
merged.id = min(merged.id, donor.id)
for k in donor.items:
components[k] = merged
assignments = [components[k].id for k in f]
return assignments |
"""http://stackoverflow.com/a/23173968/287297"""
################################################################################
def parse_newick(path):
"""Parse a newick-formated text file and return a "Tree" object."""
pass | """http://stackoverflow.com/a/23173968/287297"""
def parse_newick(path):
"""Parse a newick-formated text file and return a "Tree" object."""
pass |
# A base Class for the various kinds of 2d-rules used to update the playing field
class BaseRule:
def __init__(self, rule_str="", mode=None, num_states=0):
self.rule_str = rule_str
self.mode = mode
self.num_states = num_states
def apply(self, curr_state: int, num_neighbors: int) -> int:
pass
| class Baserule:
def __init__(self, rule_str='', mode=None, num_states=0):
self.rule_str = rule_str
self.mode = mode
self.num_states = num_states
def apply(self, curr_state: int, num_neighbors: int) -> int:
pass |
def resizeApp(app, dx, dy):
switchApp(app)
corner = find(Pattern("1273159241516.png").targetOffset(3,14))
dragDrop(corner, corner.getCenter().offset(dx, dy))
resizeApp("Safari", 50, 50)
# exists("1273159241516.png")
# click(Pattern("1273159241516.png").targetOffset(3,14).similar(0.7).firstN(2))
# with Region(10,100,300,300):
# pass
# click("__SIKULI-CAPTURE-BUTTON__")
| def resize_app(app, dx, dy):
switch_app(app)
corner = find(pattern('1273159241516.png').targetOffset(3, 14))
drag_drop(corner, corner.getCenter().offset(dx, dy))
resize_app('Safari', 50, 50) |
a = input("Immetti il coefficiente a ")
b = input("Immetti il coefficiente b ")
c = input("Immetti il coefficiente c ")
print ("Data l'equazione algebrica " + str(a) +
"*X^2+" + str(b) + "*X+" + str(c) + "=0 ")
delta = b * b - 4 * a * c
if delta >= 0:
rad_delta = delta**0.5
x1 = -(b - rad_delta) / (2 * a)
x2 = -(b + rad_delta) / (2 * a)
print ("Le soluzioni sono: " + str(x1) + " e " + str(x2))
else:
rad_delta = (-delta)**0.5
reale = -b / (2 * a)
imm = rad_delta / (2 * a)
print ("Le soluzioni sono: " + str(reale) + " + i " + str(imm) +
" e " + str(reale) + " - i " + str(imm))
| a = input('Immetti il coefficiente a ')
b = input('Immetti il coefficiente b ')
c = input('Immetti il coefficiente c ')
print("Data l'equazione algebrica " + str(a) + '*X^2+' + str(b) + '*X+' + str(c) + '=0 ')
delta = b * b - 4 * a * c
if delta >= 0:
rad_delta = delta ** 0.5
x1 = -(b - rad_delta) / (2 * a)
x2 = -(b + rad_delta) / (2 * a)
print('Le soluzioni sono: ' + str(x1) + ' e ' + str(x2))
else:
rad_delta = (-delta) ** 0.5
reale = -b / (2 * a)
imm = rad_delta / (2 * a)
print('Le soluzioni sono: ' + str(reale) + ' + i ' + str(imm) + ' e ' + str(reale) + ' - i ' + str(imm)) |
'''
PROBLEM STATEMENT:
Given an array of integers of size n, where n denotes number of books and each element of an array denotes the number of pages in the ith book, also given another integer
denoting number of students. The task is to allocate books to the given number of students so that maximum number of pages allocated to a student is minimum. A book will be
allocated to exactly one student and each student has to be allocated atleast one book. Allotment should be in contiguous order, for example, a student cannot be allocated
book 1 and book 3, skipping book 2. Calculate and return that minimum possible number. Return -1 if a valid assignment is not possible.
'''
# Function to check whether it is possible to allocate books using the current minimum value
def IsPossible(lis, n, stud, minval):
students = 1
sumval = 0
# Iterating over the books
for i in range(n):
# If the number of pages in a book is greater than the minimum value, then the minimum value chosen cannot be used to alloacte books
if (lis[i] > minval):
return False
# Counting number of students required for allocating minval pages
if (sumval + lis[i] > minval):
#incrementing students by 1
students += 1
# Updating current value of sum
sumval = lis[i]
# If more number of students are required than the given number of students, then also it is not possible to allocate books
if (students > stud):
return False
else:
sumval += lis[i]
return True
# Function to find the maximum number of pages allocated to a student is minimum
def MinPages(lis, n, stud):
sum = 0
# If number of students are more than number of books, we'll return -1 because all the students won't get a book
if (n < stud):
return -1
#Finding the sum of all the pages
for i in range(n):
sum += lis[i]
# Binary search will be applied over the number of pages and low will be initialized with 0 while high will be initialized with the total number of pages
# ans variable will store the number of maximum pages that will be assigned to a student and because that should be minimum, it is initialized by a large integer value
low, high = 0, sum
ans = 10**9;
#The loop will run until low is less than or equal to high
while (low <= high):
# Considering middle element to be currently minimum and checking whether it is possible to allocate books using mid value as the minimum number of pages
mid = (low + high) // 2
if (IsPossible(lis, n, stud, mid)):
#If possible, them comparing the mid value with the answer that we have so far
ans = min(ans, mid)
# Because the number of pages are given in ascending order and we are looking for the minimum value possible, so for the next possible answer, we will reduce our search by decreasing high to mid-1
high = mid - 1
else:
# If it is not possible to allocate books using mid value as the minimum value, then we will look for the minimum element in the other half that is low will be increased to mid + 1
low = mid + 1
#Returning the final answer
return ans
# Driver Code
# User inputs the the number of books
n = int(input("Enter the size of an array: "))
lis = []
print("Enter ", n ," elements:")
# User inputs number of pages in each book in ascending order
for i in range(n):
num = int(input())
lis.append(num)
# User inputs the number of students among which the books will be allocated
stud = int(input("Enter the number of students: "))
# A function call to MinPages
print("Minimum number of pages are: ", MinPages(lis, n, stud))
'''
TEST CASES:
1.
Input:
n = 4
lis = [12, 34, 67, 90]
stud = 2
Output: 113
Explanation:
There are 2 students. Books can be allocated in the following way:
1) [12] and [34, 67, 90]
student 1 gets 12 pages
student 2 gets 34 + 67 + 90 = 191 pages
Maximum of the two = 191
2) [12, 34] and [67, 90]
student 1 gets 12 + 34 = 36 pages
student 2 gets 67 + 90 = 157 pages
Maximum of the two = 157 pages
3) [12, 34, 67] and [90]
student 1 gets 12 + 34 + 67 = 113 pages
student 2 gets 90 pages
Maximum of the two = 113 pages
Out of the 3 cases, Option 3 has the minimum pages = 113.
2.
Input:
n = 4
lis = [5, 17, 100, 11]
stud = 4
Output: 100
Explanation:
There are 4 students and 4 books. Therefore, each student will get one book with maximum
pages = 100.
3.
Input:
n = 5
lis = [34, 56, 67, 78, 89]
stud = 6
Output: -1
Explanation:
Because number of students are more than number of books. Therefore, there is no valid
assignment possible.
TIME COMPLEXITY: O(N*LOG(Sum of pages))
SPACE COMPLEXITY: O(1)
'''
| """
PROBLEM STATEMENT:
Given an array of integers of size n, where n denotes number of books and each element of an array denotes the number of pages in the ith book, also given another integer
denoting number of students. The task is to allocate books to the given number of students so that maximum number of pages allocated to a student is minimum. A book will be
allocated to exactly one student and each student has to be allocated atleast one book. Allotment should be in contiguous order, for example, a student cannot be allocated
book 1 and book 3, skipping book 2. Calculate and return that minimum possible number. Return -1 if a valid assignment is not possible.
"""
def is_possible(lis, n, stud, minval):
students = 1
sumval = 0
for i in range(n):
if lis[i] > minval:
return False
if sumval + lis[i] > minval:
students += 1
sumval = lis[i]
if students > stud:
return False
else:
sumval += lis[i]
return True
def min_pages(lis, n, stud):
sum = 0
if n < stud:
return -1
for i in range(n):
sum += lis[i]
(low, high) = (0, sum)
ans = 10 ** 9
while low <= high:
mid = (low + high) // 2
if is_possible(lis, n, stud, mid):
ans = min(ans, mid)
high = mid - 1
else:
low = mid + 1
return ans
n = int(input('Enter the size of an array: '))
lis = []
print('Enter ', n, ' elements:')
for i in range(n):
num = int(input())
lis.append(num)
stud = int(input('Enter the number of students: '))
print('Minimum number of pages are: ', min_pages(lis, n, stud))
'\nTEST CASES:\n\n1.\nInput: \nn = 4\nlis = [12, 34, 67, 90]\nstud = 2\n\nOutput: 113\n\nExplanation:\nThere are 2 students. Books can be allocated in the following way: \n1) [12] and [34, 67, 90]\nstudent 1 gets 12 pages\nstudent 2 gets 34 + 67 + 90 = 191 pages\nMaximum of the two = 191\n2) [12, 34] and [67, 90]\nstudent 1 gets 12 + 34 = 36 pages\nstudent 2 gets 67 + 90 = 157 pages \nMaximum of the two = 157 pages\n3) [12, 34, 67] and [90]\nstudent 1 gets 12 + 34 + 67 = 113 pages\nstudent 2 gets 90 pages\nMaximum of the two = 113 pages\n\nOut of the 3 cases, Option 3 has the minimum pages = 113.\n\n2.\nInput: \nn = 4\nlis = [5, 17, 100, 11]\nstud = 4\n\nOutput: 100\n\nExplanation:\nThere are 4 students and 4 books. Therefore, each student will get one book with maximum\npages = 100.\n\n3. \nInput:\nn = 5\nlis = [34, 56, 67, 78, 89]\nstud = 6\n\nOutput: -1\n\nExplanation:\nBecause number of students are more than number of books. Therefore, there is no valid\nassignment possible.\n\n\nTIME COMPLEXITY: O(N*LOG(Sum of pages))\nSPACE COMPLEXITY: O(1)\n' |
load(
"@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl",
"feature",
"flag_group",
"flag_set",
"tool_path",
)
load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES")
# This file has been written based off the variable definitions in the following
# files:
# - https://github.com/espressif/arduino-esp32/blob/1.0.6/platform.txt
# - https://github.com/espressif/arduino-esp32/blob/1.0.6/boards.txt
BUILD_F_CPU = "240000000L"
RUNTIME_IDE_VERSION = "10607"
BUILD_BOARD = "ESP32_DEV"
BUILD_ARCH = "ESP32"
BUILD_VARIANT = "esp32"
BUILD_EXTRA_FLAGS = [
"-DF_CPU=" + BUILD_F_CPU,
"-DARDUINO=" + RUNTIME_IDE_VERSION,
"-DARDUINO_" + BUILD_BOARD,
"-DARDUINO_ARCH_" + BUILD_ARCH,
"-DARDUINO_BOARD=\"" + BUILD_BOARD + "\"",
"-DARDUINO_VARIANT=\"" + BUILD_VARIANT + "\"",
"-DESP32=1",
]
RUNTIME_PLATFORM_PATH = "external/arduino_esp32"
COMPILER_SDK_PATH = RUNTIME_PLATFORM_PATH + "/tools/sdk"
INCLUDE_DIRS = [
"include/config",
"include/app_trace",
"include/app_update",
"include/asio",
"include/bootloader_support",
"include/bt",
"include/coap",
"include/console",
"include/driver",
"include/efuse",
"include/esp-tls",
"include/esp32",
"include/esp_adc_cal",
"include/esp_event",
"include/esp_http_client",
"include/esp_http_server",
"include/esp_https_ota",
"include/esp_https_server",
"include/esp_ringbuf",
"include/esp_websocket_client",
"include/espcoredump",
"include/ethernet",
"include/expat",
"include/fatfs",
"include/freemodbus",
"include/freertos",
"include/heap",
"include/idf_test",
"include/jsmn",
"include/json",
"include/libsodium",
"include/log",
"include/lwip",
"include/mbedtls",
"include/mdns",
"include/micro-ecc",
"include/mqtt",
"include/newlib",
"include/nghttp",
"include/nvs_flash",
"include/openssl",
"include/protobuf-c",
"include/protocomm",
"include/pthread",
"include/sdmmc",
"include/smartconfig_ack",
"include/soc",
"include/spi_flash",
"include/spiffs",
"include/tcp_transport",
"include/tcpip_adapter",
"include/ulp",
"include/unity",
"include/vfs",
"include/wear_levelling",
"include/wifi_provisioning",
"include/wpa_supplicant",
"include/xtensa-debug-module",
"include/esp-face",
"include/esp32-camera",
"include/esp-face",
"include/fb_gfx",
]
COMPILER_CPREPROCESSOR_FLAGS = [
"-DESP_PLATFORM",
"-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"",
"-DHAVE_CONFIG_H",
"-DGCC_NOT_5_2_0=0",
"-DWITH_POSIX",
"-D_POSIX_TIMERS",
# time.h doesn't define these by default, so set them to something sane.
# This is required for Abseil's time handling.
"-D__TM_GMTOFF=__tm_gmtoff",
"-D__TM_ZONE=__tm_zone",
] + ["-I" + COMPILER_SDK_PATH + "/" + p for p in INCLUDE_DIRS] + [
"-I" + RUNTIME_PLATFORM_PATH + "/cores/esp32",
"-I" + RUNTIME_PLATFORM_PATH + "/variants/esp32",
]
COMPILER_WARNING_FLAGS = ["-Wall"]
COMPILER_C_FLAGS = [
"-std=gnu99",
"-Os",
"-g3",
"-fstack-protector",
"-ffunction-sections",
"-fdata-sections",
"-fstrict-volatile-bitfields",
"-mlongcalls",
"-nostdlib",
"-Wpointer-arith",
] + COMPILER_WARNING_FLAGS + [
"-Wno-maybe-uninitialized",
"-Wno-unused-function",
"-Wno-unused-but-set-variable",
"-Wno-unused-variable",
"-Wno-deprecated-declarations",
"-Wno-unused-parameter",
"-Wno-sign-compare",
"-Wno-old-style-declaration",
"-MMD",
"-c",
]
COMPILER_CPP_FLAGS = [
"-std=gnu++11",
"-Os",
"-g3",
"-Wpointer-arith",
"-fexceptions",
"-fstack-protector",
"-ffunction-sections",
"-fdata-sections",
"-fstrict-volatile-bitfields",
"-mlongcalls",
"-nostdlib",
] + COMPILER_WARNING_FLAGS + [
"-Wno-error=maybe-uninitialized",
"-Wno-error=unused-function",
"-Wno-error=unused-but-set-variable",
"-Wno-error=unused-variable",
"-Wno-error=deprecated-declarations",
"-Wno-unused-parameter",
"-Wno-unused-but-set-parameter",
"-Wno-missing-field-initializers",
"-Wno-sign-compare",
"-fno-rtti",
"-MMD",
"-c",
]
COMPILER_C_ELF_FLAGS = [
"-nostdlib",
"-L" + COMPILER_SDK_PATH + "/lib",
"-L" + COMPILER_SDK_PATH + "/ld",
"-T",
"esp32_out.ld",
"-T",
"esp32.project.ld",
"-T",
"esp32.rom.ld",
"-T",
"esp32.peripherals.ld",
"-T",
"esp32.rom.libgcc.ld",
"-T",
"esp32.rom.spiram_incompatible_fns.ld",
"-u",
"esp_app_desc",
"-u",
"ld_include_panic_highint_hdl",
"-u",
"call_user_start_cpu0",
"-Wl,--gc-sections",
"-Wl,-static",
"-Wl,--undefined=uxTopUsedPriority",
"-u",
"__cxa_guard_dummy",
"-u",
"__cxx_fatal_exception",
]
COMPILER_C_ELF_LIBS = [
"-lgcc",
"-lesp_websocket_client",
"-lwpa2",
"-ldetection",
"-lesp_https_server",
"-lwps",
"-lhal",
"-lconsole",
"-lpe",
"-lsoc",
"-lsdmmc",
"-lpthread",
"-llog",
"-lesp_http_client",
"-ljson",
"-lmesh",
"-lesp32-camera",
"-lnet80211",
"-lwpa_supplicant",
"-lc",
"-lmqtt",
"-lcxx",
"-lesp_https_ota",
"-lulp",
"-lefuse",
"-lpp",
"-lmdns",
"-lbt",
"-lwpa",
"-lspiffs",
"-lheap",
"-limage_util",
"-lunity",
"-lrtc",
"-lmbedtls",
"-lface_recognition",
"-lnghttp",
"-ljsmn",
"-lopenssl",
"-lcore",
"-lfatfs",
"-lm",
"-lprotocomm",
"-lsmartconfig",
"-lxtensa-debug-module",
"-ldl",
"-lesp_event",
"-lesp-tls",
"-lfd",
"-lespcoredump",
"-lesp_http_server",
"-lfr",
"-lsmartconfig_ack",
"-lwear_levelling",
"-ltcp_transport",
"-llwip",
"-lphy",
"-lvfs",
"-lcoap",
"-lesp32",
"-llibsodium",
"-lbootloader_support",
"-ldriver",
"-lcoexist",
"-lasio",
"-lod",
"-lmicro-ecc",
"-lesp_ringbuf",
"-ldetection_cat_face",
"-lapp_update",
"-lespnow",
"-lface_detection",
"-lapp_trace",
"-lnewlib",
"-lbtdm_app",
"-lwifi_provisioning",
"-lfreertos",
"-lfreemodbus",
"-lethernet",
"-lnvs_flash",
"-lspi_flash",
"-lc_nano",
"-lexpat",
"-lfb_gfx",
"-lprotobuf-c",
"-lesp_adc_cal",
"-ltcpip_adapter",
"-lstdc++",
]
def _impl(ctx):
tool_paths = [
tool_path(
name = "gcc",
path = "cc_wrapper.sh",
),
tool_path(
name = "ld",
path = "xtensa-esp32-elf-ld",
),
tool_path(
name = "ar",
path = "xtensa-esp32-elf-ar",
),
tool_path(
name = "cpp",
path = "/bin/false",
),
tool_path(
name = "gcov",
path = "/bin/false",
),
tool_path(
name = "nm",
path = "/bin/false",
),
tool_path(
name = "objdump",
path = "/bin/false",
),
tool_path(
name = "strip",
path = "/bin/false",
),
]
default_compile_flags_feature = feature(
name = "default_compile_flags",
enabled = True,
flag_sets = [
flag_set(
actions = [
ACTION_NAMES.assemble,
ACTION_NAMES.preprocess_assemble,
ACTION_NAMES.linkstamp_compile,
ACTION_NAMES.cpp_compile,
ACTION_NAMES.cpp_header_parsing,
ACTION_NAMES.cpp_module_compile,
ACTION_NAMES.cpp_module_codegen,
ACTION_NAMES.lto_backend,
ACTION_NAMES.clif_match,
],
flag_groups = [
flag_group(
flags = [
"-DCOMPILING_AS_CPP_NOT_C",
] + COMPILER_CPREPROCESSOR_FLAGS + COMPILER_CPP_FLAGS + BUILD_EXTRA_FLAGS,
),
],
),
],
)
default_c_compile_flags_feature = feature(
name = "default_c_compile_flags",
enabled = True,
flag_sets = [
flag_set(
actions = [
ACTION_NAMES.c_compile,
],
flag_groups = [
flag_group(
flags = [
"-DCOMPILING_AS_C_NOT_CPP",
] + COMPILER_CPREPROCESSOR_FLAGS + COMPILER_C_FLAGS + BUILD_EXTRA_FLAGS,
),
],
),
],
)
all_link_actions = [
ACTION_NAMES.cpp_link_executable,
ACTION_NAMES.cpp_link_dynamic_library,
ACTION_NAMES.cpp_link_nodeps_dynamic_library,
]
default_link_flags_feature = feature(
name = "default_link_flags",
enabled = True,
flag_sets = [
flag_set(
actions = all_link_actions,
flag_groups = [
flag_group(
flags = COMPILER_C_ELF_FLAGS + ["-Wl,--start-group"] + COMPILER_C_ELF_LIBS +
[
"-Wl,--end-group",
"-Wl,-EL",
],
),
],
),
],
)
features = [
default_compile_flags_feature,
default_c_compile_flags_feature,
default_link_flags_feature,
]
return cc_common.create_cc_toolchain_config_info(
ctx = ctx,
cxx_builtin_include_directories = [
"external/xtensa_esp32_elf_linux64/xtensa-esp32-elf/sys-include",
"external/xtensa_esp32_elf_linux64/xtensa-esp32-elf/include/c++/5.2.0",
"external/xtensa_esp32_elf_linux64/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed",
"external/xtensa_esp32_elf_linux64/lib/gcc/xtensa-esp32-elf/5.2.0/include",
RUNTIME_PLATFORM_PATH + "/cores/esp32",
RUNTIME_PLATFORM_PATH + "/variants/esp32",
] + [COMPILER_SDK_PATH + "/" + p for p in INCLUDE_DIRS],
features = features,
toolchain_identifier = "xtensa-toolchain",
host_system_name = "local",
target_system_name = "local",
target_cpu = "xtensa",
target_libc = "unknown",
compiler = "cpp",
abi_version = "unknown",
abi_libc_version = "unknown",
tool_paths = tool_paths,
)
cc_toolchain_config = rule(
implementation = _impl,
attrs = {},
provides = [CcToolchainConfigInfo],
)
| load('@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl', 'feature', 'flag_group', 'flag_set', 'tool_path')
load('@bazel_tools//tools/build_defs/cc:action_names.bzl', 'ACTION_NAMES')
build_f_cpu = '240000000L'
runtime_ide_version = '10607'
build_board = 'ESP32_DEV'
build_arch = 'ESP32'
build_variant = 'esp32'
build_extra_flags = ['-DF_CPU=' + BUILD_F_CPU, '-DARDUINO=' + RUNTIME_IDE_VERSION, '-DARDUINO_' + BUILD_BOARD, '-DARDUINO_ARCH_' + BUILD_ARCH, '-DARDUINO_BOARD="' + BUILD_BOARD + '"', '-DARDUINO_VARIANT="' + BUILD_VARIANT + '"', '-DESP32=1']
runtime_platform_path = 'external/arduino_esp32'
compiler_sdk_path = RUNTIME_PLATFORM_PATH + '/tools/sdk'
include_dirs = ['include/config', 'include/app_trace', 'include/app_update', 'include/asio', 'include/bootloader_support', 'include/bt', 'include/coap', 'include/console', 'include/driver', 'include/efuse', 'include/esp-tls', 'include/esp32', 'include/esp_adc_cal', 'include/esp_event', 'include/esp_http_client', 'include/esp_http_server', 'include/esp_https_ota', 'include/esp_https_server', 'include/esp_ringbuf', 'include/esp_websocket_client', 'include/espcoredump', 'include/ethernet', 'include/expat', 'include/fatfs', 'include/freemodbus', 'include/freertos', 'include/heap', 'include/idf_test', 'include/jsmn', 'include/json', 'include/libsodium', 'include/log', 'include/lwip', 'include/mbedtls', 'include/mdns', 'include/micro-ecc', 'include/mqtt', 'include/newlib', 'include/nghttp', 'include/nvs_flash', 'include/openssl', 'include/protobuf-c', 'include/protocomm', 'include/pthread', 'include/sdmmc', 'include/smartconfig_ack', 'include/soc', 'include/spi_flash', 'include/spiffs', 'include/tcp_transport', 'include/tcpip_adapter', 'include/ulp', 'include/unity', 'include/vfs', 'include/wear_levelling', 'include/wifi_provisioning', 'include/wpa_supplicant', 'include/xtensa-debug-module', 'include/esp-face', 'include/esp32-camera', 'include/esp-face', 'include/fb_gfx']
compiler_cpreprocessor_flags = ['-DESP_PLATFORM', '-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"', '-DHAVE_CONFIG_H', '-DGCC_NOT_5_2_0=0', '-DWITH_POSIX', '-D_POSIX_TIMERS', '-D__TM_GMTOFF=__tm_gmtoff', '-D__TM_ZONE=__tm_zone'] + ['-I' + COMPILER_SDK_PATH + '/' + p for p in INCLUDE_DIRS] + ['-I' + RUNTIME_PLATFORM_PATH + '/cores/esp32', '-I' + RUNTIME_PLATFORM_PATH + '/variants/esp32']
compiler_warning_flags = ['-Wall']
compiler_c_flags = ['-std=gnu99', '-Os', '-g3', '-fstack-protector', '-ffunction-sections', '-fdata-sections', '-fstrict-volatile-bitfields', '-mlongcalls', '-nostdlib', '-Wpointer-arith'] + COMPILER_WARNING_FLAGS + ['-Wno-maybe-uninitialized', '-Wno-unused-function', '-Wno-unused-but-set-variable', '-Wno-unused-variable', '-Wno-deprecated-declarations', '-Wno-unused-parameter', '-Wno-sign-compare', '-Wno-old-style-declaration', '-MMD', '-c']
compiler_cpp_flags = ['-std=gnu++11', '-Os', '-g3', '-Wpointer-arith', '-fexceptions', '-fstack-protector', '-ffunction-sections', '-fdata-sections', '-fstrict-volatile-bitfields', '-mlongcalls', '-nostdlib'] + COMPILER_WARNING_FLAGS + ['-Wno-error=maybe-uninitialized', '-Wno-error=unused-function', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-variable', '-Wno-error=deprecated-declarations', '-Wno-unused-parameter', '-Wno-unused-but-set-parameter', '-Wno-missing-field-initializers', '-Wno-sign-compare', '-fno-rtti', '-MMD', '-c']
compiler_c_elf_flags = ['-nostdlib', '-L' + COMPILER_SDK_PATH + '/lib', '-L' + COMPILER_SDK_PATH + '/ld', '-T', 'esp32_out.ld', '-T', 'esp32.project.ld', '-T', 'esp32.rom.ld', '-T', 'esp32.peripherals.ld', '-T', 'esp32.rom.libgcc.ld', '-T', 'esp32.rom.spiram_incompatible_fns.ld', '-u', 'esp_app_desc', '-u', 'ld_include_panic_highint_hdl', '-u', 'call_user_start_cpu0', '-Wl,--gc-sections', '-Wl,-static', '-Wl,--undefined=uxTopUsedPriority', '-u', '__cxa_guard_dummy', '-u', '__cxx_fatal_exception']
compiler_c_elf_libs = ['-lgcc', '-lesp_websocket_client', '-lwpa2', '-ldetection', '-lesp_https_server', '-lwps', '-lhal', '-lconsole', '-lpe', '-lsoc', '-lsdmmc', '-lpthread', '-llog', '-lesp_http_client', '-ljson', '-lmesh', '-lesp32-camera', '-lnet80211', '-lwpa_supplicant', '-lc', '-lmqtt', '-lcxx', '-lesp_https_ota', '-lulp', '-lefuse', '-lpp', '-lmdns', '-lbt', '-lwpa', '-lspiffs', '-lheap', '-limage_util', '-lunity', '-lrtc', '-lmbedtls', '-lface_recognition', '-lnghttp', '-ljsmn', '-lopenssl', '-lcore', '-lfatfs', '-lm', '-lprotocomm', '-lsmartconfig', '-lxtensa-debug-module', '-ldl', '-lesp_event', '-lesp-tls', '-lfd', '-lespcoredump', '-lesp_http_server', '-lfr', '-lsmartconfig_ack', '-lwear_levelling', '-ltcp_transport', '-llwip', '-lphy', '-lvfs', '-lcoap', '-lesp32', '-llibsodium', '-lbootloader_support', '-ldriver', '-lcoexist', '-lasio', '-lod', '-lmicro-ecc', '-lesp_ringbuf', '-ldetection_cat_face', '-lapp_update', '-lespnow', '-lface_detection', '-lapp_trace', '-lnewlib', '-lbtdm_app', '-lwifi_provisioning', '-lfreertos', '-lfreemodbus', '-lethernet', '-lnvs_flash', '-lspi_flash', '-lc_nano', '-lexpat', '-lfb_gfx', '-lprotobuf-c', '-lesp_adc_cal', '-ltcpip_adapter', '-lstdc++']
def _impl(ctx):
tool_paths = [tool_path(name='gcc', path='cc_wrapper.sh'), tool_path(name='ld', path='xtensa-esp32-elf-ld'), tool_path(name='ar', path='xtensa-esp32-elf-ar'), tool_path(name='cpp', path='/bin/false'), tool_path(name='gcov', path='/bin/false'), tool_path(name='nm', path='/bin/false'), tool_path(name='objdump', path='/bin/false'), tool_path(name='strip', path='/bin/false')]
default_compile_flags_feature = feature(name='default_compile_flags', enabled=True, flag_sets=[flag_set(actions=[ACTION_NAMES.assemble, ACTION_NAMES.preprocess_assemble, ACTION_NAMES.linkstamp_compile, ACTION_NAMES.cpp_compile, ACTION_NAMES.cpp_header_parsing, ACTION_NAMES.cpp_module_compile, ACTION_NAMES.cpp_module_codegen, ACTION_NAMES.lto_backend, ACTION_NAMES.clif_match], flag_groups=[flag_group(flags=['-DCOMPILING_AS_CPP_NOT_C'] + COMPILER_CPREPROCESSOR_FLAGS + COMPILER_CPP_FLAGS + BUILD_EXTRA_FLAGS)])])
default_c_compile_flags_feature = feature(name='default_c_compile_flags', enabled=True, flag_sets=[flag_set(actions=[ACTION_NAMES.c_compile], flag_groups=[flag_group(flags=['-DCOMPILING_AS_C_NOT_CPP'] + COMPILER_CPREPROCESSOR_FLAGS + COMPILER_C_FLAGS + BUILD_EXTRA_FLAGS)])])
all_link_actions = [ACTION_NAMES.cpp_link_executable, ACTION_NAMES.cpp_link_dynamic_library, ACTION_NAMES.cpp_link_nodeps_dynamic_library]
default_link_flags_feature = feature(name='default_link_flags', enabled=True, flag_sets=[flag_set(actions=all_link_actions, flag_groups=[flag_group(flags=COMPILER_C_ELF_FLAGS + ['-Wl,--start-group'] + COMPILER_C_ELF_LIBS + ['-Wl,--end-group', '-Wl,-EL'])])])
features = [default_compile_flags_feature, default_c_compile_flags_feature, default_link_flags_feature]
return cc_common.create_cc_toolchain_config_info(ctx=ctx, cxx_builtin_include_directories=['external/xtensa_esp32_elf_linux64/xtensa-esp32-elf/sys-include', 'external/xtensa_esp32_elf_linux64/xtensa-esp32-elf/include/c++/5.2.0', 'external/xtensa_esp32_elf_linux64/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed', 'external/xtensa_esp32_elf_linux64/lib/gcc/xtensa-esp32-elf/5.2.0/include', RUNTIME_PLATFORM_PATH + '/cores/esp32', RUNTIME_PLATFORM_PATH + '/variants/esp32'] + [COMPILER_SDK_PATH + '/' + p for p in INCLUDE_DIRS], features=features, toolchain_identifier='xtensa-toolchain', host_system_name='local', target_system_name='local', target_cpu='xtensa', target_libc='unknown', compiler='cpp', abi_version='unknown', abi_libc_version='unknown', tool_paths=tool_paths)
cc_toolchain_config = rule(implementation=_impl, attrs={}, provides=[CcToolchainConfigInfo]) |
"""
python_gtk_kiosk module entry point.
"""
__author__ = 'KuraLabs S.R.L'
__email__ = 'info@kuralabs.io'
__version__ = '0.1.0'
| """
python_gtk_kiosk module entry point.
"""
__author__ = 'KuraLabs S.R.L'
__email__ = 'info@kuralabs.io'
__version__ = '0.1.0' |
'''
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.
Follow up:
Coud you solve it without converting the integer to a string?
TODO
'''
class Solution:
def isPalindrome(self, x):
"""
:type x: int
:rtype: bool
"""
if x < 0 or (x%10==0 and x!=0):
return False
# to avoid the overflow situation, we use half of the interger
reverted_half_int = 0
while x > reverted_half_int:
reverted_half_int = reverted_half_int*10 + x%10
x = int(x/10)
# deal with even and odd number of digits
return reverted_half_int==x or x==int(reverted_half_int/10)
if __name__ == "__main__":
s = Solution()
t1 = 121
print(s.isPalindrome(t1))
t2 = -121
print(s.isPalindrome(t2))
t3 = 10
print(s.isPalindrome(t3)) | """
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.
Follow up:
Coud you solve it without converting the integer to a string?
TODO
"""
class Solution:
def is_palindrome(self, x):
"""
:type x: int
:rtype: bool
"""
if x < 0 or (x % 10 == 0 and x != 0):
return False
reverted_half_int = 0
while x > reverted_half_int:
reverted_half_int = reverted_half_int * 10 + x % 10
x = int(x / 10)
return reverted_half_int == x or x == int(reverted_half_int / 10)
if __name__ == '__main__':
s = solution()
t1 = 121
print(s.isPalindrome(t1))
t2 = -121
print(s.isPalindrome(t2))
t3 = 10
print(s.isPalindrome(t3)) |
sum_ = 0
for n in range(1, 1000):
if n % 3 == 0 or n % 5 == 0:
print(n, end=", ")
sum_ += n
print("sum =", sum_) | sum_ = 0
for n in range(1, 1000):
if n % 3 == 0 or n % 5 == 0:
print(n, end=', ')
sum_ += n
print('sum =', sum_) |
'''
Print the following pattern for the given N number of rows.
Pattern for N = 4
1234
123
12
1
'''
rows=int(input())
n=rows
for i in range(rows):
value=1
for j in range(n,0,-1):
print(value,end="")
value=value+1
n=n-1
print()
| """
Print the following pattern for the given N number of rows.
Pattern for N = 4
1234
123
12
1
"""
rows = int(input())
n = rows
for i in range(rows):
value = 1
for j in range(n, 0, -1):
print(value, end='')
value = value + 1
n = n - 1
print() |
"""------------------------------------------------------------------------
#3 totalQuantity() function calculates the total quantity of orders.
------------------------------------------------------------------------"""
def totalQuantity(TEMP):
total = float(0)
for i in range(len(TEMP)):
total = total + TEMP[i];
return total
"""------------------------------------------------------------------------
#1 printChart() function is to display the orders in a visual chart.
------------------------------------------------------------------------"""
def printChart(AQ, AP, BQ, BP):
print("------------------------------------------------")
print('ASK Price', "{:>15}".format('ASK Quantity'))
for i in range(len(AQ)):
print(AP[i], "{:>15}".format(AQ[i]))
print("------------------------------------------------")
print('BID Price', "{:>15}".format('BID Quantity'))
for i in range(len(AQ)):
print(BP[i], "{:>15}".format(BQ[i]))
"""---------------------------------------------------------------------------------------
#2 calculateOrder() function is to sum up the order values and find the difference.
---------------------------------------------------------------------------------------"""
def calculateOrder(AQ, AP, BQ, BP):
totalA, totalB = float(0), float(0)
for i in range(len(AQ)):
totalA = totalA + (AQ[i] * AP[i])
for i in range(len(BQ)):
totalB = totalB + (BQ[i] * BP[i])
print("------------------------------------------------")
print("Total ASK Value: ", totalA)
print("Total BID Value: ", totalB)
print("Difference: ", abs(totalA - totalB))
"""-------------------------------------------------------------------------------------------------------------------
#4 checkOrder() function checks compares the limit order with the market order and place the order if possible.
-------------------------------------------------------------------------------------------------------------------"""
def checkOrder(OQ, OP, BQ, BP):
print("------------------------------------------------")
print('BID Price', "{:>15}".format('BID Quantity'))
for i in range(len(BQ)):
if(OQ == BQ[i] and OP == BP[i]):
print('[', OQ, 'orders are placed for', OP, ']')
continue
else:
print(BP[i], "{:>15}".format(BQ[i]))
continue
"""-----------------------
#5 Driver function.
-----------------------"""
print("Put the maximum supply of your stock: ", end = '')
supply = float(input())
print("------------------------------------------------")
print("Put the ASK oder limit: ", end = '')
Alimit = int(input())
print("------------------------------------------------")
AQ = []
AP = []
for i in range(Alimit):
print("ASK Quantity: ", end = '')
AQ.append(float(input()))
print("ASK Price: ", end = '')
AP.append(float(input()))
print("------------------------------------------------")
print("Put the BID oder limit: ", end = '')
Blimit = int(input())
print("------------------------------------------------")
BQ = []
BP = []
for i in range(Blimit):
print("BID Quantity: ", end = '')
BQ.append(float(input()))
print("BID Price: ", end = '')
BP.append(float(input()))
printChart(AQ, AP, BQ, BP)
if(totalQuantity(AQ) <= supply and totalQuantity(BQ) <= supply):
calculateOrder(AQ, AP, BQ, BP)
else:
print("------------------------------------------------")
print('INVALID ORDER LIMITS!')
print("------------------------------------------------")
print("Enter limit order quantity: ", end = '')
OQ = float(input())
print("Enter limit order price: ", end = '')
OP = float(input())
checkOrder(OQ, OP, BQ, BP)
| """------------------------------------------------------------------------
#3 totalQuantity() function calculates the total quantity of orders.
------------------------------------------------------------------------"""
def total_quantity(TEMP):
total = float(0)
for i in range(len(TEMP)):
total = total + TEMP[i]
return total
'------------------------------------------------------------------------\n #1 printChart() function is to display the orders in a visual chart.\n------------------------------------------------------------------------'
def print_chart(AQ, AP, BQ, BP):
print('------------------------------------------------')
print('ASK Price', '{:>15}'.format('ASK Quantity'))
for i in range(len(AQ)):
print(AP[i], '{:>15}'.format(AQ[i]))
print('------------------------------------------------')
print('BID Price', '{:>15}'.format('BID Quantity'))
for i in range(len(AQ)):
print(BP[i], '{:>15}'.format(BQ[i]))
'---------------------------------------------------------------------------------------\n #2 calculateOrder() function is to sum up the order values and find the difference.\n---------------------------------------------------------------------------------------'
def calculate_order(AQ, AP, BQ, BP):
(total_a, total_b) = (float(0), float(0))
for i in range(len(AQ)):
total_a = totalA + AQ[i] * AP[i]
for i in range(len(BQ)):
total_b = totalB + BQ[i] * BP[i]
print('------------------------------------------------')
print('Total ASK Value: ', totalA)
print('Total BID Value: ', totalB)
print('Difference: ', abs(totalA - totalB))
'-------------------------------------------------------------------------------------------------------------------\n #4 checkOrder() function checks compares the limit order with the market order and place the order if possible.\n-------------------------------------------------------------------------------------------------------------------'
def check_order(OQ, OP, BQ, BP):
print('------------------------------------------------')
print('BID Price', '{:>15}'.format('BID Quantity'))
for i in range(len(BQ)):
if OQ == BQ[i] and OP == BP[i]:
print('[', OQ, 'orders are placed for', OP, ']')
continue
else:
print(BP[i], '{:>15}'.format(BQ[i]))
continue
'-----------------------\n #5 Driver function.\n-----------------------'
print('Put the maximum supply of your stock: ', end='')
supply = float(input())
print('------------------------------------------------')
print('Put the ASK oder limit: ', end='')
alimit = int(input())
print('------------------------------------------------')
aq = []
ap = []
for i in range(Alimit):
print('ASK Quantity: ', end='')
AQ.append(float(input()))
print('ASK Price: ', end='')
AP.append(float(input()))
print('------------------------------------------------')
print('Put the BID oder limit: ', end='')
blimit = int(input())
print('------------------------------------------------')
bq = []
bp = []
for i in range(Blimit):
print('BID Quantity: ', end='')
BQ.append(float(input()))
print('BID Price: ', end='')
BP.append(float(input()))
print_chart(AQ, AP, BQ, BP)
if total_quantity(AQ) <= supply and total_quantity(BQ) <= supply:
calculate_order(AQ, AP, BQ, BP)
else:
print('------------------------------------------------')
print('INVALID ORDER LIMITS!')
print('------------------------------------------------')
print('Enter limit order quantity: ', end='')
oq = float(input())
print('Enter limit order price: ', end='')
op = float(input())
check_order(OQ, OP, BQ, BP) |
# URL: https://www.geeksforgeeks.org/python-list/
myList = []
print("Intial List : ")
print(myList)
# Addition of Elements in the list
myList.append(1)
myList.append(2)
myList.append(4)
print("\nList after addition of three elements : ")
print(myList)
# Adding elements to the list using Iterator
for i in range(1, 4):
myList.append(i)
print("\nList after adding the element 1 to 3 : ")
print(myList)
# printing the number of elements
length = len(myList)
print(f'\nTotal number of elements in the list : {length}')
| my_list = []
print('Intial List : ')
print(myList)
myList.append(1)
myList.append(2)
myList.append(4)
print('\nList after addition of three elements : ')
print(myList)
for i in range(1, 4):
myList.append(i)
print('\nList after adding the element 1 to 3 : ')
print(myList)
length = len(myList)
print(f'\nTotal number of elements in the list : {length}') |
n = int(input())
for i in range(0, n):
line = input()
total = 0
k = int(line.split()[0])
for j in range(0, k):
o = int(line.split()[j+1])
total += o
total -= k - 1
print(total)
| n = int(input())
for i in range(0, n):
line = input()
total = 0
k = int(line.split()[0])
for j in range(0, k):
o = int(line.split()[j + 1])
total += o
total -= k - 1
print(total) |
#
# Solution to Project Euler Problem 8
# by Lucas Chen
#
# Answer: 23514624000
#
DIGITS = 13
NUM = "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450"
# Loops through each substring in [NUM] of length [DIGITS], and finds the
# substring whose [DIGITS] adjacent digits have the greatest product. Returns
# the value of this product.
def compute():
ans, product = 1, 1
for i in range(len(NUM) - DIGITS): # loops through all substrings
for j in range(DIGITS): # computes the digit product
product *= int(NUM[i+j])
if product > ans:
ans = product
product = 1
return ans
if __name__ == "__main__":
print(compute())
| digits = 13
num = '7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450'
def compute():
(ans, product) = (1, 1)
for i in range(len(NUM) - DIGITS):
for j in range(DIGITS):
product *= int(NUM[i + j])
if product > ans:
ans = product
product = 1
return ans
if __name__ == '__main__':
print(compute()) |
units = 'nm'
vdw ={
"H" : 0.11000,
"He" : 0.14000,
"Li" : 0.18200,
"Be" : 0.15300,
"B" : 0.19200,
"C" : 0.17000,
"N" : 0.15500,
"O" : 0.15200,
"F" : 0.14700,
"Ne" : 0.15400,
"Na" : 0.22700,
"Mg" : 0.17300,
"Al" : 0.18400,
"Si" : 0.21000,
"P" : 0.18000,
"S" : 0.18000,
"Cl" : 0.17500,
"Ar" : 0.18800,
"K" : 0.27500,
"Ca" : 0.23100,
"Sc" : 0.21500,
"Ti" : 0.21100,
"V" : 0.20700,
"Cr" : 0.20600,
"Mn" : 0.20500,
"Fe" : 0.20400,
"Co" : 0.20000,
"Ni" : 0.19700,
"Cu" : 0.19600,
"Zn" : 0.20100,
"Ga" : 0.18700,
"Ge" : 0.21100,
"As" : 0.18500,
"Se" : 0.19000,
"Br" : 0.18500,
"Kr" : 0.20200,
"Rb" : 0.30300,
"Sr" : 0.24900,
"Y" : 0.23200,
"Zr" : 0.22300,
"Nb" : 0.21800,
"Mo" : 0.21700,
"Tc" : 0.21600,
"Ru" : 0.21300,
"Rh" : 0.21000,
"Pd" : 0.21000,
"Ag" : 0.21100,
"Cd" : 0.21800,
"In" : 0.19300,
"Sn" : 0.21700,
"Sb" : 0.20600,
"Te" : 0.20600,
"I" : 0.19800,
"Xe" : 0.21600,
"Cs" : 0.34300,
"Ba" : 0.26800,
"La" : 0.24300,
"Ce" : 0.24200,
"Pr" : 0.24000,
"Nd" : 0.23900,
"Pm" : 0.23800,
"Sm" : 0.23600,
"Eu" : 0.23500,
"Gd" : 0.23400,
"Tb" : 0.23300,
"Dy" : 0.23100,
"Ho" : 0.23000,
"Er" : 0.22900,
"Tm" : 0.22700,
"Yb" : 0.22600,
"Lu" : 0.22400,
"Hf" : 0.22300,
"Ta" : 0.22200,
"W" : 0.21800,
"Re" : 0.21600,
"Os" : 0.21600,
"Ir" : 0.21300,
"Pt" : 0.21300,
"Au" : 0.21400,
"Hg" : 0.22300,
"Tl" : 0.19600,
"Pb" : 0.20200,
"Bi" : 0.20700,
"Po" : 0.19700,
"At" : 0.20200,
"Rn" : 0.22000,
"Fr" : 0.34800,
"Ra" : 0.28300,
"Ac" : 0.24700,
"Th" : 0.24500,
"Pa" : 0.24300,
"U" : 0.24100,
"Np" : 0.23900,
"Pu" : 0.24300,
"Am" : 0.24400,
"Cm" : 0.24500,
"Bk" : 0.24400,
"Cf" : 0.24500,
"Es" : 0.24500,
"Fm" : 0.24500,
"Md" : 0.24600,
"No" : 0.24600,
"Lr" : 0.24600,
"Rf" : None,
"Db" : None,
"Sg" : None,
"Bh" : None,
"Hs" : None,
"Mt" : None,
"Ds" : None,
"Rg" : None,
"Cn" : None,
"Nh" : None,
"Fl" : None,
"Mc" : None,
"Lv" : None,
"Ts" : None,
"Og" : None
}
| units = 'nm'
vdw = {'H': 0.11, 'He': 0.14, 'Li': 0.182, 'Be': 0.153, 'B': 0.192, 'C': 0.17, 'N': 0.155, 'O': 0.152, 'F': 0.147, 'Ne': 0.154, 'Na': 0.227, 'Mg': 0.173, 'Al': 0.184, 'Si': 0.21, 'P': 0.18, 'S': 0.18, 'Cl': 0.175, 'Ar': 0.188, 'K': 0.275, 'Ca': 0.231, 'Sc': 0.215, 'Ti': 0.211, 'V': 0.207, 'Cr': 0.206, 'Mn': 0.205, 'Fe': 0.204, 'Co': 0.2, 'Ni': 0.197, 'Cu': 0.196, 'Zn': 0.201, 'Ga': 0.187, 'Ge': 0.211, 'As': 0.185, 'Se': 0.19, 'Br': 0.185, 'Kr': 0.202, 'Rb': 0.303, 'Sr': 0.249, 'Y': 0.232, 'Zr': 0.223, 'Nb': 0.218, 'Mo': 0.217, 'Tc': 0.216, 'Ru': 0.213, 'Rh': 0.21, 'Pd': 0.21, 'Ag': 0.211, 'Cd': 0.218, 'In': 0.193, 'Sn': 0.217, 'Sb': 0.206, 'Te': 0.206, 'I': 0.198, 'Xe': 0.216, 'Cs': 0.343, 'Ba': 0.268, 'La': 0.243, 'Ce': 0.242, 'Pr': 0.24, 'Nd': 0.239, 'Pm': 0.238, 'Sm': 0.236, 'Eu': 0.235, 'Gd': 0.234, 'Tb': 0.233, 'Dy': 0.231, 'Ho': 0.23, 'Er': 0.229, 'Tm': 0.227, 'Yb': 0.226, 'Lu': 0.224, 'Hf': 0.223, 'Ta': 0.222, 'W': 0.218, 'Re': 0.216, 'Os': 0.216, 'Ir': 0.213, 'Pt': 0.213, 'Au': 0.214, 'Hg': 0.223, 'Tl': 0.196, 'Pb': 0.202, 'Bi': 0.207, 'Po': 0.197, 'At': 0.202, 'Rn': 0.22, 'Fr': 0.348, 'Ra': 0.283, 'Ac': 0.247, 'Th': 0.245, 'Pa': 0.243, 'U': 0.241, 'Np': 0.239, 'Pu': 0.243, 'Am': 0.244, 'Cm': 0.245, 'Bk': 0.244, 'Cf': 0.245, 'Es': 0.245, 'Fm': 0.245, 'Md': 0.246, 'No': 0.246, 'Lr': 0.246, 'Rf': None, 'Db': None, 'Sg': None, 'Bh': None, 'Hs': None, 'Mt': None, 'Ds': None, 'Rg': None, 'Cn': None, 'Nh': None, 'Fl': None, 'Mc': None, 'Lv': None, 'Ts': None, 'Og': None} |
s1=str(input())
s2=str(input())
n=len(s1)
m=len(s2)
a=[0]*n
b=[0]*m
for i in range(0,n-2):
if s1[i]=='1':
a[i]=a[i]+1
a[i+1]+=a[i]
a[i+2]+=a[i];
if(s1[n-2]=='1'):
a[n-2]+=1
if(s1[n-1]=='1'):
a[n-1]+=1
for i in range(0,m-2):
if s2[i]=='1':
++b[i];
b[i+1]+=b[i]
b[i+2]+=b[i];
if(s2[m-2]=='1'):
b[m-2]+=1
if(s2[m-1]=='1'):
b[m-1]+=1
t1=5*pow(a[n-2]-b[m-2],2)
t2=pow(2*(b[m-1]-a[n-1])-(a[n-2]-b[m-2]),2)
if(t1<t2):
print("<")
if(t1==t2):
print("=")
if(t1>t2):
print(">")
| s1 = str(input())
s2 = str(input())
n = len(s1)
m = len(s2)
a = [0] * n
b = [0] * m
for i in range(0, n - 2):
if s1[i] == '1':
a[i] = a[i] + 1
a[i + 1] += a[i]
a[i + 2] += a[i]
if s1[n - 2] == '1':
a[n - 2] += 1
if s1[n - 1] == '1':
a[n - 1] += 1
for i in range(0, m - 2):
if s2[i] == '1':
++b[i]
b[i + 1] += b[i]
b[i + 2] += b[i]
if s2[m - 2] == '1':
b[m - 2] += 1
if s2[m - 1] == '1':
b[m - 1] += 1
t1 = 5 * pow(a[n - 2] - b[m - 2], 2)
t2 = pow(2 * (b[m - 1] - a[n - 1]) - (a[n - 2] - b[m - 2]), 2)
if t1 < t2:
print('<')
if t1 == t2:
print('=')
if t1 > t2:
print('>') |
def new_queue():
return []
def enqueue(a, element):
a.append(element);
def dequeue(a):
if (len(a)):
return a.pop(0)
def is_empty(a):
return True if len(a) == 0 else False | def new_queue():
return []
def enqueue(a, element):
a.append(element)
def dequeue(a):
if len(a):
return a.pop(0)
def is_empty(a):
return True if len(a) == 0 else False |
#
# PySNMP MIB module GAMATRONIC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GAMATRONIC-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:04:33 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Gauge32, IpAddress, enterprises, ModuleIdentity, Unsigned32, NotificationType, iso, Counter64, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Counter32, Integer32, TimeTicks, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "IpAddress", "enterprises", "ModuleIdentity", "Unsigned32", "NotificationType", "iso", "Counter64", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Counter32", "Integer32", "TimeTicks", "ObjectIdentity")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
gamatronicLTD = ModuleIdentity((1, 3, 6, 1, 4, 1, 6050))
if mibBuilder.loadTexts: gamatronicLTD.setLastUpdated('0005150000Z')
if mibBuilder.loadTexts: gamatronicLTD.setOrganization(' GAMATRONIC Ltd.')
psMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1))
class PsAlarmSeverity(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("critical", 1), ("major", 2), ("minor", 3), ("warning", 4))
psUnit = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 1))
psBattery = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 2))
psPSU = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 3))
psINU = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 4))
psACInput = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 5))
psDCOutput = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 6))
psContuctor = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 7))
psConfNominal = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 8))
psStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 9))
psStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 10))
psLog = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 11))
psTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 12))
psAlarmSet = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 13))
psSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 14))
psCommand = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 15))
psSeverityMap = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 16))
psSpare = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 17))
psDial = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 18))
psPowerPlus = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 19))
psBatteryNumber = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryNumber.setStatus('current')
psBatteryVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryVoltage.setStatus('current')
psBatteryTestStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("on", 0), ("off", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryTestStatus.setStatus('current')
psBatteryNominalCapacity = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryNominalCapacity.setStatus('current')
psBatteryActualCapacity = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryActualCapacity.setStatus('current')
psBatteryTestTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryTestTime.setStatus('current')
psBatteryLoadTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryLoadTime.setStatus('current')
psBatteryNearestTestMonth = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryNearestTestMonth.setStatus('current')
psBatteryNearestTestDay = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryNearestTestDay.setStatus('current')
psBatteryNearestTestHour = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryNearestTestHour.setStatus('current')
psBatteryNearestTestMinute = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryNearestTestMinute.setStatus('current')
psBatteryChargeMode = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("floating", 0), ("equalizes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryChargeMode.setStatus('current')
psBatteryEqRunTimeHours = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryEqRunTimeHours.setStatus('current')
psBatteryEqRunTimeMinutes = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryEqRunTimeMinutes.setStatus('current')
psBatterySpareRead1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatterySpareRead1.setStatus('current')
psBatterySpareRead2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatterySpareRead2.setStatus('current')
psBatterySpareRead3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatterySpareRead3.setStatus('current')
psBatterySpareWrite1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 18), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite1.setStatus('current')
psBatterySpareWrite2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 19), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite2.setStatus('current')
psBatterySpareWrite3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 20), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite3.setStatus('current')
psBatterySpareWrite4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 21), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite4.setStatus('current')
psBatterySpareWrite5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 22), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite5.setStatus('current')
psBatterySpareWrite6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 23), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite6.setStatus('current')
psBatterySpareWrite7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 24), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite7.setStatus('current')
psBatterySpareWrite8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 25), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatterySpareWrite8.setStatus('current')
psBatteryTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26), )
if mibBuilder.loadTexts: psBatteryTable.setStatus('current')
psBatteryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psBatteryIndex"))
if mibBuilder.loadTexts: psBatteryEntry.setStatus('current')
psBatteryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryIndex.setStatus('current')
psBatteryCurrentDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryCurrentDirection.setStatus('current')
psBatteryCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryCurrent.setStatus('current')
psBatteryTemperatureSign = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("positive", 0), ("negative", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryTemperatureSign.setStatus('current')
psBatteryTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryTemperature.setStatus('current')
psBatteryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("passed", 0), ("failed", 1), ("low", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryStatus.setStatus('current')
psBatteryFuseStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("bad", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psBatteryFuseStatus.setStatus('current')
psBatteryInstalationYear = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryInstalationYear.setStatus('current')
psBatteryInstalationMonth = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryInstalationMonth.setStatus('current')
psBatteryInstalationDay = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psBatteryInstalationDay.setStatus('current')
psPSUNumber = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 3, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUNumber.setStatus('current')
psPSUTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2), )
if mibBuilder.loadTexts: psPSUTable.setStatus('current')
psPSUEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psPSUIndex"))
if mibBuilder.loadTexts: psPSUEntry.setStatus('current')
psPSUIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUIndex.setStatus('current')
psPSUVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUVoltage.setStatus('current')
psPSUCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUCurrent.setStatus('current')
psPSUTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUTemperature.setStatus('current')
psPSUActivity = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psPSUActivity.setStatus('current')
psPSUPsType = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUPsType.setStatus('current')
psPSUStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUStatus.setStatus('current')
psPSUPsOK = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUPsOK.setStatus('current')
psPSUNotRespond = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("bad", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUNotRespond.setStatus('current')
psPSUNOOut = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUNOOut.setStatus('current')
psPSUPSpareBit = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUPSpareBit.setStatus('current')
psPSUBadSharing = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUBadSharing.setStatus('current')
psPSUReserve1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUReserve1.setStatus('current')
psPSUReserve2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUReserve2.setStatus('current')
psPSUReserve3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUReserve3.setStatus('current')
psPSUShutInstruction = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUShutInstruction.setStatus('current')
psPSUTestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notintest", 0), ("inprogress", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUTestStatus.setStatus('current')
psPSUCurrentLimitDecreased = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUCurrentLimitDecreased.setStatus('current')
psPSUACInputOK = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUACInputOK.setStatus('current')
psPSUSelfTestPass = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUSelfTestPass.setStatus('current')
psPSUCurrentLimitExceed = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUCurrentLimitExceed.setStatus('current')
psPSUShutHighTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUShutHighTemp.setStatus('current')
psPSUShutHighVolt = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUShutHighVolt.setStatus('current')
psPSURemoteMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSURemoteMode.setStatus('current')
psPSUFloatingMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUFloatingMode.setStatus('current')
psPSUEqualizeMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUEqualizeMode.setStatus('current')
psPSUFanStataus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("bad", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUFanStataus.setStatus('current')
psPSUIndication = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 3))).clone(namedValues=NamedValues(("pscurrent", 0), ("voltage", 1), ("temperature", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPSUIndication.setStatus('current')
psINUNumber = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 4, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUNumber.setStatus('current')
psINUTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2), )
if mibBuilder.loadTexts: psINUTable.setStatus('current')
psINUEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psINUIndex"))
if mibBuilder.loadTexts: psINUEntry.setStatus('current')
psINUIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUIndex.setStatus('current')
psINUVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUVoltage.setStatus('current')
psINUCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUCurrent.setStatus('current')
psINUTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUTemperature.setStatus('current')
psINUActivity = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psINUActivity.setStatus('current')
psINUPsType = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUPsType.setStatus('current')
psINUStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUStatus.setStatus('current')
psINUPsOK = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUPsOK.setStatus('current')
psINUNotRespond = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("bad", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUNotRespond.setStatus('current')
psINUNOOut = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUNOOut.setStatus('current')
psINUPSpareBit = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUPSpareBit.setStatus('current')
psINUBadSharing = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUBadSharing.setStatus('current')
psINUReserve1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve1.setStatus('current')
psINUReserve2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve2.setStatus('current')
psINUReserve3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve3.setStatus('current')
psINUShutInstruction = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUShutInstruction.setStatus('current')
psINUReserve7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve7.setStatus('current')
psINUCurrentLimitDecreased = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUCurrentLimitDecreased.setStatus('current')
psINUReserve8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve8.setStatus('current')
psINUSelfTestPass = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUSelfTestPass.setStatus('current')
psINUCurrentLimitExceed = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUCurrentLimitExceed.setStatus('current')
psINUShutHighTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUShutHighTemp.setStatus('current')
psINUShutHighVolt = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUShutHighVolt.setStatus('current')
psINURemoteMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINURemoteMode.setStatus('current')
psINUReserve9 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve9.setStatus('current')
psINUReserve10 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUReserve10.setStatus('current')
psINUFanStataus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("bad", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUFanStataus.setStatus('current')
psINUIndication = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 3))).clone(namedValues=NamedValues(("pscurrent", 0), ("voltage", 1), ("temperature", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psINUIndication.setStatus('current')
psACInputVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputVoltage1.setStatus('current')
psACInputVoltage2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputVoltage2.setStatus('current')
psACInputVoltage3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputVoltage3.setStatus('current')
psACInputCurrent1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputCurrent1.setStatus('current')
psACInputCurrent2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputCurrent2.setStatus('current')
psACInputCurrent3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputCurrent3.setStatus('current')
psACInputFrequency = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputFrequency.setStatus('current')
psACInputACStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputACStatus.setStatus('current')
psACInputSurgeStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSurgeStatus.setStatus('current')
psACInputSpareInp0 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp0.setStatus('current')
psACInputSpareInp1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp1.setStatus('current')
psACInputSpareInp2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp2.setStatus('current')
psACInputSpareInp3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp3.setStatus('current')
psACInputSpareInp4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp4.setStatus('current')
psACInputSpareInp5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp5.setStatus('current')
psACInputSpareInp6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psACInputSpareInp6.setStatus('current')
psDCoutputVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputVoltage.setStatus('current')
psDCoutputCurrent1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputCurrent1.setStatus('current')
psDCoutputCurrent2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputCurrent2.setStatus('current')
psDCoutputCurrent3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputCurrent3.setStatus('current')
psDCoutputCurrent4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputCurrent4.setStatus('current')
psDCoutputCurrent5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputCurrent5.setStatus('current')
psDCoutputDCStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("ok", 0), ("overvoltage", 1), ("undervoltage", 2), ("disconnected", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputDCStatus.setStatus('current')
psDCoutputSurgeStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("ok", 0), ("notok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSurgeStatus.setStatus('current')
psDCoutputInvertorVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputInvertorVoltage.setStatus('current')
psDCOutputDCOutput = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("ok", 0), ("overvoltage", 1), ("undervoltage", 2), ("disconnect", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCOutputDCOutput.setStatus('current')
psDCoutputSpare1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare1.setStatus('current')
psDCoutputSpare2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare2.setStatus('current')
psDCoutputSpare3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare3.setStatus('current')
psDCoutputSpare4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare4.setStatus('current')
psDCoutputSpare5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare5.setStatus('current')
psDCoutputSpare6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDCoutputSpare6.setStatus('current')
psContuctor1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor1.setStatus('current')
psContuctor2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor2.setStatus('current')
psContuctor3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor3.setStatus('current')
psContuctor4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor4.setStatus('current')
psContuctor5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor5.setStatus('current')
psContuctor6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor6.setStatus('current')
psContuctor7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor7.setStatus('current')
psContuctor8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor8.setStatus('current')
psContuctor9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor9.setStatus('current')
psContuctor10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("open", 0), ("close", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psContuctor10.setStatus('current')
psDryContactTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11), )
if mibBuilder.loadTexts: psDryContactTable.setStatus('current')
psDryContactorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psDryContactorIndex"))
if mibBuilder.loadTexts: psDryContactorEntry.setStatus('current')
psDryContactorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContactorIndex.setStatus('current')
psDryContactorAlarm1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm1.setStatus('current')
psDryContactorAlarm2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm2.setStatus('current')
psDryContactorAlarm3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm3.setStatus('current')
psDryContactorAlarm4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm4.setStatus('current')
psDryContactorAlarm5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm5.setStatus('current')
psDryContactorAlarm6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm6.setStatus('current')
psDryContactorAlarm7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm7.setStatus('current')
psDryContactorAlarm8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm8.setStatus('current')
psDryContactorAlarm9 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm9.setStatus('current')
psDryContactorAlarm10 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm10.setStatus('current')
psDryContactorAlarm11 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm11.setStatus('current')
psDryContactorAlarm12 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm12.setStatus('current')
psDryContactorAlarm13 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm13.setStatus('current')
psDryContactorAlarm14 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm14.setStatus('current')
psDryContactorAlarm15 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm15.setStatus('current')
psDryContactorAlarm16 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm16.setStatus('current')
psDryContactorAlarm17 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm17.setStatus('current')
psDryContactorAlarm18 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm18.setStatus('current')
psDryContactorAlarm19 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm19.setStatus('current')
psDryContactorAlarm20 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm20.setStatus('current')
psDryContactorAlarm21 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm21.setStatus('current')
psDryContactorAlarm22 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm22.setStatus('current')
psDryContactorAlarm23 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm23.setStatus('current')
psDryContactorAlarm24 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm24.setStatus('current')
psDryContactorAlarm25 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm25.setStatus('current')
psDryContactorAlarm26 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm26.setStatus('current')
psDryContactorAlarm27 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm27.setStatus('current')
psDryContactorAlarm28 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm28.setStatus('current')
psDryContactorAlarm29 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm29.setStatus('current')
psDryContactorAlarm30 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm30.setStatus('current')
psDryContactorAlarm31 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm31.setStatus('current')
psDryContactorAlarm32 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactorAlarm32.setStatus('current')
psDryContactStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContactStatus.setStatus('current')
psDryContact1Table = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13), )
if mibBuilder.loadTexts: psDryContact1Table.setStatus('current')
psDryContactor1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psDryContactor1Index"))
if mibBuilder.loadTexts: psDryContactor1Entry.setStatus('current')
psDryContactor1Index = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContactor1Index.setStatus('current')
psDryContactor1Alarm1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm1.setStatus('current')
psDryContactor1Alarm2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm2.setStatus('current')
psDryContactor1Alarm3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm3.setStatus('current')
psDryContactor1Alarm4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm4.setStatus('current')
psDryContactor1Alarm5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm5.setStatus('current')
psDryContactor1Alarm6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm6.setStatus('current')
psDryContactor1Alarm7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm7.setStatus('current')
psDryContactor1Alarm8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm8.setStatus('current')
psDryContactor1Alarm9 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm9.setStatus('current')
psDryContactor1Alarm10 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm10.setStatus('current')
psDryContactor1Alarm11 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm11.setStatus('current')
psDryContactor1Alarm12 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm12.setStatus('current')
psDryContactor1Alarm13 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm13.setStatus('current')
psDryContactor1Alarm14 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm14.setStatus('current')
psDryContactor1Alarm15 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm15.setStatus('current')
psDryContactor1Alarm16 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm16.setStatus('current')
psDryContactor1Alarm17 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm17.setStatus('current')
psDryContactor1Alarm18 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm18.setStatus('current')
psDryContactor1Alarm19 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm19.setStatus('current')
psDryContactor1Alarm20 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm20.setStatus('current')
psDryContactor1Alarm21 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm21.setStatus('current')
psDryContactor1Alarm22 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm22.setStatus('current')
psDryContactor1Alarm23 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm23.setStatus('current')
psDryContactor1Alarm24 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm24.setStatus('current')
psDryContactor1Alarm25 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm25.setStatus('current')
psDryContactor1Alarm26 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm26.setStatus('current')
psDryContactor1Alarm27 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm27.setStatus('current')
psDryContactor1Alarm28 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm28.setStatus('current')
psDryContactor1Alarm29 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm29.setStatus('current')
psDryContactor1Alarm30 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm30.setStatus('current')
psDryContactor1Alarm31 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm31.setStatus('current')
psDryContactor1Alarm32 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor1Alarm32.setStatus('current')
psDryContact1Status = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContact1Status.setStatus('current')
psDryContact2Table = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15), )
if mibBuilder.loadTexts: psDryContact2Table.setStatus('current')
psDryContactor2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psDryContactor2Index"))
if mibBuilder.loadTexts: psDryContactor2Entry.setStatus('current')
psDryContactor2Index = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContactor2Index.setStatus('current')
psDryContactor2Alarm1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm1.setStatus('current')
psDryContactor2Alarm2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm2.setStatus('current')
psDryContactor2Alarm3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm3.setStatus('current')
psDryContactor2Alarm4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm4.setStatus('current')
psDryContactor2Alarm5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm5.setStatus('current')
psDryContactor2Alarm6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm6.setStatus('current')
psDryContactor2Alarm7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm7.setStatus('current')
psDryContactor2Alarm8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm8.setStatus('current')
psDryContactor2Alarm9 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm9.setStatus('current')
psDryContactor2Alarm10 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm10.setStatus('current')
psDryContactor2Alarm11 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm11.setStatus('current')
psDryContactor2Alarm12 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm12.setStatus('current')
psDryContactor2Alarm13 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm13.setStatus('current')
psDryContactor2Alarm14 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm14.setStatus('current')
psDryContactor2Alarm15 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm15.setStatus('current')
psDryContactor2Alarm16 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm16.setStatus('current')
psDryContactor2Alarm17 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm17.setStatus('current')
psDryContactor2Alarm18 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm18.setStatus('current')
psDryContactor2Alarm19 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm19.setStatus('current')
psDryContactor2Alarm20 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm20.setStatus('current')
psDryContactor2Alarm21 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm21.setStatus('current')
psDryContactor2Alarm22 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm22.setStatus('current')
psDryContactor2Alarm23 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm23.setStatus('current')
psDryContactor2Alarm24 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm24.setStatus('current')
psDryContactor2Alarm25 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm25.setStatus('current')
psDryContactor2Alarm26 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm26.setStatus('current')
psDryContactor2Alarm27 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm27.setStatus('current')
psDryContactor2Alarm28 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm28.setStatus('current')
psDryContactor2Alarm29 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm29.setStatus('current')
psDryContactor2Alarm30 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm30.setStatus('current')
psDryContactor2Alarm31 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm31.setStatus('current')
psDryContactor2Alarm32 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("set", 1), ("notset", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDryContactor2Alarm32.setStatus('current')
psDryContact2Status = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDryContact2Status.setStatus('current')
psSeverityMapTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1), )
if mibBuilder.loadTexts: psSeverityMapTable.setStatus('current')
psSeverityMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psSeverityMapIndex"))
if mibBuilder.loadTexts: psSeverityMapEntry.setStatus('current')
psSeverityMapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSeverityMapIndex.setStatus('current')
psSeverityMapAlarm1to32 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSeverityMapAlarm1to32.setStatus('current')
psSeverityMapAlarm33to64 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSeverityMapAlarm33to64.setStatus('current')
psSeverityMapAlarm65to96 = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSeverityMapAlarm65to96.setStatus('current')
psConfEnableCurrentLimit = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEnableCurrentLimit.setStatus('current')
psConfEnablePeriodicEqualize = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEnablePeriodicEqualize.setStatus('current')
psConfGHighTempAlarm = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfGHighTempAlarm.setStatus('current')
psConfLowTempAlarmSign = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("positive", 0), ("negative", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfLowTempAlarmSign.setStatus('current')
psConfLowTempAlarm = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfLowTempAlarm.setStatus('current')
psConfTemperatureCoefficient = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfTemperatureCoefficient.setStatus('current')
psConfNumOfInvertors = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNumOfInvertors.setStatus('current')
psConfNumOfRectifiers = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNumOfRectifiers.setStatus('current')
psConfACHigh = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfACHigh.setStatus('current')
psConfACLow = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfACLow.setStatus('current')
psConfCurrentLimit = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfCurrentLimit.setStatus('current')
psConfHIA = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 12), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfHIA.setStatus('current')
psConfBDOC = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 13), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfBDOC.setStatus('current')
psConfBatteryNominalCapacity = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 14), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfBatteryNominalCapacity.setStatus('current')
psConfEqualStopTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 15), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqualStopTime.setStatus('current')
psConfEqualStopCurrent = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 16), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqualStopCurrent.setStatus('current')
psConfEqualPeriod = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 17), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqualPeriod.setStatus('current')
psConfEqualStartCurrent = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 18), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqualStartCurrent.setStatus('current')
psConfMajorLowVoltage1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 19), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfMajorLowVoltage1.setStatus('current')
psConfMajorLowVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 20), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfMajorLowVoltage.setStatus('current')
psConfMinorLowVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 21), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfMinorLowVoltage.setStatus('current')
psConfMinorHighVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 22), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfMinorHighVoltage.setStatus('current')
psConfMajorHighVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 23), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfMajorHighVoltage.setStatus('current')
psConfFloatingVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 24), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfFloatingVoltage.setStatus('current')
psConfEqualizingVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 25), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqualizingVoltage.setStatus('current')
psConfNumberOfBattery = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 26), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNumberOfBattery.setStatus('current')
psConfEnableTempComp = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEnableTempComp.setStatus('current')
psConfNumberOfLVD = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 28), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNumberOfLVD.setStatus('current')
psConfEqMajorLowVoltageLV1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 29), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqMajorLowVoltageLV1.setStatus('current')
psConfEqMajorLowVoltageLv = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 30), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqMajorLowVoltageLv.setStatus('current')
psConfEqMinorLowVoltageLV = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 31), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqMinorLowVoltageLV.setStatus('current')
psConfEqMinorHighVoltageHV = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 32), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqMinorHighVoltageHV.setStatus('current')
psConfEqMajorHighVoltageHV = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 33), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfEqMajorHighVoltageHV.setStatus('current')
psConfInvertorVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 34), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfInvertorVoltage.setStatus('current')
psConfInvertorHighVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 35), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfInvertorHighVoltage.setStatus('current')
psConfInvertorLowVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 36), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfInvertorLowVoltage.setStatus('current')
psConfLVDDisconnectTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 37), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfLVDDisconnectTime.setStatus('current')
psConfNomSpare0 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 38), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare0.setStatus('current')
psConfNomSpare1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 39), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare1.setStatus('current')
psConfNomSpare2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 40), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare2.setStatus('current')
psConfNomSpare3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 41), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare3.setStatus('current')
psConfNomSpare4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 42), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare4.setStatus('current')
psConfNomSpare5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 43), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare5.setStatus('current')
psConfNomSpare6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 44), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare6.setStatus('current')
psConfNomSpare7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 45), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare7.setStatus('current')
psConfNomSpare8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 46), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare8.setStatus('current')
psConfNomSpare9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 47), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare9.setStatus('current')
psConfNomSpare10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 48), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psConfNomSpare10.setStatus('current')
psStatusAlarm1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm1.setStatus('current')
psStatusAlarm2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm2.setStatus('current')
psStatusAlarm3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm3.setStatus('current')
psStatusAlarm4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm4.setStatus('current')
psStatusAlarm5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm5.setStatus('current')
psStatusAlarm6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm6.setStatus('current')
psStatusAlarm7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm7.setStatus('current')
psStatusAlarm8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm8.setStatus('current')
psStatusAlarm9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm9.setStatus('current')
psStatusAlarm10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm10.setStatus('current')
psStatusAlarm11 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm11.setStatus('current')
psStatusAlarm12 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm12.setStatus('current')
psStatusAlarm13 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm13.setStatus('current')
psStatusAlarm14 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm14.setStatus('current')
psStatusAlarm15 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm15.setStatus('current')
psStatusAlarm16 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm16.setStatus('current')
psStatusAlarm17 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm17.setStatus('current')
psStatusAlarm18 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm18.setStatus('current')
psStatusAlarm19 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm19.setStatus('current')
psStatusAlarm20 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm20.setStatus('current')
psStatusAlarm21 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm21.setStatus('current')
psStatusAlarm22 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm22.setStatus('current')
psStatusAlarm23 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm23.setStatus('current')
psStatusAlarm24 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm24.setStatus('current')
psStatusAlarm25 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm25.setStatus('current')
psStatusAlarm26 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm26.setStatus('current')
psStatusAlarm27 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm27.setStatus('current')
psStatusAlarm28 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm28.setStatus('current')
psStatusAlarm29 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm29.setStatus('current')
psStatusAlarm30 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm30.setStatus('current')
psStatusAlarm31 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm31.setStatus('current')
psStatusAlarm32 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm32.setStatus('current')
psStatusAlarm33 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm33.setStatus('current')
psStatusAlarm34 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm34.setStatus('current')
psStatusAlarm35 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm35.setStatus('current')
psStatusAlarm36 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm36.setStatus('current')
psStatusAlarm37 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm37.setStatus('current')
psStatusAlarm38 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm38.setStatus('current')
psStatusAlarm39 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm39.setStatus('current')
psStatusAlarm40 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm40.setStatus('current')
psStatusAlarm41 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm41.setStatus('current')
psStatusAlarm42 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm42.setStatus('current')
psStatusAlarm43 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm43.setStatus('current')
psStatusAlarm44 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm44.setStatus('current')
psStatusAlarm45 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm45.setStatus('current')
psStatusAlarm46 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm46.setStatus('current')
psStatusAlarm47 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm47.setStatus('current')
psStatusAlarm48 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm48.setStatus('current')
psStatusAlarm49 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm49.setStatus('current')
psStatusAlarm50 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm50.setStatus('current')
psStatusAlarm51 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm51.setStatus('current')
psStatusAlarm52 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm52.setStatus('current')
psStatusAlarm53 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm53.setStatus('current')
psStatusAlarm54 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm54.setStatus('current')
psStatusAlarm55 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm55.setStatus('current')
psStatusAlarm56 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm56.setStatus('current')
psStatusAlarm57 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm57.setStatus('current')
psStatusAlarm58 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm58.setStatus('current')
psStatusAlarm59 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 59), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm59.setStatus('current')
psStatusAlarm60 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm60.setStatus('current')
psStatusAlarm61 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm61.setStatus('current')
psStatusAlarm62 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm62.setStatus('current')
psStatusAlarm63 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm63.setStatus('current')
psStatusAlarm64 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm64.setStatus('current')
psStatusAlarm65 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 65), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm65.setStatus('current')
psStatusAlarm66 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm66.setStatus('current')
psStatusAlarm67 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 67), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm67.setStatus('current')
psStatusAlarm68 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 68), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm68.setStatus('current')
psStatusAlarm69 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 69), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm69.setStatus('current')
psStatusAlarm70 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 70), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm70.setStatus('current')
psStatusAlarm71 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm71.setStatus('current')
psStatusAlarm72 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm72.setStatus('current')
psStatusAlarm73 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 73), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm73.setStatus('current')
psStatusAlarm74 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 74), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm74.setStatus('current')
psStatusAlarm75 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 75), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm75.setStatus('current')
psStatusAlarm76 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 76), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm76.setStatus('current')
psStatusAlarm77 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 77), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm77.setStatus('current')
psStatusAlarm78 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 78), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm78.setStatus('current')
psStatusAlarm79 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 79), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm79.setStatus('current')
psStatusAlarm80 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 80), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm80.setStatus('current')
psStatusAlarm81 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 81), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm81.setStatus('current')
psStatusAlarm82 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 82), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm82.setStatus('current')
psStatusAlarm83 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 83), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm83.setStatus('current')
psStatusAlarm84 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 84), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm84.setStatus('current')
psStatusAlarm85 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 85), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm85.setStatus('current')
psStatusAlarm86 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm86.setStatus('current')
psStatusAlarm87 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 87), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm87.setStatus('current')
psStatusAlarm88 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 88), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm88.setStatus('current')
psStatusAlarm89 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 89), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm89.setStatus('current')
psStatusAlarm90 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 90), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm90.setStatus('current')
psStatusAlarm91 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 91), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm91.setStatus('current')
psStatusAlarm92 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm92.setStatus('current')
psStatusAlarm93 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 93), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm93.setStatus('current')
psStatusAlarm94 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 94), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm94.setStatus('current')
psStatusAlarm95 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 95), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm95.setStatus('current')
psStatusAlarm96 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 96), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 3, 2, 1))).clone(namedValues=NamedValues(("notactive", 0), ("warning", 4), ("minor", 3), ("major", 2), ("critical", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psStatusAlarm96.setStatus('current')
psStatusAlarmStruct = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 97), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psStatusAlarmStruct.setStatus('current')
psStatusAlarmStruct1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 98), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psStatusAlarmStruct1.setStatus('current')
psStatusAlarmStruct2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 99), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psStatusAlarmStruct2.setStatus('current')
psUnitSysName = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitSysName.setStatus('current')
psUnitManufacture = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitManufacture.setStatus('current')
psUnitBatteryType = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitBatteryType.setStatus('current')
psUnitPSType = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitPSType.setStatus('current')
psUnitControllerType = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitControllerType.setStatus('current')
psUnitSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitSoftwareVersion.setStatus('current')
psUnitComProtocolVersion = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitComProtocolVersion.setStatus('current')
psUnitSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psUnitSerialNumber.setStatus('current')
psUnitRTCDay = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCDay.setStatus('current')
psUnitRTCMonth = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCMonth.setStatus('current')
psUnitRTCYear = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCYear.setStatus('current')
psUnitRTCHour = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 12), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCHour.setStatus('current')
psUnitRTCMinute = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 13), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCMinute.setStatus('current')
psUnitRTCSecond = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 14), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psUnitRTCSecond.setStatus('current')
psWorkingTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psWorkingTime.setStatus('current')
psScreenShot = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(160, 160)).setFixedLength(160)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psScreenShot.setStatus('current')
psSpareIde0 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 17), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde0.setStatus('current')
psSpareIde1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 18), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde1.setStatus('current')
psSpareIde2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 19), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde2.setStatus('current')
psSpareIde3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 20), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde3.setStatus('current')
psSpareIde4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 21), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde4.setStatus('current')
psSpareIde5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 22), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde5.setStatus('current')
psSpareIde6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 23), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde6.setStatus('current')
psSpareIde7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 24), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpareIde7.setStatus('current')
psHourlyTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1), )
if mibBuilder.loadTexts: psHourlyTable.setStatus('current')
psHourlyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psHourlyIndex"))
if mibBuilder.loadTexts: psHourlyEntry.setStatus('current')
psHourlyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyIndex.setStatus('current')
psHourlyMaxVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyMaxVoltage.setStatus('current')
psHourlyMinVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyMinVoltage.setStatus('current')
psHourlyAvrVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyAvrVoltage.setStatus('current')
psHourlyMinCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyMinCurrent.setStatus('current')
psHourlyMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyMaxCurrent.setStatus('current')
psHourlyAvrCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyAvrCurrent.setStatus('current')
psHourlyEndTime = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 23))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyEndTime.setStatus('current')
psDailyTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2), )
if mibBuilder.loadTexts: psDailyTable.setStatus('current')
psDailyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psDailyIndex"))
if mibBuilder.loadTexts: psDailyEntry.setStatus('current')
psDailyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyIndex.setStatus('current')
psDailyMaxVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyMaxVoltage.setStatus('current')
psDailyMinVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyMinVoltage.setStatus('current')
psDailyAvrVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyAvrVoltage.setStatus('current')
psDailyMinCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyMinCurrent.setStatus('current')
psDailyMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyMaxCurrent.setStatus('current')
psDailyAvrCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyAvrCurrent.setStatus('current')
psDailyDayOfMonth = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyDayOfMonth.setStatus('current')
psMonthlyTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3), )
if mibBuilder.loadTexts: psMonthlyTable.setStatus('current')
psMonthlyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psMonthlyIndex"))
if mibBuilder.loadTexts: psMonthlyEntry.setStatus('current')
psMonthlyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyIndex.setStatus('current')
psMonthlyMaxVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyMaxVoltage.setStatus('current')
psMonthlyMinVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyMinVoltage.setStatus('current')
psMonthlyAvrVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyAvrVoltage.setStatus('current')
psMonthlyMinCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyMinCurrent.setStatus('current')
psMonthlyMaxCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyMaxCurrent.setStatus('current')
psMonthlyAvrCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyAvrCurrent.setStatus('current')
psMonthlyMonth = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyMonth.setStatus('current')
psHourlyFirst = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyFirst.setStatus('current')
psHourlyLast = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psHourlyLast.setStatus('current')
psDailyFirst = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyFirst.setStatus('current')
psDailyLast = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDailyLast.setStatus('current')
psMonthlyFirst = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyFirst.setStatus('current')
psMonthlyLast = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psMonthlyLast.setStatus('current')
psLogTable = MibTable((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1), )
if mibBuilder.loadTexts: psLogTable.setStatus('current')
psLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1), ).setIndexNames((0, "GAMATRONIC-MIB", "psLogIndex"))
if mibBuilder.loadTexts: psLogEntry.setStatus('current')
psLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogIndex.setStatus('current')
psLogDateYear = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateYear.setStatus('current')
psLogDateMonth = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateMonth.setStatus('current')
psLogDateDay = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateDay.setStatus('current')
psLogDateHour = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateHour.setStatus('current')
psLogDateMinute = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateMinute.setStatus('current')
psLogDateSecond = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateSecond.setStatus('current')
psLogDCVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDCVoltage.setStatus('current')
psLogStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogStatus.setStatus('current')
psLogAlarmCode = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogAlarmCode.setStatus('current')
psLogDateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogDateTime.setStatus('current')
psLogGeneral = MibTableColumn((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogGeneral.setStatus('current')
psLogFirst = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 11, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogFirst.setStatus('current')
psLogLast = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 11, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psLogLast.setStatus('current')
psTrapSeverity = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 1), PsAlarmSeverity()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psTrapSeverity.setStatus('current')
psTrapStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: psTrapStatus.setStatus('current')
psTrapActivation = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psTrapActivation.setStatus('current')
psAlarm1006 = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10))
psTrapPrefix1006 = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0))
psTrap1006ACLow = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 1)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006ACLow.setStatus('current')
psTrap1006Battery2TestFault = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 2)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006Battery2TestFault.setStatus('current')
psTrap1006Battery1TestFault = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 3)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006Battery1TestFault.setStatus('current')
psTrap1006LVD2Open = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 4)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006LVD2Open.setStatus('current')
psTrap1006LVD1Open = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 5)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006LVD1Open.setStatus('current')
psTrap1006AUXContactOpen = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 6)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006AUXContactOpen.setStatus('current')
psTrap1006AUXBreakerOpen = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 7)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006AUXBreakerOpen.setStatus('current')
psTrap1006BatteryBreakerOpen = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 8)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006BatteryBreakerOpen.setStatus('current')
psTrap1006LoadBreakerOpen = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 9)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006LoadBreakerOpen.setStatus('current')
psTrap1006DCLOWLow = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 10)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006DCLOWLow.setStatus('current')
psTrap1006Rectifier = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 11)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006Rectifier.setStatus('current')
psTrap1006OverTemptature = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 12)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006OverTemptature.setStatus('current')
psTrap1006LVDBypassOpen = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 13)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006LVDBypassOpen.setStatus('current')
psTrap1006DCHigh = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 14)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006DCHigh.setStatus('current')
psTrap1006DCLow = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 15)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006DCLow.setStatus('current')
psTrap1006ACHigh = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 16)).setObjects(("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrap1006ACHigh.setStatus('current')
psAlarm = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11))
psTrapPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0))
psTrapRFAMAJ = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 1)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapRFAMAJ.setStatus('current')
psTrapRFAMIN = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 2)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapRFAMIN.setStatus('current')
psTrapACFAIL = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 3)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapACFAIL.setStatus('current')
psTrapLVDX2 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 4)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapLVDX2.setStatus('current')
psTrapSYSOT = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 5)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapSYSOT.setStatus('current')
psTrapLVDX1 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 6)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapLVDX1.setStatus('current')
psTrapCBOPEN = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 7)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapCBOPEN.setStatus('current')
psTrapEQHST = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 8)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapEQHST.setStatus('current')
psTrapBATTST = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 9)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapBATTST.setStatus('current')
psTrapINUBAD = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 10)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapINUBAD.setStatus('current')
psTrapUNIVPD = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 11)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapUNIVPD.setStatus('current')
psTrapIBADIN = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 12)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapIBADIN.setStatus('current')
psTrapRBADIN = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 13)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapRBADIN.setStatus('current')
psTrapSLFTST = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 14)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapSLFTST.setStatus('current')
psTrapFUSEBD = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 15)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapFUSEBD.setStatus('current')
psTrapLOADHI = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 16)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapLOADHI.setStatus('current')
psTrapSURGBD = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 17)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapSURGBD.setStatus('current')
psTrapEQLONG = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 18)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapEQLONG.setStatus('current')
psTrapFUSE24 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 19)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapFUSE24.setStatus('current')
psTrapFUSE48 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 20)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapFUSE48.setStatus('current')
psTrapBYPS2 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 21)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapBYPS2.setStatus('current')
psTrapBYPS1 = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 22)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapBYPS1.setStatus('current')
psTrapCB24CR = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 23)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapCB24CR.setStatus('current')
psTrapCB48CR = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 24)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapCB48CR.setStatus('current')
psTrapBATOT = NotificationType((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 25)).setObjects(("GAMATRONIC-MIB", "psTrapSeverity"), ("GAMATRONIC-MIB", "psTrapStatus"))
if mibBuilder.loadTexts: psTrapBATOT.setStatus('current')
psAlarmSet1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet1.setStatus('current')
psAlarmSet2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet2.setStatus('current')
psAlarmSet3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet3.setStatus('current')
psAlarmSet4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet4.setStatus('current')
psAlarmSet5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet5.setStatus('current')
psAlarmSet6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet6.setStatus('current')
psAlarmSet7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet7.setStatus('current')
psAlarmSet8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet8.setStatus('current')
psAlarmSet9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet9.setStatus('current')
psAlarmSet10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet10.setStatus('current')
psAlarmSet11 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet11.setStatus('current')
psAlarmSet12 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet12.setStatus('current')
psAlarmSet13 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet13.setStatus('current')
psAlarmSet14 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet14.setStatus('current')
psAlarmSet15 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet15.setStatus('current')
psAlarmSet16 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet16.setStatus('current')
psAlarmSet17 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet17.setStatus('current')
psAlarmSet18 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet18.setStatus('current')
psAlarmSet19 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet19.setStatus('current')
psAlarmSet20 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet20.setStatus('current')
psAlarmSet21 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet21.setStatus('current')
psAlarmSet22 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet22.setStatus('current')
psAlarmSet23 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet23.setStatus('current')
psAlarmSet24 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet24.setStatus('current')
psAlarmSet25 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet25.setStatus('current')
psAlarmSet26 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet26.setStatus('current')
psAlarmSet27 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet27.setStatus('current')
psAlarmSet28 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet28.setStatus('current')
psAlarmSet29 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet29.setStatus('current')
psAlarmSet30 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet30.setStatus('current')
psAlarmSet31 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet31.setStatus('current')
psAlarmSet32 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet32.setStatus('current')
psAlarmSet33 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet33.setStatus('current')
psAlarmSet34 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet34.setStatus('current')
psAlarmSet35 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet35.setStatus('current')
psAlarmSet36 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet36.setStatus('current')
psAlarmSet37 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet37.setStatus('current')
psAlarmSet38 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet38.setStatus('current')
psAlarmSet39 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet39.setStatus('current')
psAlarmSet40 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet40.setStatus('current')
psAlarmSet41 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet41.setStatus('current')
psAlarmSet42 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet42.setStatus('current')
psAlarmSet43 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet43.setStatus('current')
psAlarmSet44 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet44.setStatus('current')
psAlarmSet45 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet45.setStatus('current')
psAlarmSet46 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet46.setStatus('current')
psAlarmSet47 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet47.setStatus('current')
psAlarmSet48 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet48.setStatus('current')
psAlarmSet49 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet49.setStatus('current')
psAlarmSet50 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet50.setStatus('current')
psAlarmSet51 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet51.setStatus('current')
psAlarmSet52 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet52.setStatus('current')
psAlarmSet53 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet53.setStatus('current')
psAlarmSet54 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet54.setStatus('current')
psAlarmSet55 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet55.setStatus('current')
psAlarmSet56 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet56.setStatus('current')
psAlarmSet57 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet57.setStatus('current')
psAlarmSet58 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet58.setStatus('current')
psAlarmSet59 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 59), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet59.setStatus('current')
psAlarmSet60 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet60.setStatus('current')
psAlarmSet61 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet61.setStatus('current')
psAlarmSet62 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet62.setStatus('current')
psAlarmSet63 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet63.setStatus('current')
psAlarmSet64 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet64.setStatus('current')
psAlarmSet65 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 65), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet65.setStatus('current')
psAlarmSet66 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet66.setStatus('current')
psAlarmSet67 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 67), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet67.setStatus('current')
psAlarmSet68 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 68), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet68.setStatus('current')
psAlarmSet69 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 69), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet69.setStatus('current')
psAlarmSet70 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 70), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet70.setStatus('current')
psAlarmSet71 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet71.setStatus('current')
psAlarmSet72 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet72.setStatus('current')
psAlarmSet73 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 73), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet73.setStatus('current')
psAlarmSet74 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 74), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet74.setStatus('current')
psAlarmSet75 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 75), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet75.setStatus('current')
psAlarmSet76 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 76), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet76.setStatus('current')
psAlarmSet77 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 77), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet77.setStatus('current')
psAlarmSet78 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 78), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet78.setStatus('current')
psAlarmSet79 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 79), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet79.setStatus('current')
psAlarmSet80 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 80), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet80.setStatus('current')
psAlarmSet81 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 81), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet81.setStatus('current')
psAlarmSet82 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 82), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet82.setStatus('current')
psAlarmSet83 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 83), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet83.setStatus('current')
psAlarmSet84 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 84), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet84.setStatus('current')
psAlarmSet85 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 85), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet85.setStatus('current')
psAlarmSet86 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet86.setStatus('current')
psAlarmSet87 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 87), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet87.setStatus('current')
psAlarmSet88 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 88), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet88.setStatus('current')
psAlarmSet89 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 89), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet89.setStatus('current')
psAlarmSet90 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 90), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet90.setStatus('current')
psAlarmSet91 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 91), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet91.setStatus('current')
psAlarmSet92 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet92.setStatus('current')
psAlarmSet93 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 93), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet93.setStatus('current')
psAlarmSet94 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 94), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet94.setStatus('current')
psAlarmSet95 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 95), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet95.setStatus('current')
psAlarmSet96 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 96), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enable", 0), ("disable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psAlarmSet96.setStatus('current')
psSecurityComunity1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityComunity1.setStatus('current')
psSecurityComunity2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityComunity2.setStatus('current')
psSecurityComunity3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityComunity3.setStatus('current')
psSecurityPasswordComunity = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityPasswordComunity.setStatus('current')
psSecurityPasswordSet = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityPasswordSet.setStatus('current')
psSecuritySetGetPassword = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecuritySetGetPassword.setStatus('current')
psSecurityErasePassword = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("reset", 1), ("dont", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityErasePassword.setStatus('current')
psSecurityTrapIp1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 8), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityTrapIp1.setStatus('current')
psSecurityTrapIp2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 9), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityTrapIp2.setStatus('current')
psSecurityTrapIp3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 10), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityTrapIp3.setStatus('current')
psSecurityTrapIp4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 11), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityTrapIp4.setStatus('current')
psSecurityInterfaceIP = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 12), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityInterfaceIP.setStatus('current')
psSecurityInterfaceNetMask = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 13), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityInterfaceNetMask.setStatus('current')
psSecurityInterfaceGateWay = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 14), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityInterfaceGateWay.setStatus('current')
psSecurityInterfaceActivate = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("donot", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSecurityInterfaceActivate.setStatus('current')
psCommandGoFloat = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandGoFloat.setStatus('current')
psCommandGoEqualizing = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 72))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandGoEqualizing.setStatus('current')
psCommandDoSelfTest = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandDoSelfTest.setStatus('current')
psCommandRunFlash1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("activate", 1), ("dontactivate", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandRunFlash1.setStatus('current')
psCommandRunFlash2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("activate", 1), ("dontactivate", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandRunFlash2.setStatus('current')
psCommandTestBatteryAll = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandTestBatteryAll.setStatus('current')
psCommandDoBoot = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("do", 1), ("dont", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandDoBoot.setStatus('current')
psCommandLoadDefault = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("load", 1), ("dontload", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandLoadDefault.setStatus('current')
psCommandProgramNonActiveFlash = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("load", 1), ("dontload", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandProgramNonActiveFlash.setStatus('current')
psCommandNonActiveFlash = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandNonActiveFlash.setStatus('current')
psCommandNonActiveStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandNonActiveStatus.setStatus('current')
psCommandDownLoadSoftware = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandDownLoadSoftware.setStatus('current')
psCommandDownLoadCheck = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("completeok", 0), ("inprogress", 1), ("notok1", 2), ("notok2", 3), ("notok3", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandDownLoadCheck.setStatus('current')
psCommandFileName = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 14), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandFileName.setStatus('current')
psCommandIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 15), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandIpAddress.setStatus('current')
psCommandAbortBatTest = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("abort", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandAbortBatTest.setStatus('current')
psCommandEraseTotalTime = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("erase", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandEraseTotalTime.setStatus('current')
psCommandAbortProgramFlash = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandAbortProgramFlash.setStatus('current')
psCommandUserDefine2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandUserDefine2.setStatus('current')
psCommandUserDefine3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandUserDefine3.setStatus('current')
psCommandUserDefine4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandUserDefine4.setStatus('current')
psCommandUserDefine5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandUserDefine5.setStatus('current')
psCommandFlash1Protect = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlash1Protect.setStatus('current')
psCommandFlash2Protect = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlash2Protect.setStatus('current')
psCommandFlashFix = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlashFix.setStatus('current')
psCommandFlashFixNumber = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlashFixNumber.setStatus('current')
psCommandRemoteTest = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandRemoteTest.setStatus('current')
psCommandControlerStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandControlerStatus.setStatus('current')
psCommandFirmwareRev = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 29), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFirmwareRev.setStatus('current')
psCommandFlash2SWRev = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 30), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlash2SWRev.setStatus('current')
psCommandFlash1SWRev = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 31), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandFlash1SWRev.setStatus('current')
psCommandMBXSWRev = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 32), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandMBXSWRev.setStatus('current')
psCommandLeds = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 33), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandLeds.setStatus('current')
psCommandProgramingInProcess = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 34), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandProgramingInProcess.setStatus('current')
psCommandLoadUserDefaults = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandLoadUserDefaults.setStatus('current')
psCommandStoreUserDefaults = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandStoreUserDefaults.setStatus('current')
psCommandLoadUserParameters = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandLoadUserParameters.setStatus('current')
psCommandStoreUserParameters = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("activate", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandStoreUserParameters.setStatus('current')
psCommandDryInStatus = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 39), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandDryInStatus.setStatus('current')
psCommandSpareR0 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 40), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR0.setStatus('current')
psCommandSpareR1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 41), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR1.setStatus('current')
psCommandSpareR2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 42), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR2.setStatus('current')
psCommandSpareR3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 43), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR3.setStatus('current')
psCommandSpareR4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 44), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR4.setStatus('current')
psCommandSpareR5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 45), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR5.setStatus('current')
psCommandSpareR6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 46), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR6.setStatus('current')
psCommandSpareR7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 47), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR7.setStatus('current')
psCommandSpareR8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 48), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR8.setStatus('current')
psCommandSpareR9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 49), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR9.setStatus('current')
psCommandSpareR10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 50), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psCommandSpareR10.setStatus('current')
psCommandSpareW0 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 51), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW0.setStatus('current')
psCommandSpareW1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 52), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW1.setStatus('current')
psCommandSpareW2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 53), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW2.setStatus('current')
psCommandSpareW3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 54), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW3.setStatus('current')
psCommandSpareW4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 55), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW4.setStatus('current')
psCommandSpareW5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 56), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW5.setStatus('current')
psCommandSpareW6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 57), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW6.setStatus('current')
psCommandSpareW7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 58), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW7.setStatus('current')
psCommandSpareW8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 59), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW8.setStatus('current')
psCommandSpareW9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 60), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW9.setStatus('current')
psCommandSpareW10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 61), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW10.setStatus('current')
psCommandSpareW11 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 62), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW11.setStatus('current')
psCommandSpareW12 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 63), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psCommandSpareW12.setStatus('current')
psSpare1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare1.setStatus('current')
psSpare2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare2.setStatus('current')
psSpare3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare3.setStatus('current')
psSpare4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare4.setStatus('current')
psSpare5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare5.setStatus('current')
psSpare6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare6.setStatus('current')
psSpare7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare7.setStatus('current')
psSpare8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare8.setStatus('current')
psSpare9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare9.setStatus('current')
psSpare10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 10), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare10.setStatus('current')
psSpare11 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare11.setStatus('current')
psSpare12 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 12), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare12.setStatus('current')
psSpare13 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 13), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare13.setStatus('current')
psSpare14 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 14), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare14.setStatus('current')
psSpare15 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 15), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare15.setStatus('current')
psSpare16 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 16), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psSpare16.setStatus('current')
psSpare17 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare17.setStatus('current')
psSpare18 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare18.setStatus('current')
psSpare19 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare19.setStatus('current')
psSpare20 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare20.setStatus('current')
psSpare21 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare21.setStatus('current')
psSpare22 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare22.setStatus('current')
psSpare23 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare23.setStatus('current')
psSpare24 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare24.setStatus('current')
psSpare25 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare25.setStatus('current')
psSpare26 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare26.setStatus('current')
psSpare27 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare27.setStatus('current')
psSpare28 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare28.setStatus('current')
psSpare29 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 29), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare29.setStatus('current')
psSpare30 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 30), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare30.setStatus('current')
psSpare31 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 31), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare31.setStatus('current')
psSpare32 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 32), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psSpare32.setStatus('current')
psDialATDModemSetUp = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialATDModemSetUp.setStatus('current')
psDialATDDialOut = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialATDDialOut.setStatus('current')
psDialOutFlag = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("nodialout", 0), ("dialout", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialOutFlag.setStatus('current')
psDialOutNumRetries = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialOutNumRetries.setStatus('current')
psDialOutNumRetriesActual = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: psDialOutNumRetriesActual.setStatus('current')
psDialTimeOutBetweenRetries = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 6), Integer32()).setUnits('10 Seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialTimeOutBetweenRetries.setStatus('current')
psDialTimeOutAfterLastSuccess = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 7), Integer32()).setUnits('10 Seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialTimeOutAfterLastSuccess.setStatus('current')
psDialTimeOutAfterLastRetryFailed = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 8), Integer32()).setUnits('Minutes').setMaxAccess("readwrite")
if mibBuilder.loadTexts: psDialTimeOutAfterLastRetryFailed.setStatus('current')
psPowerPlus1 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus1.setStatus('current')
psPowerPlus2 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus2.setStatus('current')
psPowerPlus3 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus3.setStatus('current')
psPowerPlus4 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus4.setStatus('current')
psPowerPlus5 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus5.setStatus('current')
psPowerPlus6 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus6.setStatus('current')
psPowerPlus7 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus7.setStatus('current')
psPowerPlus8 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus8.setStatus('current')
psPowerPlus9 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus9.setStatus('current')
psPowerPlus10 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus10.setStatus('current')
psPowerPlus11 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus11.setStatus('current')
psPowerPlus12 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus12.setStatus('current')
psPowerPlus13 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus13.setStatus('current')
psPowerPlus14 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus14.setStatus('current')
psPowerPlus15 = MibScalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly")
if mibBuilder.loadTexts: psPowerPlus15.setStatus('current')
mibBuilder.exportSymbols("GAMATRONIC-MIB", psAlarmSet72=psAlarmSet72, psPSUTemperature=psPSUTemperature, psStatusAlarm31=psStatusAlarm31, psBatterySpareRead3=psBatterySpareRead3, psPowerPlus14=psPowerPlus14, psStatusAlarm64=psStatusAlarm64, psSecurityErasePassword=psSecurityErasePassword, psCommandUserDefine2=psCommandUserDefine2, psStatusAlarm13=psStatusAlarm13, psPSUNotRespond=psPSUNotRespond, psAlarmSet73=psAlarmSet73, psAlarmSet14=psAlarmSet14, psConfNomSpare1=psConfNomSpare1, psSpare26=psSpare26, psCommandRemoteTest=psCommandRemoteTest, psAlarmSet89=psAlarmSet89, psDryContactorEntry=psDryContactorEntry, psStatusAlarm22=psStatusAlarm22, psTrap1006LVDBypassOpen=psTrap1006LVDBypassOpen, psConfHIA=psConfHIA, psDialATDModemSetUp=psDialATDModemSetUp, psINUCurrentLimitExceed=psINUCurrentLimitExceed, psINUPsOK=psINUPsOK, psDryContactor1Alarm20=psDryContactor1Alarm20, psDryContactor2Alarm17=psDryContactor2Alarm17, psConfEnableTempComp=psConfEnableTempComp, psAlarmSet69=psAlarmSet69, psCommandSpareW0=psCommandSpareW0, psPSUTestStatus=psPSUTestStatus, psDryContactorAlarm11=psDryContactorAlarm11, psTrapSYSOT=psTrapSYSOT, psContuctor9=psContuctor9, gamatronicLTD=gamatronicLTD, psBatterySpareRead1=psBatterySpareRead1, psCommandIpAddress=psCommandIpAddress, psConfNominal=psConfNominal, psDryContactorAlarm24=psDryContactorAlarm24, psCommandAbortProgramFlash=psCommandAbortProgramFlash, psACInputSurgeStatus=psACInputSurgeStatus, psAlarmSet53=psAlarmSet53, psDryContactor1Alarm10=psDryContactor1Alarm10, psTrapCB48CR=psTrapCB48CR, psLogStatus=psLogStatus, psACInputVoltage3=psACInputVoltage3, psSeverityMapAlarm33to64=psSeverityMapAlarm33to64, psCommandSpareW1=psCommandSpareW1, psConfNomSpare5=psConfNomSpare5, psStatusAlarm78=psStatusAlarm78, psStatusAlarm8=psStatusAlarm8, psDialATDDialOut=psDialATDDialOut, psSecurityComunity2=psSecurityComunity2, psDailyAvrVoltage=psDailyAvrVoltage, psDryContactorAlarm13=psDryContactorAlarm13, psDCoutputCurrent1=psDCoutputCurrent1, psTrapLOADHI=psTrapLOADHI, psDialOutNumRetries=psDialOutNumRetries, psConfEqualizingVoltage=psConfEqualizingVoltage, psConfMajorLowVoltage1=psConfMajorLowVoltage1, psINUCurrentLimitDecreased=psINUCurrentLimitDecreased, psAlarm1006=psAlarm1006, psBatteryTestTime=psBatteryTestTime, psAlarmSet9=psAlarmSet9, psDryContactorAlarm20=psDryContactorAlarm20, psINUShutInstruction=psINUShutInstruction, psLogDateTime=psLogDateTime, psDryContactor2Alarm29=psDryContactor2Alarm29, psConfMinorHighVoltage=psConfMinorHighVoltage, psStatusAlarm90=psStatusAlarm90, psDCoutputSpare1=psDCoutputSpare1, psAlarmSet86=psAlarmSet86, psCommandStoreUserDefaults=psCommandStoreUserDefaults, psContuctor4=psContuctor4, psDryContactor1Alarm3=psDryContactor1Alarm3, psCommandDownLoadCheck=psCommandDownLoadCheck, psAlarmSet35=psAlarmSet35, psDryContact2Status=psDryContact2Status, psPowerPlus3=psPowerPlus3, psStatusAlarm73=psStatusAlarm73, psMonthlyFirst=psMonthlyFirst, psDryContactor1Alarm24=psDryContactor1Alarm24, psDryContactor1Alarm28=psDryContactor1Alarm28, psStatusAlarm88=psStatusAlarm88, psStatusAlarm96=psStatusAlarm96, psConfInvertorLowVoltage=psConfInvertorLowVoltage, psTrap1006LoadBreakerOpen=psTrap1006LoadBreakerOpen, psDialOutFlag=psDialOutFlag, psCommandDoBoot=psCommandDoBoot, psCommandSpareW7=psCommandSpareW7, psAlarmSet28=psAlarmSet28, psDialTimeOutAfterLastRetryFailed=psDialTimeOutAfterLastRetryFailed, psINUReserve9=psINUReserve9, psStatusAlarm46=psStatusAlarm46, psDryContactor2Alarm30=psDryContactor2Alarm30, psStatusAlarm37=psStatusAlarm37, psAlarmSet66=psAlarmSet66, psTrapIBADIN=psTrapIBADIN, psSpare30=psSpare30, psCommandSpareW5=psCommandSpareW5, psSpare4=psSpare4, psBattery=psBattery, psDryContactor2Alarm20=psDryContactor2Alarm20, psBatteryChargeMode=psBatteryChargeMode, psSeverityMapTable=psSeverityMapTable, psDailyMinVoltage=psDailyMinVoltage, psDryContactorAlarm26=psDryContactorAlarm26, psDailyAvrCurrent=psDailyAvrCurrent, psSecurityComunity3=psSecurityComunity3, psStatusAlarm32=psStatusAlarm32, psSecurityInterfaceGateWay=psSecurityInterfaceGateWay, psCommandFlash1SWRev=psCommandFlash1SWRev, psDryContactor1Alarm17=psDryContactor1Alarm17, psSpare27=psSpare27, psWorkingTime=psWorkingTime, psStatusAlarm9=psStatusAlarm9, psLog=psLog, psStatusAlarm80=psStatusAlarm80, psCommandSpareW9=psCommandSpareW9, psPSUEntry=psPSUEntry, psStatusAlarm93=psStatusAlarm93, psStatusAlarm75=psStatusAlarm75, psSecurityTrapIp4=psSecurityTrapIp4, psStatusAlarm76=psStatusAlarm76, psDryContactor2Alarm4=psDryContactor2Alarm4, psDryContactor2Alarm18=psDryContactor2Alarm18, psDryContactorAlarm2=psDryContactorAlarm2, psTrap1006AUXBreakerOpen=psTrap1006AUXBreakerOpen, psStatusAlarm29=psStatusAlarm29, psLogTable=psLogTable, psPSU=psPSU, psAlarmSet42=psAlarmSet42, psAlarmSet71=psAlarmSet71, psCommandSpareW12=psCommandSpareW12, psCommandUserDefine4=psCommandUserDefine4, psBatterySpareWrite5=psBatterySpareWrite5, psDryContactor1Alarm5=psDryContactor1Alarm5, psAlarmSet20=psAlarmSet20, psStatusAlarm42=psStatusAlarm42, psConfBatteryNominalCapacity=psConfBatteryNominalCapacity, psAlarmSet58=psAlarmSet58, psAlarmSet30=psAlarmSet30, psDryContactorAlarm17=psDryContactorAlarm17, psDryContactor2Index=psDryContactor2Index, psBatterySpareWrite1=psBatterySpareWrite1, psStatusAlarm25=psStatusAlarm25, psDryContactorAlarm15=psDryContactorAlarm15, psDCoutputCurrent3=psDCoutputCurrent3, psAlarmSet93=psAlarmSet93, psDCoutputSpare4=psDCoutputSpare4, psAlarmSet32=psAlarmSet32, psTrapSLFTST=psTrapSLFTST, psINU=psINU, psDryContactorAlarm31=psDryContactorAlarm31, psUnitRTCMonth=psUnitRTCMonth, psTrap1006BatteryBreakerOpen=psTrap1006BatteryBreakerOpen, psCommandSpareR5=psCommandSpareR5, psPSUPsOK=psPSUPsOK, psPowerPlus13=psPowerPlus13, psTrapRBADIN=psTrapRBADIN, psINUActivity=psINUActivity, psCommandGoFloat=psCommandGoFloat, psBatteryTestStatus=psBatteryTestStatus, psDCoutputCurrent4=psDCoutputCurrent4, psSpare1=psSpare1, psAlarmSet84=psAlarmSet84, psStatusAlarm95=psStatusAlarm95, psINUTemperature=psINUTemperature, psCommandProgramingInProcess=psCommandProgramingInProcess, psAlarmSet36=psAlarmSet36, psCommandRunFlash2=psCommandRunFlash2, psConfNomSpare4=psConfNomSpare4, psDryContactor2Alarm7=psDryContactor2Alarm7, psDryContactor2Entry=psDryContactor2Entry, psAlarmSet13=psAlarmSet13, psStatusAlarm83=psStatusAlarm83, psStatusAlarm6=psStatusAlarm6, psAlarmSet26=psAlarmSet26, psConfEqMinorLowVoltageLV=psConfEqMinorLowVoltageLV, psCommandSpareR1=psCommandSpareR1, psACInputCurrent3=psACInputCurrent3, psMonthlyMaxVoltage=psMonthlyMaxVoltage, psTrap1006Rectifier=psTrap1006Rectifier, psStatusAlarm12=psStatusAlarm12, psDryContactor2Alarm1=psDryContactor2Alarm1, psTrapBATOT=psTrapBATOT, psPowerPlus15=psPowerPlus15, psHourlyMinVoltage=psHourlyMinVoltage, psDryContactor2Alarm10=psDryContactor2Alarm10, psCommandSpareW6=psCommandSpareW6, psDryContact2Table=psDryContact2Table, psStatusAlarm77=psStatusAlarm77, psStatusAlarm1=psStatusAlarm1, psMIB=psMIB, psTrapCB24CR=psTrapCB24CR, psDryContactor1Alarm15=psDryContactor1Alarm15, psAlarmSet80=psAlarmSet80, psContuctor7=psContuctor7, psPowerPlus6=psPowerPlus6, psAlarmSet31=psAlarmSet31, psDialOutNumRetriesActual=psDialOutNumRetriesActual, psBatteryTemperature=psBatteryTemperature, psINUNumber=psINUNumber, psCommandFlashFix=psCommandFlashFix, psCommandFileName=psCommandFileName, psSpareIde5=psSpareIde5, psTrapEQLONG=psTrapEQLONG, psAlarmSet88=psAlarmSet88, PsAlarmSeverity=PsAlarmSeverity, psDryContactTable=psDryContactTable, psINUReserve3=psINUReserve3, psTrapFUSEBD=psTrapFUSEBD, psSpare21=psSpare21, psAlarmSet79=psAlarmSet79, psPSURemoteMode=psPSURemoteMode, psDryContactorAlarm23=psDryContactorAlarm23, psUnitManufacture=psUnitManufacture, psHourlyMaxVoltage=psHourlyMaxVoltage, psPSUEqualizeMode=psPSUEqualizeMode, psUnitRTCSecond=psUnitRTCSecond, psLogDateMinute=psLogDateMinute, psTrap1006ACLow=psTrap1006ACLow, psSpare17=psSpare17, psTrapPrefix=psTrapPrefix, psPSUStatus=psPSUStatus, psAlarmSet52=psAlarmSet52, psSecurityComunity1=psSecurityComunity1, psDryContactor1Alarm2=psDryContactor1Alarm2, psAlarmSet95=psAlarmSet95, psTrapPrefix1006=psTrapPrefix1006, psAlarmSet27=psAlarmSet27, psAlarmSet54=psAlarmSet54, psStatusAlarm14=psStatusAlarm14, psDryContactor2Alarm6=psDryContactor2Alarm6, psLogEntry=psLogEntry, psConfEnableCurrentLimit=psConfEnableCurrentLimit, psAlarmSet38=psAlarmSet38, psStatusAlarm74=psStatusAlarm74, psPSUIndication=psPSUIndication, psPSUPsType=psPSUPsType, psBatteryInstalationYear=psBatteryInstalationYear, psSpare=psSpare, psCommandMBXSWRev=psCommandMBXSWRev, psTrapSURGBD=psTrapSURGBD, psLogGeneral=psLogGeneral, psConfEqualStopCurrent=psConfEqualStopCurrent, psCommandSpareR8=psCommandSpareR8, psAlarmSet33=psAlarmSet33, psConfLVDDisconnectTime=psConfLVDDisconnectTime, psDCoutputCurrent2=psDCoutputCurrent2, psCommandSpareR6=psCommandSpareR6, psStatusAlarm70=psStatusAlarm70, psDryContactor1Alarm22=psDryContactor1Alarm22, psStatusAlarm33=psStatusAlarm33, psStatusAlarm21=psStatusAlarm21, psDryContactor1Alarm26=psDryContactor1Alarm26)
mibBuilder.exportSymbols("GAMATRONIC-MIB", psCommandSpareW8=psCommandSpareW8, psAlarmSet40=psAlarmSet40, psAlarmSet61=psAlarmSet61, psPSUCurrent=psPSUCurrent, psStatus=psStatus, psDryContactor2Alarm24=psDryContactor2Alarm24, psCommandLeds=psCommandLeds, psMonthlyTable=psMonthlyTable, psStatusAlarm94=psStatusAlarm94, psTrapLVDX1=psTrapLVDX1, psUnitSoftwareVersion=psUnitSoftwareVersion, psDailyLast=psDailyLast, psUnitSysName=psUnitSysName, psStatusAlarm17=psStatusAlarm17, psAlarmSet48=psAlarmSet48, psDryContactor1Alarm11=psDryContactor1Alarm11, psHourlyFirst=psHourlyFirst, psBatterySpareWrite8=psBatterySpareWrite8, psConfACHigh=psConfACHigh, psSpare16=psSpare16, psAlarmSet47=psAlarmSet47, psCommandSpareW4=psCommandSpareW4, psMonthlyMinCurrent=psMonthlyMinCurrent, psBatterySpareWrite3=psBatterySpareWrite3, psDryContactor2Alarm15=psDryContactor2Alarm15, psCommandDoSelfTest=psCommandDoSelfTest, psCommandGoEqualizing=psCommandGoEqualizing, psSpare22=psSpare22, psConfBDOC=psConfBDOC, psContuctor3=psContuctor3, psStatusAlarm81=psStatusAlarm81, psMonthlyAvrCurrent=psMonthlyAvrCurrent, psAlarmSet76=psAlarmSet76, psSeverityMapIndex=psSeverityMapIndex, psAlarmSet10=psAlarmSet10, psAlarmSet46=psAlarmSet46, psDryContactor1Alarm1=psDryContactor1Alarm1, psUnitSerialNumber=psUnitSerialNumber, psAlarmSet41=psAlarmSet41, psCommandSpareR0=psCommandSpareR0, psLogDateDay=psLogDateDay, psINUIndication=psINUIndication, psTrap1006OverTemptature=psTrap1006OverTemptature, psAlarmSet74=psAlarmSet74, psSpareIde7=psSpareIde7, psConfFloatingVoltage=psConfFloatingVoltage, psTrap1006Battery1TestFault=psTrap1006Battery1TestFault, psStatusAlarm16=psStatusAlarm16, psStatusAlarm68=psStatusAlarm68, psStatusAlarm5=psStatusAlarm5, psTrapLVDX2=psTrapLVDX2, psINUIndex=psINUIndex, psPSUPSpareBit=psPSUPSpareBit, psDailyDayOfMonth=psDailyDayOfMonth, psPowerPlus7=psPowerPlus7, psHourlyAvrVoltage=psHourlyAvrVoltage, psCommandSpareR3=psCommandSpareR3, psINURemoteMode=psINURemoteMode, psDryContactor2Alarm5=psDryContactor2Alarm5, psAlarmSet94=psAlarmSet94, psSpare5=psSpare5, psStatusAlarm54=psStatusAlarm54, psConfMinorLowVoltage=psConfMinorLowVoltage, psStatusAlarm92=psStatusAlarm92, psConfEqMinorHighVoltageHV=psConfEqMinorHighVoltageHV, psCommand=psCommand, psDryContactor1Entry=psDryContactor1Entry, psDryContactorAlarm29=psDryContactorAlarm29, psLogLast=psLogLast, psAlarmSet64=psAlarmSet64, psConfGHighTempAlarm=psConfGHighTempAlarm, psACInputVoltage1=psACInputVoltage1, psStatusAlarm66=psStatusAlarm66, psSecurityTrapIp2=psSecurityTrapIp2, psTrapFUSE24=psTrapFUSE24, psStatusAlarmStruct1=psStatusAlarmStruct1, psAlarmSet8=psAlarmSet8, psDryContactor2Alarm25=psDryContactor2Alarm25, psDryContactor2Alarm28=psDryContactor2Alarm28, psTrap1006DCHigh=psTrap1006DCHigh, psSecurityPasswordSet=psSecurityPasswordSet, psDryContactorAlarm12=psDryContactorAlarm12, psStatusAlarm50=psStatusAlarm50, psTrapStatus=psTrapStatus, psBatteryNearestTestHour=psBatteryNearestTestHour, psCommandSpareW3=psCommandSpareW3, psACInputSpareInp3=psACInputSpareInp3, psStatusAlarm51=psStatusAlarm51, psAlarm=psAlarm, psCommandSpareR7=psCommandSpareR7, psCommandSpareW2=psCommandSpareW2, psUnitBatteryType=psUnitBatteryType, psContuctor=psContuctor, psDryContactorAlarm21=psDryContactorAlarm21, psBatteryNumber=psBatteryNumber, psAlarmSet68=psAlarmSet68, psHourlyMaxCurrent=psHourlyMaxCurrent, psConfEnablePeriodicEqualize=psConfEnablePeriodicEqualize, psPSUShutHighVolt=psPSUShutHighVolt, psAlarmSet55=psAlarmSet55, psAlarmSet90=psAlarmSet90, psSpareIde6=psSpareIde6, psMonthlyMinVoltage=psMonthlyMinVoltage, psPowerPlus9=psPowerPlus9, psPowerPlus=psPowerPlus, psBatterySpareWrite6=psBatterySpareWrite6, psINUStatus=psINUStatus, psDailyFirst=psDailyFirst, psPSUReserve2=psPSUReserve2, psINUTable=psINUTable, psDryContactorAlarm28=psDryContactorAlarm28, psCommandLoadUserParameters=psCommandLoadUserParameters, psSpareIde3=psSpareIde3, psDryContactor1Alarm21=psDryContactor1Alarm21, psConfNumOfInvertors=psConfNumOfInvertors, psPSUActivity=psPSUActivity, psAlarmSet19=psAlarmSet19, psSpare20=psSpare20, psBatteryActualCapacity=psBatteryActualCapacity, psCommandSpareR9=psCommandSpareR9, psUnit=psUnit, psAlarmSet78=psAlarmSet78, psDailyMaxVoltage=psDailyMaxVoltage, psDryContactor2Alarm11=psDryContactor2Alarm11, psStatusAlarm71=psStatusAlarm71, psAlarmSet96=psAlarmSet96, psCommandLoadUserDefaults=psCommandLoadUserDefaults, psBatterySpareWrite2=psBatterySpareWrite2, psAlarmSet57=psAlarmSet57, psSpare3=psSpare3, psAlarmSet92=psAlarmSet92, psDryContactor2Alarm13=psDryContactor2Alarm13, psStatusAlarm89=psStatusAlarm89, psPSUCurrentLimitDecreased=psPSUCurrentLimitDecreased, psDryContactorAlarm25=psDryContactorAlarm25, psMonthlyMonth=psMonthlyMonth, psMonthlyAvrVoltage=psMonthlyAvrVoltage, psCommandNonActiveStatus=psCommandNonActiveStatus, psAlarmSet43=psAlarmSet43, psACInputSpareInp5=psACInputSpareInp5, psTrapSeverity=psTrapSeverity, psSeverityMap=psSeverityMap, psConfNomSpare2=psConfNomSpare2, psCommandUserDefine3=psCommandUserDefine3, psPowerPlus8=psPowerPlus8, psStatistics=psStatistics, psDCoutputInvertorVoltage=psDCoutputInvertorVoltage, psDryContactor2Alarm27=psDryContactor2Alarm27, psAlarmSet12=psAlarmSet12, psBatteryFuseStatus=psBatteryFuseStatus, psAlarmSet44=psAlarmSet44, psSpare15=psSpare15, psTrap1006AUXContactOpen=psTrap1006AUXContactOpen, psDryContactor2Alarm2=psDryContactor2Alarm2, psPowerPlus10=psPowerPlus10, psAlarmSet77=psAlarmSet77, psINUPSpareBit=psINUPSpareBit, psAlarmSet51=psAlarmSet51, psSpare18=psSpare18, psDryContactor2Alarm8=psDryContactor2Alarm8, psStatusAlarm2=psStatusAlarm2, psTrap1006DCLow=psTrap1006DCLow, psSpare14=psSpare14, psACInputSpareInp1=psACInputSpareInp1, psMonthlyIndex=psMonthlyIndex, psStatusAlarm3=psStatusAlarm3, psAlarmSet21=psAlarmSet21, psPSUShutHighTemp=psPSUShutHighTemp, psAlarmSet15=psAlarmSet15, psStatusAlarm61=psStatusAlarm61, psAlarmSet29=psAlarmSet29, psAlarmSet6=psAlarmSet6, psStatusAlarm49=psStatusAlarm49, psDryContactor1Alarm13=psDryContactor1Alarm13, psPSUNumber=psPSUNumber, psDryContactor1Alarm12=psDryContactor1Alarm12, psAlarmSet1=psAlarmSet1, psDCOutput=psDCOutput, psConfInvertorHighVoltage=psConfInvertorHighVoltage, psDryContactorAlarm32=psDryContactorAlarm32, psDryContactor2Alarm23=psDryContactor2Alarm23, psTrapCBOPEN=psTrapCBOPEN, psCommandLoadDefault=psCommandLoadDefault, psDryContactor1Alarm32=psDryContactor1Alarm32, psConfMajorHighVoltage=psConfMajorHighVoltage, psConfMajorLowVoltage=psConfMajorLowVoltage, psSpare31=psSpare31, psBatteryVoltage=psBatteryVoltage, psACInputCurrent1=psACInputCurrent1, psConfNumOfRectifiers=psConfNumOfRectifiers, psAlarmSet60=psAlarmSet60, psSpare28=psSpare28, psPSUSelfTestPass=psPSUSelfTestPass, psDialTimeOutAfterLastSuccess=psDialTimeOutAfterLastSuccess, psConfNumberOfBattery=psConfNumberOfBattery, psBatteryStatus=psBatteryStatus, psCommandDryInStatus=psCommandDryInStatus, psACInputSpareInp6=psACInputSpareInp6, psDryContactor2Alarm14=psDryContactor2Alarm14, psStatusAlarm28=psStatusAlarm28, psConfCurrentLimit=psConfCurrentLimit, psCommandEraseTotalTime=psCommandEraseTotalTime, psCommandRunFlash1=psCommandRunFlash1, psDryContactor1Alarm8=psDryContactor1Alarm8, psStatusAlarm86=psStatusAlarm86, psDryContactorAlarm10=psDryContactorAlarm10, psDryContactor1Alarm27=psDryContactor1Alarm27, psSecurityInterfaceIP=psSecurityInterfaceIP, psConfEqMajorLowVoltageLV1=psConfEqMajorLowVoltageLV1, psConfNomSpare7=psConfNomSpare7, psStatusAlarmStruct=psStatusAlarmStruct, psContuctor2=psContuctor2, psStatusAlarm7=psStatusAlarm7, psStatusAlarm44=psStatusAlarm44, psTrap1006DCLOWLow=psTrap1006DCLOWLow, psAlarmSet2=psAlarmSet2, psStatusAlarm11=psStatusAlarm11, psINUShutHighVolt=psINUShutHighVolt, psDryContactorAlarm6=psDryContactorAlarm6, psAlarmSet11=psAlarmSet11, psCommandFirmwareRev=psCommandFirmwareRev, psCommandFlashFixNumber=psCommandFlashFixNumber, psDryContactor2Alarm31=psDryContactor2Alarm31, psACInputVoltage2=psACInputVoltage2, psSecuritySetGetPassword=psSecuritySetGetPassword, psConfEqualPeriod=psConfEqualPeriod, psSeverityMapEntry=psSeverityMapEntry, psSpare25=psSpare25, psBatteryNominalCapacity=psBatteryNominalCapacity, psStatusAlarm10=psStatusAlarm10, psStatusAlarm23=psStatusAlarm23, psHourlyLast=psHourlyLast, psBatteryNearestTestMinute=psBatteryNearestTestMinute, psPSUACInputOK=psPSUACInputOK, psBatterySpareRead2=psBatterySpareRead2, psCommandFlash2SWRev=psCommandFlash2SWRev, PYSNMP_MODULE_ID=gamatronicLTD, psTrap1006Battery2TestFault=psTrap1006Battery2TestFault, psStatusAlarm15=psStatusAlarm15, psConfLowTempAlarmSign=psConfLowTempAlarmSign, psStatusAlarm59=psStatusAlarm59, psMonthlyMaxCurrent=psMonthlyMaxCurrent, psLogDateMonth=psLogDateMonth, psDryContactor2Alarm16=psDryContactor2Alarm16, psINUNOOut=psINUNOOut, psLogFirst=psLogFirst, psCommandProgramNonActiveFlash=psCommandProgramNonActiveFlash, psDial=psDial, psStatusAlarm63=psStatusAlarm63, psSpare29=psSpare29, psPowerPlus4=psPowerPlus4, psDryContactor1Alarm23=psDryContactor1Alarm23, psSpareIde1=psSpareIde1, psLogAlarmCode=psLogAlarmCode)
mibBuilder.exportSymbols("GAMATRONIC-MIB", psConfInvertorVoltage=psConfInvertorVoltage, psConfEqualStartCurrent=psConfEqualStartCurrent, psDryContactor1Alarm14=psDryContactor1Alarm14, psTrapActivation=psTrapActivation, psAlarmSet65=psAlarmSet65, psAlarmSet18=psAlarmSet18, psTrapACFAIL=psTrapACFAIL, psCommandFlash1Protect=psCommandFlash1Protect, psAlarmSet85=psAlarmSet85, psCommandNonActiveFlash=psCommandNonActiveFlash, psBatterySpareWrite4=psBatterySpareWrite4, psSpare11=psSpare11, psStatusAlarm55=psStatusAlarm55, psBatteryIndex=psBatteryIndex, psLogIndex=psLogIndex, psDryContactor1Alarm4=psDryContactor1Alarm4, psDryContactorAlarm4=psDryContactorAlarm4, psSpare19=psSpare19, psStatusAlarm34=psStatusAlarm34, psDCoutputCurrent5=psDCoutputCurrent5, psStatusAlarm27=psStatusAlarm27, psDryContactorAlarm22=psDryContactorAlarm22, psStatusAlarm19=psStatusAlarm19, psLogDateHour=psLogDateHour, psSpare23=psSpare23, psSpareIde2=psSpareIde2, psAlarmSet34=psAlarmSet34, psBatteryInstalationMonth=psBatteryInstalationMonth, psContuctor1=psContuctor1, psStatusAlarm91=psStatusAlarm91, psSecurityInterfaceActivate=psSecurityInterfaceActivate, psAlarmSet24=psAlarmSet24, psStatusAlarm57=psStatusAlarm57, psINUCurrent=psINUCurrent, psSecurityPasswordComunity=psSecurityPasswordComunity, psDryContactorAlarm9=psDryContactorAlarm9, psStatusAlarm87=psStatusAlarm87, psPowerPlus11=psPowerPlus11, psConfNomSpare0=psConfNomSpare0, psCommandSpareW11=psCommandSpareW11, psDryContactorAlarm18=psDryContactorAlarm18, psAlarmSet49=psAlarmSet49, psStatusAlarm72=psStatusAlarm72, psTrapBYPS2=psTrapBYPS2, psStatusAlarm20=psStatusAlarm20, psAlarmSet4=psAlarmSet4, psDryContactor1Alarm18=psDryContactor1Alarm18, psDryContactor2Alarm22=psDryContactor2Alarm22, psConfNomSpare3=psConfNomSpare3, psStatusAlarm69=psStatusAlarm69, psDCoutputSurgeStatus=psDCoutputSurgeStatus, psBatteryTemperatureSign=psBatteryTemperatureSign, psStatusAlarmStruct2=psStatusAlarmStruct2, psUnitRTCYear=psUnitRTCYear, psPSUFloatingMode=psPSUFloatingMode, psStatusAlarm45=psStatusAlarm45, psPSUVoltage=psPSUVoltage, psHourlyEndTime=psHourlyEndTime, psAlarmSet50=psAlarmSet50, psDCoutputSpare5=psDCoutputSpare5, psDryContactor2Alarm19=psDryContactor2Alarm19, psStatusAlarm60=psStatusAlarm60, psStatusAlarm35=psStatusAlarm35, psPSUBadSharing=psPSUBadSharing, psStatusAlarm67=psStatusAlarm67, psTrap1006LVD1Open=psTrap1006LVD1Open, psBatteryEqRunTimeHours=psBatteryEqRunTimeHours, psDryContactorAlarm8=psDryContactorAlarm8, psStatusAlarm36=psStatusAlarm36, psBatteryCurrent=psBatteryCurrent, psDCoutputDCStatus=psDCoutputDCStatus, psACInput=psACInput, psSpare7=psSpare7, psConfEqualStopTime=psConfEqualStopTime, psConfNomSpare10=psConfNomSpare10, psHourlyMinCurrent=psHourlyMinCurrent, psSpareIde4=psSpareIde4, psDryContactor1Index=psDryContactor1Index, psTrap1006ACHigh=psTrap1006ACHigh, psCommandTestBatteryAll=psCommandTestBatteryAll, psSpare10=psSpare10, psDryContactorAlarm30=psDryContactorAlarm30, psAlarmSet45=psAlarmSet45, psStatusAlarm53=psStatusAlarm53, psDryContactor2Alarm12=psDryContactor2Alarm12, psTrap=psTrap, psPSUReserve3=psPSUReserve3, psAlarmSet22=psAlarmSet22, psAlarmSet82=psAlarmSet82, psDryContactorAlarm14=psDryContactorAlarm14, psTrapINUBAD=psTrapINUBAD, psAlarmSet63=psAlarmSet63, psDryContactorAlarm1=psDryContactorAlarm1, psStatusAlarm85=psStatusAlarm85, psConfNomSpare9=psConfNomSpare9, psAlarmSet70=psAlarmSet70, psContuctor5=psContuctor5, psContuctor10=psContuctor10, psAlarmSet62=psAlarmSet62, psAlarmSet91=psAlarmSet91, psACInputACStatus=psACInputACStatus, psStatusAlarm26=psStatusAlarm26, psACInputCurrent2=psACInputCurrent2, psScreenShot=psScreenShot, psCommandAbortBatTest=psCommandAbortBatTest, psINUReserve1=psINUReserve1, psTrapBATTST=psTrapBATTST, psDryContactor2Alarm3=psDryContactor2Alarm3, psINUReserve10=psINUReserve10, psTrapBYPS1=psTrapBYPS1, psUnitRTCHour=psUnitRTCHour, psDCoutputSpare2=psDCoutputSpare2, psDailyIndex=psDailyIndex, psDryContactorAlarm3=psDryContactorAlarm3, psStatusAlarm40=psStatusAlarm40, psStatusAlarm62=psStatusAlarm62, psSpare12=psSpare12, psAlarmSet81=psAlarmSet81, psSecurity=psSecurity, psDryContactor1Alarm31=psDryContactor1Alarm31, psDryContactor1Alarm16=psDryContactor1Alarm16, psCommandSpareR2=psCommandSpareR2, psConfNomSpare8=psConfNomSpare8, psAlarmSet67=psAlarmSet67, psSpareIde0=psSpareIde0, psCommandSpareW10=psCommandSpareW10, psBatteryTable=psBatteryTable, psTrapEQHST=psTrapEQHST, psSpare9=psSpare9, psPowerPlus12=psPowerPlus12, psSecurityInterfaceNetMask=psSecurityInterfaceNetMask, psDailyTable=psDailyTable, psINUReserve2=psINUReserve2, psSecurityTrapIp3=psSecurityTrapIp3, psAlarmSet7=psAlarmSet7, psCommandSpareR4=psCommandSpareR4, psACInputSpareInp0=psACInputSpareInp0, psBatteryLoadTime=psBatteryLoadTime, psDryContactor1Alarm29=psDryContactor1Alarm29, psConfLowTempAlarm=psConfLowTempAlarm, psPowerPlus2=psPowerPlus2, psAlarmSet5=psAlarmSet5, psAlarmSet75=psAlarmSet75, psUnitRTCMinute=psUnitRTCMinute, psAlarmSet37=psAlarmSet37, psCommandStoreUserParameters=psCommandStoreUserParameters, psSpare6=psSpare6, psBatteryEntry=psBatteryEntry, psUnitPSType=psUnitPSType, psINUReserve7=psINUReserve7, psAlarmSet23=psAlarmSet23, psPowerPlus1=psPowerPlus1, psStatusAlarm82=psStatusAlarm82, psTrapRFAMIN=psTrapRFAMIN, psStatusAlarm56=psStatusAlarm56, psAlarmSet16=psAlarmSet16, psStatusAlarm52=psStatusAlarm52, psStatusAlarm65=psStatusAlarm65, psBatteryNearestTestMonth=psBatteryNearestTestMonth, psPSUIndex=psPSUIndex, psDryContactorAlarm19=psDryContactorAlarm19, psINUSelfTestPass=psINUSelfTestPass, psHourlyIndex=psHourlyIndex, psDryContactorAlarm27=psDryContactorAlarm27, psDailyMinCurrent=psDailyMinCurrent, psSpare32=psSpare32, psDryContactor1Alarm30=psDryContactor1Alarm30, psAlarmSet56=psAlarmSet56, psConfNomSpare6=psConfNomSpare6, psAlarmSet87=psAlarmSet87, psSecurityTrapIp1=psSecurityTrapIp1, psPSUNOOut=psPSUNOOut, psTrapRFAMAJ=psTrapRFAMAJ, psBatteryEqRunTimeMinutes=psBatteryEqRunTimeMinutes, psDCoutputSpare6=psDCoutputSpare6, psINUNotRespond=psINUNotRespond, psDryContact1Status=psDryContact1Status, psACInputSpareInp2=psACInputSpareInp2, psPowerPlus5=psPowerPlus5, psDryContactorIndex=psDryContactorIndex, psSpare2=psSpare2, psCommandControlerStatus=psCommandControlerStatus, psDailyEntry=psDailyEntry, psStatusAlarm30=psStatusAlarm30, psDCoutputVoltage=psDCoutputVoltage, psStatusAlarm79=psStatusAlarm79, psDryContactorAlarm5=psDryContactorAlarm5, psMonthlyEntry=psMonthlyEntry, psDryContactorAlarm7=psDryContactorAlarm7, psStatusAlarm4=psStatusAlarm4, psAlarmSet=psAlarmSet, psAlarmSet39=psAlarmSet39, psDryContactStatus=psDryContactStatus, psDryContactorAlarm16=psDryContactorAlarm16, psUnitRTCDay=psUnitRTCDay, psStatusAlarm39=psStatusAlarm39, psTrapFUSE48=psTrapFUSE48, psINUBadSharing=psINUBadSharing, psDailyMaxCurrent=psDailyMaxCurrent, psDCOutputDCOutput=psDCOutputDCOutput, psCommandUserDefine5=psCommandUserDefine5, psPSUCurrentLimitExceed=psPSUCurrentLimitExceed, psLogDateSecond=psLogDateSecond, psStatusAlarm43=psStatusAlarm43, psBatteryNearestTestDay=psBatteryNearestTestDay, psDryContactor2Alarm32=psDryContactor2Alarm32, psACInputFrequency=psACInputFrequency, psConfEqMajorLowVoltageLv=psConfEqMajorLowVoltageLv, psDryContactor2Alarm9=psDryContactor2Alarm9, psINUPsType=psINUPsType, psHourlyAvrCurrent=psHourlyAvrCurrent, psLogDCVoltage=psLogDCVoltage, psPSUReserve1=psPSUReserve1, psPSUShutInstruction=psPSUShutInstruction, psDryContactor1Alarm19=psDryContactor1Alarm19, psSeverityMapAlarm1to32=psSeverityMapAlarm1to32, psUnitComProtocolVersion=psUnitComProtocolVersion, psINUEntry=psINUEntry, psBatteryInstalationDay=psBatteryInstalationDay, psSpare8=psSpare8, psINUVoltage=psINUVoltage, psDryContactor1Alarm6=psDryContactor1Alarm6, psCommandSpareR10=psCommandSpareR10, psCommandDownLoadSoftware=psCommandDownLoadSoftware, psSeverityMapAlarm65to96=psSeverityMapAlarm65to96, psTrapUNIVPD=psTrapUNIVPD, psPSUFanStataus=psPSUFanStataus, psINUFanStataus=psINUFanStataus, psStatusAlarm84=psStatusAlarm84, psACInputSpareInp4=psACInputSpareInp4, psAlarmSet25=psAlarmSet25, psStatusAlarm38=psStatusAlarm38, psSpare24=psSpare24, psDialTimeOutBetweenRetries=psDialTimeOutBetweenRetries, psStatusAlarm41=psStatusAlarm41, psStatusAlarm58=psStatusAlarm58, psHourlyTable=psHourlyTable, psSpare13=psSpare13, psPSUTable=psPSUTable, psConfTemperatureCoefficient=psConfTemperatureCoefficient, psContuctor6=psContuctor6, psAlarmSet3=psAlarmSet3, psBatterySpareWrite7=psBatterySpareWrite7, psMonthlyLast=psMonthlyLast, psBatteryCurrentDirection=psBatteryCurrentDirection, psAlarmSet17=psAlarmSet17, psCommandFlash2Protect=psCommandFlash2Protect, psINUShutHighTemp=psINUShutHighTemp, psDryContactor2Alarm21=psDryContactor2Alarm21, psStatusAlarm48=psStatusAlarm48, psHourlyEntry=psHourlyEntry, psContuctor8=psContuctor8, psAlarmSet83=psAlarmSet83, psStatusAlarm18=psStatusAlarm18)
mibBuilder.exportSymbols("GAMATRONIC-MIB", psINUReserve8=psINUReserve8, psDryContactor1Alarm25=psDryContactor1Alarm25, psStatusAlarm47=psStatusAlarm47, psTrap1006LVD2Open=psTrap1006LVD2Open, psDryContactor2Alarm26=psDryContactor2Alarm26, psConfACLow=psConfACLow, psLogDateYear=psLogDateYear, psAlarmSet59=psAlarmSet59, psDryContactor1Alarm7=psDryContactor1Alarm7, psConfNumberOfLVD=psConfNumberOfLVD, psDryContact1Table=psDryContact1Table, psDryContactor1Alarm9=psDryContactor1Alarm9, psStatusAlarm24=psStatusAlarm24, psConfEqMajorHighVoltageHV=psConfEqMajorHighVoltageHV, psUnitControllerType=psUnitControllerType, psDCoutputSpare3=psDCoutputSpare3)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, value_range_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(gauge32, ip_address, enterprises, module_identity, unsigned32, notification_type, iso, counter64, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, counter32, integer32, time_ticks, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'IpAddress', 'enterprises', 'ModuleIdentity', 'Unsigned32', 'NotificationType', 'iso', 'Counter64', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Counter32', 'Integer32', 'TimeTicks', 'ObjectIdentity')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
gamatronic_ltd = module_identity((1, 3, 6, 1, 4, 1, 6050))
if mibBuilder.loadTexts:
gamatronicLTD.setLastUpdated('0005150000Z')
if mibBuilder.loadTexts:
gamatronicLTD.setOrganization(' GAMATRONIC Ltd.')
ps_mib = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1))
class Psalarmseverity(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4))
named_values = named_values(('critical', 1), ('major', 2), ('minor', 3), ('warning', 4))
ps_unit = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 1))
ps_battery = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 2))
ps_psu = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 3))
ps_inu = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 4))
ps_ac_input = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 5))
ps_dc_output = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 6))
ps_contuctor = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 7))
ps_conf_nominal = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 8))
ps_status = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 9))
ps_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 10))
ps_log = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 11))
ps_trap = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 12))
ps_alarm_set = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 13))
ps_security = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 14))
ps_command = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 15))
ps_severity_map = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 16))
ps_spare = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 17))
ps_dial = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 18))
ps_power_plus = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 19))
ps_battery_number = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryNumber.setStatus('current')
ps_battery_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryVoltage.setStatus('current')
ps_battery_test_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('on', 0), ('off', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryTestStatus.setStatus('current')
ps_battery_nominal_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryNominalCapacity.setStatus('current')
ps_battery_actual_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryActualCapacity.setStatus('current')
ps_battery_test_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryTestTime.setStatus('current')
ps_battery_load_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryLoadTime.setStatus('current')
ps_battery_nearest_test_month = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryNearestTestMonth.setStatus('current')
ps_battery_nearest_test_day = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryNearestTestDay.setStatus('current')
ps_battery_nearest_test_hour = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryNearestTestHour.setStatus('current')
ps_battery_nearest_test_minute = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 11), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryNearestTestMinute.setStatus('current')
ps_battery_charge_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('floating', 0), ('equalizes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryChargeMode.setStatus('current')
ps_battery_eq_run_time_hours = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryEqRunTimeHours.setStatus('current')
ps_battery_eq_run_time_minutes = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryEqRunTimeMinutes.setStatus('current')
ps_battery_spare_read1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatterySpareRead1.setStatus('current')
ps_battery_spare_read2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatterySpareRead2.setStatus('current')
ps_battery_spare_read3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatterySpareRead3.setStatus('current')
ps_battery_spare_write1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 18), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite1.setStatus('current')
ps_battery_spare_write2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 19), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite2.setStatus('current')
ps_battery_spare_write3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 20), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite3.setStatus('current')
ps_battery_spare_write4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 21), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite4.setStatus('current')
ps_battery_spare_write5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 22), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite5.setStatus('current')
ps_battery_spare_write6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 23), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite6.setStatus('current')
ps_battery_spare_write7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 24), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite7.setStatus('current')
ps_battery_spare_write8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 2, 25), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatterySpareWrite8.setStatus('current')
ps_battery_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26))
if mibBuilder.loadTexts:
psBatteryTable.setStatus('current')
ps_battery_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psBatteryIndex'))
if mibBuilder.loadTexts:
psBatteryEntry.setStatus('current')
ps_battery_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryIndex.setStatus('current')
ps_battery_current_direction = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryCurrentDirection.setStatus('current')
ps_battery_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryCurrent.setStatus('current')
ps_battery_temperature_sign = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('positive', 0), ('negative', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryTemperatureSign.setStatus('current')
ps_battery_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryTemperature.setStatus('current')
ps_battery_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('passed', 0), ('failed', 1), ('low', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryStatus.setStatus('current')
ps_battery_fuse_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('bad', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psBatteryFuseStatus.setStatus('current')
ps_battery_instalation_year = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryInstalationYear.setStatus('current')
ps_battery_instalation_month = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryInstalationMonth.setStatus('current')
ps_battery_instalation_day = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 2, 26, 1, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psBatteryInstalationDay.setStatus('current')
ps_psu_number = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 3, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUNumber.setStatus('current')
ps_psu_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2))
if mibBuilder.loadTexts:
psPSUTable.setStatus('current')
ps_psu_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psPSUIndex'))
if mibBuilder.loadTexts:
psPSUEntry.setStatus('current')
ps_psu_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUIndex.setStatus('current')
ps_psu_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUVoltage.setStatus('current')
ps_psu_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUCurrent.setStatus('current')
ps_psu_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUTemperature.setStatus('current')
ps_psu_activity = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psPSUActivity.setStatus('current')
ps_psu_ps_type = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUPsType.setStatus('current')
ps_psu_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUStatus.setStatus('current')
ps_psu_ps_ok = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUPsOK.setStatus('current')
ps_psu_not_respond = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('bad', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUNotRespond.setStatus('current')
ps_psuno_out = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUNOOut.setStatus('current')
ps_psup_spare_bit = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUPSpareBit.setStatus('current')
ps_psu_bad_sharing = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUBadSharing.setStatus('current')
ps_psu_reserve1 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUReserve1.setStatus('current')
ps_psu_reserve2 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUReserve2.setStatus('current')
ps_psu_reserve3 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUReserve3.setStatus('current')
ps_psu_shut_instruction = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUShutInstruction.setStatus('current')
ps_psu_test_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notintest', 0), ('inprogress', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUTestStatus.setStatus('current')
ps_psu_current_limit_decreased = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUCurrentLimitDecreased.setStatus('current')
ps_psuac_input_ok = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUACInputOK.setStatus('current')
ps_psu_self_test_pass = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUSelfTestPass.setStatus('current')
ps_psu_current_limit_exceed = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUCurrentLimitExceed.setStatus('current')
ps_psu_shut_high_temp = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUShutHighTemp.setStatus('current')
ps_psu_shut_high_volt = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUShutHighVolt.setStatus('current')
ps_psu_remote_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSURemoteMode.setStatus('current')
ps_psu_floating_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUFloatingMode.setStatus('current')
ps_psu_equalize_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUEqualizeMode.setStatus('current')
ps_psu_fan_stataus = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('bad', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUFanStataus.setStatus('current')
ps_psu_indication = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 3, 2, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 3))).clone(namedValues=named_values(('pscurrent', 0), ('voltage', 1), ('temperature', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPSUIndication.setStatus('current')
ps_inu_number = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 4, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUNumber.setStatus('current')
ps_inu_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2))
if mibBuilder.loadTexts:
psINUTable.setStatus('current')
ps_inu_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psINUIndex'))
if mibBuilder.loadTexts:
psINUEntry.setStatus('current')
ps_inu_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUIndex.setStatus('current')
ps_inu_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUVoltage.setStatus('current')
ps_inu_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUCurrent.setStatus('current')
ps_inu_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUTemperature.setStatus('current')
ps_inu_activity = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psINUActivity.setStatus('current')
ps_inu_ps_type = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUPsType.setStatus('current')
ps_inu_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUStatus.setStatus('current')
ps_inu_ps_ok = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUPsOK.setStatus('current')
ps_inu_not_respond = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('bad', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUNotRespond.setStatus('current')
ps_inuno_out = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUNOOut.setStatus('current')
ps_inup_spare_bit = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUPSpareBit.setStatus('current')
ps_inu_bad_sharing = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUBadSharing.setStatus('current')
ps_inu_reserve1 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve1.setStatus('current')
ps_inu_reserve2 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve2.setStatus('current')
ps_inu_reserve3 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve3.setStatus('current')
ps_inu_shut_instruction = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUShutInstruction.setStatus('current')
ps_inu_reserve7 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve7.setStatus('current')
ps_inu_current_limit_decreased = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUCurrentLimitDecreased.setStatus('current')
ps_inu_reserve8 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve8.setStatus('current')
ps_inu_self_test_pass = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUSelfTestPass.setStatus('current')
ps_inu_current_limit_exceed = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUCurrentLimitExceed.setStatus('current')
ps_inu_shut_high_temp = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUShutHighTemp.setStatus('current')
ps_inu_shut_high_volt = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUShutHighVolt.setStatus('current')
ps_inu_remote_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINURemoteMode.setStatus('current')
ps_inu_reserve9 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve9.setStatus('current')
ps_inu_reserve10 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUReserve10.setStatus('current')
ps_inu_fan_stataus = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('bad', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUFanStataus.setStatus('current')
ps_inu_indication = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 4, 2, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 3))).clone(namedValues=named_values(('pscurrent', 0), ('voltage', 1), ('temperature', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psINUIndication.setStatus('current')
ps_ac_input_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputVoltage1.setStatus('current')
ps_ac_input_voltage2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputVoltage2.setStatus('current')
ps_ac_input_voltage3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputVoltage3.setStatus('current')
ps_ac_input_current1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputCurrent1.setStatus('current')
ps_ac_input_current2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputCurrent2.setStatus('current')
ps_ac_input_current3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputCurrent3.setStatus('current')
ps_ac_input_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputFrequency.setStatus('current')
ps_ac_input_ac_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputACStatus.setStatus('current')
ps_ac_input_surge_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSurgeStatus.setStatus('current')
ps_ac_input_spare_inp0 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp0.setStatus('current')
ps_ac_input_spare_inp1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp1.setStatus('current')
ps_ac_input_spare_inp2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp2.setStatus('current')
ps_ac_input_spare_inp3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp3.setStatus('current')
ps_ac_input_spare_inp4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp4.setStatus('current')
ps_ac_input_spare_inp5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp5.setStatus('current')
ps_ac_input_spare_inp6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 5, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psACInputSpareInp6.setStatus('current')
ps_d_coutput_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputVoltage.setStatus('current')
ps_d_coutput_current1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputCurrent1.setStatus('current')
ps_d_coutput_current2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputCurrent2.setStatus('current')
ps_d_coutput_current3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputCurrent3.setStatus('current')
ps_d_coutput_current4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputCurrent4.setStatus('current')
ps_d_coutput_current5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputCurrent5.setStatus('current')
ps_d_coutput_dc_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('ok', 0), ('overvoltage', 1), ('undervoltage', 2), ('disconnected', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputDCStatus.setStatus('current')
ps_d_coutput_surge_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('ok', 0), ('notok', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSurgeStatus.setStatus('current')
ps_d_coutput_invertor_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputInvertorVoltage.setStatus('current')
ps_dc_output_dc_output = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('ok', 0), ('overvoltage', 1), ('undervoltage', 2), ('disconnect', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCOutputDCOutput.setStatus('current')
ps_d_coutput_spare1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare1.setStatus('current')
ps_d_coutput_spare2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare2.setStatus('current')
ps_d_coutput_spare3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare3.setStatus('current')
ps_d_coutput_spare4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare4.setStatus('current')
ps_d_coutput_spare5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare5.setStatus('current')
ps_d_coutput_spare6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 6, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDCoutputSpare6.setStatus('current')
ps_contuctor1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor1.setStatus('current')
ps_contuctor2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor2.setStatus('current')
ps_contuctor3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor3.setStatus('current')
ps_contuctor4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor4.setStatus('current')
ps_contuctor5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor5.setStatus('current')
ps_contuctor6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor6.setStatus('current')
ps_contuctor7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor7.setStatus('current')
ps_contuctor8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor8.setStatus('current')
ps_contuctor9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor9.setStatus('current')
ps_contuctor10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('open', 0), ('close', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psContuctor10.setStatus('current')
ps_dry_contact_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11))
if mibBuilder.loadTexts:
psDryContactTable.setStatus('current')
ps_dry_contactor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psDryContactorIndex'))
if mibBuilder.loadTexts:
psDryContactorEntry.setStatus('current')
ps_dry_contactor_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContactorIndex.setStatus('current')
ps_dry_contactor_alarm1 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm1.setStatus('current')
ps_dry_contactor_alarm2 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm2.setStatus('current')
ps_dry_contactor_alarm3 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm3.setStatus('current')
ps_dry_contactor_alarm4 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm4.setStatus('current')
ps_dry_contactor_alarm5 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm5.setStatus('current')
ps_dry_contactor_alarm6 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm6.setStatus('current')
ps_dry_contactor_alarm7 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm7.setStatus('current')
ps_dry_contactor_alarm8 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm8.setStatus('current')
ps_dry_contactor_alarm9 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm9.setStatus('current')
ps_dry_contactor_alarm10 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm10.setStatus('current')
ps_dry_contactor_alarm11 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm11.setStatus('current')
ps_dry_contactor_alarm12 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm12.setStatus('current')
ps_dry_contactor_alarm13 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm13.setStatus('current')
ps_dry_contactor_alarm14 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm14.setStatus('current')
ps_dry_contactor_alarm15 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm15.setStatus('current')
ps_dry_contactor_alarm16 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm16.setStatus('current')
ps_dry_contactor_alarm17 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm17.setStatus('current')
ps_dry_contactor_alarm18 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm18.setStatus('current')
ps_dry_contactor_alarm19 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm19.setStatus('current')
ps_dry_contactor_alarm20 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm20.setStatus('current')
ps_dry_contactor_alarm21 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm21.setStatus('current')
ps_dry_contactor_alarm22 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm22.setStatus('current')
ps_dry_contactor_alarm23 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm23.setStatus('current')
ps_dry_contactor_alarm24 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm24.setStatus('current')
ps_dry_contactor_alarm25 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm25.setStatus('current')
ps_dry_contactor_alarm26 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm26.setStatus('current')
ps_dry_contactor_alarm27 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm27.setStatus('current')
ps_dry_contactor_alarm28 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm28.setStatus('current')
ps_dry_contactor_alarm29 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm29.setStatus('current')
ps_dry_contactor_alarm30 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm30.setStatus('current')
ps_dry_contactor_alarm31 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm31.setStatus('current')
ps_dry_contactor_alarm32 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 11, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactorAlarm32.setStatus('current')
ps_dry_contact_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContactStatus.setStatus('current')
ps_dry_contact1_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13))
if mibBuilder.loadTexts:
psDryContact1Table.setStatus('current')
ps_dry_contactor1_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psDryContactor1Index'))
if mibBuilder.loadTexts:
psDryContactor1Entry.setStatus('current')
ps_dry_contactor1_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContactor1Index.setStatus('current')
ps_dry_contactor1_alarm1 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm1.setStatus('current')
ps_dry_contactor1_alarm2 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm2.setStatus('current')
ps_dry_contactor1_alarm3 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm3.setStatus('current')
ps_dry_contactor1_alarm4 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm4.setStatus('current')
ps_dry_contactor1_alarm5 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm5.setStatus('current')
ps_dry_contactor1_alarm6 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm6.setStatus('current')
ps_dry_contactor1_alarm7 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm7.setStatus('current')
ps_dry_contactor1_alarm8 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm8.setStatus('current')
ps_dry_contactor1_alarm9 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm9.setStatus('current')
ps_dry_contactor1_alarm10 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm10.setStatus('current')
ps_dry_contactor1_alarm11 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm11.setStatus('current')
ps_dry_contactor1_alarm12 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm12.setStatus('current')
ps_dry_contactor1_alarm13 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm13.setStatus('current')
ps_dry_contactor1_alarm14 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm14.setStatus('current')
ps_dry_contactor1_alarm15 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm15.setStatus('current')
ps_dry_contactor1_alarm16 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm16.setStatus('current')
ps_dry_contactor1_alarm17 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm17.setStatus('current')
ps_dry_contactor1_alarm18 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm18.setStatus('current')
ps_dry_contactor1_alarm19 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm19.setStatus('current')
ps_dry_contactor1_alarm20 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm20.setStatus('current')
ps_dry_contactor1_alarm21 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm21.setStatus('current')
ps_dry_contactor1_alarm22 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm22.setStatus('current')
ps_dry_contactor1_alarm23 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm23.setStatus('current')
ps_dry_contactor1_alarm24 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm24.setStatus('current')
ps_dry_contactor1_alarm25 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm25.setStatus('current')
ps_dry_contactor1_alarm26 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm26.setStatus('current')
ps_dry_contactor1_alarm27 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm27.setStatus('current')
ps_dry_contactor1_alarm28 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm28.setStatus('current')
ps_dry_contactor1_alarm29 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm29.setStatus('current')
ps_dry_contactor1_alarm30 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm30.setStatus('current')
ps_dry_contactor1_alarm31 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm31.setStatus('current')
ps_dry_contactor1_alarm32 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 13, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor1Alarm32.setStatus('current')
ps_dry_contact1_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContact1Status.setStatus('current')
ps_dry_contact2_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15))
if mibBuilder.loadTexts:
psDryContact2Table.setStatus('current')
ps_dry_contactor2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psDryContactor2Index'))
if mibBuilder.loadTexts:
psDryContactor2Entry.setStatus('current')
ps_dry_contactor2_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContactor2Index.setStatus('current')
ps_dry_contactor2_alarm1 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm1.setStatus('current')
ps_dry_contactor2_alarm2 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm2.setStatus('current')
ps_dry_contactor2_alarm3 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm3.setStatus('current')
ps_dry_contactor2_alarm4 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm4.setStatus('current')
ps_dry_contactor2_alarm5 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm5.setStatus('current')
ps_dry_contactor2_alarm6 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm6.setStatus('current')
ps_dry_contactor2_alarm7 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm7.setStatus('current')
ps_dry_contactor2_alarm8 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm8.setStatus('current')
ps_dry_contactor2_alarm9 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm9.setStatus('current')
ps_dry_contactor2_alarm10 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm10.setStatus('current')
ps_dry_contactor2_alarm11 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm11.setStatus('current')
ps_dry_contactor2_alarm12 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm12.setStatus('current')
ps_dry_contactor2_alarm13 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm13.setStatus('current')
ps_dry_contactor2_alarm14 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm14.setStatus('current')
ps_dry_contactor2_alarm15 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm15.setStatus('current')
ps_dry_contactor2_alarm16 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm16.setStatus('current')
ps_dry_contactor2_alarm17 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm17.setStatus('current')
ps_dry_contactor2_alarm18 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm18.setStatus('current')
ps_dry_contactor2_alarm19 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm19.setStatus('current')
ps_dry_contactor2_alarm20 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm20.setStatus('current')
ps_dry_contactor2_alarm21 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm21.setStatus('current')
ps_dry_contactor2_alarm22 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm22.setStatus('current')
ps_dry_contactor2_alarm23 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm23.setStatus('current')
ps_dry_contactor2_alarm24 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm24.setStatus('current')
ps_dry_contactor2_alarm25 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm25.setStatus('current')
ps_dry_contactor2_alarm26 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm26.setStatus('current')
ps_dry_contactor2_alarm27 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm27.setStatus('current')
ps_dry_contactor2_alarm28 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm28.setStatus('current')
ps_dry_contactor2_alarm29 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm29.setStatus('current')
ps_dry_contactor2_alarm30 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm30.setStatus('current')
ps_dry_contactor2_alarm31 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm31.setStatus('current')
ps_dry_contactor2_alarm32 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 7, 15, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('set', 1), ('notset', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDryContactor2Alarm32.setStatus('current')
ps_dry_contact2_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 7, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDryContact2Status.setStatus('current')
ps_severity_map_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1))
if mibBuilder.loadTexts:
psSeverityMapTable.setStatus('current')
ps_severity_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psSeverityMapIndex'))
if mibBuilder.loadTexts:
psSeverityMapEntry.setStatus('current')
ps_severity_map_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSeverityMapIndex.setStatus('current')
ps_severity_map_alarm1to32 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSeverityMapAlarm1to32.setStatus('current')
ps_severity_map_alarm33to64 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSeverityMapAlarm33to64.setStatus('current')
ps_severity_map_alarm65to96 = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 16, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSeverityMapAlarm65to96.setStatus('current')
ps_conf_enable_current_limit = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEnableCurrentLimit.setStatus('current')
ps_conf_enable_periodic_equalize = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEnablePeriodicEqualize.setStatus('current')
ps_conf_g_high_temp_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfGHighTempAlarm.setStatus('current')
ps_conf_low_temp_alarm_sign = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('positive', 0), ('negative', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfLowTempAlarmSign.setStatus('current')
ps_conf_low_temp_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfLowTempAlarm.setStatus('current')
ps_conf_temperature_coefficient = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfTemperatureCoefficient.setStatus('current')
ps_conf_num_of_invertors = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 7), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNumOfInvertors.setStatus('current')
ps_conf_num_of_rectifiers = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNumOfRectifiers.setStatus('current')
ps_conf_ac_high = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfACHigh.setStatus('current')
ps_conf_ac_low = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfACLow.setStatus('current')
ps_conf_current_limit = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 11), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfCurrentLimit.setStatus('current')
ps_conf_hia = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 12), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfHIA.setStatus('current')
ps_conf_bdoc = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 13), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfBDOC.setStatus('current')
ps_conf_battery_nominal_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 14), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfBatteryNominalCapacity.setStatus('current')
ps_conf_equal_stop_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 15), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqualStopTime.setStatus('current')
ps_conf_equal_stop_current = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 16), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqualStopCurrent.setStatus('current')
ps_conf_equal_period = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 17), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqualPeriod.setStatus('current')
ps_conf_equal_start_current = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 18), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqualStartCurrent.setStatus('current')
ps_conf_major_low_voltage1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 19), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfMajorLowVoltage1.setStatus('current')
ps_conf_major_low_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 20), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfMajorLowVoltage.setStatus('current')
ps_conf_minor_low_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 21), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfMinorLowVoltage.setStatus('current')
ps_conf_minor_high_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 22), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfMinorHighVoltage.setStatus('current')
ps_conf_major_high_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 23), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfMajorHighVoltage.setStatus('current')
ps_conf_floating_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 24), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfFloatingVoltage.setStatus('current')
ps_conf_equalizing_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 25), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqualizingVoltage.setStatus('current')
ps_conf_number_of_battery = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 26), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNumberOfBattery.setStatus('current')
ps_conf_enable_temp_comp = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEnableTempComp.setStatus('current')
ps_conf_number_of_lvd = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 28), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNumberOfLVD.setStatus('current')
ps_conf_eq_major_low_voltage_lv1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 29), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqMajorLowVoltageLV1.setStatus('current')
ps_conf_eq_major_low_voltage_lv = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 30), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqMajorLowVoltageLv.setStatus('current')
ps_conf_eq_minor_low_voltage_lv = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 31), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqMinorLowVoltageLV.setStatus('current')
ps_conf_eq_minor_high_voltage_hv = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 32), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqMinorHighVoltageHV.setStatus('current')
ps_conf_eq_major_high_voltage_hv = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 33), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfEqMajorHighVoltageHV.setStatus('current')
ps_conf_invertor_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 34), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfInvertorVoltage.setStatus('current')
ps_conf_invertor_high_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 35), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfInvertorHighVoltage.setStatus('current')
ps_conf_invertor_low_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 36), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfInvertorLowVoltage.setStatus('current')
ps_conf_lvd_disconnect_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 37), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfLVDDisconnectTime.setStatus('current')
ps_conf_nom_spare0 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 38), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare0.setStatus('current')
ps_conf_nom_spare1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 39), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare1.setStatus('current')
ps_conf_nom_spare2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 40), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare2.setStatus('current')
ps_conf_nom_spare3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 41), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare3.setStatus('current')
ps_conf_nom_spare4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 42), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare4.setStatus('current')
ps_conf_nom_spare5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 43), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare5.setStatus('current')
ps_conf_nom_spare6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 44), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare6.setStatus('current')
ps_conf_nom_spare7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 45), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare7.setStatus('current')
ps_conf_nom_spare8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 46), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare8.setStatus('current')
ps_conf_nom_spare9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 47), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare9.setStatus('current')
ps_conf_nom_spare10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 8, 48), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psConfNomSpare10.setStatus('current')
ps_status_alarm1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm1.setStatus('current')
ps_status_alarm2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm2.setStatus('current')
ps_status_alarm3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm3.setStatus('current')
ps_status_alarm4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm4.setStatus('current')
ps_status_alarm5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm5.setStatus('current')
ps_status_alarm6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm6.setStatus('current')
ps_status_alarm7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm7.setStatus('current')
ps_status_alarm8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm8.setStatus('current')
ps_status_alarm9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm9.setStatus('current')
ps_status_alarm10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm10.setStatus('current')
ps_status_alarm11 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm11.setStatus('current')
ps_status_alarm12 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm12.setStatus('current')
ps_status_alarm13 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm13.setStatus('current')
ps_status_alarm14 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm14.setStatus('current')
ps_status_alarm15 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm15.setStatus('current')
ps_status_alarm16 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm16.setStatus('current')
ps_status_alarm17 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm17.setStatus('current')
ps_status_alarm18 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm18.setStatus('current')
ps_status_alarm19 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm19.setStatus('current')
ps_status_alarm20 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm20.setStatus('current')
ps_status_alarm21 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm21.setStatus('current')
ps_status_alarm22 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm22.setStatus('current')
ps_status_alarm23 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm23.setStatus('current')
ps_status_alarm24 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm24.setStatus('current')
ps_status_alarm25 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm25.setStatus('current')
ps_status_alarm26 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm26.setStatus('current')
ps_status_alarm27 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm27.setStatus('current')
ps_status_alarm28 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm28.setStatus('current')
ps_status_alarm29 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm29.setStatus('current')
ps_status_alarm30 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm30.setStatus('current')
ps_status_alarm31 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm31.setStatus('current')
ps_status_alarm32 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm32.setStatus('current')
ps_status_alarm33 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm33.setStatus('current')
ps_status_alarm34 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm34.setStatus('current')
ps_status_alarm35 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm35.setStatus('current')
ps_status_alarm36 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm36.setStatus('current')
ps_status_alarm37 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm37.setStatus('current')
ps_status_alarm38 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm38.setStatus('current')
ps_status_alarm39 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm39.setStatus('current')
ps_status_alarm40 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm40.setStatus('current')
ps_status_alarm41 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm41.setStatus('current')
ps_status_alarm42 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm42.setStatus('current')
ps_status_alarm43 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 43), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm43.setStatus('current')
ps_status_alarm44 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm44.setStatus('current')
ps_status_alarm45 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm45.setStatus('current')
ps_status_alarm46 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm46.setStatus('current')
ps_status_alarm47 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 47), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm47.setStatus('current')
ps_status_alarm48 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm48.setStatus('current')
ps_status_alarm49 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm49.setStatus('current')
ps_status_alarm50 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm50.setStatus('current')
ps_status_alarm51 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm51.setStatus('current')
ps_status_alarm52 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm52.setStatus('current')
ps_status_alarm53 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm53.setStatus('current')
ps_status_alarm54 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 54), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm54.setStatus('current')
ps_status_alarm55 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 55), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm55.setStatus('current')
ps_status_alarm56 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm56.setStatus('current')
ps_status_alarm57 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 57), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm57.setStatus('current')
ps_status_alarm58 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm58.setStatus('current')
ps_status_alarm59 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 59), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm59.setStatus('current')
ps_status_alarm60 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 60), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm60.setStatus('current')
ps_status_alarm61 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm61.setStatus('current')
ps_status_alarm62 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm62.setStatus('current')
ps_status_alarm63 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 63), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm63.setStatus('current')
ps_status_alarm64 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 64), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm64.setStatus('current')
ps_status_alarm65 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 65), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm65.setStatus('current')
ps_status_alarm66 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 66), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm66.setStatus('current')
ps_status_alarm67 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 67), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm67.setStatus('current')
ps_status_alarm68 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 68), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm68.setStatus('current')
ps_status_alarm69 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 69), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm69.setStatus('current')
ps_status_alarm70 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 70), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm70.setStatus('current')
ps_status_alarm71 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 71), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm71.setStatus('current')
ps_status_alarm72 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 72), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm72.setStatus('current')
ps_status_alarm73 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 73), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm73.setStatus('current')
ps_status_alarm74 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 74), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm74.setStatus('current')
ps_status_alarm75 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 75), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm75.setStatus('current')
ps_status_alarm76 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 76), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm76.setStatus('current')
ps_status_alarm77 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 77), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm77.setStatus('current')
ps_status_alarm78 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 78), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm78.setStatus('current')
ps_status_alarm79 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 79), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm79.setStatus('current')
ps_status_alarm80 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 80), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm80.setStatus('current')
ps_status_alarm81 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 81), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm81.setStatus('current')
ps_status_alarm82 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 82), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm82.setStatus('current')
ps_status_alarm83 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 83), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm83.setStatus('current')
ps_status_alarm84 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 84), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm84.setStatus('current')
ps_status_alarm85 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 85), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm85.setStatus('current')
ps_status_alarm86 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 86), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm86.setStatus('current')
ps_status_alarm87 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 87), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm87.setStatus('current')
ps_status_alarm88 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 88), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm88.setStatus('current')
ps_status_alarm89 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 89), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm89.setStatus('current')
ps_status_alarm90 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 90), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm90.setStatus('current')
ps_status_alarm91 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 91), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm91.setStatus('current')
ps_status_alarm92 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 92), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm92.setStatus('current')
ps_status_alarm93 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 93), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm93.setStatus('current')
ps_status_alarm94 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 94), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm94.setStatus('current')
ps_status_alarm95 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 95), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm95.setStatus('current')
ps_status_alarm96 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 96), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 3, 2, 1))).clone(namedValues=named_values(('notactive', 0), ('warning', 4), ('minor', 3), ('major', 2), ('critical', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psStatusAlarm96.setStatus('current')
ps_status_alarm_struct = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 97), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psStatusAlarmStruct.setStatus('current')
ps_status_alarm_struct1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 98), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psStatusAlarmStruct1.setStatus('current')
ps_status_alarm_struct2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 9, 99), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psStatusAlarmStruct2.setStatus('current')
ps_unit_sys_name = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitSysName.setStatus('current')
ps_unit_manufacture = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitManufacture.setStatus('current')
ps_unit_battery_type = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitBatteryType.setStatus('current')
ps_unit_ps_type = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitPSType.setStatus('current')
ps_unit_controller_type = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitControllerType.setStatus('current')
ps_unit_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitSoftwareVersion.setStatus('current')
ps_unit_com_protocol_version = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitComProtocolVersion.setStatus('current')
ps_unit_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psUnitSerialNumber.setStatus('current')
ps_unit_rtc_day = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCDay.setStatus('current')
ps_unit_rtc_month = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCMonth.setStatus('current')
ps_unit_rtc_year = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 11), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCYear.setStatus('current')
ps_unit_rtc_hour = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 12), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCHour.setStatus('current')
ps_unit_rtc_minute = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 13), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCMinute.setStatus('current')
ps_unit_rtc_second = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 14), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psUnitRTCSecond.setStatus('current')
ps_working_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psWorkingTime.setStatus('current')
ps_screen_shot = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 16), octet_string().subtype(subtypeSpec=value_size_constraint(160, 160)).setFixedLength(160)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psScreenShot.setStatus('current')
ps_spare_ide0 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 17), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde0.setStatus('current')
ps_spare_ide1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 18), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde1.setStatus('current')
ps_spare_ide2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 19), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde2.setStatus('current')
ps_spare_ide3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 20), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde3.setStatus('current')
ps_spare_ide4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 21), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde4.setStatus('current')
ps_spare_ide5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 22), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde5.setStatus('current')
ps_spare_ide6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 23), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde6.setStatus('current')
ps_spare_ide7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 1, 24), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpareIde7.setStatus('current')
ps_hourly_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1))
if mibBuilder.loadTexts:
psHourlyTable.setStatus('current')
ps_hourly_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psHourlyIndex'))
if mibBuilder.loadTexts:
psHourlyEntry.setStatus('current')
ps_hourly_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyIndex.setStatus('current')
ps_hourly_max_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyMaxVoltage.setStatus('current')
ps_hourly_min_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyMinVoltage.setStatus('current')
ps_hourly_avr_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyAvrVoltage.setStatus('current')
ps_hourly_min_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyMinCurrent.setStatus('current')
ps_hourly_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyMaxCurrent.setStatus('current')
ps_hourly_avr_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyAvrCurrent.setStatus('current')
ps_hourly_end_time = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 23))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyEndTime.setStatus('current')
ps_daily_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2))
if mibBuilder.loadTexts:
psDailyTable.setStatus('current')
ps_daily_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psDailyIndex'))
if mibBuilder.loadTexts:
psDailyEntry.setStatus('current')
ps_daily_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyIndex.setStatus('current')
ps_daily_max_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyMaxVoltage.setStatus('current')
ps_daily_min_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyMinVoltage.setStatus('current')
ps_daily_avr_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyAvrVoltage.setStatus('current')
ps_daily_min_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyMinCurrent.setStatus('current')
ps_daily_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyMaxCurrent.setStatus('current')
ps_daily_avr_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyAvrCurrent.setStatus('current')
ps_daily_day_of_month = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 31))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyDayOfMonth.setStatus('current')
ps_monthly_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3))
if mibBuilder.loadTexts:
psMonthlyTable.setStatus('current')
ps_monthly_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psMonthlyIndex'))
if mibBuilder.loadTexts:
psMonthlyEntry.setStatus('current')
ps_monthly_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyIndex.setStatus('current')
ps_monthly_max_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyMaxVoltage.setStatus('current')
ps_monthly_min_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyMinVoltage.setStatus('current')
ps_monthly_avr_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyAvrVoltage.setStatus('current')
ps_monthly_min_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyMinCurrent.setStatus('current')
ps_monthly_max_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyMaxCurrent.setStatus('current')
ps_monthly_avr_current = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyAvrCurrent.setStatus('current')
ps_monthly_month = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 10, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 12))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyMonth.setStatus('current')
ps_hourly_first = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyFirst.setStatus('current')
ps_hourly_last = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psHourlyLast.setStatus('current')
ps_daily_first = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyFirst.setStatus('current')
ps_daily_last = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDailyLast.setStatus('current')
ps_monthly_first = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyFirst.setStatus('current')
ps_monthly_last = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 10, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psMonthlyLast.setStatus('current')
ps_log_table = mib_table((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1))
if mibBuilder.loadTexts:
psLogTable.setStatus('current')
ps_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1)).setIndexNames((0, 'GAMATRONIC-MIB', 'psLogIndex'))
if mibBuilder.loadTexts:
psLogEntry.setStatus('current')
ps_log_index = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogIndex.setStatus('current')
ps_log_date_year = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateYear.setStatus('current')
ps_log_date_month = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateMonth.setStatus('current')
ps_log_date_day = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateDay.setStatus('current')
ps_log_date_hour = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateHour.setStatus('current')
ps_log_date_minute = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateMinute.setStatus('current')
ps_log_date_second = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateSecond.setStatus('current')
ps_log_dc_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDCVoltage.setStatus('current')
ps_log_status = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogStatus.setStatus('current')
ps_log_alarm_code = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogAlarmCode.setStatus('current')
ps_log_date_time = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogDateTime.setStatus('current')
ps_log_general = mib_table_column((1, 3, 6, 1, 4, 1, 6050, 1, 11, 1, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogGeneral.setStatus('current')
ps_log_first = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 11, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogFirst.setStatus('current')
ps_log_last = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 11, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psLogLast.setStatus('current')
ps_trap_severity = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 1), ps_alarm_severity()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psTrapSeverity.setStatus('current')
ps_trap_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psTrapStatus.setStatus('current')
ps_trap_activation = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 12, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psTrapActivation.setStatus('current')
ps_alarm1006 = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10))
ps_trap_prefix1006 = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0))
ps_trap1006_ac_low = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 1)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006ACLow.setStatus('current')
ps_trap1006_battery2_test_fault = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 2)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006Battery2TestFault.setStatus('current')
ps_trap1006_battery1_test_fault = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 3)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006Battery1TestFault.setStatus('current')
ps_trap1006_lvd2_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 4)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006LVD2Open.setStatus('current')
ps_trap1006_lvd1_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 5)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006LVD1Open.setStatus('current')
ps_trap1006_aux_contact_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 6)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006AUXContactOpen.setStatus('current')
ps_trap1006_aux_breaker_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 7)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006AUXBreakerOpen.setStatus('current')
ps_trap1006_battery_breaker_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 8)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006BatteryBreakerOpen.setStatus('current')
ps_trap1006_load_breaker_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 9)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006LoadBreakerOpen.setStatus('current')
ps_trap1006_dclow_low = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 10)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006DCLOWLow.setStatus('current')
ps_trap1006_rectifier = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 11)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006Rectifier.setStatus('current')
ps_trap1006_over_temptature = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 12)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006OverTemptature.setStatus('current')
ps_trap1006_lvd_bypass_open = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 13)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006LVDBypassOpen.setStatus('current')
ps_trap1006_dc_high = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 14)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006DCHigh.setStatus('current')
ps_trap1006_dc_low = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 15)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006DCLow.setStatus('current')
ps_trap1006_ac_high = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 10, 0, 16)).setObjects(('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrap1006ACHigh.setStatus('current')
ps_alarm = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11))
ps_trap_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0))
ps_trap_rfamaj = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 1)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapRFAMAJ.setStatus('current')
ps_trap_rfamin = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 2)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapRFAMIN.setStatus('current')
ps_trap_acfail = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 3)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapACFAIL.setStatus('current')
ps_trap_lvdx2 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 4)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapLVDX2.setStatus('current')
ps_trap_sysot = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 5)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapSYSOT.setStatus('current')
ps_trap_lvdx1 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 6)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapLVDX1.setStatus('current')
ps_trap_cbopen = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 7)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapCBOPEN.setStatus('current')
ps_trap_eqhst = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 8)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapEQHST.setStatus('current')
ps_trap_battst = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 9)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapBATTST.setStatus('current')
ps_trap_inubad = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 10)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapINUBAD.setStatus('current')
ps_trap_univpd = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 11)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapUNIVPD.setStatus('current')
ps_trap_ibadin = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 12)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapIBADIN.setStatus('current')
ps_trap_rbadin = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 13)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapRBADIN.setStatus('current')
ps_trap_slftst = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 14)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapSLFTST.setStatus('current')
ps_trap_fusebd = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 15)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapFUSEBD.setStatus('current')
ps_trap_loadhi = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 16)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapLOADHI.setStatus('current')
ps_trap_surgbd = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 17)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapSURGBD.setStatus('current')
ps_trap_eqlong = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 18)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapEQLONG.setStatus('current')
ps_trap_fuse24 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 19)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapFUSE24.setStatus('current')
ps_trap_fuse48 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 20)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapFUSE48.setStatus('current')
ps_trap_byps2 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 21)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapBYPS2.setStatus('current')
ps_trap_byps1 = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 22)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapBYPS1.setStatus('current')
ps_trap_cb24_cr = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 23)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapCB24CR.setStatus('current')
ps_trap_cb48_cr = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 24)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapCB48CR.setStatus('current')
ps_trap_batot = notification_type((1, 3, 6, 1, 4, 1, 6050, 1, 12, 11, 0, 25)).setObjects(('GAMATRONIC-MIB', 'psTrapSeverity'), ('GAMATRONIC-MIB', 'psTrapStatus'))
if mibBuilder.loadTexts:
psTrapBATOT.setStatus('current')
ps_alarm_set1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet1.setStatus('current')
ps_alarm_set2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet2.setStatus('current')
ps_alarm_set3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet3.setStatus('current')
ps_alarm_set4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet4.setStatus('current')
ps_alarm_set5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet5.setStatus('current')
ps_alarm_set6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet6.setStatus('current')
ps_alarm_set7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet7.setStatus('current')
ps_alarm_set8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet8.setStatus('current')
ps_alarm_set9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet9.setStatus('current')
ps_alarm_set10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet10.setStatus('current')
ps_alarm_set11 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet11.setStatus('current')
ps_alarm_set12 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet12.setStatus('current')
ps_alarm_set13 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet13.setStatus('current')
ps_alarm_set14 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet14.setStatus('current')
ps_alarm_set15 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet15.setStatus('current')
ps_alarm_set16 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet16.setStatus('current')
ps_alarm_set17 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet17.setStatus('current')
ps_alarm_set18 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet18.setStatus('current')
ps_alarm_set19 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet19.setStatus('current')
ps_alarm_set20 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet20.setStatus('current')
ps_alarm_set21 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet21.setStatus('current')
ps_alarm_set22 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet22.setStatus('current')
ps_alarm_set23 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet23.setStatus('current')
ps_alarm_set24 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet24.setStatus('current')
ps_alarm_set25 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet25.setStatus('current')
ps_alarm_set26 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet26.setStatus('current')
ps_alarm_set27 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet27.setStatus('current')
ps_alarm_set28 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet28.setStatus('current')
ps_alarm_set29 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet29.setStatus('current')
ps_alarm_set30 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet30.setStatus('current')
ps_alarm_set31 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet31.setStatus('current')
ps_alarm_set32 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet32.setStatus('current')
ps_alarm_set33 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet33.setStatus('current')
ps_alarm_set34 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet34.setStatus('current')
ps_alarm_set35 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet35.setStatus('current')
ps_alarm_set36 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet36.setStatus('current')
ps_alarm_set37 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet37.setStatus('current')
ps_alarm_set38 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet38.setStatus('current')
ps_alarm_set39 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet39.setStatus('current')
ps_alarm_set40 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet40.setStatus('current')
ps_alarm_set41 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet41.setStatus('current')
ps_alarm_set42 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet42.setStatus('current')
ps_alarm_set43 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 43), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet43.setStatus('current')
ps_alarm_set44 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet44.setStatus('current')
ps_alarm_set45 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet45.setStatus('current')
ps_alarm_set46 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet46.setStatus('current')
ps_alarm_set47 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 47), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet47.setStatus('current')
ps_alarm_set48 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet48.setStatus('current')
ps_alarm_set49 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet49.setStatus('current')
ps_alarm_set50 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet50.setStatus('current')
ps_alarm_set51 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet51.setStatus('current')
ps_alarm_set52 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet52.setStatus('current')
ps_alarm_set53 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet53.setStatus('current')
ps_alarm_set54 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 54), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet54.setStatus('current')
ps_alarm_set55 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 55), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet55.setStatus('current')
ps_alarm_set56 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet56.setStatus('current')
ps_alarm_set57 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 57), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet57.setStatus('current')
ps_alarm_set58 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet58.setStatus('current')
ps_alarm_set59 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 59), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet59.setStatus('current')
ps_alarm_set60 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 60), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet60.setStatus('current')
ps_alarm_set61 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet61.setStatus('current')
ps_alarm_set62 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet62.setStatus('current')
ps_alarm_set63 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 63), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet63.setStatus('current')
ps_alarm_set64 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 64), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet64.setStatus('current')
ps_alarm_set65 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 65), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet65.setStatus('current')
ps_alarm_set66 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 66), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet66.setStatus('current')
ps_alarm_set67 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 67), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet67.setStatus('current')
ps_alarm_set68 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 68), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet68.setStatus('current')
ps_alarm_set69 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 69), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet69.setStatus('current')
ps_alarm_set70 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 70), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet70.setStatus('current')
ps_alarm_set71 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 71), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet71.setStatus('current')
ps_alarm_set72 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 72), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet72.setStatus('current')
ps_alarm_set73 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 73), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet73.setStatus('current')
ps_alarm_set74 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 74), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet74.setStatus('current')
ps_alarm_set75 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 75), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet75.setStatus('current')
ps_alarm_set76 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 76), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet76.setStatus('current')
ps_alarm_set77 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 77), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet77.setStatus('current')
ps_alarm_set78 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 78), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet78.setStatus('current')
ps_alarm_set79 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 79), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet79.setStatus('current')
ps_alarm_set80 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 80), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet80.setStatus('current')
ps_alarm_set81 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 81), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet81.setStatus('current')
ps_alarm_set82 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 82), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet82.setStatus('current')
ps_alarm_set83 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 83), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet83.setStatus('current')
ps_alarm_set84 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 84), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet84.setStatus('current')
ps_alarm_set85 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 85), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet85.setStatus('current')
ps_alarm_set86 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 86), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet86.setStatus('current')
ps_alarm_set87 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 87), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet87.setStatus('current')
ps_alarm_set88 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 88), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet88.setStatus('current')
ps_alarm_set89 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 89), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet89.setStatus('current')
ps_alarm_set90 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 90), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet90.setStatus('current')
ps_alarm_set91 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 91), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet91.setStatus('current')
ps_alarm_set92 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 92), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet92.setStatus('current')
ps_alarm_set93 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 93), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet93.setStatus('current')
ps_alarm_set94 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 94), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet94.setStatus('current')
ps_alarm_set95 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 95), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet95.setStatus('current')
ps_alarm_set96 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 13, 96), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('enable', 0), ('disable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psAlarmSet96.setStatus('current')
ps_security_comunity1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 1), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityComunity1.setStatus('current')
ps_security_comunity2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityComunity2.setStatus('current')
ps_security_comunity3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 3), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityComunity3.setStatus('current')
ps_security_password_comunity = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 4), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityPasswordComunity.setStatus('current')
ps_security_password_set = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 5), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityPasswordSet.setStatus('current')
ps_security_set_get_password = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 6), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecuritySetGetPassword.setStatus('current')
ps_security_erase_password = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('reset', 1), ('dont', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityErasePassword.setStatus('current')
ps_security_trap_ip1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 8), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityTrapIp1.setStatus('current')
ps_security_trap_ip2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 9), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityTrapIp2.setStatus('current')
ps_security_trap_ip3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 10), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityTrapIp3.setStatus('current')
ps_security_trap_ip4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 11), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityTrapIp4.setStatus('current')
ps_security_interface_ip = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 12), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityInterfaceIP.setStatus('current')
ps_security_interface_net_mask = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 13), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityInterfaceNetMask.setStatus('current')
ps_security_interface_gate_way = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 14), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityInterfaceGateWay.setStatus('current')
ps_security_interface_activate = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 14, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('donot', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSecurityInterfaceActivate.setStatus('current')
ps_command_go_float = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandGoFloat.setStatus('current')
ps_command_go_equalizing = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 2), integer32().subtype(subtypeSpec=value_range_constraint(4, 72))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandGoEqualizing.setStatus('current')
ps_command_do_self_test = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandDoSelfTest.setStatus('current')
ps_command_run_flash1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('activate', 1), ('dontactivate', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandRunFlash1.setStatus('current')
ps_command_run_flash2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('activate', 1), ('dontactivate', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandRunFlash2.setStatus('current')
ps_command_test_battery_all = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 9))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandTestBatteryAll.setStatus('current')
ps_command_do_boot = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('do', 1), ('dont', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandDoBoot.setStatus('current')
ps_command_load_default = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('load', 1), ('dontload', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandLoadDefault.setStatus('current')
ps_command_program_non_active_flash = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('load', 1), ('dontload', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandProgramNonActiveFlash.setStatus('current')
ps_command_non_active_flash = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandNonActiveFlash.setStatus('current')
ps_command_non_active_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandNonActiveStatus.setStatus('current')
ps_command_down_load_software = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandDownLoadSoftware.setStatus('current')
ps_command_down_load_check = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('completeok', 0), ('inprogress', 1), ('notok1', 2), ('notok2', 3), ('notok3', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandDownLoadCheck.setStatus('current')
ps_command_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 14), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandFileName.setStatus('current')
ps_command_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 15), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandIpAddress.setStatus('current')
ps_command_abort_bat_test = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('abort', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandAbortBatTest.setStatus('current')
ps_command_erase_total_time = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('erase', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandEraseTotalTime.setStatus('current')
ps_command_abort_program_flash = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandAbortProgramFlash.setStatus('current')
ps_command_user_define2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandUserDefine2.setStatus('current')
ps_command_user_define3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandUserDefine3.setStatus('current')
ps_command_user_define4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandUserDefine4.setStatus('current')
ps_command_user_define5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandUserDefine5.setStatus('current')
ps_command_flash1_protect = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 23), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlash1Protect.setStatus('current')
ps_command_flash2_protect = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlash2Protect.setStatus('current')
ps_command_flash_fix = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlashFix.setStatus('current')
ps_command_flash_fix_number = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlashFixNumber.setStatus('current')
ps_command_remote_test = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 27), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandRemoteTest.setStatus('current')
ps_command_controler_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandControlerStatus.setStatus('current')
ps_command_firmware_rev = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 29), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFirmwareRev.setStatus('current')
ps_command_flash2_sw_rev = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 30), octet_string().subtype(subtypeSpec=value_size_constraint(12, 12)).setFixedLength(12)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlash2SWRev.setStatus('current')
ps_command_flash1_sw_rev = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 31), octet_string().subtype(subtypeSpec=value_size_constraint(12, 12)).setFixedLength(12)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandFlash1SWRev.setStatus('current')
ps_command_mbxsw_rev = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 32), octet_string().subtype(subtypeSpec=value_size_constraint(12, 12)).setFixedLength(12)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandMBXSWRev.setStatus('current')
ps_command_leds = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 33), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandLeds.setStatus('current')
ps_command_programing_in_process = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 34), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandProgramingInProcess.setStatus('current')
ps_command_load_user_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandLoadUserDefaults.setStatus('current')
ps_command_store_user_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandStoreUserDefaults.setStatus('current')
ps_command_load_user_parameters = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandLoadUserParameters.setStatus('current')
ps_command_store_user_parameters = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('activate', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandStoreUserParameters.setStatus('current')
ps_command_dry_in_status = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 39), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandDryInStatus.setStatus('current')
ps_command_spare_r0 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 40), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR0.setStatus('current')
ps_command_spare_r1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 41), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR1.setStatus('current')
ps_command_spare_r2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 42), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR2.setStatus('current')
ps_command_spare_r3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 43), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR3.setStatus('current')
ps_command_spare_r4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 44), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR4.setStatus('current')
ps_command_spare_r5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 45), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR5.setStatus('current')
ps_command_spare_r6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 46), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR6.setStatus('current')
ps_command_spare_r7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 47), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR7.setStatus('current')
ps_command_spare_r8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 48), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR8.setStatus('current')
ps_command_spare_r9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 49), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR9.setStatus('current')
ps_command_spare_r10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 50), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psCommandSpareR10.setStatus('current')
ps_command_spare_w0 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 51), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW0.setStatus('current')
ps_command_spare_w1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 52), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW1.setStatus('current')
ps_command_spare_w2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 53), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW2.setStatus('current')
ps_command_spare_w3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 54), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW3.setStatus('current')
ps_command_spare_w4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 55), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW4.setStatus('current')
ps_command_spare_w5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 56), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW5.setStatus('current')
ps_command_spare_w6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 57), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW6.setStatus('current')
ps_command_spare_w7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 58), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW7.setStatus('current')
ps_command_spare_w8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 59), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW8.setStatus('current')
ps_command_spare_w9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 60), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW9.setStatus('current')
ps_command_spare_w10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 61), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW10.setStatus('current')
ps_command_spare_w11 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 62), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW11.setStatus('current')
ps_command_spare_w12 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 15, 63), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psCommandSpareW12.setStatus('current')
ps_spare1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare1.setStatus('current')
ps_spare2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare2.setStatus('current')
ps_spare3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare3.setStatus('current')
ps_spare4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare4.setStatus('current')
ps_spare5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare5.setStatus('current')
ps_spare6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare6.setStatus('current')
ps_spare7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 7), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare7.setStatus('current')
ps_spare8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 8), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare8.setStatus('current')
ps_spare9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 9), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare9.setStatus('current')
ps_spare10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 10), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare10.setStatus('current')
ps_spare11 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 11), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare11.setStatus('current')
ps_spare12 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 12), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare12.setStatus('current')
ps_spare13 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 13), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare13.setStatus('current')
ps_spare14 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 14), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare14.setStatus('current')
ps_spare15 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 15), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare15.setStatus('current')
ps_spare16 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 16), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psSpare16.setStatus('current')
ps_spare17 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare17.setStatus('current')
ps_spare18 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare18.setStatus('current')
ps_spare19 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare19.setStatus('current')
ps_spare20 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare20.setStatus('current')
ps_spare21 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 21), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare21.setStatus('current')
ps_spare22 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare22.setStatus('current')
ps_spare23 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 23), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare23.setStatus('current')
ps_spare24 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare24.setStatus('current')
ps_spare25 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare25.setStatus('current')
ps_spare26 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare26.setStatus('current')
ps_spare27 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 27), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare27.setStatus('current')
ps_spare28 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare28.setStatus('current')
ps_spare29 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 29), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare29.setStatus('current')
ps_spare30 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 30), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare30.setStatus('current')
ps_spare31 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 31), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare31.setStatus('current')
ps_spare32 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 17, 32), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psSpare32.setStatus('current')
ps_dial_atd_modem_set_up = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 40))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialATDModemSetUp.setStatus('current')
ps_dial_atd_dial_out = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 40))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialATDDialOut.setStatus('current')
ps_dial_out_flag = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('nodialout', 0), ('dialout', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialOutFlag.setStatus('current')
ps_dial_out_num_retries = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialOutNumRetries.setStatus('current')
ps_dial_out_num_retries_actual = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psDialOutNumRetriesActual.setStatus('current')
ps_dial_time_out_between_retries = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 6), integer32()).setUnits('10 Seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialTimeOutBetweenRetries.setStatus('current')
ps_dial_time_out_after_last_success = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 7), integer32()).setUnits('10 Seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialTimeOutAfterLastSuccess.setStatus('current')
ps_dial_time_out_after_last_retry_failed = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 18, 8), integer32()).setUnits('Minutes').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
psDialTimeOutAfterLastRetryFailed.setStatus('current')
ps_power_plus1 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 1), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus1.setStatus('current')
ps_power_plus2 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 2), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus2.setStatus('current')
ps_power_plus3 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 3), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus3.setStatus('current')
ps_power_plus4 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 4), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus4.setStatus('current')
ps_power_plus5 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 5), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus5.setStatus('current')
ps_power_plus6 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 6), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus6.setStatus('current')
ps_power_plus7 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 7), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus7.setStatus('current')
ps_power_plus8 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 8), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus8.setStatus('current')
ps_power_plus9 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 9), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus9.setStatus('current')
ps_power_plus10 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 10), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus10.setStatus('current')
ps_power_plus11 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 11), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus11.setStatus('current')
ps_power_plus12 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 12), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus12.setStatus('current')
ps_power_plus13 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 13), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus13.setStatus('current')
ps_power_plus14 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 14), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus14.setStatus('current')
ps_power_plus15 = mib_scalar((1, 3, 6, 1, 4, 1, 6050, 1, 19, 15), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
psPowerPlus15.setStatus('current')
mibBuilder.exportSymbols('GAMATRONIC-MIB', psAlarmSet72=psAlarmSet72, psPSUTemperature=psPSUTemperature, psStatusAlarm31=psStatusAlarm31, psBatterySpareRead3=psBatterySpareRead3, psPowerPlus14=psPowerPlus14, psStatusAlarm64=psStatusAlarm64, psSecurityErasePassword=psSecurityErasePassword, psCommandUserDefine2=psCommandUserDefine2, psStatusAlarm13=psStatusAlarm13, psPSUNotRespond=psPSUNotRespond, psAlarmSet73=psAlarmSet73, psAlarmSet14=psAlarmSet14, psConfNomSpare1=psConfNomSpare1, psSpare26=psSpare26, psCommandRemoteTest=psCommandRemoteTest, psAlarmSet89=psAlarmSet89, psDryContactorEntry=psDryContactorEntry, psStatusAlarm22=psStatusAlarm22, psTrap1006LVDBypassOpen=psTrap1006LVDBypassOpen, psConfHIA=psConfHIA, psDialATDModemSetUp=psDialATDModemSetUp, psINUCurrentLimitExceed=psINUCurrentLimitExceed, psINUPsOK=psINUPsOK, psDryContactor1Alarm20=psDryContactor1Alarm20, psDryContactor2Alarm17=psDryContactor2Alarm17, psConfEnableTempComp=psConfEnableTempComp, psAlarmSet69=psAlarmSet69, psCommandSpareW0=psCommandSpareW0, psPSUTestStatus=psPSUTestStatus, psDryContactorAlarm11=psDryContactorAlarm11, psTrapSYSOT=psTrapSYSOT, psContuctor9=psContuctor9, gamatronicLTD=gamatronicLTD, psBatterySpareRead1=psBatterySpareRead1, psCommandIpAddress=psCommandIpAddress, psConfNominal=psConfNominal, psDryContactorAlarm24=psDryContactorAlarm24, psCommandAbortProgramFlash=psCommandAbortProgramFlash, psACInputSurgeStatus=psACInputSurgeStatus, psAlarmSet53=psAlarmSet53, psDryContactor1Alarm10=psDryContactor1Alarm10, psTrapCB48CR=psTrapCB48CR, psLogStatus=psLogStatus, psACInputVoltage3=psACInputVoltage3, psSeverityMapAlarm33to64=psSeverityMapAlarm33to64, psCommandSpareW1=psCommandSpareW1, psConfNomSpare5=psConfNomSpare5, psStatusAlarm78=psStatusAlarm78, psStatusAlarm8=psStatusAlarm8, psDialATDDialOut=psDialATDDialOut, psSecurityComunity2=psSecurityComunity2, psDailyAvrVoltage=psDailyAvrVoltage, psDryContactorAlarm13=psDryContactorAlarm13, psDCoutputCurrent1=psDCoutputCurrent1, psTrapLOADHI=psTrapLOADHI, psDialOutNumRetries=psDialOutNumRetries, psConfEqualizingVoltage=psConfEqualizingVoltage, psConfMajorLowVoltage1=psConfMajorLowVoltage1, psINUCurrentLimitDecreased=psINUCurrentLimitDecreased, psAlarm1006=psAlarm1006, psBatteryTestTime=psBatteryTestTime, psAlarmSet9=psAlarmSet9, psDryContactorAlarm20=psDryContactorAlarm20, psINUShutInstruction=psINUShutInstruction, psLogDateTime=psLogDateTime, psDryContactor2Alarm29=psDryContactor2Alarm29, psConfMinorHighVoltage=psConfMinorHighVoltage, psStatusAlarm90=psStatusAlarm90, psDCoutputSpare1=psDCoutputSpare1, psAlarmSet86=psAlarmSet86, psCommandStoreUserDefaults=psCommandStoreUserDefaults, psContuctor4=psContuctor4, psDryContactor1Alarm3=psDryContactor1Alarm3, psCommandDownLoadCheck=psCommandDownLoadCheck, psAlarmSet35=psAlarmSet35, psDryContact2Status=psDryContact2Status, psPowerPlus3=psPowerPlus3, psStatusAlarm73=psStatusAlarm73, psMonthlyFirst=psMonthlyFirst, psDryContactor1Alarm24=psDryContactor1Alarm24, psDryContactor1Alarm28=psDryContactor1Alarm28, psStatusAlarm88=psStatusAlarm88, psStatusAlarm96=psStatusAlarm96, psConfInvertorLowVoltage=psConfInvertorLowVoltage, psTrap1006LoadBreakerOpen=psTrap1006LoadBreakerOpen, psDialOutFlag=psDialOutFlag, psCommandDoBoot=psCommandDoBoot, psCommandSpareW7=psCommandSpareW7, psAlarmSet28=psAlarmSet28, psDialTimeOutAfterLastRetryFailed=psDialTimeOutAfterLastRetryFailed, psINUReserve9=psINUReserve9, psStatusAlarm46=psStatusAlarm46, psDryContactor2Alarm30=psDryContactor2Alarm30, psStatusAlarm37=psStatusAlarm37, psAlarmSet66=psAlarmSet66, psTrapIBADIN=psTrapIBADIN, psSpare30=psSpare30, psCommandSpareW5=psCommandSpareW5, psSpare4=psSpare4, psBattery=psBattery, psDryContactor2Alarm20=psDryContactor2Alarm20, psBatteryChargeMode=psBatteryChargeMode, psSeverityMapTable=psSeverityMapTable, psDailyMinVoltage=psDailyMinVoltage, psDryContactorAlarm26=psDryContactorAlarm26, psDailyAvrCurrent=psDailyAvrCurrent, psSecurityComunity3=psSecurityComunity3, psStatusAlarm32=psStatusAlarm32, psSecurityInterfaceGateWay=psSecurityInterfaceGateWay, psCommandFlash1SWRev=psCommandFlash1SWRev, psDryContactor1Alarm17=psDryContactor1Alarm17, psSpare27=psSpare27, psWorkingTime=psWorkingTime, psStatusAlarm9=psStatusAlarm9, psLog=psLog, psStatusAlarm80=psStatusAlarm80, psCommandSpareW9=psCommandSpareW9, psPSUEntry=psPSUEntry, psStatusAlarm93=psStatusAlarm93, psStatusAlarm75=psStatusAlarm75, psSecurityTrapIp4=psSecurityTrapIp4, psStatusAlarm76=psStatusAlarm76, psDryContactor2Alarm4=psDryContactor2Alarm4, psDryContactor2Alarm18=psDryContactor2Alarm18, psDryContactorAlarm2=psDryContactorAlarm2, psTrap1006AUXBreakerOpen=psTrap1006AUXBreakerOpen, psStatusAlarm29=psStatusAlarm29, psLogTable=psLogTable, psPSU=psPSU, psAlarmSet42=psAlarmSet42, psAlarmSet71=psAlarmSet71, psCommandSpareW12=psCommandSpareW12, psCommandUserDefine4=psCommandUserDefine4, psBatterySpareWrite5=psBatterySpareWrite5, psDryContactor1Alarm5=psDryContactor1Alarm5, psAlarmSet20=psAlarmSet20, psStatusAlarm42=psStatusAlarm42, psConfBatteryNominalCapacity=psConfBatteryNominalCapacity, psAlarmSet58=psAlarmSet58, psAlarmSet30=psAlarmSet30, psDryContactorAlarm17=psDryContactorAlarm17, psDryContactor2Index=psDryContactor2Index, psBatterySpareWrite1=psBatterySpareWrite1, psStatusAlarm25=psStatusAlarm25, psDryContactorAlarm15=psDryContactorAlarm15, psDCoutputCurrent3=psDCoutputCurrent3, psAlarmSet93=psAlarmSet93, psDCoutputSpare4=psDCoutputSpare4, psAlarmSet32=psAlarmSet32, psTrapSLFTST=psTrapSLFTST, psINU=psINU, psDryContactorAlarm31=psDryContactorAlarm31, psUnitRTCMonth=psUnitRTCMonth, psTrap1006BatteryBreakerOpen=psTrap1006BatteryBreakerOpen, psCommandSpareR5=psCommandSpareR5, psPSUPsOK=psPSUPsOK, psPowerPlus13=psPowerPlus13, psTrapRBADIN=psTrapRBADIN, psINUActivity=psINUActivity, psCommandGoFloat=psCommandGoFloat, psBatteryTestStatus=psBatteryTestStatus, psDCoutputCurrent4=psDCoutputCurrent4, psSpare1=psSpare1, psAlarmSet84=psAlarmSet84, psStatusAlarm95=psStatusAlarm95, psINUTemperature=psINUTemperature, psCommandProgramingInProcess=psCommandProgramingInProcess, psAlarmSet36=psAlarmSet36, psCommandRunFlash2=psCommandRunFlash2, psConfNomSpare4=psConfNomSpare4, psDryContactor2Alarm7=psDryContactor2Alarm7, psDryContactor2Entry=psDryContactor2Entry, psAlarmSet13=psAlarmSet13, psStatusAlarm83=psStatusAlarm83, psStatusAlarm6=psStatusAlarm6, psAlarmSet26=psAlarmSet26, psConfEqMinorLowVoltageLV=psConfEqMinorLowVoltageLV, psCommandSpareR1=psCommandSpareR1, psACInputCurrent3=psACInputCurrent3, psMonthlyMaxVoltage=psMonthlyMaxVoltage, psTrap1006Rectifier=psTrap1006Rectifier, psStatusAlarm12=psStatusAlarm12, psDryContactor2Alarm1=psDryContactor2Alarm1, psTrapBATOT=psTrapBATOT, psPowerPlus15=psPowerPlus15, psHourlyMinVoltage=psHourlyMinVoltage, psDryContactor2Alarm10=psDryContactor2Alarm10, psCommandSpareW6=psCommandSpareW6, psDryContact2Table=psDryContact2Table, psStatusAlarm77=psStatusAlarm77, psStatusAlarm1=psStatusAlarm1, psMIB=psMIB, psTrapCB24CR=psTrapCB24CR, psDryContactor1Alarm15=psDryContactor1Alarm15, psAlarmSet80=psAlarmSet80, psContuctor7=psContuctor7, psPowerPlus6=psPowerPlus6, psAlarmSet31=psAlarmSet31, psDialOutNumRetriesActual=psDialOutNumRetriesActual, psBatteryTemperature=psBatteryTemperature, psINUNumber=psINUNumber, psCommandFlashFix=psCommandFlashFix, psCommandFileName=psCommandFileName, psSpareIde5=psSpareIde5, psTrapEQLONG=psTrapEQLONG, psAlarmSet88=psAlarmSet88, PsAlarmSeverity=PsAlarmSeverity, psDryContactTable=psDryContactTable, psINUReserve3=psINUReserve3, psTrapFUSEBD=psTrapFUSEBD, psSpare21=psSpare21, psAlarmSet79=psAlarmSet79, psPSURemoteMode=psPSURemoteMode, psDryContactorAlarm23=psDryContactorAlarm23, psUnitManufacture=psUnitManufacture, psHourlyMaxVoltage=psHourlyMaxVoltage, psPSUEqualizeMode=psPSUEqualizeMode, psUnitRTCSecond=psUnitRTCSecond, psLogDateMinute=psLogDateMinute, psTrap1006ACLow=psTrap1006ACLow, psSpare17=psSpare17, psTrapPrefix=psTrapPrefix, psPSUStatus=psPSUStatus, psAlarmSet52=psAlarmSet52, psSecurityComunity1=psSecurityComunity1, psDryContactor1Alarm2=psDryContactor1Alarm2, psAlarmSet95=psAlarmSet95, psTrapPrefix1006=psTrapPrefix1006, psAlarmSet27=psAlarmSet27, psAlarmSet54=psAlarmSet54, psStatusAlarm14=psStatusAlarm14, psDryContactor2Alarm6=psDryContactor2Alarm6, psLogEntry=psLogEntry, psConfEnableCurrentLimit=psConfEnableCurrentLimit, psAlarmSet38=psAlarmSet38, psStatusAlarm74=psStatusAlarm74, psPSUIndication=psPSUIndication, psPSUPsType=psPSUPsType, psBatteryInstalationYear=psBatteryInstalationYear, psSpare=psSpare, psCommandMBXSWRev=psCommandMBXSWRev, psTrapSURGBD=psTrapSURGBD, psLogGeneral=psLogGeneral, psConfEqualStopCurrent=psConfEqualStopCurrent, psCommandSpareR8=psCommandSpareR8, psAlarmSet33=psAlarmSet33, psConfLVDDisconnectTime=psConfLVDDisconnectTime, psDCoutputCurrent2=psDCoutputCurrent2, psCommandSpareR6=psCommandSpareR6, psStatusAlarm70=psStatusAlarm70, psDryContactor1Alarm22=psDryContactor1Alarm22, psStatusAlarm33=psStatusAlarm33, psStatusAlarm21=psStatusAlarm21, psDryContactor1Alarm26=psDryContactor1Alarm26)
mibBuilder.exportSymbols('GAMATRONIC-MIB', psCommandSpareW8=psCommandSpareW8, psAlarmSet40=psAlarmSet40, psAlarmSet61=psAlarmSet61, psPSUCurrent=psPSUCurrent, psStatus=psStatus, psDryContactor2Alarm24=psDryContactor2Alarm24, psCommandLeds=psCommandLeds, psMonthlyTable=psMonthlyTable, psStatusAlarm94=psStatusAlarm94, psTrapLVDX1=psTrapLVDX1, psUnitSoftwareVersion=psUnitSoftwareVersion, psDailyLast=psDailyLast, psUnitSysName=psUnitSysName, psStatusAlarm17=psStatusAlarm17, psAlarmSet48=psAlarmSet48, psDryContactor1Alarm11=psDryContactor1Alarm11, psHourlyFirst=psHourlyFirst, psBatterySpareWrite8=psBatterySpareWrite8, psConfACHigh=psConfACHigh, psSpare16=psSpare16, psAlarmSet47=psAlarmSet47, psCommandSpareW4=psCommandSpareW4, psMonthlyMinCurrent=psMonthlyMinCurrent, psBatterySpareWrite3=psBatterySpareWrite3, psDryContactor2Alarm15=psDryContactor2Alarm15, psCommandDoSelfTest=psCommandDoSelfTest, psCommandGoEqualizing=psCommandGoEqualizing, psSpare22=psSpare22, psConfBDOC=psConfBDOC, psContuctor3=psContuctor3, psStatusAlarm81=psStatusAlarm81, psMonthlyAvrCurrent=psMonthlyAvrCurrent, psAlarmSet76=psAlarmSet76, psSeverityMapIndex=psSeverityMapIndex, psAlarmSet10=psAlarmSet10, psAlarmSet46=psAlarmSet46, psDryContactor1Alarm1=psDryContactor1Alarm1, psUnitSerialNumber=psUnitSerialNumber, psAlarmSet41=psAlarmSet41, psCommandSpareR0=psCommandSpareR0, psLogDateDay=psLogDateDay, psINUIndication=psINUIndication, psTrap1006OverTemptature=psTrap1006OverTemptature, psAlarmSet74=psAlarmSet74, psSpareIde7=psSpareIde7, psConfFloatingVoltage=psConfFloatingVoltage, psTrap1006Battery1TestFault=psTrap1006Battery1TestFault, psStatusAlarm16=psStatusAlarm16, psStatusAlarm68=psStatusAlarm68, psStatusAlarm5=psStatusAlarm5, psTrapLVDX2=psTrapLVDX2, psINUIndex=psINUIndex, psPSUPSpareBit=psPSUPSpareBit, psDailyDayOfMonth=psDailyDayOfMonth, psPowerPlus7=psPowerPlus7, psHourlyAvrVoltage=psHourlyAvrVoltage, psCommandSpareR3=psCommandSpareR3, psINURemoteMode=psINURemoteMode, psDryContactor2Alarm5=psDryContactor2Alarm5, psAlarmSet94=psAlarmSet94, psSpare5=psSpare5, psStatusAlarm54=psStatusAlarm54, psConfMinorLowVoltage=psConfMinorLowVoltage, psStatusAlarm92=psStatusAlarm92, psConfEqMinorHighVoltageHV=psConfEqMinorHighVoltageHV, psCommand=psCommand, psDryContactor1Entry=psDryContactor1Entry, psDryContactorAlarm29=psDryContactorAlarm29, psLogLast=psLogLast, psAlarmSet64=psAlarmSet64, psConfGHighTempAlarm=psConfGHighTempAlarm, psACInputVoltage1=psACInputVoltage1, psStatusAlarm66=psStatusAlarm66, psSecurityTrapIp2=psSecurityTrapIp2, psTrapFUSE24=psTrapFUSE24, psStatusAlarmStruct1=psStatusAlarmStruct1, psAlarmSet8=psAlarmSet8, psDryContactor2Alarm25=psDryContactor2Alarm25, psDryContactor2Alarm28=psDryContactor2Alarm28, psTrap1006DCHigh=psTrap1006DCHigh, psSecurityPasswordSet=psSecurityPasswordSet, psDryContactorAlarm12=psDryContactorAlarm12, psStatusAlarm50=psStatusAlarm50, psTrapStatus=psTrapStatus, psBatteryNearestTestHour=psBatteryNearestTestHour, psCommandSpareW3=psCommandSpareW3, psACInputSpareInp3=psACInputSpareInp3, psStatusAlarm51=psStatusAlarm51, psAlarm=psAlarm, psCommandSpareR7=psCommandSpareR7, psCommandSpareW2=psCommandSpareW2, psUnitBatteryType=psUnitBatteryType, psContuctor=psContuctor, psDryContactorAlarm21=psDryContactorAlarm21, psBatteryNumber=psBatteryNumber, psAlarmSet68=psAlarmSet68, psHourlyMaxCurrent=psHourlyMaxCurrent, psConfEnablePeriodicEqualize=psConfEnablePeriodicEqualize, psPSUShutHighVolt=psPSUShutHighVolt, psAlarmSet55=psAlarmSet55, psAlarmSet90=psAlarmSet90, psSpareIde6=psSpareIde6, psMonthlyMinVoltage=psMonthlyMinVoltage, psPowerPlus9=psPowerPlus9, psPowerPlus=psPowerPlus, psBatterySpareWrite6=psBatterySpareWrite6, psINUStatus=psINUStatus, psDailyFirst=psDailyFirst, psPSUReserve2=psPSUReserve2, psINUTable=psINUTable, psDryContactorAlarm28=psDryContactorAlarm28, psCommandLoadUserParameters=psCommandLoadUserParameters, psSpareIde3=psSpareIde3, psDryContactor1Alarm21=psDryContactor1Alarm21, psConfNumOfInvertors=psConfNumOfInvertors, psPSUActivity=psPSUActivity, psAlarmSet19=psAlarmSet19, psSpare20=psSpare20, psBatteryActualCapacity=psBatteryActualCapacity, psCommandSpareR9=psCommandSpareR9, psUnit=psUnit, psAlarmSet78=psAlarmSet78, psDailyMaxVoltage=psDailyMaxVoltage, psDryContactor2Alarm11=psDryContactor2Alarm11, psStatusAlarm71=psStatusAlarm71, psAlarmSet96=psAlarmSet96, psCommandLoadUserDefaults=psCommandLoadUserDefaults, psBatterySpareWrite2=psBatterySpareWrite2, psAlarmSet57=psAlarmSet57, psSpare3=psSpare3, psAlarmSet92=psAlarmSet92, psDryContactor2Alarm13=psDryContactor2Alarm13, psStatusAlarm89=psStatusAlarm89, psPSUCurrentLimitDecreased=psPSUCurrentLimitDecreased, psDryContactorAlarm25=psDryContactorAlarm25, psMonthlyMonth=psMonthlyMonth, psMonthlyAvrVoltage=psMonthlyAvrVoltage, psCommandNonActiveStatus=psCommandNonActiveStatus, psAlarmSet43=psAlarmSet43, psACInputSpareInp5=psACInputSpareInp5, psTrapSeverity=psTrapSeverity, psSeverityMap=psSeverityMap, psConfNomSpare2=psConfNomSpare2, psCommandUserDefine3=psCommandUserDefine3, psPowerPlus8=psPowerPlus8, psStatistics=psStatistics, psDCoutputInvertorVoltage=psDCoutputInvertorVoltage, psDryContactor2Alarm27=psDryContactor2Alarm27, psAlarmSet12=psAlarmSet12, psBatteryFuseStatus=psBatteryFuseStatus, psAlarmSet44=psAlarmSet44, psSpare15=psSpare15, psTrap1006AUXContactOpen=psTrap1006AUXContactOpen, psDryContactor2Alarm2=psDryContactor2Alarm2, psPowerPlus10=psPowerPlus10, psAlarmSet77=psAlarmSet77, psINUPSpareBit=psINUPSpareBit, psAlarmSet51=psAlarmSet51, psSpare18=psSpare18, psDryContactor2Alarm8=psDryContactor2Alarm8, psStatusAlarm2=psStatusAlarm2, psTrap1006DCLow=psTrap1006DCLow, psSpare14=psSpare14, psACInputSpareInp1=psACInputSpareInp1, psMonthlyIndex=psMonthlyIndex, psStatusAlarm3=psStatusAlarm3, psAlarmSet21=psAlarmSet21, psPSUShutHighTemp=psPSUShutHighTemp, psAlarmSet15=psAlarmSet15, psStatusAlarm61=psStatusAlarm61, psAlarmSet29=psAlarmSet29, psAlarmSet6=psAlarmSet6, psStatusAlarm49=psStatusAlarm49, psDryContactor1Alarm13=psDryContactor1Alarm13, psPSUNumber=psPSUNumber, psDryContactor1Alarm12=psDryContactor1Alarm12, psAlarmSet1=psAlarmSet1, psDCOutput=psDCOutput, psConfInvertorHighVoltage=psConfInvertorHighVoltage, psDryContactorAlarm32=psDryContactorAlarm32, psDryContactor2Alarm23=psDryContactor2Alarm23, psTrapCBOPEN=psTrapCBOPEN, psCommandLoadDefault=psCommandLoadDefault, psDryContactor1Alarm32=psDryContactor1Alarm32, psConfMajorHighVoltage=psConfMajorHighVoltage, psConfMajorLowVoltage=psConfMajorLowVoltage, psSpare31=psSpare31, psBatteryVoltage=psBatteryVoltage, psACInputCurrent1=psACInputCurrent1, psConfNumOfRectifiers=psConfNumOfRectifiers, psAlarmSet60=psAlarmSet60, psSpare28=psSpare28, psPSUSelfTestPass=psPSUSelfTestPass, psDialTimeOutAfterLastSuccess=psDialTimeOutAfterLastSuccess, psConfNumberOfBattery=psConfNumberOfBattery, psBatteryStatus=psBatteryStatus, psCommandDryInStatus=psCommandDryInStatus, psACInputSpareInp6=psACInputSpareInp6, psDryContactor2Alarm14=psDryContactor2Alarm14, psStatusAlarm28=psStatusAlarm28, psConfCurrentLimit=psConfCurrentLimit, psCommandEraseTotalTime=psCommandEraseTotalTime, psCommandRunFlash1=psCommandRunFlash1, psDryContactor1Alarm8=psDryContactor1Alarm8, psStatusAlarm86=psStatusAlarm86, psDryContactorAlarm10=psDryContactorAlarm10, psDryContactor1Alarm27=psDryContactor1Alarm27, psSecurityInterfaceIP=psSecurityInterfaceIP, psConfEqMajorLowVoltageLV1=psConfEqMajorLowVoltageLV1, psConfNomSpare7=psConfNomSpare7, psStatusAlarmStruct=psStatusAlarmStruct, psContuctor2=psContuctor2, psStatusAlarm7=psStatusAlarm7, psStatusAlarm44=psStatusAlarm44, psTrap1006DCLOWLow=psTrap1006DCLOWLow, psAlarmSet2=psAlarmSet2, psStatusAlarm11=psStatusAlarm11, psINUShutHighVolt=psINUShutHighVolt, psDryContactorAlarm6=psDryContactorAlarm6, psAlarmSet11=psAlarmSet11, psCommandFirmwareRev=psCommandFirmwareRev, psCommandFlashFixNumber=psCommandFlashFixNumber, psDryContactor2Alarm31=psDryContactor2Alarm31, psACInputVoltage2=psACInputVoltage2, psSecuritySetGetPassword=psSecuritySetGetPassword, psConfEqualPeriod=psConfEqualPeriod, psSeverityMapEntry=psSeverityMapEntry, psSpare25=psSpare25, psBatteryNominalCapacity=psBatteryNominalCapacity, psStatusAlarm10=psStatusAlarm10, psStatusAlarm23=psStatusAlarm23, psHourlyLast=psHourlyLast, psBatteryNearestTestMinute=psBatteryNearestTestMinute, psPSUACInputOK=psPSUACInputOK, psBatterySpareRead2=psBatterySpareRead2, psCommandFlash2SWRev=psCommandFlash2SWRev, PYSNMP_MODULE_ID=gamatronicLTD, psTrap1006Battery2TestFault=psTrap1006Battery2TestFault, psStatusAlarm15=psStatusAlarm15, psConfLowTempAlarmSign=psConfLowTempAlarmSign, psStatusAlarm59=psStatusAlarm59, psMonthlyMaxCurrent=psMonthlyMaxCurrent, psLogDateMonth=psLogDateMonth, psDryContactor2Alarm16=psDryContactor2Alarm16, psINUNOOut=psINUNOOut, psLogFirst=psLogFirst, psCommandProgramNonActiveFlash=psCommandProgramNonActiveFlash, psDial=psDial, psStatusAlarm63=psStatusAlarm63, psSpare29=psSpare29, psPowerPlus4=psPowerPlus4, psDryContactor1Alarm23=psDryContactor1Alarm23, psSpareIde1=psSpareIde1, psLogAlarmCode=psLogAlarmCode)
mibBuilder.exportSymbols('GAMATRONIC-MIB', psConfInvertorVoltage=psConfInvertorVoltage, psConfEqualStartCurrent=psConfEqualStartCurrent, psDryContactor1Alarm14=psDryContactor1Alarm14, psTrapActivation=psTrapActivation, psAlarmSet65=psAlarmSet65, psAlarmSet18=psAlarmSet18, psTrapACFAIL=psTrapACFAIL, psCommandFlash1Protect=psCommandFlash1Protect, psAlarmSet85=psAlarmSet85, psCommandNonActiveFlash=psCommandNonActiveFlash, psBatterySpareWrite4=psBatterySpareWrite4, psSpare11=psSpare11, psStatusAlarm55=psStatusAlarm55, psBatteryIndex=psBatteryIndex, psLogIndex=psLogIndex, psDryContactor1Alarm4=psDryContactor1Alarm4, psDryContactorAlarm4=psDryContactorAlarm4, psSpare19=psSpare19, psStatusAlarm34=psStatusAlarm34, psDCoutputCurrent5=psDCoutputCurrent5, psStatusAlarm27=psStatusAlarm27, psDryContactorAlarm22=psDryContactorAlarm22, psStatusAlarm19=psStatusAlarm19, psLogDateHour=psLogDateHour, psSpare23=psSpare23, psSpareIde2=psSpareIde2, psAlarmSet34=psAlarmSet34, psBatteryInstalationMonth=psBatteryInstalationMonth, psContuctor1=psContuctor1, psStatusAlarm91=psStatusAlarm91, psSecurityInterfaceActivate=psSecurityInterfaceActivate, psAlarmSet24=psAlarmSet24, psStatusAlarm57=psStatusAlarm57, psINUCurrent=psINUCurrent, psSecurityPasswordComunity=psSecurityPasswordComunity, psDryContactorAlarm9=psDryContactorAlarm9, psStatusAlarm87=psStatusAlarm87, psPowerPlus11=psPowerPlus11, psConfNomSpare0=psConfNomSpare0, psCommandSpareW11=psCommandSpareW11, psDryContactorAlarm18=psDryContactorAlarm18, psAlarmSet49=psAlarmSet49, psStatusAlarm72=psStatusAlarm72, psTrapBYPS2=psTrapBYPS2, psStatusAlarm20=psStatusAlarm20, psAlarmSet4=psAlarmSet4, psDryContactor1Alarm18=psDryContactor1Alarm18, psDryContactor2Alarm22=psDryContactor2Alarm22, psConfNomSpare3=psConfNomSpare3, psStatusAlarm69=psStatusAlarm69, psDCoutputSurgeStatus=psDCoutputSurgeStatus, psBatteryTemperatureSign=psBatteryTemperatureSign, psStatusAlarmStruct2=psStatusAlarmStruct2, psUnitRTCYear=psUnitRTCYear, psPSUFloatingMode=psPSUFloatingMode, psStatusAlarm45=psStatusAlarm45, psPSUVoltage=psPSUVoltage, psHourlyEndTime=psHourlyEndTime, psAlarmSet50=psAlarmSet50, psDCoutputSpare5=psDCoutputSpare5, psDryContactor2Alarm19=psDryContactor2Alarm19, psStatusAlarm60=psStatusAlarm60, psStatusAlarm35=psStatusAlarm35, psPSUBadSharing=psPSUBadSharing, psStatusAlarm67=psStatusAlarm67, psTrap1006LVD1Open=psTrap1006LVD1Open, psBatteryEqRunTimeHours=psBatteryEqRunTimeHours, psDryContactorAlarm8=psDryContactorAlarm8, psStatusAlarm36=psStatusAlarm36, psBatteryCurrent=psBatteryCurrent, psDCoutputDCStatus=psDCoutputDCStatus, psACInput=psACInput, psSpare7=psSpare7, psConfEqualStopTime=psConfEqualStopTime, psConfNomSpare10=psConfNomSpare10, psHourlyMinCurrent=psHourlyMinCurrent, psSpareIde4=psSpareIde4, psDryContactor1Index=psDryContactor1Index, psTrap1006ACHigh=psTrap1006ACHigh, psCommandTestBatteryAll=psCommandTestBatteryAll, psSpare10=psSpare10, psDryContactorAlarm30=psDryContactorAlarm30, psAlarmSet45=psAlarmSet45, psStatusAlarm53=psStatusAlarm53, psDryContactor2Alarm12=psDryContactor2Alarm12, psTrap=psTrap, psPSUReserve3=psPSUReserve3, psAlarmSet22=psAlarmSet22, psAlarmSet82=psAlarmSet82, psDryContactorAlarm14=psDryContactorAlarm14, psTrapINUBAD=psTrapINUBAD, psAlarmSet63=psAlarmSet63, psDryContactorAlarm1=psDryContactorAlarm1, psStatusAlarm85=psStatusAlarm85, psConfNomSpare9=psConfNomSpare9, psAlarmSet70=psAlarmSet70, psContuctor5=psContuctor5, psContuctor10=psContuctor10, psAlarmSet62=psAlarmSet62, psAlarmSet91=psAlarmSet91, psACInputACStatus=psACInputACStatus, psStatusAlarm26=psStatusAlarm26, psACInputCurrent2=psACInputCurrent2, psScreenShot=psScreenShot, psCommandAbortBatTest=psCommandAbortBatTest, psINUReserve1=psINUReserve1, psTrapBATTST=psTrapBATTST, psDryContactor2Alarm3=psDryContactor2Alarm3, psINUReserve10=psINUReserve10, psTrapBYPS1=psTrapBYPS1, psUnitRTCHour=psUnitRTCHour, psDCoutputSpare2=psDCoutputSpare2, psDailyIndex=psDailyIndex, psDryContactorAlarm3=psDryContactorAlarm3, psStatusAlarm40=psStatusAlarm40, psStatusAlarm62=psStatusAlarm62, psSpare12=psSpare12, psAlarmSet81=psAlarmSet81, psSecurity=psSecurity, psDryContactor1Alarm31=psDryContactor1Alarm31, psDryContactor1Alarm16=psDryContactor1Alarm16, psCommandSpareR2=psCommandSpareR2, psConfNomSpare8=psConfNomSpare8, psAlarmSet67=psAlarmSet67, psSpareIde0=psSpareIde0, psCommandSpareW10=psCommandSpareW10, psBatteryTable=psBatteryTable, psTrapEQHST=psTrapEQHST, psSpare9=psSpare9, psPowerPlus12=psPowerPlus12, psSecurityInterfaceNetMask=psSecurityInterfaceNetMask, psDailyTable=psDailyTable, psINUReserve2=psINUReserve2, psSecurityTrapIp3=psSecurityTrapIp3, psAlarmSet7=psAlarmSet7, psCommandSpareR4=psCommandSpareR4, psACInputSpareInp0=psACInputSpareInp0, psBatteryLoadTime=psBatteryLoadTime, psDryContactor1Alarm29=psDryContactor1Alarm29, psConfLowTempAlarm=psConfLowTempAlarm, psPowerPlus2=psPowerPlus2, psAlarmSet5=psAlarmSet5, psAlarmSet75=psAlarmSet75, psUnitRTCMinute=psUnitRTCMinute, psAlarmSet37=psAlarmSet37, psCommandStoreUserParameters=psCommandStoreUserParameters, psSpare6=psSpare6, psBatteryEntry=psBatteryEntry, psUnitPSType=psUnitPSType, psINUReserve7=psINUReserve7, psAlarmSet23=psAlarmSet23, psPowerPlus1=psPowerPlus1, psStatusAlarm82=psStatusAlarm82, psTrapRFAMIN=psTrapRFAMIN, psStatusAlarm56=psStatusAlarm56, psAlarmSet16=psAlarmSet16, psStatusAlarm52=psStatusAlarm52, psStatusAlarm65=psStatusAlarm65, psBatteryNearestTestMonth=psBatteryNearestTestMonth, psPSUIndex=psPSUIndex, psDryContactorAlarm19=psDryContactorAlarm19, psINUSelfTestPass=psINUSelfTestPass, psHourlyIndex=psHourlyIndex, psDryContactorAlarm27=psDryContactorAlarm27, psDailyMinCurrent=psDailyMinCurrent, psSpare32=psSpare32, psDryContactor1Alarm30=psDryContactor1Alarm30, psAlarmSet56=psAlarmSet56, psConfNomSpare6=psConfNomSpare6, psAlarmSet87=psAlarmSet87, psSecurityTrapIp1=psSecurityTrapIp1, psPSUNOOut=psPSUNOOut, psTrapRFAMAJ=psTrapRFAMAJ, psBatteryEqRunTimeMinutes=psBatteryEqRunTimeMinutes, psDCoutputSpare6=psDCoutputSpare6, psINUNotRespond=psINUNotRespond, psDryContact1Status=psDryContact1Status, psACInputSpareInp2=psACInputSpareInp2, psPowerPlus5=psPowerPlus5, psDryContactorIndex=psDryContactorIndex, psSpare2=psSpare2, psCommandControlerStatus=psCommandControlerStatus, psDailyEntry=psDailyEntry, psStatusAlarm30=psStatusAlarm30, psDCoutputVoltage=psDCoutputVoltage, psStatusAlarm79=psStatusAlarm79, psDryContactorAlarm5=psDryContactorAlarm5, psMonthlyEntry=psMonthlyEntry, psDryContactorAlarm7=psDryContactorAlarm7, psStatusAlarm4=psStatusAlarm4, psAlarmSet=psAlarmSet, psAlarmSet39=psAlarmSet39, psDryContactStatus=psDryContactStatus, psDryContactorAlarm16=psDryContactorAlarm16, psUnitRTCDay=psUnitRTCDay, psStatusAlarm39=psStatusAlarm39, psTrapFUSE48=psTrapFUSE48, psINUBadSharing=psINUBadSharing, psDailyMaxCurrent=psDailyMaxCurrent, psDCOutputDCOutput=psDCOutputDCOutput, psCommandUserDefine5=psCommandUserDefine5, psPSUCurrentLimitExceed=psPSUCurrentLimitExceed, psLogDateSecond=psLogDateSecond, psStatusAlarm43=psStatusAlarm43, psBatteryNearestTestDay=psBatteryNearestTestDay, psDryContactor2Alarm32=psDryContactor2Alarm32, psACInputFrequency=psACInputFrequency, psConfEqMajorLowVoltageLv=psConfEqMajorLowVoltageLv, psDryContactor2Alarm9=psDryContactor2Alarm9, psINUPsType=psINUPsType, psHourlyAvrCurrent=psHourlyAvrCurrent, psLogDCVoltage=psLogDCVoltage, psPSUReserve1=psPSUReserve1, psPSUShutInstruction=psPSUShutInstruction, psDryContactor1Alarm19=psDryContactor1Alarm19, psSeverityMapAlarm1to32=psSeverityMapAlarm1to32, psUnitComProtocolVersion=psUnitComProtocolVersion, psINUEntry=psINUEntry, psBatteryInstalationDay=psBatteryInstalationDay, psSpare8=psSpare8, psINUVoltage=psINUVoltage, psDryContactor1Alarm6=psDryContactor1Alarm6, psCommandSpareR10=psCommandSpareR10, psCommandDownLoadSoftware=psCommandDownLoadSoftware, psSeverityMapAlarm65to96=psSeverityMapAlarm65to96, psTrapUNIVPD=psTrapUNIVPD, psPSUFanStataus=psPSUFanStataus, psINUFanStataus=psINUFanStataus, psStatusAlarm84=psStatusAlarm84, psACInputSpareInp4=psACInputSpareInp4, psAlarmSet25=psAlarmSet25, psStatusAlarm38=psStatusAlarm38, psSpare24=psSpare24, psDialTimeOutBetweenRetries=psDialTimeOutBetweenRetries, psStatusAlarm41=psStatusAlarm41, psStatusAlarm58=psStatusAlarm58, psHourlyTable=psHourlyTable, psSpare13=psSpare13, psPSUTable=psPSUTable, psConfTemperatureCoefficient=psConfTemperatureCoefficient, psContuctor6=psContuctor6, psAlarmSet3=psAlarmSet3, psBatterySpareWrite7=psBatterySpareWrite7, psMonthlyLast=psMonthlyLast, psBatteryCurrentDirection=psBatteryCurrentDirection, psAlarmSet17=psAlarmSet17, psCommandFlash2Protect=psCommandFlash2Protect, psINUShutHighTemp=psINUShutHighTemp, psDryContactor2Alarm21=psDryContactor2Alarm21, psStatusAlarm48=psStatusAlarm48, psHourlyEntry=psHourlyEntry, psContuctor8=psContuctor8, psAlarmSet83=psAlarmSet83, psStatusAlarm18=psStatusAlarm18)
mibBuilder.exportSymbols('GAMATRONIC-MIB', psINUReserve8=psINUReserve8, psDryContactor1Alarm25=psDryContactor1Alarm25, psStatusAlarm47=psStatusAlarm47, psTrap1006LVD2Open=psTrap1006LVD2Open, psDryContactor2Alarm26=psDryContactor2Alarm26, psConfACLow=psConfACLow, psLogDateYear=psLogDateYear, psAlarmSet59=psAlarmSet59, psDryContactor1Alarm7=psDryContactor1Alarm7, psConfNumberOfLVD=psConfNumberOfLVD, psDryContact1Table=psDryContact1Table, psDryContactor1Alarm9=psDryContactor1Alarm9, psStatusAlarm24=psStatusAlarm24, psConfEqMajorHighVoltageHV=psConfEqMajorHighVoltageHV, psUnitControllerType=psUnitControllerType, psDCoutputSpare3=psDCoutputSpare3) |
# Generated with generatedevices.py
class Device:
def __init__(self, **kwargs):
for key in kwargs:
setattr(self, key, kwargs[key])
devices = [
Device(devid="at90can128", name="AT90CAN128", signature=0x978103f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90can32", name="AT90CAN32", signature=0x958103f, flash_size=0x8000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90can64", name="AT90CAN64", signature=0x968103f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm1", name="AT90PWM1", signature=0x9383, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm161", name="AT90PWM161", signature=0x948b, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm216", name="AT90PWM216", signature=0x9483, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm2b", name="AT90PWM2B", signature=0x9383, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm316", name="AT90PWM316", signature=0x9483, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm3b", name="AT90PWM3B", signature=0x9383, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90pwm81", name="AT90PWM81", signature=0x9388, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90usb1286", name="AT90USB1286", signature=0x978203f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90usb1287", name="AT90USB1287", signature=0x978203f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90usb162", name="AT90USB162", signature=0x9482, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="at90usb646", name="AT90USB646", signature=0x968203f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90usb647", name="AT90USB647", signature=0x968203f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="at90usb82", name="AT90USB82", signature=0x9682, flash_size=0x2000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="atmega128", name="ATmega128", signature=0x970203f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x48),
Device(devid="atmega1280", name="ATmega1280", signature=0x970303f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega1281", name="ATmega1281", signature=0x970403f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega1284", name="ATmega1284", signature=0x970503f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega1284p", name="ATmega1284P", signature=0x970503f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega1284rfr2", name="ATmega1284RFR2", signature=0xa70303f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega128a", name="ATmega128A", signature=0x970203f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x48),
Device(devid="atmega128rfa1", name="ATmega128RFA1", signature=0xa70103f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega128rfr2", name="ATmega128RFR2", signature=0xa70203f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16", name="ATmega16", signature=0x940303f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega162", name="ATmega162", signature=0x940403f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega164a", name="ATmega164A", signature=0x940a03f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega164p", name="ATmega164P", signature=0x940a03f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega164pa", name="ATmega164PA", signature=0x940a03f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega165a", name="ATmega165A", signature=0x940703f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega165p", name="ATmega165P", signature=0x940703f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega165pa", name="ATmega165PA", signature=0x940703f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega168", name="ATmega168", signature=0x9406, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega168a", name="ATmega168A", signature=0x940b, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega168p", name="ATmega168P", signature=0x940b, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega168pa", name="ATmega168PA", signature=0x940b, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega168pb", name="ATmega168PB", signature=0x9415, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega169a", name="ATmega169A", signature=0x940503f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega169p", name="ATmega169P", signature=0x940503f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega169pa", name="ATmega169PA", signature=0x940503f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16a", name="ATmega16A", signature=0x940303f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16hva", name="ATmega16HVA", signature=0x940c, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16hvb", name="ATmega16HVB", signature=0x940d, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16hvbrevb", name="ATmega16HVBrevB", signature=0x940d, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16m1", name="ATmega16M1", signature=0x9484, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega16u2", name="ATmega16U2", signature=0x9489, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="atmega16u4", name="ATmega16U4", signature=0x948803f, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega2560", name="ATmega2560", signature=0x980103f, flash_size=0x40000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega2561", name="ATmega2561", signature=0x980203f, flash_size=0x40000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega2564rfr2", name="ATmega2564RFR2", signature=0xa80303f, flash_size=0x40000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega256rfr2", name="ATmega256RFR2", signature=0xa80203f, flash_size=0x40000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32", name="ATmega32", signature=0x950203f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega324a", name="ATmega324A", signature=0x951103f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega324p", name="ATmega324P", signature=0x950803f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega324pa", name="ATmega324PA", signature=0x951103f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega324pb", name="ATmega324PB", signature=0x951703f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega325", name="ATmega325", signature=0x950503f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3250", name="ATmega3250", signature=0x950603f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3250a", name="ATmega3250A", signature=0x950e03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3250p", name="ATmega3250P", signature=0x950e03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3250pa", name="ATmega3250PA", signature=0x950e03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega325a", name="ATmega325A", signature=0x950d03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega325p", name="ATmega325P", signature=0x950d03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega325pa", name="ATmega325PA", signature=0x950d03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega328", name="ATmega328", signature=0x950f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega328p", name="ATmega328P", signature=0x950f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega328pb", name="ATmega328PB", signature=0x9516, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega329", name="ATmega329", signature=0x950303f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3290", name="ATmega3290", signature=0x950403f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3290a", name="ATmega3290A", signature=0x950c03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3290p", name="ATmega3290P", signature=0x950c03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega3290pa", name="ATmega3290PA", signature=0x950c03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega329a", name="ATmega329A", signature=0x950b03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega329p", name="ATmega329P", signature=0x950b03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega329pa", name="ATmega329PA", signature=0x950b03f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32a", name="ATmega32A", signature=0x950203f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32c1", name="ATmega32C1", signature=0x9586, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32hvb", name="ATmega32HVB", signature=0x9510, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32hvbrevb", name="ATmega32HVBrevB", signature=0x9510, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32m1", name="ATmega32M1", signature=0x9584, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega32u2", name="ATmega32U2", signature=0x958a, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="atmega32u4", name="ATmega32U4", signature=0x958703f, flash_size=0x8000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega406", name="ATmega406", signature=0x950703f, flash_size=0xa000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega48", name="ATmega48", signature=0x9205, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega48a", name="ATmega48A", signature=0x920a, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega48p", name="ATmega48P", signature=0x920a, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega48pa", name="ATmega48PA", signature=0x920a, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega48pb", name="ATmega48PB", signature=0x9210, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega64", name="ATmega64", signature=0x960203f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x48),
Device(devid="atmega640", name="ATmega640", signature=0x960803f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega644", name="ATmega644", signature=0x960903f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega644a", name="ATmega644A", signature=0x960a03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega644p", name="ATmega644P", signature=0x960a03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega644pa", name="ATmega644PA", signature=0x960a03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega644rfr2", name="ATmega644RFR2", signature=0xa60303f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega645", name="ATmega645", signature=0x960503f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6450", name="ATmega6450", signature=0x960603f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6450a", name="ATmega6450A", signature=0x960e03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6450p", name="ATmega6450P", signature=0x960e03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega645a", name="ATmega645A", signature=0x960d03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega645p", name="ATmega645P", signature=0x960d03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega649", name="ATmega649", signature=0x960303f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6490", name="ATmega6490", signature=0x960403f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6490a", name="ATmega6490A", signature=0x960c03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega6490p", name="ATmega6490P", signature=0x960c03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega649a", name="ATmega649A", signature=0x960b03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega649p", name="ATmega649P", signature=0x960b03f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega64a", name="ATmega64A", signature=0x960203f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x48),
Device(devid="atmega64c1", name="ATmega64C1", signature=0x9686, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega64hve2", name="ATmega64HVE2", signature=0x9610, flash_size=0x10000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega64m1", name="ATmega64M1", signature=0x9684, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega64rfr2", name="ATmega64RFR2", signature=0xa60203f, flash_size=0x10000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega88", name="ATmega88", signature=0x930a, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega88a", name="ATmega88A", signature=0x930f, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega88p", name="ATmega88P", signature=0x930f, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega88pa", name="ATmega88PA", signature=0x930f, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega88pb", name="ATmega88PB", signature=0x9316, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega8hva", name="ATmega8HVA", signature=0x9310, flash_size=0x2000, flash_pagesize=0x80, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="atmega8u2", name="ATmega8U2", signature=0x9389, flash_size=0x2000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="attiny13", name="ATtiny13", signature=0x9007, flash_size=0x400, flash_pagesize=0x20, reg_dwdr=0x2e, reg_spmcsr=0x37),
Device(devid="attiny13a", name="ATtiny13A", signature=0x9007, flash_size=0x400, flash_pagesize=0x20, reg_dwdr=0x2e, reg_spmcsr=0x37),
Device(devid="attiny1634", name="ATtiny1634", signature=0x9412, flash_size=0x4000, flash_pagesize=0x20, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny167", name="ATtiny167", signature=0x9487, flash_size=0x4000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="attiny2313", name="ATtiny2313", signature=0x910a, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny2313a", name="ATtiny2313A", signature=0x910a, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny24", name="ATtiny24", signature=0x910b, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny24a", name="ATtiny24A", signature=0x910b, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny25", name="ATtiny25", signature=0x9108, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=0x22, reg_spmcsr=0x37),
Device(devid="attiny261", name="ATtiny261", signature=0x910c, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny261a", name="ATtiny261A", signature=0x910c, flash_size=0x800, flash_pagesize=0x20, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny4313", name="ATtiny4313", signature=0x920d, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny43u", name="ATtiny43U", signature=0x920c, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny44", name="ATtiny44", signature=0x9207, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny441", name="ATtiny441", signature=0x9215, flash_size=0x1000, flash_pagesize=0x10, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny44a", name="ATtiny44A", signature=0x9207, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny45", name="ATtiny45", signature=0x9206, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=0x22, reg_spmcsr=0x37),
Device(devid="attiny461", name="ATtiny461", signature=0x9208, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny461a", name="ATtiny461A", signature=0x9208, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny48", name="ATtiny48", signature=0x9209, flash_size=0x1000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny828", name="ATtiny828", signature=0x9314, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny84", name="ATtiny84", signature=0x930c, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny841", name="ATtiny841", signature=0x9315, flash_size=0x2000, flash_pagesize=0x10, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny84a", name="ATtiny84A", signature=0x930c, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
Device(devid="attiny85", name="ATtiny85", signature=0x930b, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=0x22, reg_spmcsr=0x37),
Device(devid="attiny861", name="ATtiny861", signature=0x930d, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny861a", name="ATtiny861A", signature=0x930d, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=0x20, reg_spmcsr=0x37),
Device(devid="attiny87", name="ATtiny87", signature=0x9387, flash_size=0x2000, flash_pagesize=0x80, reg_dwdr=0x31, reg_spmcsr=0x37),
Device(devid="attiny88", name="ATtiny88", signature=0x9311, flash_size=0x2000, flash_pagesize=0x40, reg_dwdr=None, reg_spmcsr=0x37),
]
| class Device:
def __init__(self, **kwargs):
for key in kwargs:
setattr(self, key, kwargs[key])
devices = [device(devid='at90can128', name='AT90CAN128', signature=158863423, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90can32', name='AT90CAN32', signature=156766271, flash_size=32768, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90can64', name='AT90CAN64', signature=157814847, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm1', name='AT90PWM1', signature=37763, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm161', name='AT90PWM161', signature=38027, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm216', name='AT90PWM216', signature=38019, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm2b', name='AT90PWM2B', signature=37763, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm316', name='AT90PWM316', signature=38019, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm3b', name='AT90PWM3B', signature=37763, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='at90pwm81', name='AT90PWM81', signature=37768, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='at90usb1286', name='AT90USB1286', signature=158867519, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90usb1287', name='AT90USB1287', signature=158867519, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90usb162', name='AT90USB162', signature=38018, flash_size=16384, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='at90usb646', name='AT90USB646', signature=157818943, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90usb647', name='AT90USB647', signature=157818943, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='at90usb82', name='AT90USB82', signature=38530, flash_size=8192, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='atmega128', name='ATmega128', signature=158343231, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=72), device(devid='atmega1280', name='ATmega1280', signature=158347327, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega1281', name='ATmega1281', signature=158351423, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega1284', name='ATmega1284', signature=158355519, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega1284p', name='ATmega1284P', signature=158355519, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega1284rfr2', name='ATmega1284RFR2', signature=175124543, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega128a', name='ATmega128A', signature=158343231, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=72), device(devid='atmega128rfa1', name='ATmega128RFA1', signature=175116351, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega128rfr2', name='ATmega128RFR2', signature=175120447, flash_size=131072, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16', name='ATmega16', signature=155201599, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega162', name='ATmega162', signature=155205695, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega164a', name='ATmega164A', signature=155230271, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega164p', name='ATmega164P', signature=155230271, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega164pa', name='ATmega164PA', signature=155230271, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega165a', name='ATmega165A', signature=155217983, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega165p', name='ATmega165P', signature=155217983, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega165pa', name='ATmega165PA', signature=155217983, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega168', name='ATmega168', signature=37894, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega168a', name='ATmega168A', signature=37899, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega168p', name='ATmega168P', signature=37899, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega168pa', name='ATmega168PA', signature=37899, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega168pb', name='ATmega168PB', signature=37909, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega169a', name='ATmega169A', signature=155209791, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega169p', name='ATmega169P', signature=155209791, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega169pa', name='ATmega169PA', signature=155209791, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16a', name='ATmega16A', signature=155201599, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16hva', name='ATmega16HVA', signature=37900, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16hvb', name='ATmega16HVB', signature=37901, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16hvbrevb', name='ATmega16HVBrevB', signature=37901, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16m1', name='ATmega16M1', signature=38020, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega16u2', name='ATmega16U2', signature=38025, flash_size=16384, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='atmega16u4', name='ATmega16U4', signature=155746367, flash_size=16384, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega2560', name='ATmega2560', signature=159387711, flash_size=262144, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega2561', name='ATmega2561', signature=159391807, flash_size=262144, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega2564rfr2', name='ATmega2564RFR2', signature=176173119, flash_size=262144, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega256rfr2', name='ATmega256RFR2', signature=176169023, flash_size=262144, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32', name='ATmega32', signature=156246079, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega324a', name='ATmega324A', signature=156307519, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega324p', name='ATmega324P', signature=156270655, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega324pa', name='ATmega324PA', signature=156307519, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega324pb', name='ATmega324PB', signature=156332095, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega325', name='ATmega325', signature=156258367, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3250', name='ATmega3250', signature=156262463, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3250a', name='ATmega3250A', signature=156295231, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3250p', name='ATmega3250P', signature=156295231, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3250pa', name='ATmega3250PA', signature=156295231, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega325a', name='ATmega325A', signature=156291135, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega325p', name='ATmega325P', signature=156291135, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega325pa', name='ATmega325PA', signature=156291135, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega328', name='ATmega328', signature=38159, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega328p', name='ATmega328P', signature=38159, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega328pb', name='ATmega328PB', signature=38166, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega329', name='ATmega329', signature=156250175, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3290', name='ATmega3290', signature=156254271, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3290a', name='ATmega3290A', signature=156287039, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3290p', name='ATmega3290P', signature=156287039, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega3290pa', name='ATmega3290PA', signature=156287039, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega329a', name='ATmega329A', signature=156282943, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega329p', name='ATmega329P', signature=156282943, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega329pa', name='ATmega329PA', signature=156282943, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32a', name='ATmega32A', signature=156246079, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32c1', name='ATmega32C1', signature=38278, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32hvb', name='ATmega32HVB', signature=38160, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32hvbrevb', name='ATmega32HVBrevB', signature=38160, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32m1', name='ATmega32M1', signature=38276, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega32u2', name='ATmega32U2', signature=38282, flash_size=32768, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='atmega32u4', name='ATmega32U4', signature=156790847, flash_size=32768, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega406', name='ATmega406', signature=156266559, flash_size=40960, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega48', name='ATmega48', signature=37381, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega48a', name='ATmega48A', signature=37386, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega48p', name='ATmega48P', signature=37386, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega48pa', name='ATmega48PA', signature=37386, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega48pb', name='ATmega48PB', signature=37392, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega64', name='ATmega64', signature=157294655, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=72), device(devid='atmega640', name='ATmega640', signature=157319231, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega644', name='ATmega644', signature=157323327, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega644a', name='ATmega644A', signature=157327423, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega644p', name='ATmega644P', signature=157327423, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega644pa', name='ATmega644PA', signature=157327423, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega644rfr2', name='ATmega644RFR2', signature=174075967, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega645', name='ATmega645', signature=157306943, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6450', name='ATmega6450', signature=157311039, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6450a', name='ATmega6450A', signature=157343807, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6450p', name='ATmega6450P', signature=157343807, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega645a', name='ATmega645A', signature=157339711, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega645p', name='ATmega645P', signature=157339711, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega649', name='ATmega649', signature=157298751, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6490', name='ATmega6490', signature=157302847, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6490a', name='ATmega6490A', signature=157335615, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega6490p', name='ATmega6490P', signature=157335615, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega649a', name='ATmega649A', signature=157331519, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega649p', name='ATmega649P', signature=157331519, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega64a', name='ATmega64A', signature=157294655, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=72), device(devid='atmega64c1', name='ATmega64C1', signature=38534, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega64hve2', name='ATmega64HVE2', signature=38416, flash_size=65536, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega64m1', name='ATmega64M1', signature=38532, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega64rfr2', name='ATmega64RFR2', signature=174071871, flash_size=65536, flash_pagesize=256, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega88', name='ATmega88', signature=37642, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega88a', name='ATmega88A', signature=37647, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega88p', name='ATmega88P', signature=37647, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega88pa', name='ATmega88PA', signature=37647, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega88pb', name='ATmega88PB', signature=37654, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega8hva', name='ATmega8HVA', signature=37648, flash_size=8192, flash_pagesize=128, reg_dwdr=None, reg_spmcsr=55), device(devid='atmega8u2', name='ATmega8U2', signature=37769, flash_size=8192, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='attiny13', name='ATtiny13', signature=36871, flash_size=1024, flash_pagesize=32, reg_dwdr=46, reg_spmcsr=55), device(devid='attiny13a', name='ATtiny13A', signature=36871, flash_size=1024, flash_pagesize=32, reg_dwdr=46, reg_spmcsr=55), device(devid='attiny1634', name='ATtiny1634', signature=37906, flash_size=16384, flash_pagesize=32, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny167', name='ATtiny167', signature=38023, flash_size=16384, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='attiny2313', name='ATtiny2313', signature=37130, flash_size=2048, flash_pagesize=32, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny2313a', name='ATtiny2313A', signature=37130, flash_size=2048, flash_pagesize=32, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny24', name='ATtiny24', signature=37131, flash_size=2048, flash_pagesize=32, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny24a', name='ATtiny24A', signature=37131, flash_size=2048, flash_pagesize=32, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny25', name='ATtiny25', signature=37128, flash_size=2048, flash_pagesize=32, reg_dwdr=34, reg_spmcsr=55), device(devid='attiny261', name='ATtiny261', signature=37132, flash_size=2048, flash_pagesize=32, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny261a', name='ATtiny261A', signature=37132, flash_size=2048, flash_pagesize=32, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny4313', name='ATtiny4313', signature=37389, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny43u', name='ATtiny43U', signature=37388, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny44', name='ATtiny44', signature=37383, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny441', name='ATtiny441', signature=37397, flash_size=4096, flash_pagesize=16, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny44a', name='ATtiny44A', signature=37383, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny45', name='ATtiny45', signature=37382, flash_size=4096, flash_pagesize=64, reg_dwdr=34, reg_spmcsr=55), device(devid='attiny461', name='ATtiny461', signature=37384, flash_size=4096, flash_pagesize=64, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny461a', name='ATtiny461A', signature=37384, flash_size=4096, flash_pagesize=64, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny48', name='ATtiny48', signature=37385, flash_size=4096, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny828', name='ATtiny828', signature=37652, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny84', name='ATtiny84', signature=37644, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny841', name='ATtiny841', signature=37653, flash_size=8192, flash_pagesize=16, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny84a', name='ATtiny84A', signature=37644, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55), device(devid='attiny85', name='ATtiny85', signature=37643, flash_size=8192, flash_pagesize=64, reg_dwdr=34, reg_spmcsr=55), device(devid='attiny861', name='ATtiny861', signature=37645, flash_size=8192, flash_pagesize=64, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny861a', name='ATtiny861A', signature=37645, flash_size=8192, flash_pagesize=64, reg_dwdr=32, reg_spmcsr=55), device(devid='attiny87', name='ATtiny87', signature=37767, flash_size=8192, flash_pagesize=128, reg_dwdr=49, reg_spmcsr=55), device(devid='attiny88', name='ATtiny88', signature=37649, flash_size=8192, flash_pagesize=64, reg_dwdr=None, reg_spmcsr=55)] |
# pylint: disable=C0112,C0103,R0903,C0116,C0114,R0201
def read_int():
return int(input())
def read_int_array():
return [int(ss) for ss in input().split()]
def complete_sequence(xs, a, b, c, d, total_len):
"""
FB Hacker Cup-style for long lists
"""
for x in xs:
yield x
p, q = xs[-2], xs[-1]
for _ in range(total_len - len(xs)):
v = (a * p + b * q + c) % d
p = q
q = v
yield v
def solution():
# code solution here
pass
def main():
t = read_int()
for i in range(t):
s = solution()
print(f"Case #{ i + 1 }: {s}")
if __name__ == "__main__":
main()
| def read_int():
return int(input())
def read_int_array():
return [int(ss) for ss in input().split()]
def complete_sequence(xs, a, b, c, d, total_len):
"""
FB Hacker Cup-style for long lists
"""
for x in xs:
yield x
(p, q) = (xs[-2], xs[-1])
for _ in range(total_len - len(xs)):
v = (a * p + b * q + c) % d
p = q
q = v
yield v
def solution():
pass
def main():
t = read_int()
for i in range(t):
s = solution()
print(f'Case #{i + 1}: {s}')
if __name__ == '__main__':
main() |
"""
Copyright 2016 Deepgram
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
###############################################################################
class TestModel:
""" Tests for the Model
"""
###########################################################################
def test_all(self, any_model_with_data, an_engine):
""" Tests if we can assemble a handful of different simple models.
"""
a_model, _ = any_model_with_data
a_model.parse(an_engine)
a_model.build()
###########################################################################
def test_uber(self, uber_model, uber_data, jinja_engine):
""" Tests if we can assemble the uber model.
"""
uber_model.parse(jinja_engine)
uber_model.register_provider(uber_data)
uber_model.build()
### EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF.EOF
| """
Copyright 2016 Deepgram
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class Testmodel:
""" Tests for the Model
"""
def test_all(self, any_model_with_data, an_engine):
""" Tests if we can assemble a handful of different simple models.
"""
(a_model, _) = any_model_with_data
a_model.parse(an_engine)
a_model.build()
def test_uber(self, uber_model, uber_data, jinja_engine):
""" Tests if we can assemble the uber model.
"""
uber_model.parse(jinja_engine)
uber_model.register_provider(uber_data)
uber_model.build() |
#Embedded file name: ACEStream\Core\dispersy\encoding.pyo
def _a_encode_int(value, mapping):
value = str(value).encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 'i', value)
def _a_encode_float(value, mapping):
value = str(value).encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 'f', value)
def _a_encode_unicode(value, mapping):
value = value.encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 's', value)
def _a_encode_bytes(value, mapping):
return (str(len(value)).encode('UTF-8'), 'b', value)
def _a_encode_iterable(values, mapping):
encoded = [str(len(values)).encode('UTF-8'), 't']
extend = encoded.extend
for value in values:
extend(mapping[type(value)](value, mapping))
return encoded
def _a_encode_dictionary(values, mapping):
encoded = [str(len(values)).encode('UTF-8'), 'd']
extend = encoded.extend
for key, value in sorted(values.items()):
extend(mapping[type(key)](key, mapping))
extend(mapping[type(value)](value, mapping))
return encoded
_a_encode_mapping = {int: _a_encode_int,
long: _a_encode_int,
float: _a_encode_float,
unicode: _a_encode_unicode,
str: _a_encode_bytes,
list: _a_encode_iterable,
tuple: _a_encode_iterable,
dict: _a_encode_dictionary}
def encode(data):
return 'a' + ''.join(_a_encode_mapping[type(data)](data, _a_encode_mapping))
def _a_decode_int(stream, offset, count, _):
return (offset + count, int(stream[offset:offset + count]))
def _a_decode_float(stream, offset, count, _):
return (offset + count, float(stream[offset:offset + count]))
def _a_decode_unicode(stream, offset, count, _):
if len(stream) >= offset + count:
return (offset + count, stream[offset:offset + count].decode('UTF-8'))
raise ValueError('Invalid stream length', len(stream), offset + count)
def _a_decode_bytes(stream, offset, count, _):
if len(stream) >= offset + count:
return (offset + count, stream[offset:offset + count])
raise ValueError('Invalid stream length', len(stream), offset + count)
def _a_decode_iterable(stream, offset, count, mapping):
container = []
for _ in range(count):
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
offset, value = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
container.append(value)
return (offset, tuple(container))
def _a_decode_dictionary(stream, offset, count, mapping):
container = {}
for _ in range(count):
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
offset, key = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
offset, value = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
container[key] = value
if len(container) < count:
raise ValueError('Duplicate key in dictionary')
return (offset, container)
_a_decode_mapping = {'i': _a_decode_int,
'f': _a_decode_float,
's': _a_decode_unicode,
'b': _a_decode_bytes,
't': _a_decode_iterable,
'd': _a_decode_dictionary}
def decode(stream, offset = 0):
if stream[offset] == 'a':
index = offset + 1
while 48 <= ord(stream[index]) <= 57:
index += 1
return _a_decode_mapping[stream[index]](stream, index + 1, int(stream[offset + 1:index]), _a_decode_mapping)
raise ValueError('Unknown version found')
| def _a_encode_int(value, mapping):
value = str(value).encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 'i', value)
def _a_encode_float(value, mapping):
value = str(value).encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 'f', value)
def _a_encode_unicode(value, mapping):
value = value.encode('UTF-8')
return (str(len(value)).encode('UTF-8'), 's', value)
def _a_encode_bytes(value, mapping):
return (str(len(value)).encode('UTF-8'), 'b', value)
def _a_encode_iterable(values, mapping):
encoded = [str(len(values)).encode('UTF-8'), 't']
extend = encoded.extend
for value in values:
extend(mapping[type(value)](value, mapping))
return encoded
def _a_encode_dictionary(values, mapping):
encoded = [str(len(values)).encode('UTF-8'), 'd']
extend = encoded.extend
for (key, value) in sorted(values.items()):
extend(mapping[type(key)](key, mapping))
extend(mapping[type(value)](value, mapping))
return encoded
_a_encode_mapping = {int: _a_encode_int, long: _a_encode_int, float: _a_encode_float, unicode: _a_encode_unicode, str: _a_encode_bytes, list: _a_encode_iterable, tuple: _a_encode_iterable, dict: _a_encode_dictionary}
def encode(data):
return 'a' + ''.join(_a_encode_mapping[type(data)](data, _a_encode_mapping))
def _a_decode_int(stream, offset, count, _):
return (offset + count, int(stream[offset:offset + count]))
def _a_decode_float(stream, offset, count, _):
return (offset + count, float(stream[offset:offset + count]))
def _a_decode_unicode(stream, offset, count, _):
if len(stream) >= offset + count:
return (offset + count, stream[offset:offset + count].decode('UTF-8'))
raise value_error('Invalid stream length', len(stream), offset + count)
def _a_decode_bytes(stream, offset, count, _):
if len(stream) >= offset + count:
return (offset + count, stream[offset:offset + count])
raise value_error('Invalid stream length', len(stream), offset + count)
def _a_decode_iterable(stream, offset, count, mapping):
container = []
for _ in range(count):
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
(offset, value) = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
container.append(value)
return (offset, tuple(container))
def _a_decode_dictionary(stream, offset, count, mapping):
container = {}
for _ in range(count):
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
(offset, key) = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
index = offset
while 48 <= ord(stream[index]) <= 57:
index += 1
(offset, value) = mapping[stream[index]](stream, index + 1, int(stream[offset:index]), mapping)
container[key] = value
if len(container) < count:
raise value_error('Duplicate key in dictionary')
return (offset, container)
_a_decode_mapping = {'i': _a_decode_int, 'f': _a_decode_float, 's': _a_decode_unicode, 'b': _a_decode_bytes, 't': _a_decode_iterable, 'd': _a_decode_dictionary}
def decode(stream, offset=0):
if stream[offset] == 'a':
index = offset + 1
while 48 <= ord(stream[index]) <= 57:
index += 1
return _a_decode_mapping[stream[index]](stream, index + 1, int(stream[offset + 1:index]), _a_decode_mapping)
raise value_error('Unknown version found') |
n = int(input())
value = 0
max_value = 0
max_quality = 0
max_weight = 0
max_time = 0
for x in range(n):
weight = int(input())
time_needed = int(input())
quality = int(input())
value = (weight / time_needed) ** quality
if value > max_value:
max_value = value
max_quality = quality
max_time = time_needed
max_weight = weight
print(f"{max_weight} : {max_time} = {int(max_value)} ({max_quality})")
| n = int(input())
value = 0
max_value = 0
max_quality = 0
max_weight = 0
max_time = 0
for x in range(n):
weight = int(input())
time_needed = int(input())
quality = int(input())
value = (weight / time_needed) ** quality
if value > max_value:
max_value = value
max_quality = quality
max_time = time_needed
max_weight = weight
print(f'{max_weight} : {max_time} = {int(max_value)} ({max_quality})') |
# Definition for a binary tree node.
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def findBottomLeftValue(self, root: TreeNode) -> int:
stack = [root]
res = stack[0].val
while stack:
newstack = []
for node in stack:
if node.left:
newstack.append(node.left)
if node.right:
newstack.append(node.right)
stack = newstack
if stack:
res = stack[0].val
return res
'''
/**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode(int x) { val = x; }
* }
*/
class Solution {
public int findBottomLeftValue(TreeNode root) {
Queue<TreeNode> queue = new LinkedList<>();
queue.add(root);
while (!queue.isEmpty()) {
root = queue.poll();
if (root.right != null) queue.add(root.right);
if (root.left != null) queue.add(root.left);
}
return root.val;
}
}
''' | class Treenode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def find_bottom_left_value(self, root: TreeNode) -> int:
stack = [root]
res = stack[0].val
while stack:
newstack = []
for node in stack:
if node.left:
newstack.append(node.left)
if node.right:
newstack.append(node.right)
stack = newstack
if stack:
res = stack[0].val
return res
'\n/**\n * Definition for a binary tree node.\n * public class TreeNode {\n * int val;\n * TreeNode left;\n * TreeNode right;\n * TreeNode(int x) { val = x; }\n * }\n */\nclass Solution {\n public int findBottomLeftValue(TreeNode root) {\n Queue<TreeNode> queue = new LinkedList<>();\n queue.add(root);\n while (!queue.isEmpty()) {\n root = queue.poll();\n if (root.right != null) queue.add(root.right);\n if (root.left != null) queue.add(root.left);\n\n }\n return root.val;\n }\n}\n' |
night = 20
transport = 1.60
museum = 6
number_of_people = int(input())
number_of_nights = int(input())
number_of_cards = int(input())
number_of_tickets = int(input())
all_nights = night * number_of_nights
all_cards = transport * number_of_cards
all_museum = museum * number_of_tickets
total_per_person = all_nights + all_cards + all_museum
grand_total = total_per_person * number_of_people
total = grand_total + grand_total * 25 / 100
print(f"{total:.2f}") | night = 20
transport = 1.6
museum = 6
number_of_people = int(input())
number_of_nights = int(input())
number_of_cards = int(input())
number_of_tickets = int(input())
all_nights = night * number_of_nights
all_cards = transport * number_of_cards
all_museum = museum * number_of_tickets
total_per_person = all_nights + all_cards + all_museum
grand_total = total_per_person * number_of_people
total = grand_total + grand_total * 25 / 100
print(f'{total:.2f}') |
into = [13,56,34,58,52,93,35,24]
print(into)
print("\sorted is =",
sorted(into))
print("\maximum is = ",
max(into))
print("\minimum is =",
min(into))
print("\length is = ",
len(into))
| into = [13, 56, 34, 58, 52, 93, 35, 24]
print(into)
print('\\sorted is =', sorted(into))
print('\\maximum is = ', max(into))
print('\\minimum is =', min(into))
print('\\length is = ', len(into)) |
"""Constants for frigate."""
# Base component constants
NAME = "Frigate"
DOMAIN = "frigate"
FRIGATE_VERSION_ERROR_CUTOFF = "0.8.4"
FRIGATE_RELEASES_URL = "https://github.com/blakeblackshear/frigate/releases"
FRIGATE_RELEASE_TAG_URL = f"{FRIGATE_RELEASES_URL}/tag"
# Icons
ICON_CAR = "mdi:shield-car"
ICON_CAT = "mdi:cat"
ICON_CONTRAST = "mdi:contrast-circle"
ICON_DOG = "mdi:dog-side"
ICON_FILM_MULTIPLE = "mdi:filmstrip-box-multiple"
ICON_IMAGE_MULTIPLE = "mdi:image-multiple"
ICON_MOTION_SENSOR = "hass:motion-sensor"
ICON_OTHER = "mdi:shield-alert"
ICON_PERSON = "mdi:shield-account"
ICON_SPEEDOMETER = "mdi:speedometer"
# Platforms
BINARY_SENSOR = "binary_sensor"
SENSOR = "sensor"
SWITCH = "switch"
CAMERA = "camera"
UPDATE = "update"
PLATFORMS = [SENSOR, CAMERA, SWITCH, BINARY_SENSOR, UPDATE]
# Unit of measurement
FPS = "fps"
MS = "ms"
# Attributes
ATTR_CLIENT = "client"
ATTR_CONFIG = "config"
ATTR_COORDINATOR = "coordinator"
ATTR_MQTT = "mqtt"
ATTR_CLIENT_ID = "client_id"
# Configuration and options
CONF_CAMERA_STATIC_IMAGE_HEIGHT = "camera_image_height"
CONF_MEDIA_BROWSER_ENABLE = "media_browser_enable"
CONF_NOTIFICATION_PROXY_ENABLE = "notification_proxy_enable"
CONF_PASSWORD = "password"
CONF_PATH = "path"
CONF_RTMP_URL_TEMPLATE = "rtmp_url_template"
# Defaults
DEFAULT_NAME = DOMAIN
DEFAULT_HOST = "http://ccab4aaf-frigate:5000"
STARTUP_MESSAGE = """
-------------------------------------------------------------------
{title}
Integration Version: {integration_version}
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/blakeblackshear/frigate-hass-integration/issues
-------------------------------------------------------------------
"""
# States
STATE_DETECTED = "active"
STATE_IDLE = "idle"
| """Constants for frigate."""
name = 'Frigate'
domain = 'frigate'
frigate_version_error_cutoff = '0.8.4'
frigate_releases_url = 'https://github.com/blakeblackshear/frigate/releases'
frigate_release_tag_url = f'{FRIGATE_RELEASES_URL}/tag'
icon_car = 'mdi:shield-car'
icon_cat = 'mdi:cat'
icon_contrast = 'mdi:contrast-circle'
icon_dog = 'mdi:dog-side'
icon_film_multiple = 'mdi:filmstrip-box-multiple'
icon_image_multiple = 'mdi:image-multiple'
icon_motion_sensor = 'hass:motion-sensor'
icon_other = 'mdi:shield-alert'
icon_person = 'mdi:shield-account'
icon_speedometer = 'mdi:speedometer'
binary_sensor = 'binary_sensor'
sensor = 'sensor'
switch = 'switch'
camera = 'camera'
update = 'update'
platforms = [SENSOR, CAMERA, SWITCH, BINARY_SENSOR, UPDATE]
fps = 'fps'
ms = 'ms'
attr_client = 'client'
attr_config = 'config'
attr_coordinator = 'coordinator'
attr_mqtt = 'mqtt'
attr_client_id = 'client_id'
conf_camera_static_image_height = 'camera_image_height'
conf_media_browser_enable = 'media_browser_enable'
conf_notification_proxy_enable = 'notification_proxy_enable'
conf_password = 'password'
conf_path = 'path'
conf_rtmp_url_template = 'rtmp_url_template'
default_name = DOMAIN
default_host = 'http://ccab4aaf-frigate:5000'
startup_message = '\n-------------------------------------------------------------------\n{title}\nIntegration Version: {integration_version}\nThis is a custom integration!\nIf you have any issues with this you need to open an issue here:\nhttps://github.com/blakeblackshear/frigate-hass-integration/issues\n-------------------------------------------------------------------\n'
state_detected = 'active'
state_idle = 'idle' |
# https://www.codechef.com/problems/CHOPRT
for T in range(int(input())):
a,b = map(int,input().split())
if(a>b): print(">")
if(a<b): print("<")
if(a==b): print("=") | for t in range(int(input())):
(a, b) = map(int, input().split())
if a > b:
print('>')
if a < b:
print('<')
if a == b:
print('=') |
###############################################################################
# Function: Sequence1Frames_set_timeslider
#
# Purpose:
# This is a callback function for sequence 1's IterateCallbackAndSaveFrames
# function. This function sets the time and updates the time slider so
# it has the right time value.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
#
###############################################################################
def Sequence1Frames_set_timeslider(i, cbdata):
ts = cbdata
ret = SetTimeSliderState(i)
Query("Time")
time = GetQueryOutputValue()
ts.text = "Time = %1.5f" % time
return ret
###############################################################################
# Function: Sequence1Frames_set_timeslider
#
# Purpose:
# This is a callback function for sequence 2's IterateCallbackAndSaveFrames
# function. This function lets us adjust the clip plane as a function of
# the number of time states and save out an image each time.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
# Brad Whitlock, Thu Nov 11 15:33:13 PST 2010
# We now have to DrawPlots after setting operator options.
#
###############################################################################
def Sequence2Frames_clip_cb(i, cbdata):
nts = cbdata[0]
clip = cbdata[1]
xmin = cbdata[2]
xmax = cbdata[3]
vc = cbdata[4]
t = float(i) / float(nts-1)
newX = t * (xmax - xmin) + xmin
clip.plane1Origin = (newX, 0, 0)
ret = SetOperatorOptions(clip)
DrawPlots()
SetViewCurve(vc)
return ret
###############################################################################
# Class: OverlayCurveOnReflectedPlotsMovieTemplate
#
# Purpose:
# This is movie template class creates a movie of a FilledBoundary plot
# and a Curve plot that animates over time.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
#
###############################################################################
class OverlayCurveOnReflectedPlotsMovieTemplate(VisItMovieTemplate):
def __init__(self, mm, tr):
super(OverlayCurveOnReflectedPlotsMovieTemplate, self).__init__(mm, tr)
self.timeSlider = ""
###########################################################################
# Function: Sequence1Frames
#
# Purpose:
# This method creates the frames for sequence 1.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
# Brad Whitlock, Thu Nov 11 15:44:20 PST 2010
# I fixed some deprectated annotations and made reflect work again.
#
###########################################################################
def Sequence1Frames(self, formats, percents):
self.Debug(1, "OverlayCurveOnReflectedPlotsMovieTemplate.Sequence1Frames: begin")
options = self.sequence_data["SEQUENCE_1"]
# Set up the plots.
DeleteAllPlots()
OpenDatabase(options["DATABASE1"])
if options["PLOT_TYPE1"] == 0:
if AddPlot("FilledBoundary", options["PLOT_VAR1"]) == 0:
raise self.error("The FilledBoundary plot could not be created for "
"sequence 1.")
elif options["PLOT_TYPE1"] == 1:
if AddPlot("Boundary", options["PLOT_VAR1"]) == 0:
raise self.error("The Boundary plot could not be created for "
"sequence 1.")
else:
if AddPlot("Pseudocolor", options["PLOT_VAR1"]) == 0:
raise self.error("The Pseudocolor plot could not be created for "
"sequence 1.")
# Create plot 2
OpenDatabase(options["DATABASE2"])
if options["PLOT_TYPE2"] == 0:
if AddPlot("FilledBoundary", options["PLOT_VAR2"]) == 0:
raise self.error("The FilledBoundary plot could not be created for "
"sequence 1.")
elif options["PLOT_TYPE2"] == 1:
if AddPlot("Boundary", options["PLOT_VAR2"]) == 0:
raise self.error("The Boundary plot could not be created for "
"sequence 1.")
else:
if AddPlot("Pseudocolor", options["PLOT_VAR2"]) == 0:
raise self.error("The Pseudocolor plot could not be created for "
"sequence 1.")
SetActivePlots(1)
AddOperator("Reflect")
refl = ReflectAttributes()
refl.reflections = (0,0,1,0,0,0,0,0)
SetOperatorOptions(refl)
DrawPlots()
ResetView()
# If the databases are not the same then create a database correlation
# so we can get a new time slider to use. In any case, keep track
# of the time slider that we'll be using.
self.timeSlider = options["DATABASE1"]
if options["DATABASE1"] != options["DATABASE2"]:
dbs = (options["DATABASE1"], options["DATABASE2"])
if CreateDatabaseCorrelation("DB1DB2", dbs, 1) == 1:
self.timeSlider = "DB1DB2"
SetActiveTimeSlider(self.timeSlider)
# Set the background color.
annot = GetAnnotationAttributes()
annot.foregroundColor = (255, 255, 255, 255)
annot.gradientColor1 = options["GRADIENT_BGCOLOR1"]
annot.gradientColor2 = options["GRADIENT_BGCOLOR2"]
annot.gradientBackgroundStyle = annot.TopToBottom
annot.backgroundMode = annot.Gradient
# Turn off certain annotations.
annot.userInfoFlag = 0
annot.databaseInfoFlag = 0
annot.legendInfoFlag = 0
# Set the axis names
annot.axes2D.xAxis.title.title = options["XAXIS_TEXT"]
annot.axes2D.yAxis.title.title = options["YAXIS_TEXT"]
annot.axes2D.xAxis.title.userTitle = 1
annot.axes2D.yAxis.title.userTitle = 1
SetAnnotationAttributes(annot)
# Change the viewport
v = GetView2D()
v.viewportCoords = (0.1, 0.95, 0.35, 0.95)
SetView2D(v)
ts = CreateAnnotationObject("TimeSlider")
classification = CreateAnnotationObject("Text2D")
classification.text = options["CLASSIFICATION_TEXT"]
classification.useForegroundForTextColor = 0
classification.textColor = options["CLASSIFICATION_TEXTCOLOR"]
classification.position = (0.80, 0.97)
classification.height = 0.02
classification.fontBold = 1
title = CreateAnnotationObject("Text2D")
title.text = options["TITLE"]
title.position = (0.01, 0.955)
title.height = 0.03
title.fontBold = 1
# Save the frames.
cb_data = (TimeSliderGetNStates(), Sequence1Frames_set_timeslider, ts)
ret = self.IterateCallbackAndSaveFrames(cb_data, "seq1", formats, percents, "Generating sequence 1 frames")
DeleteAllPlots()
ts.Delete()
classification.Delete()
title.Delete()
self.Debug(1, "OverlayCurveOnReflectedPlotsMovieTemplate.Sequence1Frames: end")
return (ret, "seq1", GetAnnotationAttributes().backgroundColor)
###########################################################################
# Function: Sequence2Frames
#
# Purpose:
# This method creates the frames for sequence 2.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
#
###########################################################################
def Sequence2Frames(self, formats, percents):
self.Debug(1, "OverlayCurveOnReflectedPlotsMovieTemplate.Sequence2Frames: begin")
options = self.sequence_data["SEQUENCE_2"]
# Determine the number of time steps in the first sequence's time
# slider so we can know how to advance the Clip operator.
dbc = GetDatabaseCorrelation(self.timeSlider)
nts = dbc.numStates
DeleteAllPlots()
self.DeleteAllAnnotationObjects()
# Set up the Curve plot.
OpenDatabase(options["CURVE_DATABASE"])
AddPlot("Curve", options["CURVE_VARIABLE"])
DrawPlots()
cAtts = CurveAttributes(1)
cAtts.showLabels = 0
SetPlotOptions(cAtts)
ResetView()
vc = GetViewCurve()
vc.viewportCoords = (0.1, 0.95, 0.15, 1.)
# Get the Curve plot extents
Query("SpatialExtents")
extents = GetQueryOutputValue()
AddOperator("Clip")
clip = ClipAttributes()
clip.funcType = clip.Plane
clip.plane1Status = 1
clip.plane2Status = 0
clip.plane3Status = 0
clip.plane1Origin = (extents[0], 0, 0)
clip.plane1Normal = (1, 0, 0)
clip.planeInverse = 0
SetOperatorOptions(clip)
DrawPlots()
# Set the background color.
annot = GetAnnotationAttributes()
annot.backgroundMode = annot.Solid
annot.foregroundColor = (255, 255, 255, 255)
annot.backgroundColor = (0, 0, 0, 255)
# Turn off most annotations.
annot.userInfoFlag = 0
annot.databaseInfoFlag = 0
annot.legendInfoFlag = 0
annot.axes2D.xAxis.title.visible = 0
annot.axes2D.yAxis.title.visible = 0
annot.axes2D.xAxis.label.visible = 0
annot.axes2D.yAxis.label.visible = 0
SetAnnotationAttributes(annot)
title = CreateAnnotationObject("Text2D")
title.text = options["CURVE_TITLE"]
title.position = (0.11, 0.88)
title.height = 0.1
title.fontBold = 1
# Save the frames. This will be done by some other thing so the
# will have the viewport names worked in.
cb_data = (nts, Sequence2Frames_clip_cb, (nts, clip, extents[0], extents[1], vc))
ret = self.IterateCallbackAndSaveFrames(cb_data, "seq2", formats, percents, "Generating sequence 2 frames")
title.Delete()
DeleteAllPlots()
self.Debug(1, "OverlayCurveOnReflectedPlotsMovieTemplate.Sequence2Frames: end")
return (ret, "seq2", GetAnnotationAttributes().backgroundColor)
###########################################################################
# Function: HandleScriptingSequence
#
# Purpose:
# This method invokes the appropriate routine for creating sequence
# frames.
#
# Programmer: Brad Whitlock
# Creation: Thu Nov 16 11:46:31 PDT 2006
#
# Modifications:
#
###########################################################################
def HandleScriptingSequence(self, seqName, formats, percents):
ret = 0
if seqName == "SEQUENCE_1":
ret = self.Sequence1Frames(formats, percents)
elif seqName == "SEQUENCE_2":
ret = self.Sequence2Frames(formats, percents)
return ret
# Public
def InstantiateMovieTemplate(moviemaker, templateReader):
return OverlayCurveOnReflectedPlotsMovieTemplate(moviemaker, templateReader)
| def sequence1_frames_set_timeslider(i, cbdata):
ts = cbdata
ret = set_time_slider_state(i)
query('Time')
time = get_query_output_value()
ts.text = 'Time = %1.5f' % time
return ret
def sequence2_frames_clip_cb(i, cbdata):
nts = cbdata[0]
clip = cbdata[1]
xmin = cbdata[2]
xmax = cbdata[3]
vc = cbdata[4]
t = float(i) / float(nts - 1)
new_x = t * (xmax - xmin) + xmin
clip.plane1Origin = (newX, 0, 0)
ret = set_operator_options(clip)
draw_plots()
set_view_curve(vc)
return ret
class Overlaycurveonreflectedplotsmovietemplate(VisItMovieTemplate):
def __init__(self, mm, tr):
super(OverlayCurveOnReflectedPlotsMovieTemplate, self).__init__(mm, tr)
self.timeSlider = ''
def sequence1_frames(self, formats, percents):
self.Debug(1, 'OverlayCurveOnReflectedPlotsMovieTemplate.Sequence1Frames: begin')
options = self.sequence_data['SEQUENCE_1']
delete_all_plots()
open_database(options['DATABASE1'])
if options['PLOT_TYPE1'] == 0:
if add_plot('FilledBoundary', options['PLOT_VAR1']) == 0:
raise self.error('The FilledBoundary plot could not be created for sequence 1.')
elif options['PLOT_TYPE1'] == 1:
if add_plot('Boundary', options['PLOT_VAR1']) == 0:
raise self.error('The Boundary plot could not be created for sequence 1.')
elif add_plot('Pseudocolor', options['PLOT_VAR1']) == 0:
raise self.error('The Pseudocolor plot could not be created for sequence 1.')
open_database(options['DATABASE2'])
if options['PLOT_TYPE2'] == 0:
if add_plot('FilledBoundary', options['PLOT_VAR2']) == 0:
raise self.error('The FilledBoundary plot could not be created for sequence 1.')
elif options['PLOT_TYPE2'] == 1:
if add_plot('Boundary', options['PLOT_VAR2']) == 0:
raise self.error('The Boundary plot could not be created for sequence 1.')
elif add_plot('Pseudocolor', options['PLOT_VAR2']) == 0:
raise self.error('The Pseudocolor plot could not be created for sequence 1.')
set_active_plots(1)
add_operator('Reflect')
refl = reflect_attributes()
refl.reflections = (0, 0, 1, 0, 0, 0, 0, 0)
set_operator_options(refl)
draw_plots()
reset_view()
self.timeSlider = options['DATABASE1']
if options['DATABASE1'] != options['DATABASE2']:
dbs = (options['DATABASE1'], options['DATABASE2'])
if create_database_correlation('DB1DB2', dbs, 1) == 1:
self.timeSlider = 'DB1DB2'
set_active_time_slider(self.timeSlider)
annot = get_annotation_attributes()
annot.foregroundColor = (255, 255, 255, 255)
annot.gradientColor1 = options['GRADIENT_BGCOLOR1']
annot.gradientColor2 = options['GRADIENT_BGCOLOR2']
annot.gradientBackgroundStyle = annot.TopToBottom
annot.backgroundMode = annot.Gradient
annot.userInfoFlag = 0
annot.databaseInfoFlag = 0
annot.legendInfoFlag = 0
annot.axes2D.xAxis.title.title = options['XAXIS_TEXT']
annot.axes2D.yAxis.title.title = options['YAXIS_TEXT']
annot.axes2D.xAxis.title.userTitle = 1
annot.axes2D.yAxis.title.userTitle = 1
set_annotation_attributes(annot)
v = get_view2_d()
v.viewportCoords = (0.1, 0.95, 0.35, 0.95)
set_view2_d(v)
ts = create_annotation_object('TimeSlider')
classification = create_annotation_object('Text2D')
classification.text = options['CLASSIFICATION_TEXT']
classification.useForegroundForTextColor = 0
classification.textColor = options['CLASSIFICATION_TEXTCOLOR']
classification.position = (0.8, 0.97)
classification.height = 0.02
classification.fontBold = 1
title = create_annotation_object('Text2D')
title.text = options['TITLE']
title.position = (0.01, 0.955)
title.height = 0.03
title.fontBold = 1
cb_data = (time_slider_get_n_states(), Sequence1Frames_set_timeslider, ts)
ret = self.IterateCallbackAndSaveFrames(cb_data, 'seq1', formats, percents, 'Generating sequence 1 frames')
delete_all_plots()
ts.Delete()
classification.Delete()
title.Delete()
self.Debug(1, 'OverlayCurveOnReflectedPlotsMovieTemplate.Sequence1Frames: end')
return (ret, 'seq1', get_annotation_attributes().backgroundColor)
def sequence2_frames(self, formats, percents):
self.Debug(1, 'OverlayCurveOnReflectedPlotsMovieTemplate.Sequence2Frames: begin')
options = self.sequence_data['SEQUENCE_2']
dbc = get_database_correlation(self.timeSlider)
nts = dbc.numStates
delete_all_plots()
self.DeleteAllAnnotationObjects()
open_database(options['CURVE_DATABASE'])
add_plot('Curve', options['CURVE_VARIABLE'])
draw_plots()
c_atts = curve_attributes(1)
cAtts.showLabels = 0
set_plot_options(cAtts)
reset_view()
vc = get_view_curve()
vc.viewportCoords = (0.1, 0.95, 0.15, 1.0)
query('SpatialExtents')
extents = get_query_output_value()
add_operator('Clip')
clip = clip_attributes()
clip.funcType = clip.Plane
clip.plane1Status = 1
clip.plane2Status = 0
clip.plane3Status = 0
clip.plane1Origin = (extents[0], 0, 0)
clip.plane1Normal = (1, 0, 0)
clip.planeInverse = 0
set_operator_options(clip)
draw_plots()
annot = get_annotation_attributes()
annot.backgroundMode = annot.Solid
annot.foregroundColor = (255, 255, 255, 255)
annot.backgroundColor = (0, 0, 0, 255)
annot.userInfoFlag = 0
annot.databaseInfoFlag = 0
annot.legendInfoFlag = 0
annot.axes2D.xAxis.title.visible = 0
annot.axes2D.yAxis.title.visible = 0
annot.axes2D.xAxis.label.visible = 0
annot.axes2D.yAxis.label.visible = 0
set_annotation_attributes(annot)
title = create_annotation_object('Text2D')
title.text = options['CURVE_TITLE']
title.position = (0.11, 0.88)
title.height = 0.1
title.fontBold = 1
cb_data = (nts, Sequence2Frames_clip_cb, (nts, clip, extents[0], extents[1], vc))
ret = self.IterateCallbackAndSaveFrames(cb_data, 'seq2', formats, percents, 'Generating sequence 2 frames')
title.Delete()
delete_all_plots()
self.Debug(1, 'OverlayCurveOnReflectedPlotsMovieTemplate.Sequence2Frames: end')
return (ret, 'seq2', get_annotation_attributes().backgroundColor)
def handle_scripting_sequence(self, seqName, formats, percents):
ret = 0
if seqName == 'SEQUENCE_1':
ret = self.Sequence1Frames(formats, percents)
elif seqName == 'SEQUENCE_2':
ret = self.Sequence2Frames(formats, percents)
return ret
def instantiate_movie_template(moviemaker, templateReader):
return overlay_curve_on_reflected_plots_movie_template(moviemaker, templateReader) |
def printb(block):
print(bstr(block))
def bstr(block):
strs = []
types = ['res', 'com', 'ind']
for t in types:
bldg_strs = []
bldgs = list(block['buildings'][t].values())
bldgs = sorted(bldgs, key=lambda b: b['weight'])
for build in bldgs:
s = f" {build['name']} (score {build['score']}, weight {build['weight']}) "
if build['weight'] <= 40:
s += "*"
if 'boost_name' in build:
s += f" <b>[{build['boost_name']} - {build['pct']}%]</b>"
bldg_strs.append(s+"\n")
strs.append(bldg_strs)
pubs = []
for pub in block['buildings']['pub'].values():
s = f" {pub['name']}"
if 'boost_name' in pub:
s += f" <b>[{pub['boost_name']} - {pub['pct']}%]</b>"
pubs.append(s)
return f"\
<b>{block['name']} (see on <a href='https://blocks.metroverse.com/{block['name'][7:]}'>Metroverse</a>)</b>\n\
<p>Total Score: <b>{block['scores']['Score: Total']}</b>\n\
<p>Residential (Score {block['scores']['Score: Residential']}):\n<ul><li>{'<li>'.join(strs[0])}</ul>\n\
<p>Commercial (Score {block['scores']['Score: Commercial']}):\n<ul><li>{'<li>'.join(strs[1])}</ul>\n\
<p>Industrial (Score {block['scores']['Score: Industrial']}):\n<ul><li>{'<li>'.join(strs[2])}</ul>\n\
<p>Public:\n<ul><li>{'<li>'.join(pubs)}</ul>\n\
"
| def printb(block):
print(bstr(block))
def bstr(block):
strs = []
types = ['res', 'com', 'ind']
for t in types:
bldg_strs = []
bldgs = list(block['buildings'][t].values())
bldgs = sorted(bldgs, key=lambda b: b['weight'])
for build in bldgs:
s = f" {build['name']} (score {build['score']}, weight {build['weight']}) "
if build['weight'] <= 40:
s += '*'
if 'boost_name' in build:
s += f" <b>[{build['boost_name']} - {build['pct']}%]</b>"
bldg_strs.append(s + '\n')
strs.append(bldg_strs)
pubs = []
for pub in block['buildings']['pub'].values():
s = f" {pub['name']}"
if 'boost_name' in pub:
s += f" <b>[{pub['boost_name']} - {pub['pct']}%]</b>"
pubs.append(s)
return f"<b>{block['name']} (see on <a href='https://blocks.metroverse.com/{block['name'][7:]}'>Metroverse</a>)</b>\n <p>Total Score: <b>{block['scores']['Score: Total']}</b>\n <p>Residential (Score {block['scores']['Score: Residential']}):\n<ul><li>{'<li>'.join(strs[0])}</ul>\n <p>Commercial (Score {block['scores']['Score: Commercial']}):\n<ul><li>{'<li>'.join(strs[1])}</ul>\n <p>Industrial (Score {block['scores']['Score: Industrial']}):\n<ul><li>{'<li>'.join(strs[2])}</ul>\n <p>Public:\n<ul><li>{'<li>'.join(pubs)}</ul>\n" |
class MapSum(object):
def __init__(self):
"""
Initialize your data structure here.
"""
self.d = {}
def insert(self, key, val):
"""
:type key: str
:type val: int
:rtype: None
"""
self.d[key] = val
def sum(self, prefix):
"""
:type prefix: str
:rtype: int
"""
sum1 = 0
for key, val in self.d.items():
if prefix in key[:len(prefix)]:
sum1 += val
return sum1
# Your MapSum object will be instantiated and called as such:
# obj = MapSum()
# obj.insert(key,val)
# param_2 = obj.sum(prefix)
| class Mapsum(object):
def __init__(self):
"""
Initialize your data structure here.
"""
self.d = {}
def insert(self, key, val):
"""
:type key: str
:type val: int
:rtype: None
"""
self.d[key] = val
def sum(self, prefix):
"""
:type prefix: str
:rtype: int
"""
sum1 = 0
for (key, val) in self.d.items():
if prefix in key[:len(prefix)]:
sum1 += val
return sum1 |
#/usr/bin/env python
'''
Classical algorithm
Hanoi Towel
'''
# No Import needed.
# No Global Variable.
# No Class definition.
def Hanoi( a , b , c , n ):
'''
a -- position for the plate need to move
b -- destination for the plate need to reach
c -- assistant plate
n -- count of plate in a
'''
if ( n >= 1 ):
Hanoi(a,c,b,n-1)
Move(a,b)
Hanoi(c,b,a,n-1)
def Move(a,b):
print("move {0} to {1}".format(a,b))
if __name__ == '__main__':
a = 'a'
b = 'b'
c = 'c'
n = 3
Hanoi(a,b,c,n)
| """
Classical algorithm
Hanoi Towel
"""
def hanoi(a, b, c, n):
"""
a -- position for the plate need to move
b -- destination for the plate need to reach
c -- assistant plate
n -- count of plate in a
"""
if n >= 1:
hanoi(a, c, b, n - 1)
move(a, b)
hanoi(c, b, a, n - 1)
def move(a, b):
print('move {0} to {1}'.format(a, b))
if __name__ == '__main__':
a = 'a'
b = 'b'
c = 'c'
n = 3
hanoi(a, b, c, n) |
NAME_FILE = "name.mp3"
TMP_DATA_DIR = "data/engagement"
TMP_RAW_NAME_FILE = f"{TMP_DATA_DIR}/raw-name.wav"
TMP_NAME_FILE = f"{TMP_DATA_DIR}/{NAME_FILE}"
FACES_DATA_DIR = "data/faces"
ENCODINGS_FILE_PATH = "data/encodings.pickle"
TRAINER_PROCESSED_FILE_PATH = "data/faces_processed.txt"
| name_file = 'name.mp3'
tmp_data_dir = 'data/engagement'
tmp_raw_name_file = f'{TMP_DATA_DIR}/raw-name.wav'
tmp_name_file = f'{TMP_DATA_DIR}/{NAME_FILE}'
faces_data_dir = 'data/faces'
encodings_file_path = 'data/encodings.pickle'
trainer_processed_file_path = 'data/faces_processed.txt' |
#!/usr/bin/env python3
txt = "w1{1wq87g_9654g"
flag = ""
for i in range(len(txt)):
if i % 2 == 0:
flag += chr(ord(txt[i])-5)
else:
flag += chr(ord(txt[i])+2)
print("picoCTF{%s}"%flag) | txt = 'w1{1wq87g_9654g'
flag = ''
for i in range(len(txt)):
if i % 2 == 0:
flag += chr(ord(txt[i]) - 5)
else:
flag += chr(ord(txt[i]) + 2)
print('picoCTF{%s}' % flag) |
# Write your code here
test = int(input())
while test > 0 :
n = input()
count = 0
l = ['a','e','i','o','u','A','E','I','O','U']
for i in n :
if i in l :
count += 1
print(count)
test -= 1
| test = int(input())
while test > 0:
n = input()
count = 0
l = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U']
for i in n:
if i in l:
count += 1
print(count)
test -= 1 |
def condition_check(string: str, condition: str) -> bool:
condition = chop_redundant_bracket(condition.strip()).strip()
level_dict = get_level_dict(condition)
if level_dict == {}:
return has_sub_string(string, condition)
else:
min_level = min(level_dict.keys())
min_level_dict = level_dict[min_level]
if min_level_dict['|']:
check_left = condition_check(string, condition[0:min_level_dict['|'][0]])
if check_left:
return True
check_right = condition_check(string, condition[min_level_dict['|'][0] + 1:])
return check_right
else:
check_left = condition_check(string, condition[0:min_level_dict['&'][0]])
if not check_left:
return False
check_right = condition_check(string, condition[min_level_dict['&'][0] + 1:])
return check_right
def get_level_dict(condition: str) -> dict:
current_level = 0
level_dict = {}
for idx, ch in enumerate(condition):
if ch == '(':
current_level += 1
elif ch == ')':
current_level -= 1
elif ch == '&' or ch == '|':
current_level_dict = level_dict.get(current_level, None)
if not current_level_dict:
level_dict[current_level] = {'&': [], '|': []}
current_level_dict = level_dict[current_level]
if ch == '&':
current_level_dict['&'].append(idx)
else:
current_level_dict['|'].append(idx)
return level_dict
def has_sub_string(string: str, sub_string: str) -> bool:
try:
_ = string.index(sub_string)
return True
except ValueError:
return False
def chop_redundant_bracket(string: str) -> str:
while True:
check, left_or_right = has_right_level(string)
if check:
break
elif left_or_right == 0:
string = string[1:]
else:
string = string[:-1]
while True:
if len(string) > 2 and string[0] == '(' and string[-1] == ')':
string = string[1:-1]
else:
return string
def has_right_level(string: str) -> (bool, int or None):
# 0 for left, 1 for right
level = 0
for ch in string:
if ch == '(':
level += 1
elif ch == ')':
level -= 1
if level == 0:
return True, None
elif level > 0:
return False, 0
else:
return False, 1
if __name__ == '__main__':
pass
| def condition_check(string: str, condition: str) -> bool:
condition = chop_redundant_bracket(condition.strip()).strip()
level_dict = get_level_dict(condition)
if level_dict == {}:
return has_sub_string(string, condition)
else:
min_level = min(level_dict.keys())
min_level_dict = level_dict[min_level]
if min_level_dict['|']:
check_left = condition_check(string, condition[0:min_level_dict['|'][0]])
if check_left:
return True
check_right = condition_check(string, condition[min_level_dict['|'][0] + 1:])
return check_right
else:
check_left = condition_check(string, condition[0:min_level_dict['&'][0]])
if not check_left:
return False
check_right = condition_check(string, condition[min_level_dict['&'][0] + 1:])
return check_right
def get_level_dict(condition: str) -> dict:
current_level = 0
level_dict = {}
for (idx, ch) in enumerate(condition):
if ch == '(':
current_level += 1
elif ch == ')':
current_level -= 1
elif ch == '&' or ch == '|':
current_level_dict = level_dict.get(current_level, None)
if not current_level_dict:
level_dict[current_level] = {'&': [], '|': []}
current_level_dict = level_dict[current_level]
if ch == '&':
current_level_dict['&'].append(idx)
else:
current_level_dict['|'].append(idx)
return level_dict
def has_sub_string(string: str, sub_string: str) -> bool:
try:
_ = string.index(sub_string)
return True
except ValueError:
return False
def chop_redundant_bracket(string: str) -> str:
while True:
(check, left_or_right) = has_right_level(string)
if check:
break
elif left_or_right == 0:
string = string[1:]
else:
string = string[:-1]
while True:
if len(string) > 2 and string[0] == '(' and (string[-1] == ')'):
string = string[1:-1]
else:
return string
def has_right_level(string: str) -> (bool, int or None):
level = 0
for ch in string:
if ch == '(':
level += 1
elif ch == ')':
level -= 1
if level == 0:
return (True, None)
elif level > 0:
return (False, 0)
else:
return (False, 1)
if __name__ == '__main__':
pass |
def find_largest(n: int, L: list) -> list:
"""Return the n largest values in L in order from smallest to largest.
>>> L= [3, 4, 7, -1, 2, 5]
>>> find_largest(3, L)
[4, 5, 7]
"""
copy=sorted(L)
return copy[-n:] | def find_largest(n: int, L: list) -> list:
"""Return the n largest values in L in order from smallest to largest.
>>> L= [3, 4, 7, -1, 2, 5]
>>> find_largest(3, L)
[4, 5, 7]
"""
copy = sorted(L)
return copy[-n:] |
for i in range (10,20):#imprime do ao 19, pois sao 10 numeros
print(i)
for i in range (10,20,2):#agora com numero 2 determino o salto de numeros
print(i) | for i in range(10, 20):
print(i)
for i in range(10, 20, 2):
print(i) |
def make_collector(cls, methodname):
storage = []
method = getattr(cls, methodname)
method = getattr(method, "__func__", method)
def collect(self, ctx):
storage.append(ctx)
return method(self, ctx)
class Collector(cls):
pass
collect.__name__ = methodname
Collector.__name__ = cls.__name__
setattr(Collector, methodname, collect)
def getter():
length = len(storage)
error_template = "Method {methodname!r} was called {length} times"
error_message = error_template.format(methodname=methodname, length=length)
assert length == 1, error_message
return storage[0]
return Collector, getter
| def make_collector(cls, methodname):
storage = []
method = getattr(cls, methodname)
method = getattr(method, '__func__', method)
def collect(self, ctx):
storage.append(ctx)
return method(self, ctx)
class Collector(cls):
pass
collect.__name__ = methodname
Collector.__name__ = cls.__name__
setattr(Collector, methodname, collect)
def getter():
length = len(storage)
error_template = 'Method {methodname!r} was called {length} times'
error_message = error_template.format(methodname=methodname, length=length)
assert length == 1, error_message
return storage[0]
return (Collector, getter) |
class Solution:
def uniquePathsWithObstacles(self, obstacleGrid: List[List[int]]) -> int:
if obstacleGrid[0][0] == 1:
return 0
else:
obstacleGrid[0][0] = 1
numberOfRows = len(obstacleGrid)
numberOfColumns = len(obstacleGrid[0])
for col in range(1, numberOfColumns):
if obstacleGrid[0][col] == 1:
obstacleGrid[0][col] = 0
else:
obstacleGrid[0][col] = obstacleGrid[0][col - 1]
for row in range(1, numberOfRows):
if obstacleGrid[row][0] == 1:
obstacleGrid[row][0] = 0
else:
obstacleGrid[row][0] = obstacleGrid[row - 1][0]
for row in range(1, numberOfRows):
for col in range(1, numberOfColumns):
if obstacleGrid[row][col] == 1:
obstacleGrid[row][col] = 0
else:
obstacleGrid[row][col] = obstacleGrid[row - 1][col] + obstacleGrid[row][col - 1]
return obstacleGrid[numberOfRows - 1][numberOfColumns - 1] | class Solution:
def unique_paths_with_obstacles(self, obstacleGrid: List[List[int]]) -> int:
if obstacleGrid[0][0] == 1:
return 0
else:
obstacleGrid[0][0] = 1
number_of_rows = len(obstacleGrid)
number_of_columns = len(obstacleGrid[0])
for col in range(1, numberOfColumns):
if obstacleGrid[0][col] == 1:
obstacleGrid[0][col] = 0
else:
obstacleGrid[0][col] = obstacleGrid[0][col - 1]
for row in range(1, numberOfRows):
if obstacleGrid[row][0] == 1:
obstacleGrid[row][0] = 0
else:
obstacleGrid[row][0] = obstacleGrid[row - 1][0]
for row in range(1, numberOfRows):
for col in range(1, numberOfColumns):
if obstacleGrid[row][col] == 1:
obstacleGrid[row][col] = 0
else:
obstacleGrid[row][col] = obstacleGrid[row - 1][col] + obstacleGrid[row][col - 1]
return obstacleGrid[numberOfRows - 1][numberOfColumns - 1] |
#
# PySNMP MIB module TRANGOP5830S-RU-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TRANGOP5830S-RU-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:27:00 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")
ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Bits, Gauge32, Counter64, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, MibIdentifier, TimeTicks, enterprises, Unsigned32, Counter32, Integer32, iso, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Counter64", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "MibIdentifier", "TimeTicks", "enterprises", "Unsigned32", "Counter32", "Integer32", "iso", "ModuleIdentity")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
class DisplayString(OctetString):
pass
trango = MibIdentifier((1, 3, 6, 1, 4, 1, 5454))
tbw = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1))
p5830sru = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24))
rusys = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1))
rurf = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2))
mibinfo = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 5))
ruversion = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1))
ruswitches = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8))
rutraffic = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9))
ruipconfig = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13))
rurftable = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4))
ruism = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5))
ruunii = MibIdentifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6))
ruversionHW = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruversionHW.setStatus('mandatory')
if mibBuilder.loadTexts: ruversionHW.setDescription('Hardware version.')
ruversionFW = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruversionFW.setStatus('mandatory')
if mibBuilder.loadTexts: ruversionFW.setDescription('Main firmware version. Format: <code version>H<hardware version>D<date>.')
ruversionFPGA = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruversionFPGA.setStatus('mandatory')
if mibBuilder.loadTexts: ruversionFPGA.setDescription('FPGA firmware version.')
ruversionFWChecksum = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruversionFWChecksum.setStatus('mandatory')
if mibBuilder.loadTexts: ruversionFWChecksum.setDescription('Remote unit firmware checksum.')
ruversionFPGAChecksum = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruversionFPGAChecksum.setStatus('mandatory')
if mibBuilder.loadTexts: ruversionFPGAChecksum.setDescription('Remote unit FPGA checksum.')
rusysDeviceId = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly")
if mibBuilder.loadTexts: rusysDeviceId.setStatus('mandatory')
if mibBuilder.loadTexts: rusysDeviceId.setDescription('Remote unit device Id. Each remote unit in a cluster shall have unique ID.')
rusysDefOpMode = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 0))).clone(namedValues=NamedValues(("on", 16), ("off", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysDefOpMode.setStatus('mandatory')
if mibBuilder.loadTexts: rusysDefOpMode.setDescription('The operation mode (on or off) the remote unit is on after reboot/power cycle.')
rusysCurOpMode = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 0))).clone(namedValues=NamedValues(("on", 16), ("off", 0)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rusysCurOpMode.setStatus('mandatory')
if mibBuilder.loadTexts: rusysCurOpMode.setDescription("Remote unit's current operation mode.")
rusysActivateOpmode = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("deactivated", 0), ("activated", 1))).clone('deactivated')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysActivateOpmode.setStatus('mandatory')
if mibBuilder.loadTexts: rusysActivateOpmode.setDescription('Engage remote unit to on operation mode.')
rusysReadCommStr = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysReadCommStr.setStatus('mandatory')
if mibBuilder.loadTexts: rusysReadCommStr.setDescription('SNMP agent read community string. It is used for authenticcation purpose.')
rusysWriteCommStr = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysWriteCommStr.setStatus('mandatory')
if mibBuilder.loadTexts: rusysWriteCommStr.setDescription('SNMP agent write community string. It is used for authentication purpose.')
ruswitchesBlockBroadcastMulticast = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("passed", 0), ("blocked", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruswitchesBlockBroadcastMulticast.setStatus('mandatory')
if mibBuilder.loadTexts: ruswitchesBlockBroadcastMulticast.setDescription('This switch enables or disables the blocking of Ethernet control packet except ICMP and ARP to reduce the amount of uneccessary overhead introduced to the wireless link.')
ruswitchesHTTPD = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruswitchesHTTPD.setStatus('mandatory')
if mibBuilder.loadTexts: ruswitchesHTTPD.setDescription('When it is turned on, then the remote unit is accessible for configuring via web browser (e.g. IE or Nescape).')
ruswitchesAutoScanMasterSignal = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruswitchesAutoScanMasterSignal.setStatus('mandatory')
if mibBuilder.loadTexts: ruswitchesAutoScanMasterSignal.setDescription('This switch enables or disables the auto scan master unit signal operation on the remote unit only.')
rutrafficEthInOctets = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rutrafficEthInOctets.setStatus('mandatory')
if mibBuilder.loadTexts: rutrafficEthInOctets.setDescription("Number of octets of remote unit's payload received on Ethernet port.")
rutrafficEthOutOctets = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rutrafficEthOutOctets.setStatus('mandatory')
if mibBuilder.loadTexts: rutrafficEthOutOctets.setDescription("Number of octets of remote unit's payload transmitted on Ethernet port.")
rutrafficRfInOctets = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rutrafficRfInOctets.setStatus('mandatory')
if mibBuilder.loadTexts: rutrafficRfInOctets.setDescription("Number of octets of remote unit's payload received from RF port.")
rutrafficRfOutOctets = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rutrafficRfOutOctets.setStatus('mandatory')
if mibBuilder.loadTexts: rutrafficRfOutOctets.setDescription("Number of octets of remote unit's payload transmitted to RF port.")
rusysTemperature = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rusysTemperature.setStatus('mandatory')
if mibBuilder.loadTexts: rusysTemperature.setDescription('Current remote unit temperature value (in Celsius).')
rusysUpdateFlashAndActivate = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysUpdateFlashAndActivate.setStatus('mandatory')
if mibBuilder.loadTexts: rusysUpdateFlashAndActivate.setDescription('Save system setting values to Flash and activate the settings.')
rusysReboot = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("deactivated", 0), ("activated", 1))).clone('deactivated')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rusysReboot.setStatus('mandatory')
if mibBuilder.loadTexts: rusysReboot.setDescription('Reboot the remote unit.')
ruipconfigIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruipconfigIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts: ruipconfigIpAddress.setDescription('New IP address. It will be saved to non-volatile memory and activated in 5 secs.')
ruipconfigSubnet = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruipconfigSubnet.setStatus('mandatory')
if mibBuilder.loadTexts: ruipconfigSubnet.setDescription('New Subnet mask. It will be saved to non-volatile memory and activated in 5 secs.')
ruipconfigDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 3), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruipconfigDefaultGateway.setStatus('mandatory')
if mibBuilder.loadTexts: ruipconfigDefaultGateway.setDescription('New Default gateway. It will be saved to non-volatile memory and activated in 5 secs.')
rurfRSSI = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rurfRSSI.setStatus('mandatory')
if mibBuilder.loadTexts: rurfRSSI.setDescription('Remote unit RSSI (in dBm).')
rurftableChannel1 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel1.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel1.setDescription('RF channel 1 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel2 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel2.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel2.setDescription('RF channel 2 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel3 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel3.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel3.setDescription('RF channel 3 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel4 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel4.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel4.setDescription('RF channel 4 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel5 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel5.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel5.setDescription('RF channel 5 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel6 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel6.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel6.setDescription('RF channel 6 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel7 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel7.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel7.setDescription('RF channel 7 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel8 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel8.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel8.setDescription('RF channel 8 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel9 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel9.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel9.setDescription('RF channel 9 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel10 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel10.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel10.setDescription('RF channel 10 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel11 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel11.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel11.setDescription('RF channel 11 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel12 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel12.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel12.setDescription('RF channel 12 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel13 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel13.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel13.setDescription('RF channel 13 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel14 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel14.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel14.setDescription('RF channel 14 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel15 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel15.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel15.setDescription('RF channel 15 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel16 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel16.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel16.setDescription('RF channel 16 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel17 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel17.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel17.setDescription('RF channel 17 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel18 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel18.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel18.setDescription('RF channel 18 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel19 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel19.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel19.setDescription('RF channel 19 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel20 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel20.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel20.setDescription('RF channel 20 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel21 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel21.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel21.setDescription('RF channel 21 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel22 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel22.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel22.setDescription('RF channel 22 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel23 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel23.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel23.setDescription('RF channel 23 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel24 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel24.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel24.setDescription('RF channel 24 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel25 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel25.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel25.setDescription('RF channel 25 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel26 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel26.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel26.setDescription('RF channel 26 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel27 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel27.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel27.setDescription('RF channel 27 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel28 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel28.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel28.setDescription('RF channel 28 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel29 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel29.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel29.setDescription('RF channel 29 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftableChannel30 = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5260, 5340), ValueRangeConstraint(5736, 5836), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rurftableChannel30.setStatus('mandatory')
if mibBuilder.loadTexts: rurftableChannel30.setDescription('RF channel 30 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
ruismTxPowerMax = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruismTxPowerMax.setStatus('mandatory')
if mibBuilder.loadTexts: ruismTxPowerMax.setDescription('The maximum ISM Tx power value can be set (in dBm).')
ruismTxPowerMin = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruismTxPowerMin.setStatus('mandatory')
if mibBuilder.loadTexts: ruismTxPowerMin.setDescription('The minimum ISM Tx power value can be set (in dBm).')
ruismTxPower = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruismTxPower.setStatus('mandatory')
if mibBuilder.loadTexts: ruismTxPower.setDescription('ISM RF tx power (in dBm). It specifies the power output of the radio, excluding the antenna gain. Check parameters remoteismTxPowerMax and remoteismTxPowerMin for power setting range.')
ruismRxThreshold = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-90, -90), ValueRangeConstraint(-85, -85), ValueRangeConstraint(-80, -80), ValueRangeConstraint(-75, -75), ValueRangeConstraint(-70, -70), ValueRangeConstraint(-65, -65), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruismRxThreshold.setStatus('mandatory')
if mibBuilder.loadTexts: ruismRxThreshold.setDescription("ISM RF rx threshold (in dBm). It specifies the receiver sensitivity of the remote. By default, the radio's sensitivity is -82dBm. The higher the threshold is, the less sensitive the radio will be. In M5800S, the value -90 represents the rfrxthreshold is disabled.")
ruuniiTxPowerMax = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruuniiTxPowerMax.setStatus('mandatory')
if mibBuilder.loadTexts: ruuniiTxPowerMax.setDescription('This object is only applicable to M5830S/P5830S radio. The maximum UNII Tx power value can be set (in dBm).')
ruuniiTxPowerMin = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ruuniiTxPowerMin.setStatus('mandatory')
if mibBuilder.loadTexts: ruuniiTxPowerMin.setDescription('This object is only applicable to M5830S/P5830S radio. The minimum UNII Tx power value can be set (in dBm).')
ruuniiTxPower = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-128, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruuniiTxPower.setStatus('mandatory')
if mibBuilder.loadTexts: ruuniiTxPower.setDescription('This object is only applicable to M5830S/P5830S radio. UNII RF tx power (in dBm). It specifies the power output of the radio, excluding the antenna gain. Check parameters apuniiTxPowerMax and apuniiTxPowerMin for power setting range.')
ruuniiRxThreshold = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-90, -90), ValueRangeConstraint(-85, -85), ValueRangeConstraint(-80, -80), ValueRangeConstraint(-75, -75), ValueRangeConstraint(-70, -70), ValueRangeConstraint(-65, -65), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ruuniiRxThreshold.setStatus('mandatory')
if mibBuilder.loadTexts: ruuniiRxThreshold.setDescription('This object is only applicable to M5830S/P5830S radio. UNII RF rx threshold (in dBm). It specifies the receiver sensitivity of the master unit.')
mibinfoVersion = MibScalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: mibinfoVersion.setStatus('mandatory')
if mibBuilder.loadTexts: mibinfoVersion.setDescription('Trango remote unit MIB Version.')
mibBuilder.exportSymbols("TRANGOP5830S-RU-MIB", rurftableChannel30=rurftableChannel30, ruismTxPowerMax=ruismTxPowerMax, rutraffic=rutraffic, rurftableChannel6=rurftableChannel6, rurftableChannel14=rurftableChannel14, ruipconfigSubnet=ruipconfigSubnet, mibinfoVersion=mibinfoVersion, ruversion=ruversion, ruswitchesHTTPD=ruswitchesHTTPD, rusysReadCommStr=rusysReadCommStr, rurfRSSI=rurfRSSI, ruipconfig=ruipconfig, ruismRxThreshold=ruismRxThreshold, ruswitchesBlockBroadcastMulticast=ruswitchesBlockBroadcastMulticast, rurftableChannel4=rurftableChannel4, ruuniiTxPowerMax=ruuniiTxPowerMax, rurftableChannel17=rurftableChannel17, ruuniiRxThreshold=ruuniiRxThreshold, rurftableChannel8=rurftableChannel8, ruswitchesAutoScanMasterSignal=ruswitchesAutoScanMasterSignal, rurftableChannel9=rurftableChannel9, rurftableChannel23=rurftableChannel23, rurftableChannel10=rurftableChannel10, rusysActivateOpmode=rusysActivateOpmode, rurftableChannel7=rurftableChannel7, rurf=rurf, rurftableChannel19=rurftableChannel19, ruism=ruism, ruversionFW=ruversionFW, ruismTxPowerMin=ruismTxPowerMin, ruunii=ruunii, rurftableChannel15=rurftableChannel15, trango=trango, ruuniiTxPowerMin=ruuniiTxPowerMin, DisplayString=DisplayString, rutrafficEthInOctets=rutrafficEthInOctets, rutrafficRfInOctets=rutrafficRfInOctets, rutrafficEthOutOctets=rutrafficEthOutOctets, rurftableChannel25=rurftableChannel25, mibinfo=mibinfo, ruipconfigIpAddress=ruipconfigIpAddress, rurftableChannel21=rurftableChannel21, ruismTxPower=ruismTxPower, rurftableChannel2=rurftableChannel2, rurftableChannel22=rurftableChannel22, rusysDefOpMode=rusysDefOpMode, tbw=tbw, ruversionFWChecksum=ruversionFWChecksum, rutrafficRfOutOctets=rutrafficRfOutOctets, ruswitches=ruswitches, rusysWriteCommStr=rusysWriteCommStr, rurftableChannel28=rurftableChannel28, rurftableChannel24=rurftableChannel24, rurftableChannel1=rurftableChannel1, rusysTemperature=rusysTemperature, p5830sru=p5830sru, rusysCurOpMode=rusysCurOpMode, rusysUpdateFlashAndActivate=rusysUpdateFlashAndActivate, rurftableChannel11=rurftableChannel11, ruipconfigDefaultGateway=ruipconfigDefaultGateway, rurftableChannel3=rurftableChannel3, rurftableChannel27=rurftableChannel27, rusys=rusys, rurftableChannel5=rurftableChannel5, ruversionHW=ruversionHW, rurftableChannel20=rurftableChannel20, ruversionFPGA=ruversionFPGA, rurftableChannel13=rurftableChannel13, rurftableChannel26=rurftableChannel26, rurftable=rurftable, rurftableChannel29=rurftableChannel29, rurftableChannel12=rurftableChannel12, ruuniiTxPower=ruuniiTxPower, rurftableChannel18=rurftableChannel18, rusysDeviceId=rusysDeviceId, ruversionFPGAChecksum=ruversionFPGAChecksum, rusysReboot=rusysReboot, rurftableChannel16=rurftableChannel16)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_range_constraint, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(bits, gauge32, counter64, notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, mib_identifier, time_ticks, enterprises, unsigned32, counter32, integer32, iso, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'Gauge32', 'Counter64', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'MibIdentifier', 'TimeTicks', 'enterprises', 'Unsigned32', 'Counter32', 'Integer32', 'iso', 'ModuleIdentity')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
class Displaystring(OctetString):
pass
trango = mib_identifier((1, 3, 6, 1, 4, 1, 5454))
tbw = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1))
p5830sru = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24))
rusys = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1))
rurf = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2))
mibinfo = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 5))
ruversion = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1))
ruswitches = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8))
rutraffic = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9))
ruipconfig = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13))
rurftable = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4))
ruism = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5))
ruunii = mib_identifier((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6))
ruversion_hw = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruversionHW.setStatus('mandatory')
if mibBuilder.loadTexts:
ruversionHW.setDescription('Hardware version.')
ruversion_fw = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruversionFW.setStatus('mandatory')
if mibBuilder.loadTexts:
ruversionFW.setDescription('Main firmware version. Format: <code version>H<hardware version>D<date>.')
ruversion_fpga = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruversionFPGA.setStatus('mandatory')
if mibBuilder.loadTexts:
ruversionFPGA.setDescription('FPGA firmware version.')
ruversion_fw_checksum = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruversionFWChecksum.setStatus('mandatory')
if mibBuilder.loadTexts:
ruversionFWChecksum.setDescription('Remote unit firmware checksum.')
ruversion_fpga_checksum = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruversionFPGAChecksum.setStatus('mandatory')
if mibBuilder.loadTexts:
ruversionFPGAChecksum.setDescription('Remote unit FPGA checksum.')
rusys_device_id = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rusysDeviceId.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysDeviceId.setDescription('Remote unit device Id. Each remote unit in a cluster shall have unique ID.')
rusys_def_op_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 0))).clone(namedValues=named_values(('on', 16), ('off', 0)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysDefOpMode.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysDefOpMode.setDescription('The operation mode (on or off) the remote unit is on after reboot/power cycle.')
rusys_cur_op_mode = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 0))).clone(namedValues=named_values(('on', 16), ('off', 0)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rusysCurOpMode.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysCurOpMode.setDescription("Remote unit's current operation mode.")
rusys_activate_opmode = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('deactivated', 0), ('activated', 1))).clone('deactivated')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysActivateOpmode.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysActivateOpmode.setDescription('Engage remote unit to on operation mode.')
rusys_read_comm_str = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysReadCommStr.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysReadCommStr.setDescription('SNMP agent read community string. It is used for authenticcation purpose.')
rusys_write_comm_str = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysWriteCommStr.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysWriteCommStr.setDescription('SNMP agent write community string. It is used for authentication purpose.')
ruswitches_block_broadcast_multicast = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('passed', 0), ('blocked', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruswitchesBlockBroadcastMulticast.setStatus('mandatory')
if mibBuilder.loadTexts:
ruswitchesBlockBroadcastMulticast.setDescription('This switch enables or disables the blocking of Ethernet control packet except ICMP and ARP to reduce the amount of uneccessary overhead introduced to the wireless link.')
ruswitches_httpd = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruswitchesHTTPD.setStatus('mandatory')
if mibBuilder.loadTexts:
ruswitchesHTTPD.setDescription('When it is turned on, then the remote unit is accessible for configuring via web browser (e.g. IE or Nescape).')
ruswitches_auto_scan_master_signal = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 8, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruswitchesAutoScanMasterSignal.setStatus('mandatory')
if mibBuilder.loadTexts:
ruswitchesAutoScanMasterSignal.setDescription('This switch enables or disables the auto scan master unit signal operation on the remote unit only.')
rutraffic_eth_in_octets = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rutrafficEthInOctets.setStatus('mandatory')
if mibBuilder.loadTexts:
rutrafficEthInOctets.setDescription("Number of octets of remote unit's payload received on Ethernet port.")
rutraffic_eth_out_octets = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rutrafficEthOutOctets.setStatus('mandatory')
if mibBuilder.loadTexts:
rutrafficEthOutOctets.setDescription("Number of octets of remote unit's payload transmitted on Ethernet port.")
rutraffic_rf_in_octets = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rutrafficRfInOctets.setStatus('mandatory')
if mibBuilder.loadTexts:
rutrafficRfInOctets.setDescription("Number of octets of remote unit's payload received from RF port.")
rutraffic_rf_out_octets = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 9, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rutrafficRfOutOctets.setStatus('mandatory')
if mibBuilder.loadTexts:
rutrafficRfOutOctets.setDescription("Number of octets of remote unit's payload transmitted to RF port.")
rusys_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rusysTemperature.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysTemperature.setDescription('Current remote unit temperature value (in Celsius).')
rusys_update_flash_and_activate = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysUpdateFlashAndActivate.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysUpdateFlashAndActivate.setDescription('Save system setting values to Flash and activate the settings.')
rusys_reboot = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('deactivated', 0), ('activated', 1))).clone('deactivated')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rusysReboot.setStatus('mandatory')
if mibBuilder.loadTexts:
rusysReboot.setDescription('Reboot the remote unit.')
ruipconfig_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 1), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruipconfigIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
ruipconfigIpAddress.setDescription('New IP address. It will be saved to non-volatile memory and activated in 5 secs.')
ruipconfig_subnet = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 2), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruipconfigSubnet.setStatus('mandatory')
if mibBuilder.loadTexts:
ruipconfigSubnet.setDescription('New Subnet mask. It will be saved to non-volatile memory and activated in 5 secs.')
ruipconfig_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 1, 13, 3), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruipconfigDefaultGateway.setStatus('mandatory')
if mibBuilder.loadTexts:
ruipconfigDefaultGateway.setDescription('New Default gateway. It will be saved to non-volatile memory and activated in 5 secs.')
rurf_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rurfRSSI.setStatus('mandatory')
if mibBuilder.loadTexts:
rurfRSSI.setDescription('Remote unit RSSI (in dBm).')
rurftable_channel1 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel1.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel1.setDescription('RF channel 1 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel2 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel2.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel2.setDescription('RF channel 2 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel3 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel3.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel3.setDescription('RF channel 3 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel4 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel4.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel4.setDescription('RF channel 4 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel5 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel5.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel5.setDescription('RF channel 5 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel6 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 6), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel6.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel6.setDescription('RF channel 6 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel7 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel7.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel7.setDescription('RF channel 7 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel8 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 8), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel8.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel8.setDescription('RF channel 8 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel9 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel9.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel9.setDescription('RF channel 9 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel10 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 10), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel10.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel10.setDescription('RF channel 10 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel11 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 11), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel11.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel11.setDescription('RF channel 11 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel12 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel12.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel12.setDescription('RF channel 12 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel13 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 13), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel13.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel13.setDescription('RF channel 13 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel14 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 14), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel14.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel14.setDescription('RF channel 14 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel15 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 15), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel15.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel15.setDescription('RF channel 15 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel16 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 16), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel16.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel16.setDescription('RF channel 16 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel17 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 17), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel17.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel17.setDescription('RF channel 17 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel18 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 18), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel18.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel18.setDescription('RF channel 18 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel19 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 19), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel19.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel19.setDescription('RF channel 19 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel20 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 20), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel20.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel20.setDescription('RF channel 20 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel21 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel21.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel21.setDescription('RF channel 21 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel22 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 22), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel22.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel22.setDescription('RF channel 22 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel23 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 23), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel23.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel23.setDescription('RF channel 23 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel24 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 24), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel24.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel24.setDescription('RF channel 24 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel25 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 25), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel25.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel25.setDescription('RF channel 25 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel26 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 26), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel26.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel26.setDescription('RF channel 26 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel27 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 27), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel27.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel27.setDescription('RF channel 27 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel28 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 28), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel28.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel28.setDescription('RF channel 28 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel29 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 29), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel29.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel29.setDescription('RF channel 29 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
rurftable_channel30 = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 4, 30), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(5260, 5340), value_range_constraint(5736, 5836)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rurftableChannel30.setStatus('mandatory')
if mibBuilder.loadTexts:
rurftableChannel30.setDescription('RF channel 30 frequency (in MHz). It allows you to create your own channel instead of the manufacturing defaults in the remote unit. Keep in mind that channel width is 20MHz, and the frequency specified here is the center frequency. Frequency (5260MHz - 5340MHz) is only applicable to M5830S/P5830S radio.')
ruism_tx_power_max = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 1), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruismTxPowerMax.setStatus('mandatory')
if mibBuilder.loadTexts:
ruismTxPowerMax.setDescription('The maximum ISM Tx power value can be set (in dBm).')
ruism_tx_power_min = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruismTxPowerMin.setStatus('mandatory')
if mibBuilder.loadTexts:
ruismTxPowerMin.setDescription('The minimum ISM Tx power value can be set (in dBm).')
ruism_tx_power = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 3), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruismTxPower.setStatus('mandatory')
if mibBuilder.loadTexts:
ruismTxPower.setDescription('ISM RF tx power (in dBm). It specifies the power output of the radio, excluding the antenna gain. Check parameters remoteismTxPowerMax and remoteismTxPowerMin for power setting range.')
ruism_rx_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 5, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-90, -90), value_range_constraint(-85, -85), value_range_constraint(-80, -80), value_range_constraint(-75, -75), value_range_constraint(-70, -70), value_range_constraint(-65, -65)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruismRxThreshold.setStatus('mandatory')
if mibBuilder.loadTexts:
ruismRxThreshold.setDescription("ISM RF rx threshold (in dBm). It specifies the receiver sensitivity of the remote. By default, the radio's sensitivity is -82dBm. The higher the threshold is, the less sensitive the radio will be. In M5800S, the value -90 represents the rfrxthreshold is disabled.")
ruunii_tx_power_max = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 1), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruuniiTxPowerMax.setStatus('mandatory')
if mibBuilder.loadTexts:
ruuniiTxPowerMax.setDescription('This object is only applicable to M5830S/P5830S radio. The maximum UNII Tx power value can be set (in dBm).')
ruunii_tx_power_min = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 2), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ruuniiTxPowerMin.setStatus('mandatory')
if mibBuilder.loadTexts:
ruuniiTxPowerMin.setDescription('This object is only applicable to M5830S/P5830S radio. The minimum UNII Tx power value can be set (in dBm).')
ruunii_tx_power = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 3), integer32().subtype(subtypeSpec=value_range_constraint(-128, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruuniiTxPower.setStatus('mandatory')
if mibBuilder.loadTexts:
ruuniiTxPower.setDescription('This object is only applicable to M5830S/P5830S radio. UNII RF tx power (in dBm). It specifies the power output of the radio, excluding the antenna gain. Check parameters apuniiTxPowerMax and apuniiTxPowerMin for power setting range.')
ruunii_rx_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 2, 6, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-90, -90), value_range_constraint(-85, -85), value_range_constraint(-80, -80), value_range_constraint(-75, -75), value_range_constraint(-70, -70), value_range_constraint(-65, -65)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ruuniiRxThreshold.setStatus('mandatory')
if mibBuilder.loadTexts:
ruuniiRxThreshold.setDescription('This object is only applicable to M5830S/P5830S radio. UNII RF rx threshold (in dBm). It specifies the receiver sensitivity of the master unit.')
mibinfo_version = mib_scalar((1, 3, 6, 1, 4, 1, 5454, 1, 24, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mibinfoVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
mibinfoVersion.setDescription('Trango remote unit MIB Version.')
mibBuilder.exportSymbols('TRANGOP5830S-RU-MIB', rurftableChannel30=rurftableChannel30, ruismTxPowerMax=ruismTxPowerMax, rutraffic=rutraffic, rurftableChannel6=rurftableChannel6, rurftableChannel14=rurftableChannel14, ruipconfigSubnet=ruipconfigSubnet, mibinfoVersion=mibinfoVersion, ruversion=ruversion, ruswitchesHTTPD=ruswitchesHTTPD, rusysReadCommStr=rusysReadCommStr, rurfRSSI=rurfRSSI, ruipconfig=ruipconfig, ruismRxThreshold=ruismRxThreshold, ruswitchesBlockBroadcastMulticast=ruswitchesBlockBroadcastMulticast, rurftableChannel4=rurftableChannel4, ruuniiTxPowerMax=ruuniiTxPowerMax, rurftableChannel17=rurftableChannel17, ruuniiRxThreshold=ruuniiRxThreshold, rurftableChannel8=rurftableChannel8, ruswitchesAutoScanMasterSignal=ruswitchesAutoScanMasterSignal, rurftableChannel9=rurftableChannel9, rurftableChannel23=rurftableChannel23, rurftableChannel10=rurftableChannel10, rusysActivateOpmode=rusysActivateOpmode, rurftableChannel7=rurftableChannel7, rurf=rurf, rurftableChannel19=rurftableChannel19, ruism=ruism, ruversionFW=ruversionFW, ruismTxPowerMin=ruismTxPowerMin, ruunii=ruunii, rurftableChannel15=rurftableChannel15, trango=trango, ruuniiTxPowerMin=ruuniiTxPowerMin, DisplayString=DisplayString, rutrafficEthInOctets=rutrafficEthInOctets, rutrafficRfInOctets=rutrafficRfInOctets, rutrafficEthOutOctets=rutrafficEthOutOctets, rurftableChannel25=rurftableChannel25, mibinfo=mibinfo, ruipconfigIpAddress=ruipconfigIpAddress, rurftableChannel21=rurftableChannel21, ruismTxPower=ruismTxPower, rurftableChannel2=rurftableChannel2, rurftableChannel22=rurftableChannel22, rusysDefOpMode=rusysDefOpMode, tbw=tbw, ruversionFWChecksum=ruversionFWChecksum, rutrafficRfOutOctets=rutrafficRfOutOctets, ruswitches=ruswitches, rusysWriteCommStr=rusysWriteCommStr, rurftableChannel28=rurftableChannel28, rurftableChannel24=rurftableChannel24, rurftableChannel1=rurftableChannel1, rusysTemperature=rusysTemperature, p5830sru=p5830sru, rusysCurOpMode=rusysCurOpMode, rusysUpdateFlashAndActivate=rusysUpdateFlashAndActivate, rurftableChannel11=rurftableChannel11, ruipconfigDefaultGateway=ruipconfigDefaultGateway, rurftableChannel3=rurftableChannel3, rurftableChannel27=rurftableChannel27, rusys=rusys, rurftableChannel5=rurftableChannel5, ruversionHW=ruversionHW, rurftableChannel20=rurftableChannel20, ruversionFPGA=ruversionFPGA, rurftableChannel13=rurftableChannel13, rurftableChannel26=rurftableChannel26, rurftable=rurftable, rurftableChannel29=rurftableChannel29, rurftableChannel12=rurftableChannel12, ruuniiTxPower=ruuniiTxPower, rurftableChannel18=rurftableChannel18, rusysDeviceId=rusysDeviceId, ruversionFPGAChecksum=ruversionFPGAChecksum, rusysReboot=rusysReboot, rurftableChannel16=rurftableChannel16) |
test = { 'name': 'q2_1_2',
'points': 1,
'suites': [ { 'cases': [ { 'code': '>>> # Make sure you can use any two movies;\n'
'>>> correct_dis = 0.000541242;\n'
'>>> dis = distance_two_features("clerks.", "the avengers", "water", "feel");\n'
'>>> np.isclose(np.round(dis, 9), correct_dis)\n'
'True',
'hidden': False,
'locked': False},
{ 'code': '>>> # Make sure you can use any two movies;\n'
'>>> correct_dis = 0.006486728;\n'
'>>> dis = distance_two_features("clerks.", "the avengers", "your", "that");\n'
'>>> np.isclose(np.round(dis, 9), correct_dis)\n'
'True',
'hidden': False,
'locked': False}],
'scored': True,
'setup': '',
'teardown': '',
'type': 'doctest'}]}
| test = {'name': 'q2_1_2', 'points': 1, 'suites': [{'cases': [{'code': '>>> # Make sure you can use any two movies;\n>>> correct_dis = 0.000541242;\n>>> dis = distance_two_features("clerks.", "the avengers", "water", "feel");\n>>> np.isclose(np.round(dis, 9), correct_dis)\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> # Make sure you can use any two movies;\n>>> correct_dis = 0.006486728;\n>>> dis = distance_two_features("clerks.", "the avengers", "your", "that");\n>>> np.isclose(np.round(dis, 9), correct_dis)\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]} |
# TC:O(N^N)
def queens_helper(n, row, col, asc_des, desc_des, possibilities):
curr_row = len(possibilities)
for curr_col in range(n):
if col[curr_col] and row[curr_row] and asc_des[curr_col+curr_row] and desc_des[curr_row-curr_col]:
row[curr_row] = False
col[curr_col] = False
asc_des[curr_col+curr_row] = False
desc_des[curr_row-curr_col] = False
possibilities.append((curr_row, curr_col))
possibilities = queens_helper(
n, row, col, asc_des, desc_des, possibilities)
# print(possibilities)
if(len(possibilities) == n):
return possibilities
# Otherwise we are backtracking
row[curr_row] = True
col[curr_col] = True
asc_des[curr_col+curr_row] = True
desc_des[curr_row-curr_col] = True
possibilities.pop()
return possibilities
def queens(n):
col = [True]*n
row = [True]*n
asc_des = [True]*(n*2-1)
desc_des = [True]*(n*2-1)
return queens_helper(n, row, col, asc_des, desc_des, [])
s = queens(4)
l = ""
ans = []
for i in range(4):
for j in range(4):
if((i, j) in s):
l += "Q"
else:
l += "."
ans.append(l)
l = ""
print(ans)
# Output:
['.Q..', '...Q', 'Q...', '..Q.']
| def queens_helper(n, row, col, asc_des, desc_des, possibilities):
curr_row = len(possibilities)
for curr_col in range(n):
if col[curr_col] and row[curr_row] and asc_des[curr_col + curr_row] and desc_des[curr_row - curr_col]:
row[curr_row] = False
col[curr_col] = False
asc_des[curr_col + curr_row] = False
desc_des[curr_row - curr_col] = False
possibilities.append((curr_row, curr_col))
possibilities = queens_helper(n, row, col, asc_des, desc_des, possibilities)
if len(possibilities) == n:
return possibilities
row[curr_row] = True
col[curr_col] = True
asc_des[curr_col + curr_row] = True
desc_des[curr_row - curr_col] = True
possibilities.pop()
return possibilities
def queens(n):
col = [True] * n
row = [True] * n
asc_des = [True] * (n * 2 - 1)
desc_des = [True] * (n * 2 - 1)
return queens_helper(n, row, col, asc_des, desc_des, [])
s = queens(4)
l = ''
ans = []
for i in range(4):
for j in range(4):
if (i, j) in s:
l += 'Q'
else:
l += '.'
ans.append(l)
l = ''
print(ans)
['.Q..', '...Q', 'Q...', '..Q.'] |
SITE_NAME='Bitsbox'
SQLALCHEMY_TRACK_MODIFICATIONS=False
DEBUG=False
USER_CREATION_ALLOWED=False
GOOGLE_CLIENT_ID='YOUR_CLIENT_ID.apps.googleusercontent.com'
| site_name = 'Bitsbox'
sqlalchemy_track_modifications = False
debug = False
user_creation_allowed = False
google_client_id = 'YOUR_CLIENT_ID.apps.googleusercontent.com' |
"""Custom exceptions."""
class SlugError(Exception):
"""Slug error."""
| """Custom exceptions."""
class Slugerror(Exception):
"""Slug error.""" |
option_spec = {
"OIDCProvider": {
"REQUIRE_CONSENT": {
"type": "boolean",
"default": True,
"envvars": ("KOLIBRI_OIDC_PROVIDER_REQUEST_CONSENT",),
}
}
}
| option_spec = {'OIDCProvider': {'REQUIRE_CONSENT': {'type': 'boolean', 'default': True, 'envvars': ('KOLIBRI_OIDC_PROVIDER_REQUEST_CONSENT',)}}} |
class Solution:
def isIsomorphic(self, s: str, t: str) -> bool:
s_dict = {}
t_dict = {}
if len(s) != len(t):
return False
for idx in range(len(s)):
s_char = s[idx]
t_char = t[idx]
if s_char not in s_dict:
s_dict[s_char] = t_char
elif s_dict[s_char] != t_char:
return False
if t_char not in t_dict:
t_dict[t_char] = s_char
elif t_dict[t_char] != s_char:
return False
return True
| class Solution:
def is_isomorphic(self, s: str, t: str) -> bool:
s_dict = {}
t_dict = {}
if len(s) != len(t):
return False
for idx in range(len(s)):
s_char = s[idx]
t_char = t[idx]
if s_char not in s_dict:
s_dict[s_char] = t_char
elif s_dict[s_char] != t_char:
return False
if t_char not in t_dict:
t_dict[t_char] = s_char
elif t_dict[t_char] != s_char:
return False
return True |
base_dir = os.path.split(os.path.dirname(__file__))[0]
data_dir = os.path.join(
base_dir,
"data",
)
resource_dir = os.path.join(
base_dir,
"resources",
)
| base_dir = os.path.split(os.path.dirname(__file__))[0]
data_dir = os.path.join(base_dir, 'data')
resource_dir = os.path.join(base_dir, 'resources') |
# -*- coding: utf-8 -*-
#
#
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
# The encoding of source files.
#
# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'Unreal Engine 4 Steamworks Callback Plugin'
copyright = u'2018, Daniel Nahle'
author = u'Daniel Nahle'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'1.0'
# The full version, including alpha/beta/rc tags.
release = u'1.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'en'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#
# today = ''
#
# Else, today_fmt is used as the format for a strftime call.
#
# today_fmt = '%B %d, %Y'
#
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
# If true, keep warnings as "system message" paragraphs in the built documents.
# keep_warnings = False
html_scaled_image_link = False
html_theme = 'sphinx_rtd_theme'
# html_static_path = ['_static']
#html_theme = 'alabaster'
html_theme_options = {
'canonical_url': '',
'analytics_id': '',
'logo_only': False,
'display_version': True,
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
'vcs_pageview_mode': '',
# Toc options
'collapse_navigation': True,
'sticky_navigation': True,
'navigation_depth': 4,
'includehidden':True,
'titles_only': False,
}
| source_suffix = '.rst'
master_doc = 'index'
project = u'Unreal Engine 4 Steamworks Callback Plugin'
copyright = u'2018, Daniel Nahle'
author = u'Daniel Nahle'
version = u'1.0'
release = u'1.0'
language = 'en'
pygments_style = 'sphinx'
html_scaled_image_link = False
html_theme = 'sphinx_rtd_theme'
html_theme_options = {'canonical_url': '', 'analytics_id': '', 'logo_only': False, 'display_version': True, 'prev_next_buttons_location': 'bottom', 'style_external_links': False, 'vcs_pageview_mode': '', 'collapse_navigation': True, 'sticky_navigation': True, 'navigation_depth': 4, 'includehidden': True, 'titles_only': False} |
def pydemic():
"""
Patch the streamlit module
"""
| def pydemic():
"""
Patch the streamlit module
""" |
VALIDATION_EXCEPTION_MESSAGE = "Validation error has occurred : {0}"
WRONG_ID_FORMAT_MESSAGE = "Wrong {0} id format : {1}"
OBJECT_ALREADY_PROCESSING_MESSAGE = "object {0} is already processing. request cannot be completed."
# validation error messages
INVALID_SECRET_CONFIG_MESSAGE = "got an invalid secret config"
INSUFFICIENT_DATA_TO_CHOOSE_A_STORAGE_SYSTEM_MESSAGE = "insufficient data to choose a storage system"
NO_SYSTEM_MATCH_REQUESTED_TOPOLOGIES = "no system match requested topologies: {}"
SECRET_MISSING_CONNECTION_INFO_MESSAGE = "secret is missing connection info"
SECRET_MISSING_TOPOLOGIES_MESSAGE = "secret is missing topologies"
INVALID_SYSTEM_ID_MESSAGE = "got an invalid system id: {}, validation regex: {}"
INVALID_JSON_PARAMETER_MESSAGE = "got an invalid json parameter: {}, error: {}."
INVALID_REPLICATION_COPY_TYPE_MESSAGE = "got an invalid copy type: {}"
SECRET_MISSING_MESSAGE = 'secret is missing'
CAPABILITIES_NOT_SET_MESSAGE = "capabilities were not set"
UNSUPPORTED_FS_TYPE_MESSAGE = "unsupported fs_type : {}"
UNSUPPORTED_MOUNT_FLAGS_MESSAGE = "mount_flags is unsupported"
UNSUPPORTED_VOLUME_ACCESS_TYPE_MESSAGE = "unsupported volume access type"
UNSUPPORTED_ACCESS_MODE_MESSAGE = "unsupported access mode : {}"
NAME_SHOULD_NOT_BE_EMPTY_MESSAGE = 'name should not be empty'
VOLUME_ID_SHOULD_NOT_BE_EMPTY_MESSAGE = 'volume id should not be empty'
SNAPSHOT_ID_SHOULD_NOT_BE_EMPTY_MESSAGE = 'snapshot id should not be empty'
SIZE_SHOULD_NOT_BE_NEGATIVE_MESSAGE = 'size should not be negative'
NO_CAPACITY_RANGE_MESSAGE = 'no capacity range set'
POOL_IS_MISSING_MESSAGE = 'pool parameter is missing.'
POOL_SHOULD_NOT_BE_EMPTY_MESSAGE = 'pool should not be empty'
WRONG_FORMAT_MESSAGE = '{} has wrong format'
READONLY_NOT_SUPPORTED_MESSAGE = 'readonly parameter is not supported'
VOLUME_SOURCE_ID_IS_MISSING = 'volume source {0} id is missing'
SNAPSHOT_SOURCE_VOLUME_ID_IS_MISSING = 'snapshot source volume id is missing'
PARAMETER_LENGTH_IS_TOO_LONG = '{} parameter: {} is too long, max length is: {}'
VOLUME_CLONING_NOT_SUPPORTED_MESSAGE = 'volume cloning is not supported'
VOLUME_CONTEXT_NOT_MATCH_VOLUME_MESSAGE = 'volume context: {0} does not match existing volume context: {1}'
SPACE_EFFICIENCY_NOT_MATCH_VOLUME_MESSAGE = 'space efficiency: {0}' \
' does not match existing volume space efficiency: {1}'
POOL_NOT_MATCH_VOLUME_MESSAGE = 'pool name: {0} does not match existing volume pool name: {1}'
PREFIX_NOT_MATCH_VOLUME_MESSAGE = 'prefix: {0} does not match existing volume name: {1}'
| validation_exception_message = 'Validation error has occurred : {0}'
wrong_id_format_message = 'Wrong {0} id format : {1}'
object_already_processing_message = 'object {0} is already processing. request cannot be completed.'
invalid_secret_config_message = 'got an invalid secret config'
insufficient_data_to_choose_a_storage_system_message = 'insufficient data to choose a storage system'
no_system_match_requested_topologies = 'no system match requested topologies: {}'
secret_missing_connection_info_message = 'secret is missing connection info'
secret_missing_topologies_message = 'secret is missing topologies'
invalid_system_id_message = 'got an invalid system id: {}, validation regex: {}'
invalid_json_parameter_message = 'got an invalid json parameter: {}, error: {}.'
invalid_replication_copy_type_message = 'got an invalid copy type: {}'
secret_missing_message = 'secret is missing'
capabilities_not_set_message = 'capabilities were not set'
unsupported_fs_type_message = 'unsupported fs_type : {}'
unsupported_mount_flags_message = 'mount_flags is unsupported'
unsupported_volume_access_type_message = 'unsupported volume access type'
unsupported_access_mode_message = 'unsupported access mode : {}'
name_should_not_be_empty_message = 'name should not be empty'
volume_id_should_not_be_empty_message = 'volume id should not be empty'
snapshot_id_should_not_be_empty_message = 'snapshot id should not be empty'
size_should_not_be_negative_message = 'size should not be negative'
no_capacity_range_message = 'no capacity range set'
pool_is_missing_message = 'pool parameter is missing.'
pool_should_not_be_empty_message = 'pool should not be empty'
wrong_format_message = '{} has wrong format'
readonly_not_supported_message = 'readonly parameter is not supported'
volume_source_id_is_missing = 'volume source {0} id is missing'
snapshot_source_volume_id_is_missing = 'snapshot source volume id is missing'
parameter_length_is_too_long = '{} parameter: {} is too long, max length is: {}'
volume_cloning_not_supported_message = 'volume cloning is not supported'
volume_context_not_match_volume_message = 'volume context: {0} does not match existing volume context: {1}'
space_efficiency_not_match_volume_message = 'space efficiency: {0} does not match existing volume space efficiency: {1}'
pool_not_match_volume_message = 'pool name: {0} does not match existing volume pool name: {1}'
prefix_not_match_volume_message = 'prefix: {0} does not match existing volume name: {1}' |
stop_codon = ["UAA", "UAG", "UGA"]
amino_acid = ["Ala", "Arg", "Asn", "Asp", "Cys", "Glu", "Gln", "Gly", "His", "Ile", "Leu", "Lys",
"Met", "Phe", "Pro", "Ser", "Thr", "Trp", "Tyr", "Val"]
codon_U = ["UUU", "UUC", "UUA", "UUG",
"UCU", "UCC", "UCA", "UCG",
"UAU", "UAC", "UAA", "UAG",
"UGU", "UGC", "UGA", "UGG"]
codon_C = ["CUU", "CUC", "CUA", "CUG",
"CCU", "CCC", "CCA", "CCG",
"CAU", "CAC", "CAA", "CAG",
"CGU", "CGC", "CGA", "CGG"]
codon_A = ["AUU", "AUC", "AUA", "AUG",
"ACU", "ACC", "ACA", "ACG",
"AAU", "AAC", "AAA", "AAG",
"AGU", "AGC", "AGA", "AGG"]
codon_G = ["GUU", "GUC", "GUA", "GUG",
"GCU", "GCC", "GCA", "GCG",
"GAU", "GAC", "GAA", "GAG",
"GGU", "GGC", "GGA", "GGG"]
translated_amino_acid = []
codon_in = input("Enter mRNA Codon: ")
codon_txt = [(codon_in[i:i + 3]) for i in range(0, len(codon_in), 3)]
for r in range(0, len(codon_txt)):
if codon_txt[r] == "AUG":
translated_amino_acid.append(amino_acid[12])
r += 1
elif codon_txt[r] == ("UUU" or "UUC"):
translated_amino_acid.append(amino_acid[13])
r += 1
elif codon_txt[r] == ((("UUA" or "UUG") or ("CUU" or "CUA")) or ("CUG" or "CUC")):
translated_amino_acid.append(amino_acid[10])
r += 1
elif codon_txt[r] == ((("UCU" or "UCA") or ("UCC" or "UCG")) or ("AGU" or "AGC")):
translated_amino_acid.append(amino_acid[15])
r += 1
elif codon_txt[r] == ("UAU" or "UAC"):
translated_amino_acid.append(amino_acid[18])
r += 1
elif codon_txt[r] == ("UGU" or "UGC"):
translated_amino_acid.append(amino_acid[4])
r += 1
elif codon_txt[r] == "UGG":
translated_amino_acid.append(amino_acid[17])
r += 1
elif codon_txt[r] == (("CCU" or "CCC") or ("CCA" or "CCG")):
translated_amino_acid.append(amino_acid[14])
r += 1
elif codon_txt[r] == ("CAU" or "CAC"):
translated_amino_acid.append(amino_acid[8])
r += 1
elif codon_txt[r] == ("CAA" or "CUG"):
translated_amino_acid.append(amino_acid[6])
r += 1
elif codon_txt[r] == ((("CGU" or "CGC") or ("CGA" or "CGG")) or ("AGA" or "AGG")):
translated_amino_acid.append(amino_acid[1])
r += 1
elif codon_txt[r] == (("AUU" or "AUC") or "AUA"):
translated_amino_acid.append(amino_acid[9])
r += 1
elif codon_txt[r] == (("ACU" or "ACC") or ("ACA" or "ACG")):
translated_amino_acid.append(amino_acid[16])
r += 1
elif codon_txt[r] == ("AAU" or "AAC"):
translated_amino_acid.append(amino_acid[2])
r += 1
elif codon_txt[r] == ("AAA" or "AAG"):
translated_amino_acid.append(amino_acid[11])
r += 1
elif codon_txt[r] == (("GUU" or "GUC") or ("GUA" or "GUG")):
translated_amino_acid.append(amino_acid[19])
r += 1
elif codon_txt[r] == (("GCU" or "GCC") or ("GCA" or "GCG")):
translated_amino_acid.append(amino_acid[0])
r += 1
elif codon_txt[r] == ("GAU" or "GAC"):
translated_amino_acid.append(amino_acid[3])
r += 1
elif codon_txt[r] == ("GAA" or "GAG"):
translated_amino_acid.append(amino_acid[5])
r += 1
elif codon_txt[r] == (("GGU" or "GGC") or ("GGA" or "GGG")):
translated_amino_acid.append(amino_acid[7])
r += 1
elif codon_txt[r] == (("UAG" or "UAA") or "UGA"):
translated_amino_acid.append("Stop")
r += 1
print("Amino acid sequence: " + " ".join(translated_amino_acid))
| stop_codon = ['UAA', 'UAG', 'UGA']
amino_acid = ['Ala', 'Arg', 'Asn', 'Asp', 'Cys', 'Glu', 'Gln', 'Gly', 'His', 'Ile', 'Leu', 'Lys', 'Met', 'Phe', 'Pro', 'Ser', 'Thr', 'Trp', 'Tyr', 'Val']
codon_u = ['UUU', 'UUC', 'UUA', 'UUG', 'UCU', 'UCC', 'UCA', 'UCG', 'UAU', 'UAC', 'UAA', 'UAG', 'UGU', 'UGC', 'UGA', 'UGG']
codon_c = ['CUU', 'CUC', 'CUA', 'CUG', 'CCU', 'CCC', 'CCA', 'CCG', 'CAU', 'CAC', 'CAA', 'CAG', 'CGU', 'CGC', 'CGA', 'CGG']
codon_a = ['AUU', 'AUC', 'AUA', 'AUG', 'ACU', 'ACC', 'ACA', 'ACG', 'AAU', 'AAC', 'AAA', 'AAG', 'AGU', 'AGC', 'AGA', 'AGG']
codon_g = ['GUU', 'GUC', 'GUA', 'GUG', 'GCU', 'GCC', 'GCA', 'GCG', 'GAU', 'GAC', 'GAA', 'GAG', 'GGU', 'GGC', 'GGA', 'GGG']
translated_amino_acid = []
codon_in = input('Enter mRNA Codon: ')
codon_txt = [codon_in[i:i + 3] for i in range(0, len(codon_in), 3)]
for r in range(0, len(codon_txt)):
if codon_txt[r] == 'AUG':
translated_amino_acid.append(amino_acid[12])
r += 1
elif codon_txt[r] == ('UUU' or 'UUC'):
translated_amino_acid.append(amino_acid[13])
r += 1
elif codon_txt[r] == ((('UUA' or 'UUG') or ('CUU' or 'CUA')) or ('CUG' or 'CUC')):
translated_amino_acid.append(amino_acid[10])
r += 1
elif codon_txt[r] == ((('UCU' or 'UCA') or ('UCC' or 'UCG')) or ('AGU' or 'AGC')):
translated_amino_acid.append(amino_acid[15])
r += 1
elif codon_txt[r] == ('UAU' or 'UAC'):
translated_amino_acid.append(amino_acid[18])
r += 1
elif codon_txt[r] == ('UGU' or 'UGC'):
translated_amino_acid.append(amino_acid[4])
r += 1
elif codon_txt[r] == 'UGG':
translated_amino_acid.append(amino_acid[17])
r += 1
elif codon_txt[r] == (('CCU' or 'CCC') or ('CCA' or 'CCG')):
translated_amino_acid.append(amino_acid[14])
r += 1
elif codon_txt[r] == ('CAU' or 'CAC'):
translated_amino_acid.append(amino_acid[8])
r += 1
elif codon_txt[r] == ('CAA' or 'CUG'):
translated_amino_acid.append(amino_acid[6])
r += 1
elif codon_txt[r] == ((('CGU' or 'CGC') or ('CGA' or 'CGG')) or ('AGA' or 'AGG')):
translated_amino_acid.append(amino_acid[1])
r += 1
elif codon_txt[r] == (('AUU' or 'AUC') or 'AUA'):
translated_amino_acid.append(amino_acid[9])
r += 1
elif codon_txt[r] == (('ACU' or 'ACC') or ('ACA' or 'ACG')):
translated_amino_acid.append(amino_acid[16])
r += 1
elif codon_txt[r] == ('AAU' or 'AAC'):
translated_amino_acid.append(amino_acid[2])
r += 1
elif codon_txt[r] == ('AAA' or 'AAG'):
translated_amino_acid.append(amino_acid[11])
r += 1
elif codon_txt[r] == (('GUU' or 'GUC') or ('GUA' or 'GUG')):
translated_amino_acid.append(amino_acid[19])
r += 1
elif codon_txt[r] == (('GCU' or 'GCC') or ('GCA' or 'GCG')):
translated_amino_acid.append(amino_acid[0])
r += 1
elif codon_txt[r] == ('GAU' or 'GAC'):
translated_amino_acid.append(amino_acid[3])
r += 1
elif codon_txt[r] == ('GAA' or 'GAG'):
translated_amino_acid.append(amino_acid[5])
r += 1
elif codon_txt[r] == (('GGU' or 'GGC') or ('GGA' or 'GGG')):
translated_amino_acid.append(amino_acid[7])
r += 1
elif codon_txt[r] == (('UAG' or 'UAA') or 'UGA'):
translated_amino_acid.append('Stop')
r += 1
print('Amino acid sequence: ' + ' '.join(translated_amino_acid)) |
class Node(object):
def __init__(self, val, parent=None):
self.val = val
self.leftChild = None
self.rightChild = None
self.parent = parent
def getLeftChild(self):
return self.leftChild
def getRightChild(self):
return self.rightChild
def getParent(self):
return self.parent
def isRoot(self):
return self.parent != None
def hasLeftChild(self):
return self.leftChild != None
def hasRightChild(self):
return self.rightChild != None
def hasBothChildren(self):
return self.hasLeftChild() and self.hasRightChild()
def hasOneChild(self):
return self.hasLeftChild() or self.hasRightChild()
class BinarySearchTree(object):
def __init__(self):
self.size = 0
self.root = None
def insert(self, val):
if not self.root:
self.root = Node(val)
else:
temp = self.root
done = False
while not done:
if val < temp.val:
if temp.hasLeftChild():
temp = temp.getLeftChild()
else:
temp.leftChild = Node(val, temp)
done = True
else:
if temp.hasRightChild():
temp = temp.getRightChild()
else:
temp.rightChild = Node(val, temp)
done = True
self.size += 1
def length(self):
return self.size
def inorder(self, root):
if root:
self.inorder(root.leftChild)
print(root.val, end=" ")
self.inorder(root.rightChild)
def get(self, val):
if not self.root:
return None
temp = self.root
while True:
if temp.val == val:
return temp
elif val < temp.val:
if temp.hasLeftChild():
temp = temp.leftChild
else:
return None
else:
if temp.hasRightChild():
temp = temp.rightChild
else:
return None
def findSuccessor(self, node):
current = node
while current.hasLeftChild():
current = current.leftChild
return current
def delete(self, val):
if not self.root:
print("Empty tree.")
return
if self.get(val) == None:
print("No such node.")
return
temp = self.get(val)
if self.length == 1 and temp == self.root:
self.root = None
return
x = temp.parent
if not temp.hasOneChild():
print("Inside no child case.")
if x.leftChild == temp:
# print("No child and left child of parent.")
x.leftChild = None
else:
x.rightChild = None
elif not temp.hasBothChildren():
print("Inside one child case.")
if temp.hasLeftChild():
if x.leftChild == temp:
x.leftChild = temp.leftChild
else:
x.rightChild = temp.leftChild
temp.leftChild.parent = x
else:
if x.leftChild == temp:
x.leftChild = temp.rightChild
else:
x.rightChild = temp.rightChild
temp.rightChild.parent = x
else:
print("Inside both child case.")
successor = self.findSuccessor(temp.rightChild)
if successor:
print("Successor:", successor.val)
else:
print("No successor")
self.delete(successor.val)
temp.val = successor.val
""" succ_parent = successor.parent
if succ_parent.leftChild == successor:
succ_parent.leftChild = successor.rightChild
else:
succ_parent.rightChild = successor.rightChild
if x.leftChild == temp:
x.leftChild = successor
else:
x.rightChild = successor
successor.leftChild = temp.leftChild
successor.rightChild = temp.rightChild """
if __name__ == "__main__":
b = BinarySearchTree()
b.insert(25)
b.insert(15)
b.insert(8)
b.insert(20)
b.insert(17)
b.insert(16)
b.insert(18)
b.insert(40)
b.insert(35)
b.insert(46)
b.insert(42)
b.insert(50)
b.inorder(b.root)
print("Length:", b.length())
print()
b.delete(17)
b.inorder(b.root)
| class Node(object):
def __init__(self, val, parent=None):
self.val = val
self.leftChild = None
self.rightChild = None
self.parent = parent
def get_left_child(self):
return self.leftChild
def get_right_child(self):
return self.rightChild
def get_parent(self):
return self.parent
def is_root(self):
return self.parent != None
def has_left_child(self):
return self.leftChild != None
def has_right_child(self):
return self.rightChild != None
def has_both_children(self):
return self.hasLeftChild() and self.hasRightChild()
def has_one_child(self):
return self.hasLeftChild() or self.hasRightChild()
class Binarysearchtree(object):
def __init__(self):
self.size = 0
self.root = None
def insert(self, val):
if not self.root:
self.root = node(val)
else:
temp = self.root
done = False
while not done:
if val < temp.val:
if temp.hasLeftChild():
temp = temp.getLeftChild()
else:
temp.leftChild = node(val, temp)
done = True
elif temp.hasRightChild():
temp = temp.getRightChild()
else:
temp.rightChild = node(val, temp)
done = True
self.size += 1
def length(self):
return self.size
def inorder(self, root):
if root:
self.inorder(root.leftChild)
print(root.val, end=' ')
self.inorder(root.rightChild)
def get(self, val):
if not self.root:
return None
temp = self.root
while True:
if temp.val == val:
return temp
elif val < temp.val:
if temp.hasLeftChild():
temp = temp.leftChild
else:
return None
elif temp.hasRightChild():
temp = temp.rightChild
else:
return None
def find_successor(self, node):
current = node
while current.hasLeftChild():
current = current.leftChild
return current
def delete(self, val):
if not self.root:
print('Empty tree.')
return
if self.get(val) == None:
print('No such node.')
return
temp = self.get(val)
if self.length == 1 and temp == self.root:
self.root = None
return
x = temp.parent
if not temp.hasOneChild():
print('Inside no child case.')
if x.leftChild == temp:
x.leftChild = None
else:
x.rightChild = None
elif not temp.hasBothChildren():
print('Inside one child case.')
if temp.hasLeftChild():
if x.leftChild == temp:
x.leftChild = temp.leftChild
else:
x.rightChild = temp.leftChild
temp.leftChild.parent = x
else:
if x.leftChild == temp:
x.leftChild = temp.rightChild
else:
x.rightChild = temp.rightChild
temp.rightChild.parent = x
else:
print('Inside both child case.')
successor = self.findSuccessor(temp.rightChild)
if successor:
print('Successor:', successor.val)
else:
print('No successor')
self.delete(successor.val)
temp.val = successor.val
' succ_parent = successor.parent\n if succ_parent.leftChild == successor:\n succ_parent.leftChild = successor.rightChild\n else:\n succ_parent.rightChild = successor.rightChild\n \n if x.leftChild == temp:\n x.leftChild = successor\n else:\n x.rightChild = successor\n\n successor.leftChild = temp.leftChild\n successor.rightChild = temp.rightChild '
if __name__ == '__main__':
b = binary_search_tree()
b.insert(25)
b.insert(15)
b.insert(8)
b.insert(20)
b.insert(17)
b.insert(16)
b.insert(18)
b.insert(40)
b.insert(35)
b.insert(46)
b.insert(42)
b.insert(50)
b.inorder(b.root)
print('Length:', b.length())
print()
b.delete(17)
b.inorder(b.root) |
def isMAC48Address(inputString):
str_split = inputString.split("-")
count = 0
if len(inputString) != 17:
return False
if len(str_split) != 6:
return False
for i in range(0, 6):
if str_split[i] == "":
return False
if re.search("[a-zG-Z]", str_split[i]):
count += 1
if count > 0:
return False
return True
| def is_mac48_address(inputString):
str_split = inputString.split('-')
count = 0
if len(inputString) != 17:
return False
if len(str_split) != 6:
return False
for i in range(0, 6):
if str_split[i] == '':
return False
if re.search('[a-zG-Z]', str_split[i]):
count += 1
if count > 0:
return False
return True |
"""
Consider an array arr of distinct numbers sorted in increasing order.
Given that this array has been rotated (clockwise) k number of times. Given such an array, find the value of k.
"""
def find_rotations(arr: list):
min_val = arr[0]
n = len(arr)
min_index = -1
for i in range(0, n):
if min_val > arr[i]:
min_val = arr[i]
min_index = i
return min_index
def main():
print(find_rotations([15, 18, 2, 3, 6, 12]))
print(find_rotations([1, 2, 3, 4, 5, 6]))
if __name__ == '__main__':
main()
| """
Consider an array arr of distinct numbers sorted in increasing order.
Given that this array has been rotated (clockwise) k number of times. Given such an array, find the value of k.
"""
def find_rotations(arr: list):
min_val = arr[0]
n = len(arr)
min_index = -1
for i in range(0, n):
if min_val > arr[i]:
min_val = arr[i]
min_index = i
return min_index
def main():
print(find_rotations([15, 18, 2, 3, 6, 12]))
print(find_rotations([1, 2, 3, 4, 5, 6]))
if __name__ == '__main__':
main() |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 27 11:06:10 2021
@author: q
Goal : Study Dynamic Programming Concepts for CGA Exam
Study Case : Fibonacci Numbers
- Binary Recursion
- Top-Down with Memoization
- Bottom-Up with Tabualtion
"""
def fiboRecursive(n):
""" Fibonacci numbers solved with binary recursion """
if n == 0 or n == 1:
return 1
else:
return fiboRecursive(n - 1) + fiboRecursive(n - 2)
num = 15
print(f'{num} fiboRecur number is : ', fiboRecursive(num))
def tabFibo(n):
""" Fibonacci numbers solved with tabulation """
base = [1, 1]
for i in range(2, n + 1):
base.append(base[i - 1] + base[i - 2])
return base[n]
print(f'{num} tabFibo number is : ', tabFibo(num))
def memoFib(n, memo = {}):
""" Fibonacci numbers solved with memoization using dictionary"""
if n == 0 or n == 1:
return 1
try:
return memo[n]
except KeyError:
result = memoFib(n-1, memo) + memoFib(n-2, memo)
memo[n] = result
return result
print(f'{num} memoFibo dict number is : ', memoFib(num))
def lmemoFib(n, memoize):
""" Fibonacci numbers solved with memoization using list"""
if n < 3:
return n
if memoize[n] >= 0:
return memoize[n]
else:
memoize[n] = lmemoFib(n-1, memoize) + lmemoFib(n-2, memoize)
return memoize[n]
def wrapperFib(n):
""" wrapper function for memoFib usign list """
memoize = [ -1 for x in range(n+1) ]
return lmemoFib(n, memoize)
print(f'{num} memoFibo dict number is : ', wrapperFib(num))
| """
Created on Sun Jun 27 11:06:10 2021
@author: q
Goal : Study Dynamic Programming Concepts for CGA Exam
Study Case : Fibonacci Numbers
- Binary Recursion
- Top-Down with Memoization
- Bottom-Up with Tabualtion
"""
def fibo_recursive(n):
""" Fibonacci numbers solved with binary recursion """
if n == 0 or n == 1:
return 1
else:
return fibo_recursive(n - 1) + fibo_recursive(n - 2)
num = 15
print(f'{num} fiboRecur number is : ', fibo_recursive(num))
def tab_fibo(n):
""" Fibonacci numbers solved with tabulation """
base = [1, 1]
for i in range(2, n + 1):
base.append(base[i - 1] + base[i - 2])
return base[n]
print(f'{num} tabFibo number is : ', tab_fibo(num))
def memo_fib(n, memo={}):
""" Fibonacci numbers solved with memoization using dictionary"""
if n == 0 or n == 1:
return 1
try:
return memo[n]
except KeyError:
result = memo_fib(n - 1, memo) + memo_fib(n - 2, memo)
memo[n] = result
return result
print(f'{num} memoFibo dict number is : ', memo_fib(num))
def lmemo_fib(n, memoize):
""" Fibonacci numbers solved with memoization using list"""
if n < 3:
return n
if memoize[n] >= 0:
return memoize[n]
else:
memoize[n] = lmemo_fib(n - 1, memoize) + lmemo_fib(n - 2, memoize)
return memoize[n]
def wrapper_fib(n):
""" wrapper function for memoFib usign list """
memoize = [-1 for x in range(n + 1)]
return lmemo_fib(n, memoize)
print(f'{num} memoFibo dict number is : ', wrapper_fib(num)) |
class Account:
def __init__(self, client):
self._client = client
def get_balance(self):
return self._client.get(self._client.host(), "/account/get-balance")
def topup(self, params=None, **kwargs):
return self._client.post(self._client.host(), "/account/top-up", params or kwargs)
def get_country_pricing(self, country_code):
return self._client.get(
self._client.host(), "/account/get-pricing/outbound", {"country": country_code}
)
def get_prefix_pricing(self, prefix):
return self._client.get(
self._client.host(), "/account/get-prefix-pricing/outbound", {"prefix": prefix}
)
def get_sms_pricing(self, number):
return self._client.get(
self._client.host(), "/account/get-phone-pricing/outbound/sms", {"phone": number}
)
def get_voice_pricing(self, number):
return self._client.get(
self._client.host(), "/account/get-phone-pricing/outbound/voice", {"phone": number}
)
def update_default_sms_webhook(self, params=None, **kwargs):
return self._client.post(self._client.host(), "/account/settings", params or kwargs)
def list_secrets(self, api_key):
return self._client.get(
self._client.api_host(),
f"/accounts/{api_key}/secrets",
header_auth=True,
)
def get_secret(self, api_key, secret_id):
return self._client.get(
self._client.api_host(),
f"/accounts/{api_key}/secrets/{secret_id}",
header_auth=True,
)
def create_secret(self, api_key, secret):
body = {"secret": secret}
return self._client._post_json(
self._client.api_host(), f"/accounts/{api_key}/secrets", body
)
def revoke_secret(self, api_key, secret_id):
return self._client.delete(
self._client.api_host(),
f"/accounts/{api_key}/secrets/{secret_id}",
header_auth=True,
)
| class Account:
def __init__(self, client):
self._client = client
def get_balance(self):
return self._client.get(self._client.host(), '/account/get-balance')
def topup(self, params=None, **kwargs):
return self._client.post(self._client.host(), '/account/top-up', params or kwargs)
def get_country_pricing(self, country_code):
return self._client.get(self._client.host(), '/account/get-pricing/outbound', {'country': country_code})
def get_prefix_pricing(self, prefix):
return self._client.get(self._client.host(), '/account/get-prefix-pricing/outbound', {'prefix': prefix})
def get_sms_pricing(self, number):
return self._client.get(self._client.host(), '/account/get-phone-pricing/outbound/sms', {'phone': number})
def get_voice_pricing(self, number):
return self._client.get(self._client.host(), '/account/get-phone-pricing/outbound/voice', {'phone': number})
def update_default_sms_webhook(self, params=None, **kwargs):
return self._client.post(self._client.host(), '/account/settings', params or kwargs)
def list_secrets(self, api_key):
return self._client.get(self._client.api_host(), f'/accounts/{api_key}/secrets', header_auth=True)
def get_secret(self, api_key, secret_id):
return self._client.get(self._client.api_host(), f'/accounts/{api_key}/secrets/{secret_id}', header_auth=True)
def create_secret(self, api_key, secret):
body = {'secret': secret}
return self._client._post_json(self._client.api_host(), f'/accounts/{api_key}/secrets', body)
def revoke_secret(self, api_key, secret_id):
return self._client.delete(self._client.api_host(), f'/accounts/{api_key}/secrets/{secret_id}', header_auth=True) |
#!/usr/bin/env python
# vim: set tabstop=4 shiftwidth=4 textwidth=79 cc=72,79:
"""
Original Author: Owain Jones [github.com/erinaceous] [odj@aber.ac.uk]
"""
__all__ = [
'data',
'fuzzy',
'utils',
'cmeans'
]
| """
Original Author: Owain Jones [github.com/erinaceous] [odj@aber.ac.uk]
"""
__all__ = ['data', 'fuzzy', 'utils', 'cmeans'] |
# Base architecture
alexnet = {}
alexnet['conv1'] = [64,3,11,11]
alexnet['conv2'] = [192,64,5,5]
alexnet['conv3'] = [384,192,3,3]
alexnet['conv4'] = [256,384,3,3]
alexnet['conv5'] = [256,256,3,3]
alexnet['fc'] = [100,256]
vgg8 = {}
vgg8['conv1'] = [64,3,3,3]
vgg8['conv2'] = [128,64,3,3]
vgg8['conv3'] = [256,128,3,3]
vgg8['conv4'] = [512,256,3,3]
vgg8['conv5'] = [512,512,3,3]
vgg8['fc'] = [100,512]
vgg11 = {}
vgg11['conv1'] = [64,3,3,3]
vgg11['conv2'] = [128,64,3,3]
vgg11['conv3'] = [256,128,3,3]
vgg11['conv4'] = [256,256,3,3]
vgg11['conv5'] = [512,256,3,3]
vgg11['conv6'] = [512,512,3,3]
vgg11['conv7'] = [512,512,3,3]
vgg11['conv8'] = [512,512,3,3]
vgg11['fc'] = [100,512]
vgg13 = {}
vgg13['conv1'] = [64,3,3,3]
vgg13['conv2'] = [64,64,3,3]
vgg13['conv3'] = [128,64,3,3]
vgg13['conv4'] = [128,128,3,3]
vgg13['conv5'] = [256,128,3,3]
vgg13['conv6'] = [256,256,3,3]
vgg13['conv7'] = [512,256,3,3]
vgg13['conv8'] = [512,512,3,3]
vgg13['conv9'] = [512,512,3,3]
vgg13['conv10'] = [512,512,3,3]
vgg13['fc'] = [100,512]
resnet20 = {
'conv1':[16,3,3,3], 'conv2':[16,16,3,3], 'conv3':[16,16,3,3], 'conv4':[16,16,3,3],
'conv5':[16,16,3,3], 'conv6':[16,16,3,3], 'conv7':[16,16,3,3], 'conv8':[32,16,3,3],
'conv9':[32,32,3,3], 'conv10':[32,16,3,3], 'conv11':[32,32,3,3], 'conv12':[32,32,3,3],
'conv13':[32,32,1,1], 'conv14':[32,32,3,3], 'conv15':[64,32,3,3], 'conv16':[64,64,3,3],
'conv17':[64,32,1,1], 'conv18':[64,64,3,3], 'conv19':[64,64,3,3], 'conv20':[64,64,3,3],
'conv21':[64,64,3,3], 'fc':[100,64]
}
resnet32 = {
'conv1':[16,3,3,3], 'conv2':[16,16,3,3], 'conv3':[16,16,3,3], 'conv4':[16,16,3,3],
'conv5':[16,16,3,3], 'conv6':[16,16,3,3], 'conv7':[16,16,3,3], 'conv8':[16,16,3,3],
'conv9':[16,16,3,3], 'conv10':[16,16,3,3], 'conv11':[16,16,3,3], 'conv12':[32,16,3,3],
'conv13':[32,32,3,3], 'conv14':[32,16,1,1], 'conv15':[32,32,3,3], 'conv16':[32,32,3,3],
'conv17':[32,32,3,3], 'conv18':[32,32,3,3], 'conv19':[32,32,3,3], 'conv20':[32,32,3,3],
'conv21':[32,32,3,3], 'conv22':[32,32,3,3], 'conv23':[64,32,3,3], 'conv24':[64,64,3,3],
'conv25':[64,32,1,1], 'conv26':[64,64,3,3], 'conv27':[64,64,3,3], 'conv28':[64,64,3,3],
'conv29':[64,64,3,3], 'conv30':[64,64,3,3], 'conv31':[64,64,3,3], 'conv32':[64,64,3,3],
'conv33':[64,64,3,3], 'fc':[100,64]
}
resnet32_bt = {
'conv1':[16,3,3,3],
'conv2':[16,16,1,1], 'conv3':[16,16,3,3], 'conv4':[64,16,1,1], 'conv5':[64,16,1,1],
'conv6':[16,64,1,1], 'conv7':[16,16,3,3], 'conv8':[64,16,1,1],
'conv9':[16,64,1,1], 'conv10':[16,16,3,3], 'conv11':[64,16,1,1],
'conv12':[16,64,1,1], 'conv13':[16,16,3,3], 'conv14':[64,16,1,1],
'conv15':[16,64,1,1], 'conv16':[16,16,3,3], 'conv17':[64,16,1,1],
'conv18':[32,64,1,1], 'conv19':[32,32,3,3], 'conv20':[128,32,1,1], 'conv21':[128,64,1,1],
'conv22':[32,128,1,1], 'conv23':[32,32,3,3], 'conv24':[128,32,1,1],
'conv25':[32,128,1,1], 'conv26':[32,32,3,3], 'conv27':[128,32,1,1],
'conv28':[32,128,1,1], 'conv29':[32,32,3,3], 'conv30':[128,32,1,1],
'conv31':[32,128,1,1], 'conv32':[32,32,3,3], 'conv33':[128,32,1,1],
'conv34':[64,128,1,1], 'conv35':[64,64,3,3], 'conv36':[256,64,1,1], 'conv37':[256,128,1,1],
'conv38':[64,256,1,1], 'conv39':[64,64,3,3], 'conv40':[256,64,1,1],
'conv41':[64,256,1,1], 'conv42':[64,64,3,3], 'conv43':[256,64,1,1],
'conv44':[64,256,1,1], 'conv45':[64,64,3,3], 'conv46':[256,64,1,1],
'conv47':[64,256,1,1], 'conv48':[64,64,3,3], 'conv49':[256,64,1,1], 'fc':[100,256]
}
resnet50_bt = {
'conv1':[16,3,3,3],
'conv2':[16,16,1,1], 'conv3':[16,16,3,3], 'conv4':[64,16,1,1], 'conv5':[64,16,1,1],
'conv6':[16,64,1,1], 'conv7':[16,16,3,3], 'conv8':[64,16,1,1],
'conv9':[16,64,1,1], 'conv10':[16,16,3,3], 'conv11':[64,16,1,1],
'conv12':[16,64,1,1], 'conv13':[16,16,3,3], 'conv14':[64,16,1,1],
'conv15':[16,64,1,1], 'conv16':[16,16,3,3], 'conv17':[64,16,1,1],
'conv18':[16,64,1,1], 'conv19':[16,16,3,3], 'conv20':[64,16,1,1],
'conv21':[16,64,1,1], 'conv22':[16,16,3,3], 'conv23':[64,16,1,1],
'conv24':[16,64,1,1], 'conv25':[16,16,3,3], 'conv26':[64,16,1,1],
'conv27':[32,64,1,1], 'conv28':[32,32,3,3], 'conv29':[128,32,1,1], 'conv30':[128,64,1,1],
'conv31':[32,128,1,1], 'conv32':[32,32,3,3], 'conv33':[128,32,1,1],
'conv34':[32,128,1,1], 'conv35':[32,32,3,3], 'conv36':[128,32,1,1],
'conv37':[32,128,1,1], 'conv38':[32,32,3,3], 'conv39':[128,32,1,1],
'conv40':[32,128,1,1], 'conv41':[32,32,3,3], 'conv42':[128,32,1,1],
'conv43':[32,128,1,1], 'conv44':[32,32,3,3], 'conv45':[128,32,1,1],
'conv46':[32,128,1,1], 'conv47':[32,32,3,3], 'conv48':[128,32,1,1],
'conv49':[32,128,1,1], 'conv50':[32,32,3,3], 'conv51':[128,32,1,1],
'conv52':[64,128,1,1], 'conv53':[64,64,3,3], 'conv54':[256,64,1,1], 'conv55':[256,128,1,1],
'conv56':[64,256,1,1], 'conv57':[64,64,3,3], 'conv58':[256,64,1,1],
'conv59':[64,256,1,1], 'conv60':[64,64,3,3], 'conv61':[256,64,1,1],
'conv62':[64,256,1,1], 'conv63':[64,64,3,3], 'conv64':[256,64,1,1],
'conv65':[64,256,1,1], 'conv66':[64,64,3,3], 'conv67':[256,64,1,1],
'conv68':[64,256,1,1], 'conv69':[64,64,3,3], 'conv70':[256,64,1,1],
'conv71':[64,256,1,1], 'conv72':[64,64,3,3], 'conv73':[256,64,1,1],
'conv74':[64,256,1,1], 'conv75':[64,64,3,3], 'conv76':[256,64,1,1], 'fc':[100,256]
}
############## ImageNet ###############
resnet50 = {
'conv1':[64,3,7,7],
'conv2':[64,64,1,1], 'conv3':[64,64,3,3], 'conv4':[256,64,1,1], 'conv5':[256,64,1,1],
'conv6':[64,256,1,1], 'conv7':[64,64,3,3], 'conv8':[256,64,1,1],
'conv9':[64,256,1,1], 'conv10':[64,64,3,3], 'conv11':[256,64,1,1],
'conv12':[128,256,1,1], 'conv13':[128,128,3,3], 'conv14':[512,128,1,1], 'conv15':[512,256,1,1],
'conv16':[128,512,1,1], 'conv17':[128,128,3,3], 'conv18':[512,128,1,1],
'conv19':[128,512,1,1], 'conv20':[128,128,3,3], 'conv21':[512,128,1,1],
'conv22':[128,512,1,1], 'conv23':[128,128,3,3], 'conv24':[512,128,1,1],
'conv25':[256,512,1,1], 'conv26':[256,256,3,3], 'conv27':[1024,256,1,1], 'conv28':[1024,512,1,1],
'conv29':[256,1024,1,1], 'conv30':[256,256,3,3], 'conv31':[1024,256,1,1],
'conv32':[256,1024,1,1], 'conv33':[256,256,3,3], 'conv34':[1024,256,1,1],
'conv35':[256,1024,1,1], 'conv36':[256,256,3,3], 'conv37':[1024,256,1,1],
'conv38':[256,1024,1,1], 'conv39':[256,256,3,3], 'conv40':[1024,256,1,1],
'conv41':[256,1024,1,1], 'conv42':[256,256,3,3], 'conv43':[1024,256,1,1],
'conv44':[512,1024,1,1], 'conv45':[512,512,3,3], 'conv46':[2048,512,1,1], 'conv47':[2048,1024,1,1],
'conv48':[512,2048,1,1], 'conv49':[512,512,3,3], 'conv50':[2048,512,1,1],
'conv51':[512,2048,1,1], 'conv52':[512,512,3,3], 'conv53':[2048,512,1,1],
'fc':[1000,2048]
}
mobilenet = {
'conv1':[32, 3, 3, 3], 'conv2':[32, 1, 3, 3], 'conv3':[64, 32, 1, 1],
'conv4':[64, 1, 3, 3], 'conv5':[128, 64, 1, 1], 'conv6':[128, 1, 3, 3],
'conv7':[128, 128, 1, 1], 'conv8':[128, 1, 3, 3], 'conv9':[256, 128, 1, 1],
'conv10':[256, 1, 3, 3], 'conv11':[256, 256, 1, 1], 'conv12':[256, 1, 3, 3],
'conv13':[512, 256, 1, 1], 'conv14':[512, 1, 3, 3], 'conv15':[512, 512, 1, 1],
'conv16':[512, 1, 3, 3], 'conv17':[512, 512, 1, 1], 'conv18':[512, 1, 3, 3],
'conv19':[512, 512, 1, 1], 'conv20':[512, 1, 3, 3], 'conv21':[512, 512, 1, 1],
'conv22':[512, 1, 3, 3], 'conv23':[512, 512, 1, 1], 'conv24':[512, 1, 3, 3],
'conv25':[1024, 512, 1, 1], 'conv26':[1024, 1, 3, 3], 'conv27':[1024, 1024, 1, 1],
'fc':[1000, 1024],
}
base_archs = {
'alexnet' :alexnet,
'vgg8' :vgg8,
'vgg11' :vgg11,
'vgg13' :vgg13,
'resnet20_flat' :resnet20,
'resnet32_flat' :resnet32,
'resnet32_bt_flat' :resnet32_bt,
'resnet32_bt_flat_temp' :resnet32_bt,
'resnet50_bt_flat' :resnet50_bt,
'resnet50' :resnet50,
'mobilenet' :mobilenet,
}
| alexnet = {}
alexnet['conv1'] = [64, 3, 11, 11]
alexnet['conv2'] = [192, 64, 5, 5]
alexnet['conv3'] = [384, 192, 3, 3]
alexnet['conv4'] = [256, 384, 3, 3]
alexnet['conv5'] = [256, 256, 3, 3]
alexnet['fc'] = [100, 256]
vgg8 = {}
vgg8['conv1'] = [64, 3, 3, 3]
vgg8['conv2'] = [128, 64, 3, 3]
vgg8['conv3'] = [256, 128, 3, 3]
vgg8['conv4'] = [512, 256, 3, 3]
vgg8['conv5'] = [512, 512, 3, 3]
vgg8['fc'] = [100, 512]
vgg11 = {}
vgg11['conv1'] = [64, 3, 3, 3]
vgg11['conv2'] = [128, 64, 3, 3]
vgg11['conv3'] = [256, 128, 3, 3]
vgg11['conv4'] = [256, 256, 3, 3]
vgg11['conv5'] = [512, 256, 3, 3]
vgg11['conv6'] = [512, 512, 3, 3]
vgg11['conv7'] = [512, 512, 3, 3]
vgg11['conv8'] = [512, 512, 3, 3]
vgg11['fc'] = [100, 512]
vgg13 = {}
vgg13['conv1'] = [64, 3, 3, 3]
vgg13['conv2'] = [64, 64, 3, 3]
vgg13['conv3'] = [128, 64, 3, 3]
vgg13['conv4'] = [128, 128, 3, 3]
vgg13['conv5'] = [256, 128, 3, 3]
vgg13['conv6'] = [256, 256, 3, 3]
vgg13['conv7'] = [512, 256, 3, 3]
vgg13['conv8'] = [512, 512, 3, 3]
vgg13['conv9'] = [512, 512, 3, 3]
vgg13['conv10'] = [512, 512, 3, 3]
vgg13['fc'] = [100, 512]
resnet20 = {'conv1': [16, 3, 3, 3], 'conv2': [16, 16, 3, 3], 'conv3': [16, 16, 3, 3], 'conv4': [16, 16, 3, 3], 'conv5': [16, 16, 3, 3], 'conv6': [16, 16, 3, 3], 'conv7': [16, 16, 3, 3], 'conv8': [32, 16, 3, 3], 'conv9': [32, 32, 3, 3], 'conv10': [32, 16, 3, 3], 'conv11': [32, 32, 3, 3], 'conv12': [32, 32, 3, 3], 'conv13': [32, 32, 1, 1], 'conv14': [32, 32, 3, 3], 'conv15': [64, 32, 3, 3], 'conv16': [64, 64, 3, 3], 'conv17': [64, 32, 1, 1], 'conv18': [64, 64, 3, 3], 'conv19': [64, 64, 3, 3], 'conv20': [64, 64, 3, 3], 'conv21': [64, 64, 3, 3], 'fc': [100, 64]}
resnet32 = {'conv1': [16, 3, 3, 3], 'conv2': [16, 16, 3, 3], 'conv3': [16, 16, 3, 3], 'conv4': [16, 16, 3, 3], 'conv5': [16, 16, 3, 3], 'conv6': [16, 16, 3, 3], 'conv7': [16, 16, 3, 3], 'conv8': [16, 16, 3, 3], 'conv9': [16, 16, 3, 3], 'conv10': [16, 16, 3, 3], 'conv11': [16, 16, 3, 3], 'conv12': [32, 16, 3, 3], 'conv13': [32, 32, 3, 3], 'conv14': [32, 16, 1, 1], 'conv15': [32, 32, 3, 3], 'conv16': [32, 32, 3, 3], 'conv17': [32, 32, 3, 3], 'conv18': [32, 32, 3, 3], 'conv19': [32, 32, 3, 3], 'conv20': [32, 32, 3, 3], 'conv21': [32, 32, 3, 3], 'conv22': [32, 32, 3, 3], 'conv23': [64, 32, 3, 3], 'conv24': [64, 64, 3, 3], 'conv25': [64, 32, 1, 1], 'conv26': [64, 64, 3, 3], 'conv27': [64, 64, 3, 3], 'conv28': [64, 64, 3, 3], 'conv29': [64, 64, 3, 3], 'conv30': [64, 64, 3, 3], 'conv31': [64, 64, 3, 3], 'conv32': [64, 64, 3, 3], 'conv33': [64, 64, 3, 3], 'fc': [100, 64]}
resnet32_bt = {'conv1': [16, 3, 3, 3], 'conv2': [16, 16, 1, 1], 'conv3': [16, 16, 3, 3], 'conv4': [64, 16, 1, 1], 'conv5': [64, 16, 1, 1], 'conv6': [16, 64, 1, 1], 'conv7': [16, 16, 3, 3], 'conv8': [64, 16, 1, 1], 'conv9': [16, 64, 1, 1], 'conv10': [16, 16, 3, 3], 'conv11': [64, 16, 1, 1], 'conv12': [16, 64, 1, 1], 'conv13': [16, 16, 3, 3], 'conv14': [64, 16, 1, 1], 'conv15': [16, 64, 1, 1], 'conv16': [16, 16, 3, 3], 'conv17': [64, 16, 1, 1], 'conv18': [32, 64, 1, 1], 'conv19': [32, 32, 3, 3], 'conv20': [128, 32, 1, 1], 'conv21': [128, 64, 1, 1], 'conv22': [32, 128, 1, 1], 'conv23': [32, 32, 3, 3], 'conv24': [128, 32, 1, 1], 'conv25': [32, 128, 1, 1], 'conv26': [32, 32, 3, 3], 'conv27': [128, 32, 1, 1], 'conv28': [32, 128, 1, 1], 'conv29': [32, 32, 3, 3], 'conv30': [128, 32, 1, 1], 'conv31': [32, 128, 1, 1], 'conv32': [32, 32, 3, 3], 'conv33': [128, 32, 1, 1], 'conv34': [64, 128, 1, 1], 'conv35': [64, 64, 3, 3], 'conv36': [256, 64, 1, 1], 'conv37': [256, 128, 1, 1], 'conv38': [64, 256, 1, 1], 'conv39': [64, 64, 3, 3], 'conv40': [256, 64, 1, 1], 'conv41': [64, 256, 1, 1], 'conv42': [64, 64, 3, 3], 'conv43': [256, 64, 1, 1], 'conv44': [64, 256, 1, 1], 'conv45': [64, 64, 3, 3], 'conv46': [256, 64, 1, 1], 'conv47': [64, 256, 1, 1], 'conv48': [64, 64, 3, 3], 'conv49': [256, 64, 1, 1], 'fc': [100, 256]}
resnet50_bt = {'conv1': [16, 3, 3, 3], 'conv2': [16, 16, 1, 1], 'conv3': [16, 16, 3, 3], 'conv4': [64, 16, 1, 1], 'conv5': [64, 16, 1, 1], 'conv6': [16, 64, 1, 1], 'conv7': [16, 16, 3, 3], 'conv8': [64, 16, 1, 1], 'conv9': [16, 64, 1, 1], 'conv10': [16, 16, 3, 3], 'conv11': [64, 16, 1, 1], 'conv12': [16, 64, 1, 1], 'conv13': [16, 16, 3, 3], 'conv14': [64, 16, 1, 1], 'conv15': [16, 64, 1, 1], 'conv16': [16, 16, 3, 3], 'conv17': [64, 16, 1, 1], 'conv18': [16, 64, 1, 1], 'conv19': [16, 16, 3, 3], 'conv20': [64, 16, 1, 1], 'conv21': [16, 64, 1, 1], 'conv22': [16, 16, 3, 3], 'conv23': [64, 16, 1, 1], 'conv24': [16, 64, 1, 1], 'conv25': [16, 16, 3, 3], 'conv26': [64, 16, 1, 1], 'conv27': [32, 64, 1, 1], 'conv28': [32, 32, 3, 3], 'conv29': [128, 32, 1, 1], 'conv30': [128, 64, 1, 1], 'conv31': [32, 128, 1, 1], 'conv32': [32, 32, 3, 3], 'conv33': [128, 32, 1, 1], 'conv34': [32, 128, 1, 1], 'conv35': [32, 32, 3, 3], 'conv36': [128, 32, 1, 1], 'conv37': [32, 128, 1, 1], 'conv38': [32, 32, 3, 3], 'conv39': [128, 32, 1, 1], 'conv40': [32, 128, 1, 1], 'conv41': [32, 32, 3, 3], 'conv42': [128, 32, 1, 1], 'conv43': [32, 128, 1, 1], 'conv44': [32, 32, 3, 3], 'conv45': [128, 32, 1, 1], 'conv46': [32, 128, 1, 1], 'conv47': [32, 32, 3, 3], 'conv48': [128, 32, 1, 1], 'conv49': [32, 128, 1, 1], 'conv50': [32, 32, 3, 3], 'conv51': [128, 32, 1, 1], 'conv52': [64, 128, 1, 1], 'conv53': [64, 64, 3, 3], 'conv54': [256, 64, 1, 1], 'conv55': [256, 128, 1, 1], 'conv56': [64, 256, 1, 1], 'conv57': [64, 64, 3, 3], 'conv58': [256, 64, 1, 1], 'conv59': [64, 256, 1, 1], 'conv60': [64, 64, 3, 3], 'conv61': [256, 64, 1, 1], 'conv62': [64, 256, 1, 1], 'conv63': [64, 64, 3, 3], 'conv64': [256, 64, 1, 1], 'conv65': [64, 256, 1, 1], 'conv66': [64, 64, 3, 3], 'conv67': [256, 64, 1, 1], 'conv68': [64, 256, 1, 1], 'conv69': [64, 64, 3, 3], 'conv70': [256, 64, 1, 1], 'conv71': [64, 256, 1, 1], 'conv72': [64, 64, 3, 3], 'conv73': [256, 64, 1, 1], 'conv74': [64, 256, 1, 1], 'conv75': [64, 64, 3, 3], 'conv76': [256, 64, 1, 1], 'fc': [100, 256]}
resnet50 = {'conv1': [64, 3, 7, 7], 'conv2': [64, 64, 1, 1], 'conv3': [64, 64, 3, 3], 'conv4': [256, 64, 1, 1], 'conv5': [256, 64, 1, 1], 'conv6': [64, 256, 1, 1], 'conv7': [64, 64, 3, 3], 'conv8': [256, 64, 1, 1], 'conv9': [64, 256, 1, 1], 'conv10': [64, 64, 3, 3], 'conv11': [256, 64, 1, 1], 'conv12': [128, 256, 1, 1], 'conv13': [128, 128, 3, 3], 'conv14': [512, 128, 1, 1], 'conv15': [512, 256, 1, 1], 'conv16': [128, 512, 1, 1], 'conv17': [128, 128, 3, 3], 'conv18': [512, 128, 1, 1], 'conv19': [128, 512, 1, 1], 'conv20': [128, 128, 3, 3], 'conv21': [512, 128, 1, 1], 'conv22': [128, 512, 1, 1], 'conv23': [128, 128, 3, 3], 'conv24': [512, 128, 1, 1], 'conv25': [256, 512, 1, 1], 'conv26': [256, 256, 3, 3], 'conv27': [1024, 256, 1, 1], 'conv28': [1024, 512, 1, 1], 'conv29': [256, 1024, 1, 1], 'conv30': [256, 256, 3, 3], 'conv31': [1024, 256, 1, 1], 'conv32': [256, 1024, 1, 1], 'conv33': [256, 256, 3, 3], 'conv34': [1024, 256, 1, 1], 'conv35': [256, 1024, 1, 1], 'conv36': [256, 256, 3, 3], 'conv37': [1024, 256, 1, 1], 'conv38': [256, 1024, 1, 1], 'conv39': [256, 256, 3, 3], 'conv40': [1024, 256, 1, 1], 'conv41': [256, 1024, 1, 1], 'conv42': [256, 256, 3, 3], 'conv43': [1024, 256, 1, 1], 'conv44': [512, 1024, 1, 1], 'conv45': [512, 512, 3, 3], 'conv46': [2048, 512, 1, 1], 'conv47': [2048, 1024, 1, 1], 'conv48': [512, 2048, 1, 1], 'conv49': [512, 512, 3, 3], 'conv50': [2048, 512, 1, 1], 'conv51': [512, 2048, 1, 1], 'conv52': [512, 512, 3, 3], 'conv53': [2048, 512, 1, 1], 'fc': [1000, 2048]}
mobilenet = {'conv1': [32, 3, 3, 3], 'conv2': [32, 1, 3, 3], 'conv3': [64, 32, 1, 1], 'conv4': [64, 1, 3, 3], 'conv5': [128, 64, 1, 1], 'conv6': [128, 1, 3, 3], 'conv7': [128, 128, 1, 1], 'conv8': [128, 1, 3, 3], 'conv9': [256, 128, 1, 1], 'conv10': [256, 1, 3, 3], 'conv11': [256, 256, 1, 1], 'conv12': [256, 1, 3, 3], 'conv13': [512, 256, 1, 1], 'conv14': [512, 1, 3, 3], 'conv15': [512, 512, 1, 1], 'conv16': [512, 1, 3, 3], 'conv17': [512, 512, 1, 1], 'conv18': [512, 1, 3, 3], 'conv19': [512, 512, 1, 1], 'conv20': [512, 1, 3, 3], 'conv21': [512, 512, 1, 1], 'conv22': [512, 1, 3, 3], 'conv23': [512, 512, 1, 1], 'conv24': [512, 1, 3, 3], 'conv25': [1024, 512, 1, 1], 'conv26': [1024, 1, 3, 3], 'conv27': [1024, 1024, 1, 1], 'fc': [1000, 1024]}
base_archs = {'alexnet': alexnet, 'vgg8': vgg8, 'vgg11': vgg11, 'vgg13': vgg13, 'resnet20_flat': resnet20, 'resnet32_flat': resnet32, 'resnet32_bt_flat': resnet32_bt, 'resnet32_bt_flat_temp': resnet32_bt, 'resnet50_bt_flat': resnet50_bt, 'resnet50': resnet50, 'mobilenet': mobilenet} |
strN = input("Please enter a number:")
N = int(strN)
#N = 10
total = 0
for current in range(N+1):
if current % 2 == 1:
total = total + current
print("summation 1..",N," for odd numbers is",total)
| str_n = input('Please enter a number:')
n = int(strN)
total = 0
for current in range(N + 1):
if current % 2 == 1:
total = total + current
print('summation 1..', N, ' for odd numbers is', total) |
#!/usr/bin/env python3
d = ['Sunny', 'Cloudy', 'Rainy']
N = input()
i = d.index(N)
print(d[(i + 1) % 3])
| d = ['Sunny', 'Cloudy', 'Rainy']
n = input()
i = d.index(N)
print(d[(i + 1) % 3]) |
version = '2.4.0'
author = 'maximilionus'
# Variables below was deprecated in 2.2.0
# and will be removed in 3.0.0 release
__version__ = version
__author__ = author
| version = '2.4.0'
author = 'maximilionus'
__version__ = version
__author__ = author |
"""Manager service."""
class Manager:
"""Encapsulation of manager service."""
def __init__(self) -> None:
self._instance: bool = True
| """Manager service."""
class Manager:
"""Encapsulation of manager service."""
def __init__(self) -> None:
self._instance: bool = True |
#!/usr/bin/env python3
"""Infoset-NG maintenance module.
Miscellaneous functions
"""
def print_ok(message):
"""Install python module using pip3.
Args:
module: module to install
Returns:
None
"""
# Print message
print('OK - {}'.format(message))
| """Infoset-NG maintenance module.
Miscellaneous functions
"""
def print_ok(message):
"""Install python module using pip3.
Args:
module: module to install
Returns:
None
"""
print('OK - {}'.format(message)) |
class bank:
def __init__(self,d,w):
self.deposit = d
self.withdrawl = w
def amount(self):
if self.withdrawl<=self.deposit:
print("remaining balance: %d " %(self.deposit - self.withdrawl))
else:
print("insufficient balance:")
d = int(input("enter the deposit amount:"))
w = int(input("enter the withdrawl amount:"))
newbank = bank(d,w)#object
newbank.amount()
| class Bank:
def __init__(self, d, w):
self.deposit = d
self.withdrawl = w
def amount(self):
if self.withdrawl <= self.deposit:
print('remaining balance: %d ' % (self.deposit - self.withdrawl))
else:
print('insufficient balance:')
d = int(input('enter the deposit amount:'))
w = int(input('enter the withdrawl amount:'))
newbank = bank(d, w)
newbank.amount() |
class Config:
framesPerExample = 512
exampleLength = 120
batch_size = 98 | class Config:
frames_per_example = 512
example_length = 120
batch_size = 98 |
__author__ = 'sarangis'
class ModulePass:
def __init__(self):
pass
def run_on_module(self, node):
raise NotImplementedError("Derived passes class should implement run_on_module")
class FunctionPass:
def __init__(self):
pass
def run_on_function(self, node):
raise NotImplementedError("Derived passes class should implement run_on_function")
class InstVisitorPass:
def __init__(self):
pass
def visit(self, node):
name = "visit_%s" % type(node).__name__.lower()
if hasattr(self, name):
return getattr(self, name)(node)
else:
return self.generic_visit(node)
def generic_visit(self, node):
raise NotImplementedError("Generic Visitor not implemented")
def visit_module(self, node):
# Iterate through all the functions in the module
results = [self.visit_function(f) for f in node.functions]
return results
def visit_function(self, node):
# Iterate through all the basic blocks in the module
results = [self.visit_basicblock(bb) for bb in node.basic_blocks]
return results
def visit_basicblock(self, node):
# Iterate through all the instructions in the module
results = [self.visit(i) for i in node.instructions]
return results
def visit_callinstruction(self, node):
pass
def visit_terminateinstruction(self, node):
pass
def visit_returninstruction(self, node):
pass
def visit_selectinstruction(self, node):
pass
def visit_loadinstruction(self, node):
pass
def visit_storeinstruction(self, node):
pass
def visit_addinstruction(self, node):
pass
def visit_subinstruction(self, node):
pass
def visit_mulinstruction(self, node):
pass
def visit_divinstruction(self, node):
pass
def visit_faddinstruction(self, node):
pass
def visit_fsubinstruction(self, node):
pass
def visit_fmulinstruction(self, node):
pass
def visit_fdivinstruction(self, node):
pass
def visit_allocainstruction(self, node):
pass
def visit_phiinstruction(self, node):
pass
def visit_branchinstruction(self, node):
pass
def visit_conditionalbranchinstruction(self, node):
pass
def visit_indirectbranchinstruction(self, node):
pass
def visit_switchinstruction(self, node):
pass
def visit_selectinstruction(self, node):
pass
def visit_icmpinstruction(self, node):
pass
def visit_fcmpinstruction(self, node):
pass
def visit_castinstruction(self, node):
pass
def visit_gepinstruction(self, node):
pass
def visit_extractelementinstruction(self, node):
pass
def visit_insertelementinstruction(self, node):
pass
def visit_shiftleftinstruction(self, node):
pass
def visit_logicalshiftrightinstruction(self, node):
pass
def visit_arithmeticshiftrightinstruction(self, node):
pass
def visit_andinstruction(self, node):
pass
def visit_orinstruction(self, node):
pass
def visit_xorinstruction(self, node):
pass | __author__ = 'sarangis'
class Modulepass:
def __init__(self):
pass
def run_on_module(self, node):
raise not_implemented_error('Derived passes class should implement run_on_module')
class Functionpass:
def __init__(self):
pass
def run_on_function(self, node):
raise not_implemented_error('Derived passes class should implement run_on_function')
class Instvisitorpass:
def __init__(self):
pass
def visit(self, node):
name = 'visit_%s' % type(node).__name__.lower()
if hasattr(self, name):
return getattr(self, name)(node)
else:
return self.generic_visit(node)
def generic_visit(self, node):
raise not_implemented_error('Generic Visitor not implemented')
def visit_module(self, node):
results = [self.visit_function(f) for f in node.functions]
return results
def visit_function(self, node):
results = [self.visit_basicblock(bb) for bb in node.basic_blocks]
return results
def visit_basicblock(self, node):
results = [self.visit(i) for i in node.instructions]
return results
def visit_callinstruction(self, node):
pass
def visit_terminateinstruction(self, node):
pass
def visit_returninstruction(self, node):
pass
def visit_selectinstruction(self, node):
pass
def visit_loadinstruction(self, node):
pass
def visit_storeinstruction(self, node):
pass
def visit_addinstruction(self, node):
pass
def visit_subinstruction(self, node):
pass
def visit_mulinstruction(self, node):
pass
def visit_divinstruction(self, node):
pass
def visit_faddinstruction(self, node):
pass
def visit_fsubinstruction(self, node):
pass
def visit_fmulinstruction(self, node):
pass
def visit_fdivinstruction(self, node):
pass
def visit_allocainstruction(self, node):
pass
def visit_phiinstruction(self, node):
pass
def visit_branchinstruction(self, node):
pass
def visit_conditionalbranchinstruction(self, node):
pass
def visit_indirectbranchinstruction(self, node):
pass
def visit_switchinstruction(self, node):
pass
def visit_selectinstruction(self, node):
pass
def visit_icmpinstruction(self, node):
pass
def visit_fcmpinstruction(self, node):
pass
def visit_castinstruction(self, node):
pass
def visit_gepinstruction(self, node):
pass
def visit_extractelementinstruction(self, node):
pass
def visit_insertelementinstruction(self, node):
pass
def visit_shiftleftinstruction(self, node):
pass
def visit_logicalshiftrightinstruction(self, node):
pass
def visit_arithmeticshiftrightinstruction(self, node):
pass
def visit_andinstruction(self, node):
pass
def visit_orinstruction(self, node):
pass
def visit_xorinstruction(self, node):
pass |
github_config = {
"base_url": "",
"org": "",
"access_token": ""
} | github_config = {'base_url': '', 'org': '', 'access_token': ''} |
"""Online Stock Span"""
class StockSpanner:
"""https://leetcode.com/problems/online-stock-span/"""
def __init__(self):
# monotone decreasing stack
self.min_stack = []
def next(self, price: int) -> int:
weight = 1
while self.min_stack and self.min_stack[-1][0] <= price:
weight += self.min_stack.pop()[1]
self.min_stack.append((price, weight))
return weight
if __name__ == "__main__":
spanner = StockSpanner()
for value in [100, 80, 60, 70, 60, 75, 85]:
print(spanner.next(value))
| """Online Stock Span"""
class Stockspanner:
"""https://leetcode.com/problems/online-stock-span/"""
def __init__(self):
self.min_stack = []
def next(self, price: int) -> int:
weight = 1
while self.min_stack and self.min_stack[-1][0] <= price:
weight += self.min_stack.pop()[1]
self.min_stack.append((price, weight))
return weight
if __name__ == '__main__':
spanner = stock_spanner()
for value in [100, 80, 60, 70, 60, 75, 85]:
print(spanner.next(value)) |
notice ="""
Font Generator Program
-----------------------------------
| Copyright 2022 by Joel C. Alcarez |
| [joelalcarez1975@gmail.com] |
|-----------------------------------|
| We make absolutely no warranty |
| of any kind, expressed or implied |
|-----------------------------------|
| Contact primary author |
| if you plan to use this |
| in a commercial product at |
| joelalcarez1975@gmail.com |
-----------------------------------
"""
def get8x8charpatterns() -> dict:#add characters as needed some ascii chars not present
return {' ':[0,0,0,0,0,0,0,0],
'0':[0x7C,0xC6,0xCE,0xDE,0xF6,0xE6,0x7C,0x00],
'1':[0x30,0x70,0x30,0x30,0x30,0x30,0xFC,0x00],
'2':[0x78,0xCC,0x0C,0x38,0x60,0xCC,0xFC,0x00],
'3':[0x78,0xCC,0x0C,0x38,0x0C,0xCC,0x78,0x00],
'4':[0x1C,0x3C,0x6C,0xCC,0xFE,0x0C,0x1E,0x00],
'5':[0xFC,0xC0,0xF8,0x0C,0x0C,0xCC,0x78,0x00],
'6':[0x38,0x60,0xC0,0xF8,0xCC,0xCC,0x78,0x00],
'7':[0xFC,0xCC,0x0C,0x18,0x30,0x30,0x30,0x00],
'8':[0x78,0xCC,0xCC,0x78,0xCC,0xCC,0x78,0x00],
'9':[0x78,0xCC,0xCC,0x7C,0x0C,0x18,0x70,0x00],
'A':[0x30,0x78,0xCC,0xCC,0xFC,0xCC,0xCC,0x00],
'B':[0xFC,0x66,0x66,0x7C,0x66,0x66,0xFC,0x00],
'C':[0x3C,0x66,0xC0,0xC0,0x66,0x66,0x3C,0x00],
'D':[0xF8,0x6C,0x66,0x66,0x66,0x6C,0xF8,0x00],
'E':[0xFE,0x62,0x68,0x78,0x68,0x62,0xFE,0x00],
'F':[0xFE,0x62,0x68,0x78,0x68,0x60,0xF0,0x00],
'G':[0x3C,0x66,0xC0,0xC0,0xCE,0x66,0x3E,0x00],
'H':[0xCC,0xCC,0xCC,0xFC,0xCC,0xCC,0xCC,0x00],
'I':[0x78,0x30,0x30,0x30,0x30,0x30,0x78,0x00],
'J':[0x1E,0x0C,0x0C,0x0C,0xCC,0xCC,0x78,0x00],
'K':[0xE6,0x66,0x6C,0x78,0x6C,0x66,0xE6,0x00],
'L':[0xF0,0x60,0x60,0x60,0x62,0x66,0xFE,0x00],
'M':[0xC6,0xEE,0xFE,0xFE,0xD6,0xC6,0xC6,0x00],
'N':[0xC6,0xE6,0xF6,0xDE,0xCE,0xC6,0xC6,0x00],
'O':[0x38,0x6C,0xC6,0xC6,0xC6,0x6C,0x38,0x00],
'P':[0xFC,0x66,0x66,0x7C,0x60,0x60,0xF0,0x00],
'Q':[0x78,0xCC,0xCC,0xCC,0xDC,0x78,0x1C,0x00],
'R':[0xFC,0x66,0x66,0x7C,0x6C,0x66,0xE6,0x00],
'S':[0x78,0xCC,0xE0,0x70,0x1C,0xCC,0x78,0x00],
'T':[0xFC,0xB4,0x30,0x30,0x30,0x30,0x78,0x00],
'U':[0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0x7C,0x00],
'V':[0xCC,0xCC,0xCC,0xCC,0xCC,0x78,0x30,0x00],
'W':[0xC6,0xC6,0xC6,0xD6,0xFE,0xEE,0xC6,0x00],
'X':[0xC6,0xC6,0x6C,0x38,0x38,0x6C,0xC6,0x00],
'Y':[0xCC,0xCC,0xCC,0x78,0x30,0x30,0x78,0x00],
'Z':[0xFE,0xC6,0x8C,0x18,0x32,0x66,0xFE,0x00],
'a':[0x00,0x00,0x78,0x0C,0x7C,0xCC,0x76,0x00],
'b':[0xE0,0x60,0x60,0x7C,0x66,0x66,0xDC,0x00],
'c':[0x00,0x00,0x78,0xCC,0xC0,0xCC,0x78,0x00],
'd':[0x1C,0x0C,0x0C,0x7C,0xCC,0xCC,0x76,0x00],
'e':[0x00,0x00,0x78,0xCC,0xFC,0xC0,0x78,0x00],
'f':[0x38,0x6C,0x60,0xF0,0x60,0x60,0xF0,0x00],
'g':[0x00,0x00,0x76,0xCC,0xCC,0x7C,0x0C,0xF8],
'h':[0xE0,0x60,0x6C,0x76,0x66,0x66,0xE6,0x00],
'i':[0x30,0x00,0x70,0x30,0x30,0x30,0x78,0x00],
'j':[0x0C,0x00,0x0C,0x0C,0x0C,0xCC,0xCC,0x78],
'k':[0xE0,0x60,0x66,0x6C,0x78,0x6C,0xE6,0x00],
'l':[0x70,0x30,0x30,0x30,0x30,0x30,0x78,0x00],
'm':[0x00,0x00,0xCC,0xFE,0xFE,0xD6,0xC6,0x00],
'n':[0x00,0x00,0xF8,0xCC,0xCC,0xCC,0xCC,0x00],
'o':[0x00,0x00,0x78,0xCC,0xCC,0xCC,0x78,0x00],
'p':[0x00,0x00,0xDC,0x66,0x66,0x7C,0x60,0xF0],
'q':[0x00,0x00,0x76,0xCC,0xCC,0x7C,0x0C,0x1E],
'r':[0x00,0x00,0xDC,0x76,0x66,0x60,0xF0,0x00],
's':[0x00,0x00,0x7C,0xC0,0x78,0x0C,0xF8,0x00],
't':[0x10,0x30,0x7C,0x30,0x30,0x34,0x18,0x00],
'u':[0x00,0x00,0xCC,0xCC,0xCC,0xCC,0x76,0x00],
'v':[0x00,0x00,0xCC,0xCC,0xCC,0x78,0x30,0x00],
'w':[0x00,0x00,0xC6,0xD6,0xFE,0xFE,0x6C,0x00],
'x':[0x00,0x00,0xC6,0x6C,0x38,0x6C,0xC6,0x00],
'y':[0x00,0x00,0xCC,0xCC,0xCC,0x7C,0x0C,0xF8],
'z':[0x00,0x00,0xFC,0x98,0x30,0x64,0xFC,0x00],
'<':[0x18,0x30,0x60,0xC0,0x60,0x30,0x18,0x00],
'>':[0x60,0x30,0x18,0x0C,0x18,0x30,0x60,0x00],
"(":[0x18,0x30,0x60,0x60,0x60,0x30,0x18,0x00],
")":[0x60,0x30,0x18,0x18,0x18,0x30,0x60,0x00],
'[':[0x78,0x60,0x60,0x60,0x60,0x60,0x78,0x00],
']':[0x78,0x18,0x18,0x18,0x18,0x18,0x78,0x00],
'{':[0x1C,0x30,0x30,0xE0,0x30,0x30,0x1C,0x00],
'}':[0xE0,0x30,0x30,0x1C,0x30,0x30,0xE0,0x00],
'.':[0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00],
",":[0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x60],
'!':[0x30,0x78,0x78,0x30,0x30,0x00,0x30,0x00],
'?':[0x78,0xCC,0x0C,0x18,0x30,0x00,0x30,0x00],
':':[0x00,0x30,0x30,0x00,0x00,0x30,0x30,0x00],
';':[0x00,0x30,0x30,0x00,0x00,0x30,0x30,0x60],
'"':[0x6C,0x6C,0x6C,0x00,0x00,0x00,0x00,0x00],
"'":[0x60,0x60,0xC0,0x00,0x00,0x00,0x00,0x00],
'`':[0x30,0x30,0x18,0x00,0x00,0x00,0x00,0x00],
'#':[0x6C,0x6C,0xFE,0x6C,0xFE,0x6C,0x6C,0x00],
'%':[0x00,0xC6,0xCC,0x18,0x30,0x66,0xC6,0x00],
'$':[0x30,0x7C,0xC0,0x78,0x0C,0xF8,0x30,0x00],
'&':[0x38,0x6C,0x38,0x76,0xDC,0xCC,0x76,0x00],
'@':[0x7C,0xC6,0xDE,0xDE,0xDE,0xC0,0x78,0x00],
"*":[0x00,0x66,0x3C,0xFF,0x3C,0x66,0x00,0x00],
"+":[0x00,0x30,0x30,0xFC,0x30,0x30,0x00,0x00],
'-':[0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00],
'/':[0x06,0x0C,0x18,0x30,0x60,0xC0,0x80,0x00],
'\\':[0xC0,0x60,0x30,0x18,0x0C,0x06,0x02,0x00],
'=':[0x00,0x00,0xFC,0x00,0x00,0xFC,0x00,0x00],
'^':[0x10,0x38,0x6C,0xC6,0x00,0x00,0x00,0x00],
'_':[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF],
'|':[0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x00],
'~':[0x76,0xDC,0x00,0x00,0x00,0x00,0x00,0x00]
}
def get8x14charpatterns() -> dict:#add characters as needed some ascii chars not present
return {' ':[0,0,0,0,0,0,0,0,0,0,0,0,0,0],
'!':[0x00,0x00,0x18,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x18,0x00,0x00,0x00],
'"':[0x00,0x66,0x66,0x66,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
'#':[0x00,0x00,0x6C,0x6C,0xFE,0x6C,0x6C,0x6C,0xFE,0x6C,0x6C,0x00,0x00,0x00],
'$':[0x00,0x10,0x7C,0xD6,0xD0,0xD0,0x7C,0x16,0x16,0xD6,0x7C,0x10,0x00,0x00],
'%':[0x00,0x00,0x00,0x00,0xC2,0xC4,0x08,0x10,0x20,0x46,0x86,0x00,0x00,0x00],
'&':[0x00,0x00,0x38,0x6C,0x6C,0x38,0x76,0xDC,0xCC,0xCC,0x76,0x00,0x00,0x00],
"'":[0x00,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
'(':[0x00,0x00,0x0C,0x18,0x30,0x30,0x30,0x30,0x30,0x18,0x0C,0x00,0x00,0x00],
')':[0x00,0x00,0x30,0x18,0x0C,0x0C,0x0C,0x0C,0x0C,0x18,0x30,0x00,0x00,0x00],
'*':[0x00,0x00,0x00,0x00,0x66,0x3C,0xFF,0x3C,0x66,0x00,0x00,0x00,0x00,0x00],
'+':[0x00,0x00,0x00,0x00,0x18,0x18,0x7E,0x18,0x18,0x00,0x00,0x00,0x00,0x00],
',':[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x18,0x30,0x00,0x00],
'-':[0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
'.':[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00],
'/':[0x00,0x00,0x02,0x06,0x0C,0x18,0x30,0x60,0xC0,0x80,0x00,0x00,0x00,0x00],
'0':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0xD6,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'1':[0x00,0x00,0x18,0x38,0x18,0x18,0x18,0x18,0x18,0x18,0x7E,0x00,0x00,0x00],
'2':[0x00,0x00,0x7C,0xC6,0x06,0x0C,0x18,0x30,0x60,0xC0,0xFE,0x00,0x00,0x00],
'3':[0x00,0x00,0x7C,0xC6,0x06,0x06,0x3C,0x06,0x06,0xC6,0x7C,0x00,0x00,0x00],
'4':[0x00,0x00,0x0C,0x1C,0x3C,0x6C,0xCC,0xFE,0x0C,0x0C,0x0C,0x00,0x00,0x00],
'5':[0x00,0x00,0xFE,0xC0,0xC0,0xC0,0xFC,0x06,0x06,0xC6,0x7C,0x00,0x00,0x00],
'6':[0x00,0x00,0x3C,0x60,0xC0,0xC0,0xFC,0xC6,0xC6,0xC6,0x7E,0x00,0x00,0x00],
'7':[0x00,0x00,0xFE,0x06,0x06,0x0C,0x18,0x30,0x30,0x30,0x30,0x00,0x00,0x00],
'8':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0x7C,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'9':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0x7E,0x06,0x06,0x0C,0x78,0x00,0x00,0x00],
':':[0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00],
';':[0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x18,0x18,0x30,0x00,0x00,0x00],
'<':[0x00,0x00,0x06,0x0C,0x18,0x30,0x60,0x30,0x18,0x0C,0x06,0x00,0x00,0x00],
'=':[0x00,0x00,0x00,0x00,0x00,0x7E,0x00,0x00,0x7E,0x00,0x00,0x00,0x00,0x00],
'>':[0x00,0x00,0x60,0x30,0x18,0x0C,0x06,0x0C,0x18,0x30,0x60,0x00,0x00,0x00],
'?':[0x00,0x00,0x7C,0xC6,0x06,0x0C,0x18,0x18,0x18,0x00,0x00,0x18,0x00,0x00],
'@':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0xDE,0xDE,0xDE,0xC0,0x7C,0x00,0x00,0x00],
'A':[0x00,0x00,0x10,0x38,0x6C,0xC6,0xC6,0xFE,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'B':[0x00,0x00,0xFC,0xC6,0xC6,0xC6,0xFC,0xC6,0xC6,0xC6,0xFC,0x00,0x00,0x00],
'C':[0x00,0x00,0x3C,0x66,0xC0,0xC0,0xC0,0xC0,0xC0,0x66,0x3C,0x00,0x00,0x00],
'D':[0x00,0x00,0xF8,0xCC,0xC6,0xC6,0xC6,0xC6,0xC6,0xCC,0xF8,0x00,0x00,0x00],
'E':[0x00,0x00,0xFE,0xC0,0xC0,0xC0,0xFC,0xC0,0xC0,0xC0,0xFE,0x00,0x00,0x00],
'F':[0x00,0x00,0xFE,0xC0,0xC0,0xC0,0xFC,0xC0,0xC0,0xC0,0xC0,0x00,0x00,0x00],
'G':[0x00,0x00,0x3C,0x66,0xC0,0xC0,0xC0,0xCE,0xC6,0x66,0x3C,0x00,0x00,0x00],
'H':[0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xFE,0xC6,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'I':[0x00,0x00,0x3C,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x3C,0x00,0x00,0x00],
'J':[0x00,0x00,0x1E,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x78,0x00,0x00,0x00],
'K':[0x00,0x00,0xC6,0xCC,0xD8,0xF0,0xE0,0xF0,0xD8,0xCC,0xC6,0x00,0x00,0x00],
'L':[0x00,0x00,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xFE,0x00,0x00,0x00],
'M':[0x00,0x00,0xC6,0xEE,0xFE,0xFE,0xD6,0xC6,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'N':[0x00,0x00,0xC6,0xE6,0xF6,0xFE,0xDE,0xCE,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'O':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'P':[0x00,0x00,0xFC,0xC6,0xC6,0xC6,0xFC,0xC0,0xC0,0xC0,0xC0,0x00,0x00,0x00],
'Q':[0x00,0x00,0x7C,0xC6,0xC6,0xC6,0xC6,0xC6,0xD6,0xCC,0x7A,0x00,0x00,0x00],
'R':[0x00,0x00,0xFC,0xC6,0xC6,0xC6,0xFC,0xD8,0xCC,0xC6,0xC6,0x00,0x00,0x00],
'S':[0x00,0x00,0x7C,0xC6,0xC0,0x60,0x38,0x0C,0x06,0xC6,0x7C,0x00,0x00,0x00],
'T':[0x00,0x00,0x7E,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00],
'U':[0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'V':[0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xC6,0xC6,0x6C,0x38,0x10,0x00,0x00,0x00],
'W':[0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xD6,0xD6,0xFE,0xEE,0xC6,0x00,0x00,0x00],
'X':[0x00,0x00,0xC6,0xC6,0x6C,0x38,0x10,0x38,0x6C,0xC6,0xC6,0x00,0x00,0x00],
'Y':[0x00,0x00,0x66,0x66,0x66,0x66,0x3C,0x18,0x18,0x18,0x18,0x00,0x00,0x00],
'Z':[0x00,0x00,0xFE,0x06,0x0C,0x18,0x30,0x60,0xC0,0xC0,0xFE,0x00,0x00,0x00],
'[':[0x00,0x00,0x3C,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x3C,0x00,0x00,0x00],
'\\':[0x00,0x00,0x00,0x80,0xC0,0x60,0x30,0x18,0x0C,0x06,0x02,0x00,0x00,0x00],
']':[0x00,0x00,0x3C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x3C,0x00,0x00,0x00],
'^':[0x10,0x38,0x6C,0xC6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
'_':[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0x00],
'`':[0x30,0x30,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00],
'a':[0x00,0x00,0x00,0x00,0x00,0x7C,0x06,0x7E,0xC6,0xC6,0x7E,0x00,0x00,0x00],
'b':[0x00,0x00,0xC0,0xC0,0xC0,0xFC,0xC6,0xC6,0xC6,0xC6,0xFC,0x00,0x00,0x00],
'c':[0x00,0x00,0x00,0x00,0x00,0x7C,0xC6,0xC0,0xC0,0xC6,0x7C,0x00,0x00,0x00],
'd':[0x00,0x00,0x06,0x06,0x06,0x7E,0xC6,0xC6,0xC6,0xC6,0x7E,0x00,0x00,0x00],
'e':[0x00,0x00,0x00,0x00,0x00,0x7C,0xC6,0xFE,0xC0,0xC6,0x7C,0x00,0x00,0x00],
'f':[0x00,0x00,0x3C,0x66,0x60,0x60,0xF0,0x60,0x60,0x60,0x60,0x00,0x00,0x00],
'g':[0x00,0x00,0x00,0x00,0x00,0x7E,0xC6,0xC6,0xC6,0x7E,0x06,0x06,0x06,0x7C],
'h':[0x00,0x00,0xC0,0xC0,0xC0,0xFC,0xC6,0xC6,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'i':[0x00,0x00,0x18,0x18,0x00,0x00,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00],
'j':[0x00,0x00,0x06,0x06,0x00,0x00,0x06,0x06,0x06,0x06,0x06,0x06,0xC6,0x7C],
'k':[0x00,0x00,0xC0,0xC0,0xC0,0xCC,0xD8,0xF0,0xD8,0xCC,0xC6,0x00,0x00,0x00],
'l':[0x00,0x00,0x38,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x3C,0x00,0x00,0x00],
'm':[0x00,0x00,0x00,0x00,0x00,0xEC,0xD6,0xD6,0xD6,0xD6,0xC6,0x00,0x00,0x00],
'n':[0x00,0x00,0x00,0x00,0x00,0xFC,0xC6,0xC6,0xC6,0xC6,0xC6,0x00,0x00,0x00],
'o':[0x00,0x00,0x00,0x00,0x00,0x7C,0xC6,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'p':[0x00,0x00,0x00,0x00,0x00,0xFC,0xC6,0xC6,0xC6,0xC6,0xFC,0xC0,0xC0,0xC0],
'q':[0x00,0x00,0x00,0x00,0x00,0x7E,0xC6,0xC6,0xC6,0xC6,0x7E,0x06,0x06,0x06],
'r':[0x00,0x00,0x00,0x00,0x00,0xFC,0xC6,0xC0,0xC0,0xC0,0XC0,0x00,0x00,0x00],
's':[0x00,0x00,0x00,0x00,0x00,0x7C,0xC0,0x70,0x1C,0x06,0x7C,0x00,0x00,0x00],
't':[0x00,0x00,0x30,0x30,0xFC,0x30,0x30,0x30,0x30,0x30,0x1C,0x00,0x00,0x00],
'u':[0x00,0x00,0x00,0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xC6,0x7C,0x00,0x00,0x00],
'v':[0x00,0x00,0x00,0x00,0x00,0xC6,0xC6,0xC6,0x6C,0x38,0x10,0x00,0x00,0x00],
'w':[0x00,0x00,0x00,0x00,0x00,0xC6,0xC6,0xD6,0xD6,0xFE,0xC6,0x00,0x00,0x00],
'x':[0x00,0x00,0x00,0x00,0x00,0xC6,0x6C,0x38,0x38,0x6C,0xC6,0x00,0x00,0x00],
'y':[0x00,0x00,0x00,0x00,0x00,0xC6,0xC6,0xC6,0xC6,0xC6,0x7E,0x06,0x06,0x7C],
'z':[0x00,0x00,0x00,0x00,0x00,0xFE,0x0C,0x18,0x30,0x60,0xFE,0x00,0x00,0x00],
'{':[0x00,0x00,0x0E,0x18,0x18,0x18,0x60,0x18,0x18,0x18,0x0E,0x00,0x00,0x00],
'|':[0x00,0x00,0x18,0x18,0x18,0X18,0x00,0x18,0x18,0x18,0x18,0x00,0x00,0x00],
'}':[0x00,0x00,0x70,0x18,0x18,0X18,0x06,0x18,0x18,0x18,0x70,0x00,0x00,0x00],
'~':[0x76,0xDC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]
}
def makecharbuf(
chardict: dict) -> list:
charlen = len(chardict['0'])
b = [charlen]
blankchar = [0 for _ in range(charlen)]
for i in range(256):
c = chardict.get(chr(i), blankchar)
b += c
return b
def main():
print(notice)
print(makecharbuf(
get8x8charpatterns()))
print(makecharbuf(
get8x14charpatterns()))
if __name__ == "__main__":
main()
| notice = '\n Font Generator Program\n -----------------------------------\n| Copyright 2022 by Joel C. Alcarez |\n| [joelalcarez1975@gmail.com] |\n|-----------------------------------|\n| We make absolutely no warranty |\n| of any kind, expressed or implied |\n|-----------------------------------|\n| Contact primary author |\n| if you plan to use this |\n| in a commercial product at |\n| joelalcarez1975@gmail.com |\n -----------------------------------\n'
def get8x8charpatterns() -> dict:
return {' ': [0, 0, 0, 0, 0, 0, 0, 0], '0': [124, 198, 206, 222, 246, 230, 124, 0], '1': [48, 112, 48, 48, 48, 48, 252, 0], '2': [120, 204, 12, 56, 96, 204, 252, 0], '3': [120, 204, 12, 56, 12, 204, 120, 0], '4': [28, 60, 108, 204, 254, 12, 30, 0], '5': [252, 192, 248, 12, 12, 204, 120, 0], '6': [56, 96, 192, 248, 204, 204, 120, 0], '7': [252, 204, 12, 24, 48, 48, 48, 0], '8': [120, 204, 204, 120, 204, 204, 120, 0], '9': [120, 204, 204, 124, 12, 24, 112, 0], 'A': [48, 120, 204, 204, 252, 204, 204, 0], 'B': [252, 102, 102, 124, 102, 102, 252, 0], 'C': [60, 102, 192, 192, 102, 102, 60, 0], 'D': [248, 108, 102, 102, 102, 108, 248, 0], 'E': [254, 98, 104, 120, 104, 98, 254, 0], 'F': [254, 98, 104, 120, 104, 96, 240, 0], 'G': [60, 102, 192, 192, 206, 102, 62, 0], 'H': [204, 204, 204, 252, 204, 204, 204, 0], 'I': [120, 48, 48, 48, 48, 48, 120, 0], 'J': [30, 12, 12, 12, 204, 204, 120, 0], 'K': [230, 102, 108, 120, 108, 102, 230, 0], 'L': [240, 96, 96, 96, 98, 102, 254, 0], 'M': [198, 238, 254, 254, 214, 198, 198, 0], 'N': [198, 230, 246, 222, 206, 198, 198, 0], 'O': [56, 108, 198, 198, 198, 108, 56, 0], 'P': [252, 102, 102, 124, 96, 96, 240, 0], 'Q': [120, 204, 204, 204, 220, 120, 28, 0], 'R': [252, 102, 102, 124, 108, 102, 230, 0], 'S': [120, 204, 224, 112, 28, 204, 120, 0], 'T': [252, 180, 48, 48, 48, 48, 120, 0], 'U': [204, 204, 204, 204, 204, 204, 124, 0], 'V': [204, 204, 204, 204, 204, 120, 48, 0], 'W': [198, 198, 198, 214, 254, 238, 198, 0], 'X': [198, 198, 108, 56, 56, 108, 198, 0], 'Y': [204, 204, 204, 120, 48, 48, 120, 0], 'Z': [254, 198, 140, 24, 50, 102, 254, 0], 'a': [0, 0, 120, 12, 124, 204, 118, 0], 'b': [224, 96, 96, 124, 102, 102, 220, 0], 'c': [0, 0, 120, 204, 192, 204, 120, 0], 'd': [28, 12, 12, 124, 204, 204, 118, 0], 'e': [0, 0, 120, 204, 252, 192, 120, 0], 'f': [56, 108, 96, 240, 96, 96, 240, 0], 'g': [0, 0, 118, 204, 204, 124, 12, 248], 'h': [224, 96, 108, 118, 102, 102, 230, 0], 'i': [48, 0, 112, 48, 48, 48, 120, 0], 'j': [12, 0, 12, 12, 12, 204, 204, 120], 'k': [224, 96, 102, 108, 120, 108, 230, 0], 'l': [112, 48, 48, 48, 48, 48, 120, 0], 'm': [0, 0, 204, 254, 254, 214, 198, 0], 'n': [0, 0, 248, 204, 204, 204, 204, 0], 'o': [0, 0, 120, 204, 204, 204, 120, 0], 'p': [0, 0, 220, 102, 102, 124, 96, 240], 'q': [0, 0, 118, 204, 204, 124, 12, 30], 'r': [0, 0, 220, 118, 102, 96, 240, 0], 's': [0, 0, 124, 192, 120, 12, 248, 0], 't': [16, 48, 124, 48, 48, 52, 24, 0], 'u': [0, 0, 204, 204, 204, 204, 118, 0], 'v': [0, 0, 204, 204, 204, 120, 48, 0], 'w': [0, 0, 198, 214, 254, 254, 108, 0], 'x': [0, 0, 198, 108, 56, 108, 198, 0], 'y': [0, 0, 204, 204, 204, 124, 12, 248], 'z': [0, 0, 252, 152, 48, 100, 252, 0], '<': [24, 48, 96, 192, 96, 48, 24, 0], '>': [96, 48, 24, 12, 24, 48, 96, 0], '(': [24, 48, 96, 96, 96, 48, 24, 0], ')': [96, 48, 24, 24, 24, 48, 96, 0], '[': [120, 96, 96, 96, 96, 96, 120, 0], ']': [120, 24, 24, 24, 24, 24, 120, 0], '{': [28, 48, 48, 224, 48, 48, 28, 0], '}': [224, 48, 48, 28, 48, 48, 224, 0], '.': [0, 0, 0, 0, 0, 48, 48, 0], ',': [0, 0, 0, 0, 0, 48, 48, 96], '!': [48, 120, 120, 48, 48, 0, 48, 0], '?': [120, 204, 12, 24, 48, 0, 48, 0], ':': [0, 48, 48, 0, 0, 48, 48, 0], ';': [0, 48, 48, 0, 0, 48, 48, 96], '"': [108, 108, 108, 0, 0, 0, 0, 0], "'": [96, 96, 192, 0, 0, 0, 0, 0], '`': [48, 48, 24, 0, 0, 0, 0, 0], '#': [108, 108, 254, 108, 254, 108, 108, 0], '%': [0, 198, 204, 24, 48, 102, 198, 0], '$': [48, 124, 192, 120, 12, 248, 48, 0], '&': [56, 108, 56, 118, 220, 204, 118, 0], '@': [124, 198, 222, 222, 222, 192, 120, 0], '*': [0, 102, 60, 255, 60, 102, 0, 0], '+': [0, 48, 48, 252, 48, 48, 0, 0], '-': [0, 0, 0, 252, 0, 0, 0, 0], '/': [6, 12, 24, 48, 96, 192, 128, 0], '\\': [192, 96, 48, 24, 12, 6, 2, 0], '=': [0, 0, 252, 0, 0, 252, 0, 0], '^': [16, 56, 108, 198, 0, 0, 0, 0], '_': [0, 0, 0, 0, 0, 0, 0, 255], '|': [24, 24, 24, 0, 24, 24, 24, 0], '~': [118, 220, 0, 0, 0, 0, 0, 0]}
def get8x14charpatterns() -> dict:
return {' ': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], '!': [0, 0, 24, 24, 24, 24, 24, 24, 0, 0, 24, 0, 0, 0], '"': [0, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], '#': [0, 0, 108, 108, 254, 108, 108, 108, 254, 108, 108, 0, 0, 0], '$': [0, 16, 124, 214, 208, 208, 124, 22, 22, 214, 124, 16, 0, 0], '%': [0, 0, 0, 0, 194, 196, 8, 16, 32, 70, 134, 0, 0, 0], '&': [0, 0, 56, 108, 108, 56, 118, 220, 204, 204, 118, 0, 0, 0], "'": [0, 48, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], '(': [0, 0, 12, 24, 48, 48, 48, 48, 48, 24, 12, 0, 0, 0], ')': [0, 0, 48, 24, 12, 12, 12, 12, 12, 24, 48, 0, 0, 0], '*': [0, 0, 0, 0, 102, 60, 255, 60, 102, 0, 0, 0, 0, 0], '+': [0, 0, 0, 0, 24, 24, 126, 24, 24, 0, 0, 0, 0, 0], ',': [0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 24, 48, 0, 0], '-': [0, 0, 0, 0, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0], '.': [0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 24, 0, 0, 0], '/': [0, 0, 2, 6, 12, 24, 48, 96, 192, 128, 0, 0, 0, 0], '0': [0, 0, 124, 198, 198, 198, 214, 198, 198, 198, 124, 0, 0, 0], '1': [0, 0, 24, 56, 24, 24, 24, 24, 24, 24, 126, 0, 0, 0], '2': [0, 0, 124, 198, 6, 12, 24, 48, 96, 192, 254, 0, 0, 0], '3': [0, 0, 124, 198, 6, 6, 60, 6, 6, 198, 124, 0, 0, 0], '4': [0, 0, 12, 28, 60, 108, 204, 254, 12, 12, 12, 0, 0, 0], '5': [0, 0, 254, 192, 192, 192, 252, 6, 6, 198, 124, 0, 0, 0], '6': [0, 0, 60, 96, 192, 192, 252, 198, 198, 198, 126, 0, 0, 0], '7': [0, 0, 254, 6, 6, 12, 24, 48, 48, 48, 48, 0, 0, 0], '8': [0, 0, 124, 198, 198, 198, 124, 198, 198, 198, 124, 0, 0, 0], '9': [0, 0, 124, 198, 198, 198, 126, 6, 6, 12, 120, 0, 0, 0], ':': [0, 0, 0, 24, 24, 0, 0, 0, 24, 24, 0, 0, 0, 0], ';': [0, 0, 0, 24, 24, 0, 0, 0, 24, 24, 48, 0, 0, 0], '<': [0, 0, 6, 12, 24, 48, 96, 48, 24, 12, 6, 0, 0, 0], '=': [0, 0, 0, 0, 0, 126, 0, 0, 126, 0, 0, 0, 0, 0], '>': [0, 0, 96, 48, 24, 12, 6, 12, 24, 48, 96, 0, 0, 0], '?': [0, 0, 124, 198, 6, 12, 24, 24, 24, 0, 0, 24, 0, 0], '@': [0, 0, 124, 198, 198, 198, 222, 222, 222, 192, 124, 0, 0, 0], 'A': [0, 0, 16, 56, 108, 198, 198, 254, 198, 198, 198, 0, 0, 0], 'B': [0, 0, 252, 198, 198, 198, 252, 198, 198, 198, 252, 0, 0, 0], 'C': [0, 0, 60, 102, 192, 192, 192, 192, 192, 102, 60, 0, 0, 0], 'D': [0, 0, 248, 204, 198, 198, 198, 198, 198, 204, 248, 0, 0, 0], 'E': [0, 0, 254, 192, 192, 192, 252, 192, 192, 192, 254, 0, 0, 0], 'F': [0, 0, 254, 192, 192, 192, 252, 192, 192, 192, 192, 0, 0, 0], 'G': [0, 0, 60, 102, 192, 192, 192, 206, 198, 102, 60, 0, 0, 0], 'H': [0, 0, 198, 198, 198, 198, 254, 198, 198, 198, 198, 0, 0, 0], 'I': [0, 0, 60, 24, 24, 24, 24, 24, 24, 24, 60, 0, 0, 0], 'J': [0, 0, 30, 12, 12, 12, 12, 12, 12, 12, 120, 0, 0, 0], 'K': [0, 0, 198, 204, 216, 240, 224, 240, 216, 204, 198, 0, 0, 0], 'L': [0, 0, 192, 192, 192, 192, 192, 192, 192, 192, 254, 0, 0, 0], 'M': [0, 0, 198, 238, 254, 254, 214, 198, 198, 198, 198, 0, 0, 0], 'N': [0, 0, 198, 230, 246, 254, 222, 206, 198, 198, 198, 0, 0, 0], 'O': [0, 0, 124, 198, 198, 198, 198, 198, 198, 198, 124, 0, 0, 0], 'P': [0, 0, 252, 198, 198, 198, 252, 192, 192, 192, 192, 0, 0, 0], 'Q': [0, 0, 124, 198, 198, 198, 198, 198, 214, 204, 122, 0, 0, 0], 'R': [0, 0, 252, 198, 198, 198, 252, 216, 204, 198, 198, 0, 0, 0], 'S': [0, 0, 124, 198, 192, 96, 56, 12, 6, 198, 124, 0, 0, 0], 'T': [0, 0, 126, 24, 24, 24, 24, 24, 24, 24, 24, 0, 0, 0], 'U': [0, 0, 198, 198, 198, 198, 198, 198, 198, 198, 124, 0, 0, 0], 'V': [0, 0, 198, 198, 198, 198, 198, 198, 108, 56, 16, 0, 0, 0], 'W': [0, 0, 198, 198, 198, 198, 214, 214, 254, 238, 198, 0, 0, 0], 'X': [0, 0, 198, 198, 108, 56, 16, 56, 108, 198, 198, 0, 0, 0], 'Y': [0, 0, 102, 102, 102, 102, 60, 24, 24, 24, 24, 0, 0, 0], 'Z': [0, 0, 254, 6, 12, 24, 48, 96, 192, 192, 254, 0, 0, 0], '[': [0, 0, 60, 48, 48, 48, 48, 48, 48, 48, 60, 0, 0, 0], '\\': [0, 0, 0, 128, 192, 96, 48, 24, 12, 6, 2, 0, 0, 0], ']': [0, 0, 60, 12, 12, 12, 12, 12, 12, 12, 60, 0, 0, 0], '^': [16, 56, 108, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], '_': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0], '`': [48, 48, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'a': [0, 0, 0, 0, 0, 124, 6, 126, 198, 198, 126, 0, 0, 0], 'b': [0, 0, 192, 192, 192, 252, 198, 198, 198, 198, 252, 0, 0, 0], 'c': [0, 0, 0, 0, 0, 124, 198, 192, 192, 198, 124, 0, 0, 0], 'd': [0, 0, 6, 6, 6, 126, 198, 198, 198, 198, 126, 0, 0, 0], 'e': [0, 0, 0, 0, 0, 124, 198, 254, 192, 198, 124, 0, 0, 0], 'f': [0, 0, 60, 102, 96, 96, 240, 96, 96, 96, 96, 0, 0, 0], 'g': [0, 0, 0, 0, 0, 126, 198, 198, 198, 126, 6, 6, 6, 124], 'h': [0, 0, 192, 192, 192, 252, 198, 198, 198, 198, 198, 0, 0, 0], 'i': [0, 0, 24, 24, 0, 0, 24, 24, 24, 24, 24, 0, 0, 0], 'j': [0, 0, 6, 6, 0, 0, 6, 6, 6, 6, 6, 6, 198, 124], 'k': [0, 0, 192, 192, 192, 204, 216, 240, 216, 204, 198, 0, 0, 0], 'l': [0, 0, 56, 24, 24, 24, 24, 24, 24, 24, 60, 0, 0, 0], 'm': [0, 0, 0, 0, 0, 236, 214, 214, 214, 214, 198, 0, 0, 0], 'n': [0, 0, 0, 0, 0, 252, 198, 198, 198, 198, 198, 0, 0, 0], 'o': [0, 0, 0, 0, 0, 124, 198, 198, 198, 198, 124, 0, 0, 0], 'p': [0, 0, 0, 0, 0, 252, 198, 198, 198, 198, 252, 192, 192, 192], 'q': [0, 0, 0, 0, 0, 126, 198, 198, 198, 198, 126, 6, 6, 6], 'r': [0, 0, 0, 0, 0, 252, 198, 192, 192, 192, 192, 0, 0, 0], 's': [0, 0, 0, 0, 0, 124, 192, 112, 28, 6, 124, 0, 0, 0], 't': [0, 0, 48, 48, 252, 48, 48, 48, 48, 48, 28, 0, 0, 0], 'u': [0, 0, 0, 0, 0, 198, 198, 198, 198, 198, 124, 0, 0, 0], 'v': [0, 0, 0, 0, 0, 198, 198, 198, 108, 56, 16, 0, 0, 0], 'w': [0, 0, 0, 0, 0, 198, 198, 214, 214, 254, 198, 0, 0, 0], 'x': [0, 0, 0, 0, 0, 198, 108, 56, 56, 108, 198, 0, 0, 0], 'y': [0, 0, 0, 0, 0, 198, 198, 198, 198, 198, 126, 6, 6, 124], 'z': [0, 0, 0, 0, 0, 254, 12, 24, 48, 96, 254, 0, 0, 0], '{': [0, 0, 14, 24, 24, 24, 96, 24, 24, 24, 14, 0, 0, 0], '|': [0, 0, 24, 24, 24, 24, 0, 24, 24, 24, 24, 0, 0, 0], '}': [0, 0, 112, 24, 24, 24, 6, 24, 24, 24, 112, 0, 0, 0], '~': [118, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
def makecharbuf(chardict: dict) -> list:
charlen = len(chardict['0'])
b = [charlen]
blankchar = [0 for _ in range(charlen)]
for i in range(256):
c = chardict.get(chr(i), blankchar)
b += c
return b
def main():
print(notice)
print(makecharbuf(get8x8charpatterns()))
print(makecharbuf(get8x14charpatterns()))
if __name__ == '__main__':
main() |
class Solution:
def arrangeCoins(self, n: int) -> int:
l, r = 1, 2 ** 16
while l <= r:
m = (l + r) // 2
c = self._count(m)
if c <= n and self._count(m + 1) > n:
return m
elif c > n:
r = m - 1
else:
l = m + 1
def _count(self, m):
return (m + 1) * m // 2
| class Solution:
def arrange_coins(self, n: int) -> int:
(l, r) = (1, 2 ** 16)
while l <= r:
m = (l + r) // 2
c = self._count(m)
if c <= n and self._count(m + 1) > n:
return m
elif c > n:
r = m - 1
else:
l = m + 1
def _count(self, m):
return (m + 1) * m // 2 |
"""
from keras.layers import Input
from keras.engine.topology import Layer
import scipy as sci
import numpy as np
from scipy.stats import bernoulli
import random
class DropConnect(Layer):
def __init__(self, input_dim, output_dim, p):
self.train = True
self.prob = p or 0.5
if self.prob >= 1 or self.prob < 0:
print('[INFO] <LinearDropconnect> illegal percentage, must be 0 <= p < 1')
# this returns a tensor
self.noise_weight = Input(shape=(output_dim, input_dim))
self.noise_bias = Input(shape=output_dim)
super(DropConnect, self).__init__(type1=input_dim, type2=output_dim)
def reset(self, stdv):
if stdv:
stdv *= sci.sqrt(3)
else:
stdv = 1.0 / sci.sqrt(self.weight.size(2))
if nn.oldSeed:
for i in xrange(1, self.weight.size(1)):
self.weight.select(1, i).apply(random.uniform(-stdv, stdv))
self.bias[i] = random.uniform(-stdv, stdv)
else:
self.weight = random.uniform(-stdv, stdv)
self.bias = random.uniform(-stdv, stdv)
self.noise_weight.fill(1)
self.noise_bias.fill(1)
def updateOutput(input):
if self.train:
self.noise_weight = bernoulli(1 - self.prob):cmul(self.weight)
self.noise_bias = bernoulli(1 - self.prob):cmul(self.bias)
if input.dim() == 1:
self.output.resize(self.bias.size(1))
if self.train:
self.output.copy(self.noise_bias)
self.output.addmv(1, self.noise_weight, input)
else
self.output.copy(self.bias)
self.output.addmv(1, self.weight, input)
elif input.dim() == 2:
nframe = input.size(1)
nElement = self.output.nElement()
self.output.resize(nframe, self.bias:size(1))
if self.output: nElement() == nElement:
self.output.zero()
self.addBuffer = self.addBuffer or input.new()
if self.addBuffer: nElement() == nframe:
self.addBuffer:resize(nframe):fill(1)
if self.train then
self.output:addmm(0, self.output, 1, input, self.noiseWeight:t())
self.output:addr(1, self.addBuffer, self.noiseBias)
else
self.output:addmm(0, self.output, 1, input, self.weight:t())
self.output:addr(1, self.addBuffer, self.bias)
else
print('[INFO] input must be vector or matrix')
return self.output
def updateGradInput(input, grad_output):
if self.grad_input:
n_element = self.grad_input.nElement()
self.grad_input.resizeAs(input)
if self.grad_input.nElement() == nElement:
self.grad_input.zero()
if input.dim() == 1:
if self.train:
self.grad_input.addmv(0, 1, self.noise_weight.t(), grad_output)
else
self.grad_input.addmv(0, 1, self.weight.t(), grad_output)
elif input.dim() == 2:
if self.train:
self.grad_input.addmm(0, 1, grad_output, self.noise_weight)
else
self.grad_input.addmm(0, 1, grad_output, self.weight)
return self.grad_input
def build(self, input_shape):
self.input_dim = input_shape[1]
initial_weight_value = np.random.random((self.input_dim, self.output_dim))
self.W = K.variable(initial_weight_value)
self.trainable_weights = [self.W]
def call(self, x, mask=None):
return K.dot(x, self.W)
def get_output_shape_for(self, input_shape):
return input_shape[0], self.output_dim
"""
"""
--[[
Regularization of Neural Networks using DropConnect
Li Wan, Matthew Zeiler, Sixin Zhang, Yann LeCun, Rob Fergus
Dept. of Computer Science, Courant Institute of Mathematical Science, New York University
Implemented by John-Alexander M. Assael (www.johnassael.com), 2015
]]--
local LinearDropconnect, parent = torch.class('nn.LinearDropconnect', 'nn.Linear')
function LinearDropconnect:__init(inputSize, outputSize, p)
self.train = true
self.p = p or 0.5
if self.p >= 1 or self.p < 0 then
error('<LinearDropconnect> illegal percentage, must be 0 <= p < 1')
end
self.noiseWeight = torch.Tensor(outputSize, inputSize)
self.noiseBias = torch.Tensor(outputSize)
parent.__init(self, inputSize, outputSize)
end
function LinearDropconnect:reset(stdv)
if stdv then
stdv = stdv * math.sqrt(3)
else
stdv = 1./math.sqrt(self.weight:size(2))
end
if nn.oldSeed then
for i=1,self.weight:size(1) do
self.weight:select(1, i):apply(function()
return torch.uniform(-stdv, stdv)
end)
self.bias[i] = torch.uniform(-stdv, stdv)
end
else
self.weight:uniform(-stdv, stdv)
self.bias:uniform(-stdv, stdv)
end
self.noiseWeight:fill(1)
self.noiseBias:fill(1)
return self
end
function LinearDropconnect:updateOutput(input)
-- Dropconnect
if self.train then
self.noiseWeight:bernoulli(1-self.p):cmul(self.weight)
self.noiseBias:bernoulli(1-self.p):cmul(self.bias)
end
if input:dim() == 1 then
self.output:resize(self.bias:size(1))
if self.train then
self.output:copy(self.noiseBias)
self.output:addmv(1, self.noiseWeight, input)
else
self.output:copy(self.bias)
self.output:addmv(1, self.weight, input)
end
elseif input:dim() == 2 then
local nframe = input:size(1)
local nElement = self.output:nElement()
self.output:resize(nframe, self.bias:size(1))
if self.output:nElement() ~= nElement then
self.output:zero()
end
self.addBuffer = self.addBuffer or input.new()
if self.addBuffer:nElement() ~= nframe then
self.addBuffer:resize(nframe):fill(1)
end
if self.train then
self.output:addmm(0, self.output, 1, input, self.noiseWeight:t())
self.output:addr(1, self.addBuffer, self.noiseBias)
else
self.output:addmm(0, self.output, 1, input, self.weight:t())
self.output:addr(1, self.addBuffer, self.bias)
end
else
error('input must be vector or matrix')
end
return self.output
end
function LinearDropconnect:updateGradInput(input, gradOutput)
if self.gradInput then
local nElement = self.gradInput:nElement()
self.gradInput:resizeAs(input)
if self.gradInput:nElement() ~= nElement then
self.gradInput:zero()
end
if input:dim() == 1 then
if self.train then
self.gradInput:addmv(0, 1, self.noiseWeight:t(), gradOutput)
else
self.gradInput:addmv(0, 1, self.weight:t(), gradOutput)
end
elseif input:dim() == 2 then
if self.train then
self.gradInput:addmm(0, 1, gradOutput, self.noiseWeight)
else
self.gradInput:addmm(0, 1, gradOutput, self.weight)
end
end
return self.gradInput
end
end
"""
| """
from keras.layers import Input
from keras.engine.topology import Layer
import scipy as sci
import numpy as np
from scipy.stats import bernoulli
import random
class DropConnect(Layer):
def __init__(self, input_dim, output_dim, p):
self.train = True
self.prob = p or 0.5
if self.prob >= 1 or self.prob < 0:
print('[INFO] <LinearDropconnect> illegal percentage, must be 0 <= p < 1')
# this returns a tensor
self.noise_weight = Input(shape=(output_dim, input_dim))
self.noise_bias = Input(shape=output_dim)
super(DropConnect, self).__init__(type1=input_dim, type2=output_dim)
def reset(self, stdv):
if stdv:
stdv *= sci.sqrt(3)
else:
stdv = 1.0 / sci.sqrt(self.weight.size(2))
if nn.oldSeed:
for i in xrange(1, self.weight.size(1)):
self.weight.select(1, i).apply(random.uniform(-stdv, stdv))
self.bias[i] = random.uniform(-stdv, stdv)
else:
self.weight = random.uniform(-stdv, stdv)
self.bias = random.uniform(-stdv, stdv)
self.noise_weight.fill(1)
self.noise_bias.fill(1)
def updateOutput(input):
if self.train:
self.noise_weight = bernoulli(1 - self.prob):cmul(self.weight)
self.noise_bias = bernoulli(1 - self.prob):cmul(self.bias)
if input.dim() == 1:
self.output.resize(self.bias.size(1))
if self.train:
self.output.copy(self.noise_bias)
self.output.addmv(1, self.noise_weight, input)
else
self.output.copy(self.bias)
self.output.addmv(1, self.weight, input)
elif input.dim() == 2:
nframe = input.size(1)
nElement = self.output.nElement()
self.output.resize(nframe, self.bias:size(1))
if self.output: nElement() == nElement:
self.output.zero()
self.addBuffer = self.addBuffer or input.new()
if self.addBuffer: nElement() == nframe:
self.addBuffer:resize(nframe):fill(1)
if self.train then
self.output:addmm(0, self.output, 1, input, self.noiseWeight:t())
self.output:addr(1, self.addBuffer, self.noiseBias)
else
self.output:addmm(0, self.output, 1, input, self.weight:t())
self.output:addr(1, self.addBuffer, self.bias)
else
print('[INFO] input must be vector or matrix')
return self.output
def updateGradInput(input, grad_output):
if self.grad_input:
n_element = self.grad_input.nElement()
self.grad_input.resizeAs(input)
if self.grad_input.nElement() == nElement:
self.grad_input.zero()
if input.dim() == 1:
if self.train:
self.grad_input.addmv(0, 1, self.noise_weight.t(), grad_output)
else
self.grad_input.addmv(0, 1, self.weight.t(), grad_output)
elif input.dim() == 2:
if self.train:
self.grad_input.addmm(0, 1, grad_output, self.noise_weight)
else
self.grad_input.addmm(0, 1, grad_output, self.weight)
return self.grad_input
def build(self, input_shape):
self.input_dim = input_shape[1]
initial_weight_value = np.random.random((self.input_dim, self.output_dim))
self.W = K.variable(initial_weight_value)
self.trainable_weights = [self.W]
def call(self, x, mask=None):
return K.dot(x, self.W)
def get_output_shape_for(self, input_shape):
return input_shape[0], self.output_dim
"""
"\n--[[\n\n Regularization of Neural Networks using DropConnect\n Li Wan, Matthew Zeiler, Sixin Zhang, Yann LeCun, Rob Fergus\n\n Dept. of Computer Science, Courant Institute of Mathematical Science, New York University\n\n Implemented by John-Alexander M. Assael (www.johnassael.com), 2015\n\n]]--\n\nlocal LinearDropconnect, parent = torch.class('nn.LinearDropconnect', 'nn.Linear')\n\nfunction LinearDropconnect:__init(inputSize, outputSize, p)\n\n self.train = true\n\n self.p = p or 0.5\n if self.p >= 1 or self.p < 0 then\n error('<LinearDropconnect> illegal percentage, must be 0 <= p < 1')\n end\n\n self.noiseWeight = torch.Tensor(outputSize, inputSize)\n self.noiseBias = torch.Tensor(outputSize)\n\n parent.__init(self, inputSize, outputSize)\nend\n\n\nfunction LinearDropconnect:reset(stdv)\n if stdv then\n stdv = stdv * math.sqrt(3)\n else\n stdv = 1./math.sqrt(self.weight:size(2))\n end\n if nn.oldSeed then\n for i=1,self.weight:size(1) do\n self.weight:select(1, i):apply(function()\n return torch.uniform(-stdv, stdv)\n end)\n self.bias[i] = torch.uniform(-stdv, stdv)\n end\n else\n self.weight:uniform(-stdv, stdv)\n self.bias:uniform(-stdv, stdv)\n end\n\n self.noiseWeight:fill(1)\n self.noiseBias:fill(1)\n\n return self\nend\n\nfunction LinearDropconnect:updateOutput(input)\n\n -- Dropconnect\n if self.train then\n self.noiseWeight:bernoulli(1-self.p):cmul(self.weight)\n self.noiseBias:bernoulli(1-self.p):cmul(self.bias)\n end\n\n if input:dim() == 1 then\n self.output:resize(self.bias:size(1))\n if self.train then\n self.output:copy(self.noiseBias)\n self.output:addmv(1, self.noiseWeight, input)\n else\n self.output:copy(self.bias)\n self.output:addmv(1, self.weight, input)\n end\n elseif input:dim() == 2 then\n local nframe = input:size(1)\n local nElement = self.output:nElement()\n self.output:resize(nframe, self.bias:size(1))\n if self.output:nElement() ~= nElement then\n self.output:zero()\n end\n self.addBuffer = self.addBuffer or input.new()\n if self.addBuffer:nElement() ~= nframe then\n self.addBuffer:resize(nframe):fill(1)\n end\n if self.train then\n self.output:addmm(0, self.output, 1, input, self.noiseWeight:t())\n self.output:addr(1, self.addBuffer, self.noiseBias)\n else\n self.output:addmm(0, self.output, 1, input, self.weight:t())\n self.output:addr(1, self.addBuffer, self.bias)\n end\n else\n error('input must be vector or matrix')\n end\n\n return self.output\nend\n\nfunction LinearDropconnect:updateGradInput(input, gradOutput)\n if self.gradInput then\n\n local nElement = self.gradInput:nElement()\n self.gradInput:resizeAs(input)\n if self.gradInput:nElement() ~= nElement then\n self.gradInput:zero()\n end\n if input:dim() == 1 then\n if self.train then\n self.gradInput:addmv(0, 1, self.noiseWeight:t(), gradOutput)\n else\n self.gradInput:addmv(0, 1, self.weight:t(), gradOutput)\n end\n elseif input:dim() == 2 then\n if self.train then\n self.gradInput:addmm(0, 1, gradOutput, self.noiseWeight)\n else\n self.gradInput:addmm(0, 1, gradOutput, self.weight)\n end\n end\n\n return self.gradInput\n end\nend\n\n" |
"""
Write a Python program to replace dictionary values with their sum.
"""
def sum_math_v_vi_average(list_of_dicts):
for d in list_of_dicts:
n1 = d.pop('V')
n2 = d.pop('VI')
d['V+VI'] = (n1 + n2)/2
return list_of_dicts
student_details= [
{'id' : 1, 'subject' : 'math', 'V' : 70, 'VI' : 82},
{'id' : 2, 'subject' : 'math', 'V' : 73, 'VI' : 74},
{'id' : 3, 'subject' : 'math', 'V' : 75, 'VI' : 86}
]
print(sum_math_v_vi_average(student_details)) | """
Write a Python program to replace dictionary values with their sum.
"""
def sum_math_v_vi_average(list_of_dicts):
for d in list_of_dicts:
n1 = d.pop('V')
n2 = d.pop('VI')
d['V+VI'] = (n1 + n2) / 2
return list_of_dicts
student_details = [{'id': 1, 'subject': 'math', 'V': 70, 'VI': 82}, {'id': 2, 'subject': 'math', 'V': 73, 'VI': 74}, {'id': 3, 'subject': 'math', 'V': 75, 'VI': 86}]
print(sum_math_v_vi_average(student_details)) |
class Node:
def __init__(self, data) -> None:
self.data = data
self.next = None
class LinkedList:
def __init__(self, head=None) -> None:
self.head = Node(head)
def pushTop(self, val):
newNode = Node(val)
current = self.head
if not current.data:
self.head = newNode
else:
while(current):
if current.next == None:
break
current = current.next
current.next = newNode
def showLinkedList(self):
current = self.head
print("***SINGLE LINKED LIST***")
while(current):
print(current.data, "==>", end=" ")
current = current.next
print()
def findNodeByData(self, val):
current, i = self.head, 0
while(current):
if current.data == val:
print(current.data, "found at Node", i)
i += 1
current = current.next
if __name__ == "__main__":
# ll1 = LinkedList()
# n1, n2, n3 = Node(1), Node(2), Node(3)
# ll1.head = n1
# n1.next = n2
# n2.next = n3
# n4 = Node(4)
# n5 = Node(50)
# n3.next = n4
# n4.next = n5
# ll1.showLinkedList()
# ll1.findNodeByData(50)
# t1 = Node(100)
# ll1.head = t1
# t1.next = n1
# ll1.showLinkedList()
# ll1.pushTop(21)
# ll1.showLinkedList()
ll1 = LinkedList(head=1)
ll1.pushTop(21)
ll1.pushTop(16)
ll1.pushTop(12)
ll1.showLinkedList() | class Node:
def __init__(self, data) -> None:
self.data = data
self.next = None
class Linkedlist:
def __init__(self, head=None) -> None:
self.head = node(head)
def push_top(self, val):
new_node = node(val)
current = self.head
if not current.data:
self.head = newNode
else:
while current:
if current.next == None:
break
current = current.next
current.next = newNode
def show_linked_list(self):
current = self.head
print('***SINGLE LINKED LIST***')
while current:
print(current.data, '==>', end=' ')
current = current.next
print()
def find_node_by_data(self, val):
(current, i) = (self.head, 0)
while current:
if current.data == val:
print(current.data, 'found at Node', i)
i += 1
current = current.next
if __name__ == '__main__':
ll1 = linked_list(head=1)
ll1.pushTop(21)
ll1.pushTop(16)
ll1.pushTop(12)
ll1.showLinkedList() |
# noinspection PyShadowingBuiltins,PyUnusedLocal
def compute(x, y):
return x+y
a = 2
b = 3
print(compute(a,b)) | def compute(x, y):
return x + y
a = 2
b = 3
print(compute(a, b)) |
#!/usr/bin/env python3
#-*- coding: utf-8 -*-
L = list(map(lambda x: 2 **x, range(7)))
X = 5
obj = 2 ** X
if obj in L:
print('at index', L.index(obj))
else:
print(X, 'not found')
| l = list(map(lambda x: 2 ** x, range(7)))
x = 5
obj = 2 ** X
if obj in L:
print('at index', L.index(obj))
else:
print(X, 'not found') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.