content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# general_sync_utils # similar to music_sync_utils but more general class NameEqualityMixin(): def __eq__(self, other): if isinstance(other, str): return self.name == other return self.name == other.name def __ne__(self, other): return not self.__eq__(other) def __hash__(self): return hash(self.name) class Folder(NameEqualityMixin): def __init__(self, name): self.name = name self.contents = [] # similar to contents # but name:object pairs self.contents_map = {} def __str__(self): return "{0}: {1}".format(self.name, [str(c) for c in self.contents]) class File(NameEqualityMixin): def __init__(self, name, size): self.name = name self.size = size def __str__(self): return self.name class SyncAssertions: def assertFolderEquality(self, actual, expected): for a_i in actual.contents: if a_i not in expected.contents: raise AssertionError("Item {0} not in folder {1}".format(a_i, expected)) if isinstance(a_i, Folder): b_i, = [i for i in expected.contents if i.name == a_i.name] print("Checking subfolders: ", a_i, b_i) self.assertFolderEquality(a_i, b_i) for b_i in expected.contents: if b_i not in actual.contents: raise AssertionError("Item {0} not in folder {1}".format(b_i, actual)) if isinstance(b_i, Folder): a_i, = [i for i in actual.contents if i.name == b_i.name] print("Checking subfolders: ", a_i, b_i) self.assertFolderEquality(a_i, b_i) return
class Nameequalitymixin: def __eq__(self, other): if isinstance(other, str): return self.name == other return self.name == other.name def __ne__(self, other): return not self.__eq__(other) def __hash__(self): return hash(self.name) class Folder(NameEqualityMixin): def __init__(self, name): self.name = name self.contents = [] self.contents_map = {} def __str__(self): return '{0}: {1}'.format(self.name, [str(c) for c in self.contents]) class File(NameEqualityMixin): def __init__(self, name, size): self.name = name self.size = size def __str__(self): return self.name class Syncassertions: def assert_folder_equality(self, actual, expected): for a_i in actual.contents: if a_i not in expected.contents: raise assertion_error('Item {0} not in folder {1}'.format(a_i, expected)) if isinstance(a_i, Folder): (b_i,) = [i for i in expected.contents if i.name == a_i.name] print('Checking subfolders: ', a_i, b_i) self.assertFolderEquality(a_i, b_i) for b_i in expected.contents: if b_i not in actual.contents: raise assertion_error('Item {0} not in folder {1}'.format(b_i, actual)) if isinstance(b_i, Folder): (a_i,) = [i for i in actual.contents if i.name == b_i.name] print('Checking subfolders: ', a_i, b_i) self.assertFolderEquality(a_i, b_i) return
LABEL_TRASH = -1 LABEL_NOISE = -2 LABEL_ALIEN = -9 LABEL_UNCLASSIFIED = -10 LABEL_NO_WAVEFORM = -11 to_name = { -1: 'Trash', -2 : 'Noise', -9: 'Alien', -10: 'Unclassified', -11: 'No waveforms', }
label_trash = -1 label_noise = -2 label_alien = -9 label_unclassified = -10 label_no_waveform = -11 to_name = {-1: 'Trash', -2: 'Noise', -9: 'Alien', -10: 'Unclassified', -11: 'No waveforms'}
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold ( a , b , c ) : if ( a + b <= c ) or ( a + c <= b ) or ( b + c <= a ) : return False else : return True #TOFILL if __name__ == '__main__': param = [ (29,19,52,), (83,34,49,), (48,14,65,), (59,12,94,), (56,39,22,), (68,85,9,), (63,36,41,), (95,34,37,), (2,90,27,), (11,16,1,) ] n_success = 0 for i, parameters_set in enumerate(param): if f_filled(*parameters_set) == f_gold(*parameters_set): n_success+=1 print("#Results: %i, %i" % (n_success, len(param)))
def f_gold(a, b, c): if a + b <= c or a + c <= b or b + c <= a: return False else: return True if __name__ == '__main__': param = [(29, 19, 52), (83, 34, 49), (48, 14, 65), (59, 12, 94), (56, 39, 22), (68, 85, 9), (63, 36, 41), (95, 34, 37), (2, 90, 27), (11, 16, 1)] n_success = 0 for (i, parameters_set) in enumerate(param): if f_filled(*parameters_set) == f_gold(*parameters_set): n_success += 1 print('#Results: %i, %i' % (n_success, len(param)))
# Enter your code here. Read input from STDIN. Print output to STDOUT rd,rm,ry=map(int,input().split()) ed,em,ey=map(int,input().split()) if ry<ey: print("0") elif ry<=ey: if rm<=em: if rd<=ed: print("0") else: print(15*(rd-ed)) else: print(500*(rm-em)) else: print(10000)
(rd, rm, ry) = map(int, input().split()) (ed, em, ey) = map(int, input().split()) if ry < ey: print('0') elif ry <= ey: if rm <= em: if rd <= ed: print('0') else: print(15 * (rd - ed)) else: print(500 * (rm - em)) else: print(10000)
n1 = float(input('Informe a primeira nota do Aluno: ')) n2 = float(input('informe a segunda nota: ')) m = (n1 + n2) / 2 print('Sua media foi de {}'.format(m))
n1 = float(input('Informe a primeira nota do Aluno: ')) n2 = float(input('informe a segunda nota: ')) m = (n1 + n2) / 2 print('Sua media foi de {}'.format(m))
class BaseAnalyzer(object): def __init__(self, base_node): self.base_node = base_node def analyze(self): raise NotImplementedError()
class Baseanalyzer(object): def __init__(self, base_node): self.base_node = base_node def analyze(self): raise not_implemented_error()
class Solution: def minPathSum(self, grid: List[List[int]]) -> int: m, n = len(grid), len(grid[0]) dp = grid[0][:] for i in range(1, n): dp[i] += dp[i-1] for i in range(1, m): for j in range(n): if j > 0: dp[j] = grid[i][j] + min(dp[j], dp[j-1]) else: dp[j] = grid[i][j] + dp[j] return dp[-1]
class Solution: def min_path_sum(self, grid: List[List[int]]) -> int: (m, n) = (len(grid), len(grid[0])) dp = grid[0][:] for i in range(1, n): dp[i] += dp[i - 1] for i in range(1, m): for j in range(n): if j > 0: dp[j] = grid[i][j] + min(dp[j], dp[j - 1]) else: dp[j] = grid[i][j] + dp[j] return dp[-1]
def repetition(a,b): count=0; for i in range(len(a)): if(a[i]==b): count=count+1 return count
def repetition(a, b): count = 0 for i in range(len(a)): if a[i] == b: count = count + 1 return count
n = int(input()) xy = [map(int, input().split()) for _ in range(n)] x, y = [list(i) for i in zip(*xy)] count = 0 buf = 0 for xi, yi in zip(x, y): if xi == yi: buf += 1 else: if buf > count: count = buf buf = 0 if buf > count: count = buf if count >= 3: print('Yes') else: print('No')
n = int(input()) xy = [map(int, input().split()) for _ in range(n)] (x, y) = [list(i) for i in zip(*xy)] count = 0 buf = 0 for (xi, yi) in zip(x, y): if xi == yi: buf += 1 else: if buf > count: count = buf buf = 0 if buf > count: count = buf if count >= 3: print('Yes') else: print('No')
# # PySNMP MIB module Sentry4-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Sentry4-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:14:39 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, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") Integer32, TimeTicks, Bits, Unsigned32, MibIdentifier, iso, ModuleIdentity, Counter32, Gauge32, IpAddress, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, enterprises, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "TimeTicks", "Bits", "Unsigned32", "MibIdentifier", "iso", "ModuleIdentity", "Counter32", "Gauge32", "IpAddress", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "enterprises", "ObjectIdentity") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") sentry4 = ModuleIdentity((1, 3, 6, 1, 4, 1, 1718, 4)) sentry4.setRevisions(('2016-11-18 23:40', '2016-09-21 23:00', '2016-04-25 21:40', '2015-02-19 10:00', '2014-12-23 11:30',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: sentry4.setRevisionsDescriptions(('Added the st4UnitProductMfrDate object. Adjusted the upper limit of voltage objects to 600 Volts.', 'Fixed the st4InputCordOutOfBalanceEvent notification definition to include the correct objects.', 'Added support for the PRO1 product series. Added the st4SystemProductSeries and st4InputCordNominalPowerFactor objects. Adjusted the upper limit of cord and line current objects to 600 Amps. Adjusted the lower limit of nominal voltage objects to 0 Volts. Corrected the lower limit of several configuration objects from -1 to 0.', 'Corrected the UNITS and value range of temperature sensor threshold objects.', 'Initial release.',)) if mibBuilder.loadTexts: sentry4.setLastUpdated('201611182340Z') if mibBuilder.loadTexts: sentry4.setOrganization('Server Technology, Inc.') if mibBuilder.loadTexts: sentry4.setContactInfo('Server Technology, Inc. 1040 Sandhill Road Reno, NV 89521 Tel: (775) 284-2000 Fax: (775) 284-2065 Email: [email protected]') if mibBuilder.loadTexts: sentry4.setDescription('This is the MIB module for the fourth generation of the Sentry product family. This includes the PRO1 and PRO2 series of Smart and Switched Cabinet Distribution Unit (CDU) and Power Distribution Unit (PDU) products.') serverTech = MibIdentifier((1, 3, 6, 1, 4, 1, 1718)) class DeviceStatus(TextualConvention, Integer32): description = 'Status returned by devices.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)) namedValues = NamedValues(("normal", 0), ("disabled", 1), ("purged", 2), ("reading", 5), ("settle", 6), ("notFound", 7), ("lost", 8), ("readError", 9), ("noComm", 10), ("pwrError", 11), ("breakerTripped", 12), ("fuseBlown", 13), ("lowAlarm", 14), ("lowWarning", 15), ("highWarning", 16), ("highAlarm", 17), ("alarm", 18), ("underLimit", 19), ("overLimit", 20), ("nvmFail", 21), ("profileError", 22), ("conflict", 23)) class DeviceState(TextualConvention, Integer32): description = 'On or off state of devices.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2)) namedValues = NamedValues(("unknown", 0), ("on", 1), ("off", 2)) class EventNotificationMethods(TextualConvention, Bits): description = 'Bits to enable event notification methods.' status = 'current' namedValues = NamedValues(("snmpTrap", 0), ("email", 1)) st4Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1)) st4System = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1)) st4SystemConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1)) st4SystemProductName = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemProductName.setStatus('current') if mibBuilder.loadTexts: st4SystemProductName.setDescription('The product name.') st4SystemLocation = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4SystemLocation.setStatus('current') if mibBuilder.loadTexts: st4SystemLocation.setDescription('The location of the system.') st4SystemFirmwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemFirmwareVersion.setStatus('current') if mibBuilder.loadTexts: st4SystemFirmwareVersion.setDescription('The firmware version.') st4SystemFirmwareBuildInfo = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemFirmwareBuildInfo.setStatus('current') if mibBuilder.loadTexts: st4SystemFirmwareBuildInfo.setDescription('The firmware build information.') st4SystemNICSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemNICSerialNumber.setStatus('current') if mibBuilder.loadTexts: st4SystemNICSerialNumber.setDescription('The serial number of the network interface card.') st4SystemNICHardwareInfo = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemNICHardwareInfo.setStatus('current') if mibBuilder.loadTexts: st4SystemNICHardwareInfo.setDescription('Hardware information about the network interface card.') st4SystemProductSeries = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("pro1", 0), ("pro2", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemProductSeries.setStatus('current') if mibBuilder.loadTexts: st4SystemProductSeries.setDescription('The product series.') st4SystemFeatures = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 10), Bits().clone(namedValues=NamedValues(("smartLoadShedding", 0), ("reserved", 1), ("outletControlInhibit", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemFeatures.setStatus('current') if mibBuilder.loadTexts: st4SystemFeatures.setDescription('The key-activated features enabled in the system.') st4SystemFeatureKey = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 19))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4SystemFeatureKey.setStatus('current') if mibBuilder.loadTexts: st4SystemFeatureKey.setDescription('A valid feature key written to this object will enable a feature in the system. A valid feature key is in the form xxxx-xxxx-xxxx-xxxx. A read of this object returns an empty string.') st4SystemConfigModifiedCount = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemConfigModifiedCount.setStatus('current') if mibBuilder.loadTexts: st4SystemConfigModifiedCount.setDescription('The total number of times the system configuration has changed.') st4SystemUnitCount = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4SystemUnitCount.setStatus('current') if mibBuilder.loadTexts: st4SystemUnitCount.setDescription('The number of units in the system.') st4Units = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2)) st4UnitCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 1)) st4UnitConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2), ) if mibBuilder.loadTexts: st4UnitConfigTable.setStatus('current') if mibBuilder.loadTexts: st4UnitConfigTable.setDescription('Unit configuration table.') st4UnitConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex")) if mibBuilder.loadTexts: st4UnitConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitConfigEntry.setDescription('Configuration objects for a particular unit.') st4UnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))) if mibBuilder.loadTexts: st4UnitIndex.setStatus('current') if mibBuilder.loadTexts: st4UnitIndex.setDescription('Unit index. A=1, B=2, C=3, D=4, E=5, F=6.') st4UnitID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitID.setStatus('current') if mibBuilder.loadTexts: st4UnitID.setDescription('The internal ID of the unit. Format=A.') st4UnitName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4UnitName.setStatus('current') if mibBuilder.loadTexts: st4UnitName.setDescription('The name of the unit.') st4UnitProductSN = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitProductSN.setStatus('current') if mibBuilder.loadTexts: st4UnitProductSN.setDescription('The product serial number of the unit.') st4UnitModel = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitModel.setStatus('current') if mibBuilder.loadTexts: st4UnitModel.setDescription('The model of the unit.') st4UnitAssetTag = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4UnitAssetTag.setStatus('current') if mibBuilder.loadTexts: st4UnitAssetTag.setDescription('The asset tag of the unit.') st4UnitType = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("masterPdu", 0), ("linkPdu", 1), ("controller", 2), ("emcu", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitType.setStatus('current') if mibBuilder.loadTexts: st4UnitType.setDescription('The type of the unit.') st4UnitCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 8), Bits().clone(namedValues=NamedValues(("dc", 0), ("phase3", 1), ("wye", 2), ("delta", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitCapabilities.setStatus('current') if mibBuilder.loadTexts: st4UnitCapabilities.setDescription('The capabilities of the unit.') st4UnitProductMfrDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitProductMfrDate.setStatus('current') if mibBuilder.loadTexts: st4UnitProductMfrDate.setDescription('The product manufacture date in YYYY-MM-DD (ISO 8601 format).') st4UnitDisplayOrientation = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("normal", 0), ("inverted", 1), ("auto", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4UnitDisplayOrientation.setStatus('current') if mibBuilder.loadTexts: st4UnitDisplayOrientation.setDescription('The orientation of all displays in the unit.') st4UnitOutletSequenceOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normal", 0), ("reversed", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4UnitOutletSequenceOrder.setStatus('current') if mibBuilder.loadTexts: st4UnitOutletSequenceOrder.setDescription('The sequencing order of all outlets in the unit.') st4UnitInputCordCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitInputCordCount.setStatus('current') if mibBuilder.loadTexts: st4UnitInputCordCount.setDescription('The number of power input cords into the unit.') st4UnitTempSensorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitTempSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitTempSensorCount.setDescription('The number of external temperature sensors supported by the unit.') st4UnitHumidSensorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitHumidSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitHumidSensorCount.setDescription('The number of external humidity sensors supported by the unit.') st4UnitWaterSensorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitWaterSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitWaterSensorCount.setDescription('The number of external water sensors supported by the unit.') st4UnitCcSensorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitCcSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitCcSensorCount.setDescription('The number of external contact closure sensors supported by the unit.') st4UnitAdcSensorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitAdcSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitAdcSensorCount.setDescription('The number of analog-to-digital converter sensors supported by the unit.') st4UnitMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3), ) if mibBuilder.loadTexts: st4UnitMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4UnitMonitorTable.setDescription('Unit monitor table.') st4UnitMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex")) if mibBuilder.loadTexts: st4UnitMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitMonitorEntry.setDescription('Objects to monitor for a particular unit.') st4UnitStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3, 1, 1), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4UnitStatus.setStatus('current') if mibBuilder.loadTexts: st4UnitStatus.setDescription('The status of the unit.') st4UnitEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4), ) if mibBuilder.loadTexts: st4UnitEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4UnitEventConfigTable.setDescription('Unit event configuration table.') st4UnitEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex")) if mibBuilder.loadTexts: st4UnitEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitEventConfigEntry.setDescription('Event configuration objects for a particular unit.') st4UnitNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4UnitNotifications.setStatus('current') if mibBuilder.loadTexts: st4UnitNotifications.setDescription('The notification methods enabled for unit events.') st4InputCords = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3)) st4InputCordCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1)) st4InputCordActivePowerHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordActivePowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHysteresis.setDescription('The active power hysteresis of the input cord in Watts.') st4InputCordApparentPowerHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setUnits('Volt-Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordApparentPowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHysteresis.setDescription('The apparent power hysteresis of the input cord in Volt-Amps.') st4InputCordPowerFactorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordPowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorHysteresis.setDescription('The power factor hysteresis of the input cord in hundredths.') st4InputCordOutOfBalanceHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setUnits('percent').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordOutOfBalanceHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHysteresis.setDescription('The 3 phase out-of-balance hysteresis of the input cord in percent.') st4InputCordConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2), ) if mibBuilder.loadTexts: st4InputCordConfigTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordConfigTable.setDescription('Input cord configuration table.') st4InputCordConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex")) if mibBuilder.loadTexts: st4InputCordConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordConfigEntry.setDescription('Configuration objects for a particular input cord.') st4InputCordIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))) if mibBuilder.loadTexts: st4InputCordIndex.setStatus('current') if mibBuilder.loadTexts: st4InputCordIndex.setDescription('Input cord index. A=1, B=2, C=3, D=4.') st4InputCordID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordID.setStatus('current') if mibBuilder.loadTexts: st4InputCordID.setDescription('The internal ID of the input cord. Format=AA.') st4InputCordName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordName.setStatus('current') if mibBuilder.loadTexts: st4InputCordName.setDescription('The name of the input cord.') st4InputCordInletType = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordInletType.setStatus('current') if mibBuilder.loadTexts: st4InputCordInletType.setDescription('The type of plug on the input cord, or socket for the input cord.') st4InputCordNominalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordNominalVoltage.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltage.setDescription('The user-configured nominal voltage of the input cord in tenth Volts.') st4InputCordNominalVoltageMin = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setUnits('Volts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordNominalVoltageMin.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltageMin.setDescription('The factory-set minimum allowed for the user-configured nominal voltage of the input cord in Volts.') st4InputCordNominalVoltageMax = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setUnits('Volts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordNominalVoltageMax.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltageMax.setDescription('The factory-set maximum allowed for the user-configured nominal voltage of the input cord in Volts.') st4InputCordCurrentCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setUnits('Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4InputCordCurrentCapacity.setDescription('The user-configured current capacity of the input cord in Amps.') st4InputCordCurrentCapacityMax = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setUnits('Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordCurrentCapacityMax.setStatus('current') if mibBuilder.loadTexts: st4InputCordCurrentCapacityMax.setDescription('The factory-set maximum allowed for the user-configured current capacity of the input cord in Amps.') st4InputCordPowerCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordPowerCapacity.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerCapacity.setDescription('The power capacity of the input cord in Volt-Amps. For DC products, this is identical to power capacity in Watts.') st4InputCordNominalPowerFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordNominalPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalPowerFactor.setDescription('The user-configured estimated nominal power factor of the input cord in hundredths.') st4InputCordLineCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordLineCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordLineCount.setDescription('The number of current-carrying lines in the input cord.') st4InputCordPhaseCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordPhaseCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordPhaseCount.setDescription('The number of active phases from the lines in the input cord.') st4InputCordOcpCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordOcpCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordOcpCount.setDescription('The number of over-current protectors downstream from the input cord.') st4InputCordBranchCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordBranchCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordBranchCount.setDescription('The number of branches downstream from the input cord.') st4InputCordOutletCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordOutletCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutletCount.setDescription('The number of outlets powered from the input cord.') st4InputCordMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3), ) if mibBuilder.loadTexts: st4InputCordMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordMonitorTable.setDescription('Input cord monitor table.') st4InputCordMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex")) if mibBuilder.loadTexts: st4InputCordMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordMonitorEntry.setDescription('Objects to monitor for a particular input cord.') st4InputCordState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 1), DeviceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordState.setStatus('current') if mibBuilder.loadTexts: st4InputCordState.setDescription('The on/off state of the input cord.') st4InputCordStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordStatus.setDescription('The status of the input cord.') st4InputCordActivePower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 50000))).setUnits('Watts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordActivePower.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePower.setDescription('The measured active power of the input cord in Watts.') st4InputCordActivePowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 4), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordActivePowerStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerStatus.setDescription('The status of the measured active power of the input cord.') st4InputCordApparentPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 50000))).setUnits('Volt-Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordApparentPower.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPower.setDescription('The measured apparent power of the input cord in Volt-Amps.') st4InputCordApparentPowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 6), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordApparentPowerStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerStatus.setDescription('The status of the measured apparent power of the input cord.') st4InputCordPowerUtilized = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1200))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordPowerUtilized.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerUtilized.setDescription('The amount of the input cord power capacity used in tenth percent. For AC products, this is the ratio of the apparent power to the power capacity. For DC products, this is the ratio of the active power to the power capacity.') st4InputCordPowerFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setUnits('hundredths').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactor.setDescription('The measured power factor of the input cord in hundredths.') st4InputCordPowerFactorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 9), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordPowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorStatus.setDescription('The status of the measured power factor of the input cord.') st4InputCordEnergy = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setUnits('tenth Kilowatt-Hours').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordEnergy.setStatus('current') if mibBuilder.loadTexts: st4InputCordEnergy.setDescription('The total energy consumption of loads through the input cord in tenth Kilowatt-Hours.') st4InputCordFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1000))).setUnits('tenth Hertz').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordFrequency.setStatus('current') if mibBuilder.loadTexts: st4InputCordFrequency.setDescription('The frequency of the input cord voltage in tenth Hertz.') st4InputCordOutOfBalance = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2000))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordOutOfBalance.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalance.setDescription('The current imbalance on the lines of the input cord in tenth percent.') st4InputCordOutOfBalanceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 13), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4InputCordOutOfBalanceStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceStatus.setDescription('The status of the current imbalance on the lines of the input cord.') st4InputCordEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4), ) if mibBuilder.loadTexts: st4InputCordEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordEventConfigTable.setDescription('Input cord event configuration table.') st4InputCordEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex")) if mibBuilder.loadTexts: st4InputCordEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordEventConfigEntry.setDescription('Event configuration objects for a particular input cord.') st4InputCordNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordNotifications.setStatus('current') if mibBuilder.loadTexts: st4InputCordNotifications.setDescription('The notification methods enabled for input cord events.') st4InputCordActivePowerLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordActivePowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerLowAlarm.setDescription('The active power low alarm threshold of the input cord in Watts.') st4InputCordActivePowerLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordActivePowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerLowWarning.setDescription('The active power low warning threshold of the input cord in Watts.') st4InputCordActivePowerHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordActivePowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHighWarning.setDescription('The active power high warning threshold of the input cord in Watts.') st4InputCordActivePowerHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordActivePowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHighAlarm.setDescription('The active power high alarm threshold of the input cord in Watts.') st4InputCordApparentPowerLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordApparentPowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerLowAlarm.setDescription('The apparent power low alarm threshold of the input cord in Volt-Amps.') st4InputCordApparentPowerLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordApparentPowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerLowWarning.setDescription('The apparent power low warning threshold of the input cord in Volt-Amps.') st4InputCordApparentPowerHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordApparentPowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHighWarning.setDescription('The apparent power high warning threshold of the input cord in Volt-Amps.') st4InputCordApparentPowerHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordApparentPowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHighAlarm.setDescription('The apparent power high alarm threshold of the input cord in Volt-Amps.') st4InputCordPowerFactorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordPowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorLowAlarm.setDescription('The power factor low alarm threshold of the input cord in hundredths.') st4InputCordPowerFactorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordPowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorLowWarning.setDescription('The power factor low warning threshold of the input cord in hundredths.') st4InputCordOutOfBalanceHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighWarning.setDescription('The 3 phase out-of-balance high warning threshold of the input cord in percent.') st4InputCordOutOfBalanceHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighAlarm.setDescription('The 3 phase out-of-balance high alarm threshold of the input cord in percent.') st4Lines = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4)) st4LineCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 1)) st4LineCurrentHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHysteresis.setDescription('The current hysteresis of the line in tenth Amps.') st4LineConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2), ) if mibBuilder.loadTexts: st4LineConfigTable.setStatus('current') if mibBuilder.loadTexts: st4LineConfigTable.setDescription('Line configuration table.') st4LineConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4LineIndex")) if mibBuilder.loadTexts: st4LineConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4LineConfigEntry.setDescription('Configuration objects for a particular line.') st4LineIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))) if mibBuilder.loadTexts: st4LineIndex.setStatus('current') if mibBuilder.loadTexts: st4LineIndex.setDescription('Line index. L1=1, L2=2, L3=3, N=4.') st4LineID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineID.setStatus('current') if mibBuilder.loadTexts: st4LineID.setDescription('The internal ID of the line. Format=AAN.') st4LineLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineLabel.setStatus('current') if mibBuilder.loadTexts: st4LineLabel.setDescription('The system label assigned to the line for identification.') st4LineCurrentCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setUnits('Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentCapacity.setDescription('The current capacity of the line in Amps.') st4LineMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3), ) if mibBuilder.loadTexts: st4LineMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4LineMonitorTable.setDescription('Line monitor table.') st4LineMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4LineIndex")) if mibBuilder.loadTexts: st4LineMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4LineMonitorEntry.setDescription('Objects to monitor for a particular line.') st4LineState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 1), DeviceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineState.setStatus('current') if mibBuilder.loadTexts: st4LineState.setDescription('The on/off state of the line.') st4LineStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineStatus.setStatus('current') if mibBuilder.loadTexts: st4LineStatus.setDescription('The status of the line.') st4LineCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 60000))).setUnits('hundredth Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineCurrent.setStatus('current') if mibBuilder.loadTexts: st4LineCurrent.setDescription('The measured current on the line in hundredth Amps.') st4LineCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 4), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentStatus.setDescription('The status of the measured current on the line.') st4LineCurrentUtilized = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1200))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4LineCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentUtilized.setDescription('The amount of the line current capacity used in tenth percent.') st4LineEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4), ) if mibBuilder.loadTexts: st4LineEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4LineEventConfigTable.setDescription('Line event configuration table.') st4LineEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4LineIndex")) if mibBuilder.loadTexts: st4LineEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4LineEventConfigEntry.setDescription('Event configuration objects for a particular line.') st4LineNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineNotifications.setStatus('current') if mibBuilder.loadTexts: st4LineNotifications.setDescription('The notification methods enabled for line events.') st4LineCurrentLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentLowAlarm.setDescription('The current low alarm threshold of the line in tenth Amps.') st4LineCurrentLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentLowWarning.setDescription('The current low warning threshold of the line in tenth Amps.') st4LineCurrentHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHighWarning.setDescription('The current high warning threshold of the line in tenth Amps.') st4LineCurrentHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4LineCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHighAlarm.setDescription('The current high alarm threshold of the line in tenth Amps.') st4Phases = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5)) st4PhaseCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1)) st4PhaseVoltageHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseVoltageHysteresis.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHysteresis.setDescription('The voltage hysteresis of the phase in tenth Volts.') st4PhasePowerFactorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhasePowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorHysteresis.setDescription('The power factor hysteresis of the phase in hundredths.') st4PhaseConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2), ) if mibBuilder.loadTexts: st4PhaseConfigTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseConfigTable.setDescription('Phase configuration table.') st4PhaseConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4PhaseIndex")) if mibBuilder.loadTexts: st4PhaseConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseConfigEntry.setDescription('Configuration objects for a particular phase.') st4PhaseIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))) if mibBuilder.loadTexts: st4PhaseIndex.setStatus('current') if mibBuilder.loadTexts: st4PhaseIndex.setDescription('Phase index. Three-phase AC Wye: L1-N=1, L2-N=2, L3-N=3; Three-phase AC Delta: L1-L2=1, L2-L3=2, L3-L1=3; Single Phase: L1-R=1; DC: L1-R=1; Three-phase AC Wye & Delta: L1-N=1, L2-N=2, L3-N=3, L1-L2=4, L2-L3=5; L3-L1=6.') st4PhaseID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseID.setStatus('current') if mibBuilder.loadTexts: st4PhaseID.setDescription('The internal ID of the phase. Format=AAN.') st4PhaseLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseLabel.setStatus('current') if mibBuilder.loadTexts: st4PhaseLabel.setDescription('The system label assigned to the phase for identification.') st4PhaseNominalVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseNominalVoltage.setStatus('current') if mibBuilder.loadTexts: st4PhaseNominalVoltage.setDescription('The nominal voltage of the phase in tenth Volts.') st4PhaseBranchCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseBranchCount.setStatus('current') if mibBuilder.loadTexts: st4PhaseBranchCount.setDescription('The number of branches downstream from the phase.') st4PhaseOutletCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseOutletCount.setStatus('current') if mibBuilder.loadTexts: st4PhaseOutletCount.setDescription('The number of outlets powered from the phase.') st4PhaseMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3), ) if mibBuilder.loadTexts: st4PhaseMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseMonitorTable.setDescription('Phase monitor table.') st4PhaseMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4PhaseIndex")) if mibBuilder.loadTexts: st4PhaseMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseMonitorEntry.setDescription('Objects to monitor for a particular phase.') st4PhaseState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 1), DeviceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseState.setStatus('current') if mibBuilder.loadTexts: st4PhaseState.setDescription('The on/off state of the phase.') st4PhaseStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseStatus.setStatus('current') if mibBuilder.loadTexts: st4PhaseStatus.setDescription('The status of the phase.') st4PhaseVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 6000))).setUnits('tenth Volts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseVoltage.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltage.setDescription('The measured voltage on the phase in tenth Volts.') st4PhaseVoltageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 4), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseVoltageStatus.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageStatus.setDescription('The status of the measured voltage on the phase.') st4PhaseVoltageDeviation = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000, 1000))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseVoltageDeviation.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageDeviation.setDescription('The deviation from the nominal voltage on the phase in tenth percent.') st4PhaseCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 30000))).setUnits('hundredth Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseCurrent.setStatus('current') if mibBuilder.loadTexts: st4PhaseCurrent.setDescription('The measured current on the phase in hundredth Amps.') st4PhaseCurrentCrestFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 250))).setUnits('tenths').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseCurrentCrestFactor.setStatus('current') if mibBuilder.loadTexts: st4PhaseCurrentCrestFactor.setDescription('The measured crest factor of the current waveform on the phase in tenths.') st4PhaseActivePower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 25000))).setUnits('Watts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseActivePower.setStatus('current') if mibBuilder.loadTexts: st4PhaseActivePower.setDescription('The measured active power on the phase in Watts.') st4PhaseApparentPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 25000))).setUnits('Volt-Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseApparentPower.setStatus('current') if mibBuilder.loadTexts: st4PhaseApparentPower.setDescription('The measured apparent power on the phase in Volt-Amps.') st4PhasePowerFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setUnits('hundredths').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhasePowerFactor.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactor.setDescription('The measured power factor on the phase in hundredths.') st4PhasePowerFactorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 11), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhasePowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorStatus.setDescription('The status of the measured power factor on the phase.') st4PhaseReactance = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("capacitive", 1), ("inductive", 2), ("resistive", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseReactance.setStatus('current') if mibBuilder.loadTexts: st4PhaseReactance.setDescription('The status of the measured reactance of the phase.') st4PhaseEnergy = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setUnits('tenth Kilowatt-Hours').setMaxAccess("readonly") if mibBuilder.loadTexts: st4PhaseEnergy.setStatus('current') if mibBuilder.loadTexts: st4PhaseEnergy.setDescription('The total energy consumption of loads through the phase in tenth Kilowatt-Hours.') st4PhaseEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4), ) if mibBuilder.loadTexts: st4PhaseEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseEventConfigTable.setDescription('Phase event configuration table.') st4PhaseEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4PhaseIndex")) if mibBuilder.loadTexts: st4PhaseEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseEventConfigEntry.setDescription('Event configuration objects for a particular phase.') st4PhaseNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseNotifications.setStatus('current') if mibBuilder.loadTexts: st4PhaseNotifications.setDescription('The notification methods enabled for phase events.') st4PhaseVoltageLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseVoltageLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageLowAlarm.setDescription('The current low alarm threshold of the phase in tenth Volts.') st4PhaseVoltageLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseVoltageLowWarning.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageLowWarning.setDescription('The current low warning threshold of the phase in tenth Volts.') st4PhaseVoltageHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseVoltageHighWarning.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHighWarning.setDescription('The current high warning threshold of the phase in tenth Volts.') st4PhaseVoltageHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6000))).setUnits('tenth Volts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhaseVoltageHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHighAlarm.setDescription('The current high alarm threshold of the phase in tenth Volts.') st4PhasePowerFactorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhasePowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorLowAlarm.setDescription('The low power factor alarm threshold of the phase in hundredths.') st4PhasePowerFactorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4PhasePowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorLowWarning.setDescription('The low power factor warning threshold of the phase in hundredths.') st4OverCurrentProtectors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6)) st4OcpCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 1)) st4OcpConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2), ) if mibBuilder.loadTexts: st4OcpConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OcpConfigTable.setDescription('Over-current protector configuration table.') st4OcpConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OcpIndex")) if mibBuilder.loadTexts: st4OcpConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpConfigEntry.setDescription('Configuration objects for a particular over-current protector.') st4OcpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))) if mibBuilder.loadTexts: st4OcpIndex.setStatus('current') if mibBuilder.loadTexts: st4OcpIndex.setDescription('Over-current protector index.') st4OcpID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpID.setStatus('current') if mibBuilder.loadTexts: st4OcpID.setDescription('The internal ID of the over-current protector. Format=AAN[N].') st4OcpLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpLabel.setStatus('current') if mibBuilder.loadTexts: st4OcpLabel.setDescription('The system label assigned to the over-current protector for identification.') st4OcpType = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("fuse", 0), ("breaker", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpType.setStatus('current') if mibBuilder.loadTexts: st4OcpType.setDescription('The type of over-current protector.') st4OcpCurrentCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 125))).setUnits('Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OcpCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4OcpCurrentCapacity.setDescription('The user-configured current capacity of the over-current protector in Amps.') st4OcpCurrentCapacityMax = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 125))).setUnits('Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpCurrentCapacityMax.setStatus('current') if mibBuilder.loadTexts: st4OcpCurrentCapacityMax.setDescription('The factory-set maximum allowed for the user-configured current capacity of the over-current protector in Amps.') st4OcpBranchCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpBranchCount.setStatus('current') if mibBuilder.loadTexts: st4OcpBranchCount.setDescription('The number of branches downstream from the over-current protector.') st4OcpOutletCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpOutletCount.setStatus('current') if mibBuilder.loadTexts: st4OcpOutletCount.setDescription('The number of outlets powered from the over-current protector.') st4OcpMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3), ) if mibBuilder.loadTexts: st4OcpMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4OcpMonitorTable.setDescription('Over-current protector monitor table.') st4OcpMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OcpIndex")) if mibBuilder.loadTexts: st4OcpMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpMonitorEntry.setDescription('Objects to monitor for a particular over-current protector.') st4OcpStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3, 1, 1), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OcpStatus.setStatus('current') if mibBuilder.loadTexts: st4OcpStatus.setDescription('The status of the over-current protector.') st4OcpEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4), ) if mibBuilder.loadTexts: st4OcpEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OcpEventConfigTable.setDescription('Over-current protector event configuration table.') st4OcpEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OcpIndex")) if mibBuilder.loadTexts: st4OcpEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpEventConfigEntry.setDescription('Event configuration objects for a particular over-current protector.') st4OcpNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OcpNotifications.setStatus('current') if mibBuilder.loadTexts: st4OcpNotifications.setDescription('The notification methods enabled for over-current protector events.') st4Branches = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7)) st4BranchCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 1)) st4BranchCurrentHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHysteresis.setDescription('The current hysteresis of the branch in tenth Amps.') st4BranchConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2), ) if mibBuilder.loadTexts: st4BranchConfigTable.setStatus('current') if mibBuilder.loadTexts: st4BranchConfigTable.setDescription('Branch configuration table.') st4BranchConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4BranchIndex")) if mibBuilder.loadTexts: st4BranchConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchConfigEntry.setDescription('Configuration objects for a particular branch.') st4BranchIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))) if mibBuilder.loadTexts: st4BranchIndex.setStatus('current') if mibBuilder.loadTexts: st4BranchIndex.setDescription('Branch index.') st4BranchID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchID.setStatus('current') if mibBuilder.loadTexts: st4BranchID.setDescription('The internal ID of the branch. Format=AAN[N].') st4BranchLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchLabel.setStatus('current') if mibBuilder.loadTexts: st4BranchLabel.setDescription('The system label assigned to the branch for identification.') st4BranchCurrentCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 125))).setUnits('Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentCapacity.setDescription('The current capacity of the branch in Amps.') st4BranchPhaseID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchPhaseID.setStatus('current') if mibBuilder.loadTexts: st4BranchPhaseID.setDescription('The internal ID of the phase powering this branch. Format=AAN.') st4BranchOcpID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchOcpID.setStatus('current') if mibBuilder.loadTexts: st4BranchOcpID.setDescription('The internal ID of the over-current protector powering this outlet. Format=AAN[N].') st4BranchOutletCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchOutletCount.setStatus('current') if mibBuilder.loadTexts: st4BranchOutletCount.setDescription('The number of outlets powered from the branch.') st4BranchMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3), ) if mibBuilder.loadTexts: st4BranchMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4BranchMonitorTable.setDescription('Branch monitor table.') st4BranchMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4BranchIndex")) if mibBuilder.loadTexts: st4BranchMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchMonitorEntry.setDescription('Objects to monitor for a particular branch.') st4BranchState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 1), DeviceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchState.setStatus('current') if mibBuilder.loadTexts: st4BranchState.setDescription('The on/off state of the branch.') st4BranchStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchStatus.setStatus('current') if mibBuilder.loadTexts: st4BranchStatus.setDescription('The status of the branch.') st4BranchCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 12500))).setUnits('hundredth Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchCurrent.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrent.setDescription('The measured current on the branch in hundredth Amps.') st4BranchCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 4), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentStatus.setDescription('The status of the measured current on the branch.') st4BranchCurrentUtilized = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1200))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4BranchCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentUtilized.setDescription('The amount of the branch current capacity used in tenth percent.') st4BranchEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4), ) if mibBuilder.loadTexts: st4BranchEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4BranchEventConfigTable.setDescription('Branch event configuration table.') st4BranchEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4BranchIndex")) if mibBuilder.loadTexts: st4BranchEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchEventConfigEntry.setDescription('Event configuration objects for a particular branch.') st4BranchNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchNotifications.setStatus('current') if mibBuilder.loadTexts: st4BranchNotifications.setDescription('The notification methods enabled for branch events.') st4BranchCurrentLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentLowAlarm.setDescription('The current low alarm threshold of the branch in tenth Amps.') st4BranchCurrentLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentLowWarning.setDescription('The current low warning threshold of the branch in tenth Amps.') st4BranchCurrentHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHighWarning.setDescription('The current high warning threshold of the branch in tenth Amps.') st4BranchCurrentHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4BranchCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHighAlarm.setDescription('The current high alarm threshold of the branch in tenth Amps.') st4Outlets = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8)) st4OutletCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1)) st4OutletCurrentHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHysteresis.setDescription('The current hysteresis of the outlet in tenth Amps.') st4OutletActivePowerHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletActivePowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHysteresis.setDescription('The power hysteresis of the outlet in Watts.') st4OutletPowerFactorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletPowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorHysteresis.setDescription('The power factor hysteresis of the outlet in hundredths.') st4OutletSequenceInterval = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletSequenceInterval.setStatus('current') if mibBuilder.loadTexts: st4OutletSequenceInterval.setDescription('The power-on sequencing interval for all outlets in seconds.') st4OutletRebootDelay = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 600))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletRebootDelay.setStatus('current') if mibBuilder.loadTexts: st4OutletRebootDelay.setDescription('The reboot delay for all outlets in seconds.') st4OutletStateChangeLogging = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletStateChangeLogging.setStatus('current') if mibBuilder.loadTexts: st4OutletStateChangeLogging.setDescription('Enables or disables informational Outlet State Change event logging.') st4OutletConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2), ) if mibBuilder.loadTexts: st4OutletConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OutletConfigTable.setDescription('Outlet configuration table.') st4OutletConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OutletIndex")) if mibBuilder.loadTexts: st4OutletConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletConfigEntry.setDescription('Configuration objects for a particular outlet.') st4OutletIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))) if mibBuilder.loadTexts: st4OutletIndex.setStatus('current') if mibBuilder.loadTexts: st4OutletIndex.setDescription('Outlet index.') st4OutletID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletID.setStatus('current') if mibBuilder.loadTexts: st4OutletID.setDescription('The internal ID of the outlet. Format=AAN[N[N]].') st4OutletName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletName.setStatus('current') if mibBuilder.loadTexts: st4OutletName.setDescription('The name of the outlet.') st4OutletCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 5), Bits().clone(namedValues=NamedValues(("switched", 0), ("pops", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCapabilities.setStatus('current') if mibBuilder.loadTexts: st4OutletCapabilities.setDescription('The capabilities of the outlet.') st4OutletSocketType = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletSocketType.setStatus('current') if mibBuilder.loadTexts: st4OutletSocketType.setDescription('The socket type of the outlet.') st4OutletCurrentCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 125))).setUnits('Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentCapacity.setDescription('The current capacity of the outlet in Amps.') st4OutletPowerCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Volt-Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletPowerCapacity.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerCapacity.setDescription('The power capacity of the outlet in Volt-Amps. For DC products, this is identical to power capacity in Watts.') st4OutletWakeupState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("on", 0), ("off", 1), ("last", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletWakeupState.setStatus('current') if mibBuilder.loadTexts: st4OutletWakeupState.setDescription('The wakeup state of the outlet.') st4OutletPostOnDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletPostOnDelay.setStatus('current') if mibBuilder.loadTexts: st4OutletPostOnDelay.setDescription('The post-on delay of the outlet in seconds.') st4OutletPhaseID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 30), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletPhaseID.setStatus('current') if mibBuilder.loadTexts: st4OutletPhaseID.setDescription('The internal ID of the phase powering this outlet. Format=AAN.') st4OutletOcpID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 31), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletOcpID.setStatus('current') if mibBuilder.loadTexts: st4OutletOcpID.setDescription('The internal ID of the over-current protector powering this outlet. Format=AAN[N].') st4OutletBranchID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 32), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletBranchID.setStatus('current') if mibBuilder.loadTexts: st4OutletBranchID.setDescription('The internal ID of the branch powering this outlet. Format=AAN[N].') st4OutletMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3), ) if mibBuilder.loadTexts: st4OutletMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4OutletMonitorTable.setDescription('Outlet monitor table.') st4OutletMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OutletIndex")) if mibBuilder.loadTexts: st4OutletMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletMonitorEntry.setDescription('Objects to monitor for a particular outlet.') st4OutletState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 1), DeviceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletState.setStatus('current') if mibBuilder.loadTexts: st4OutletState.setDescription('The on/off state of the outlet.') st4OutletStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletStatus.setDescription('The status of the outlet.') st4OutletCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 12500))).setUnits('hundredth Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCurrent.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrent.setDescription('The measured current on the outlet in hundredth Amps.') st4OutletCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 4), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentStatus.setDescription('The status of the measured current on the outlet.') st4OutletCurrentUtilized = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1200))).setUnits('tenth percent').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentUtilized.setDescription('The amount of the outlet current capacity used in tenth percent.') st4OutletVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 6000))).setUnits('tenth Volts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletVoltage.setStatus('current') if mibBuilder.loadTexts: st4OutletVoltage.setDescription('The measured voltage of the outlet in tenth Volts.') st4OutletActivePower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 10000))).setUnits('Watts').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletActivePower.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePower.setDescription('The measured active power of the outlet in Watts.') st4OutletActivePowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 8), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletActivePowerStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerStatus.setDescription('The status of the measured active power of the outlet.') st4OutletApparentPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 10000))).setUnits('Volt-Amps').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletApparentPower.setStatus('current') if mibBuilder.loadTexts: st4OutletApparentPower.setDescription('The measured apparent power of the outlet in Volt-Amps.') st4OutletPowerFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setUnits('hundredths').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactor.setDescription('The measured power factor of the outlet in hundredths.') st4OutletPowerFactorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 11), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletPowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorStatus.setDescription('The status of the measured power factor of the outlet.') st4OutletCurrentCrestFactor = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 250))).setUnits('tenths').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletCurrentCrestFactor.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentCrestFactor.setDescription('The measured crest factor of the outlet in tenths.') st4OutletReactance = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("capacitive", 1), ("inductive", 2), ("resistive", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletReactance.setStatus('current') if mibBuilder.loadTexts: st4OutletReactance.setDescription('The status of the measured reactance of the outlet.') st4OutletEnergy = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setUnits('Watt-Hours').setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletEnergy.setStatus('current') if mibBuilder.loadTexts: st4OutletEnergy.setDescription('The total energy consumption of the device plugged into the outlet in Watt-Hours.') st4OutletEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4), ) if mibBuilder.loadTexts: st4OutletEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OutletEventConfigTable.setDescription('Outlet event configuration table.') st4OutletEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OutletIndex")) if mibBuilder.loadTexts: st4OutletEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletEventConfigEntry.setDescription('Event configuration objects for a particular outlet.') st4OutletNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletNotifications.setStatus('current') if mibBuilder.loadTexts: st4OutletNotifications.setDescription('The notification methods enabled for outlet events.') st4OutletCurrentLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentLowAlarm.setDescription('The current low alarm threshold of the outlet in tenth Amps.') st4OutletCurrentLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentLowWarning.setDescription('The current low warning threshold of the outlet in tenth Amps.') st4OutletCurrentHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHighWarning.setDescription('The current high warning threshold of the outlet in tenth Amps.') st4OutletCurrentHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1250))).setUnits('tenth Amps').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHighAlarm.setDescription('The current high alarm threshold of the outlet in tenth Amps.') st4OutletActivePowerLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletActivePowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerLowAlarm.setDescription('The active power low alarm threshold of the outlet in Watts.') st4OutletActivePowerLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletActivePowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerLowWarning.setDescription('The active power low warning threshold of the outlet in Watts.') st4OutletActivePowerHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletActivePowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHighWarning.setDescription('The active power high warning threshold of the outlet in Watts.') st4OutletActivePowerHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Watts').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletActivePowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHighAlarm.setDescription('The active power high alarm threshold of the outlet in Watts.') st4OutletPowerFactorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletPowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorLowAlarm.setDescription('The low power factor alarm threshold of the outlet in hundredths.') st4OutletPowerFactorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('hundredths').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletPowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorLowWarning.setDescription('The low power factor warning threshold of the outlet in hundredths.') st4OutletControlTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5), ) if mibBuilder.loadTexts: st4OutletControlTable.setStatus('current') if mibBuilder.loadTexts: st4OutletControlTable.setDescription('Outlet control table.') st4OutletControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4InputCordIndex"), (0, "Sentry4-MIB", "st4OutletIndex")) if mibBuilder.loadTexts: st4OutletControlEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletControlEntry.setDescription('Objects for control of a particular outlet.') st4OutletControlState = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=NamedValues(("notSet", 0), ("fixedOn", 1), ("idleOff", 2), ("idleOn", 3), ("wakeOff", 4), ("wakeOn", 5), ("ocpOff", 6), ("ocpOn", 7), ("pendOn", 8), ("pendOff", 9), ("off", 10), ("on", 11), ("reboot", 12), ("shutdown", 13), ("lockedOff", 14), ("lockedOn", 15), ("eventOff", 16), ("eventOn", 17), ("eventReboot", 18), ("eventShutdown", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4OutletControlState.setStatus('current') if mibBuilder.loadTexts: st4OutletControlState.setDescription('The control state of the outlet.') st4OutletControlAction = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 0), ("on", 1), ("off", 2), ("reboot", 3), ("queueOn", 4), ("queueOff", 5), ("queueReboot", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletControlAction.setStatus('current') if mibBuilder.loadTexts: st4OutletControlAction.setDescription('An action to change the control state of the outlet, or to queue an action.') st4OutletCommonControl = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 6)) st4OutletQueueControl = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("commit", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4OutletQueueControl.setStatus('current') if mibBuilder.loadTexts: st4OutletQueueControl.setDescription('An action to clear or commit queued outlet control actions. A read of this object returns clear(0) if queue is empty, and commit(1) if the queue is not empty.') st4TemperatureSensors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9)) st4TempSensorCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1)) st4TempSensorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 54))).setUnits('degrees').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHysteresis.setDescription('The temperature hysteresis of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4TempSensorScale = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("celsius", 0), ("fahrenheit", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorScale.setStatus('current') if mibBuilder.loadTexts: st4TempSensorScale.setDescription('The current scale used for all temperature values.') st4TempSensorConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2), ) if mibBuilder.loadTexts: st4TempSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorConfigTable.setDescription('Temperature sensor configuration table.') st4TempSensorConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4TempSensorIndex")) if mibBuilder.loadTexts: st4TempSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorConfigEntry.setDescription('Configuration objects for a particular temperature sensor.') st4TempSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))) if mibBuilder.loadTexts: st4TempSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4TempSensorIndex.setDescription('Temperature sensor index.') st4TempSensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4TempSensorID.setStatus('current') if mibBuilder.loadTexts: st4TempSensorID.setDescription('The internal ID of the temperature sensor. Format=AN.') st4TempSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorName.setStatus('current') if mibBuilder.loadTexts: st4TempSensorName.setDescription('The name of the temperature sensor.') st4TempSensorValueMin = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readonly") if mibBuilder.loadTexts: st4TempSensorValueMin.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValueMin.setDescription('The minimum temperature limit of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4TempSensorValueMax = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readonly") if mibBuilder.loadTexts: st4TempSensorValueMax.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValueMax.setDescription('The maximum temperature limit of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4TempSensorMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3), ) if mibBuilder.loadTexts: st4TempSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorMonitorTable.setDescription('Temperature sensor monitor table.') st4TempSensorMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4TempSensorIndex")) if mibBuilder.loadTexts: st4TempSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorMonitorEntry.setDescription('Objects to monitor for a particular temperature sensor.') st4TempSensorValue = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-410, 2540))).setUnits('tenth degrees').setMaxAccess("readonly") if mibBuilder.loadTexts: st4TempSensorValue.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValue.setDescription('The measured temperature on the sensor in tenth degrees using the scale selected by st4TempSensorScale. -410 means the temperature reading is invalid.') st4TempSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4TempSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4TempSensorStatus.setDescription('The status of the temperature sensor.') st4TempSensorEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4), ) if mibBuilder.loadTexts: st4TempSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEventConfigTable.setDescription('Temperature sensor event configuration table.') st4TempSensorEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4TempSensorIndex")) if mibBuilder.loadTexts: st4TempSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEventConfigEntry.setDescription('Event configuration objects for a particular temperature sensor.') st4TempSensorNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4TempSensorNotifications.setDescription('The notification methods enabled for temperature sensor events.') st4TempSensorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4TempSensorLowAlarm.setDescription('The low alarm threshold of the temperature sensor in degrees.') st4TempSensorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4TempSensorLowWarning.setDescription('The low warning threshold of the temperature sensor in degrees.') st4TempSensorHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHighWarning.setDescription('The high warning threshold of the temperature sensor in degrees.') st4TempSensorHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 253))).setUnits('degrees').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4TempSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHighAlarm.setDescription('The high alarm threshold of the temperature sensor in degrees.') st4HumiditySensors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10)) st4HumidSensorCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 1)) st4HumidSensorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setUnits('percentage relative humidity').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHysteresis.setDescription('The humidity hysteresis of the sensor in percent relative humidity.') st4HumidSensorConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2), ) if mibBuilder.loadTexts: st4HumidSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorConfigTable.setDescription('Humidity sensor configuration table.') st4HumidSensorConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4HumidSensorIndex")) if mibBuilder.loadTexts: st4HumidSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorConfigEntry.setDescription('Configuration objects for a particular humidity sensor.') st4HumidSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))) if mibBuilder.loadTexts: st4HumidSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorIndex.setDescription('Humidity sensor index.') st4HumidSensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4HumidSensorID.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorID.setDescription('The internal ID of the humidity sensor. Format=AN.') st4HumidSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorName.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorName.setDescription('The name of the humidity sensor.') st4HumidSensorMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3), ) if mibBuilder.loadTexts: st4HumidSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorMonitorTable.setDescription('Humidity sensor monitor table.') st4HumidSensorMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4HumidSensorIndex")) if mibBuilder.loadTexts: st4HumidSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorMonitorEntry.setDescription('Objects to monitor for a particular humidity sensor.') st4HumidSensorValue = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setUnits('percentage relative humidity').setMaxAccess("readonly") if mibBuilder.loadTexts: st4HumidSensorValue.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorValue.setDescription('The measured humidity on the sensor in percentage relative humidity.') st4HumidSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4HumidSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorStatus.setDescription('The status of the humidity sensor.') st4HumidSensorEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4), ) if mibBuilder.loadTexts: st4HumidSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEventConfigTable.setDescription('Humidity sensor event configuration table.') st4HumidSensorEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4HumidSensorIndex")) if mibBuilder.loadTexts: st4HumidSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEventConfigEntry.setDescription('Event configuration objects for a particular humidity sensor.') st4HumidSensorNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorNotifications.setDescription('The notification methods enabled for humidity sensor events.') st4HumidSensorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorLowAlarm.setDescription('The low alarm threshold of the humidity sensor in percentage relative humidity.') st4HumidSensorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorLowWarning.setDescription('The low warning threshold of the humidity sensor in percentage relative humidity.') st4HumidSensorHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHighWarning.setDescription('The high warning threshold of the humidity sensor in percentage relative humidity.') st4HumidSensorHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess("readwrite") if mibBuilder.loadTexts: st4HumidSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHighAlarm.setDescription('The high alarm threshold of the humidity sensor in percentage relative humidity.') st4WaterSensors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11)) st4WaterSensorCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 1)) st4WaterSensorConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2), ) if mibBuilder.loadTexts: st4WaterSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorConfigTable.setDescription('Water sensor configuration table.') st4WaterSensorConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4WaterSensorIndex")) if mibBuilder.loadTexts: st4WaterSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorConfigEntry.setDescription('Configuration objects for a particular water sensor.') st4WaterSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))) if mibBuilder.loadTexts: st4WaterSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorIndex.setDescription('Water sensor index.') st4WaterSensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4WaterSensorID.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorID.setDescription('The internal ID of the water sensor. Format=AN.') st4WaterSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4WaterSensorName.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorName.setDescription('The name of the water sensor.') st4WaterSensorMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3), ) if mibBuilder.loadTexts: st4WaterSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorMonitorTable.setDescription('Water sensor monitor table.') st4WaterSensorMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4WaterSensorIndex")) if mibBuilder.loadTexts: st4WaterSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorMonitorEntry.setDescription('Objects to monitor for a particular water sensor.') st4WaterSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3, 1, 1), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4WaterSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorStatus.setDescription('The status of the water sensor.') st4WaterSensorEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4), ) if mibBuilder.loadTexts: st4WaterSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorEventConfigTable.setDescription('Water sensor event configuration table.') st4WaterSensorEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4WaterSensorIndex")) if mibBuilder.loadTexts: st4WaterSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorEventConfigEntry.setDescription('Event configuration objects for a particular water sensor.') st4WaterSensorNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4WaterSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorNotifications.setDescription('The notification methods enabled for water sensor events.') st4ContactClosureSensors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12)) st4CcSensorCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 1)) st4CcSensorConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2), ) if mibBuilder.loadTexts: st4CcSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorConfigTable.setDescription('Contact closure sensor configuration table.') st4CcSensorConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4CcSensorIndex")) if mibBuilder.loadTexts: st4CcSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorConfigEntry.setDescription('Configuration objects for a particular contact closure sensor.') st4CcSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))) if mibBuilder.loadTexts: st4CcSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4CcSensorIndex.setDescription('Contact closure sensor index.') st4CcSensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4CcSensorID.setStatus('current') if mibBuilder.loadTexts: st4CcSensorID.setDescription('The internal ID of the contact closure sensor. Format=AN.') st4CcSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4CcSensorName.setStatus('current') if mibBuilder.loadTexts: st4CcSensorName.setDescription('The name of the contact closure sensor.') st4CcSensorMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3), ) if mibBuilder.loadTexts: st4CcSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorMonitorTable.setDescription('Contact closure sensor monitor table.') st4CcSensorMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4CcSensorIndex")) if mibBuilder.loadTexts: st4CcSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorMonitorEntry.setDescription('Objects to monitor for a particular contact closure sensor.') st4CcSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3, 1, 1), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4CcSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4CcSensorStatus.setDescription('The status of the contact closure.') st4CcSensorEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4), ) if mibBuilder.loadTexts: st4CcSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorEventConfigTable.setDescription('Contact closure sensor event configuration table.') st4CcSensorEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4CcSensorIndex")) if mibBuilder.loadTexts: st4CcSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorEventConfigEntry.setDescription('Event configuration objects for a particular contact closure sensor.') st4CcSensorNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4CcSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4CcSensorNotifications.setDescription('The notification methods enabled for contact closure sensor events.') st4AnalogToDigitalConvSensors = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13)) st4AdcSensorCommonConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 1)) st4AdcSensorHysteresis = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHysteresis.setDescription('The 8-bit count hysteresis of the analog-to-digital converter sensor.') st4AdcSensorConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2), ) if mibBuilder.loadTexts: st4AdcSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorConfigTable.setDescription('Analog-to-digital converter sensor configuration table.') st4AdcSensorConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4AdcSensorIndex")) if mibBuilder.loadTexts: st4AdcSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorConfigEntry.setDescription('Configuration objects for a particular analog-to-digital converter sensor.') st4AdcSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))) if mibBuilder.loadTexts: st4AdcSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorIndex.setDescription('Analog-to-digital converter sensor index.') st4AdcSensorID = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: st4AdcSensorID.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorID.setDescription('The internal ID of the analog-to-digital converter sensor. Format=AN.') st4AdcSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorName.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorName.setDescription('The name of the analog-to-digital converter sensor.') st4AdcSensorMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3), ) if mibBuilder.loadTexts: st4AdcSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorMonitorTable.setDescription('Analog-to-digital converter sensor monitor table.') st4AdcSensorMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4AdcSensorIndex")) if mibBuilder.loadTexts: st4AdcSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorMonitorEntry.setDescription('Objects to monitor for a particular analog-to-digital converter sensor.') st4AdcSensorValue = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4AdcSensorValue.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorValue.setDescription('The 8-bit value from the analog-to-digital converter sensor.') st4AdcSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1, 2), DeviceStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: st4AdcSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorStatus.setDescription('The status of the analog-to-digital converter sensor.') st4AdcSensorEventConfigTable = MibTable((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4), ) if mibBuilder.loadTexts: st4AdcSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEventConfigTable.setDescription('Analog-to-digital converter sensor event configuration table.') st4AdcSensorEventConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1), ).setIndexNames((0, "Sentry4-MIB", "st4UnitIndex"), (0, "Sentry4-MIB", "st4AdcSensorIndex")) if mibBuilder.loadTexts: st4AdcSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEventConfigEntry.setDescription('Event configuration objects for a particular analog-to-digital converter sensor.') st4AdcSensorNotifications = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 1), EventNotificationMethods()).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorNotifications.setDescription('The notification methods enabled for analog-to-digital converter sensor events.') st4AdcSensorLowAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorLowAlarm.setDescription('The 8-bit value for the low alarm threshold of the analog-to-digital converter sensor.') st4AdcSensorLowWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorLowWarning.setDescription('The 8-bit value for the low warning threshold of the analog-to-digital converter sensor.') st4AdcSensorHighWarning = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHighWarning.setDescription('The 8-bit value for the high warning threshold of the analog-to-digital converter sensor.') st4AdcSensorHighAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: st4AdcSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHighAlarm.setDescription('The 8-bit value for the high alarm threshold of the analog-to-digital converter sensor.') st4EventInformation = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99)) st4EventStatusText = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4EventStatusText.setStatus('current') if mibBuilder.loadTexts: st4EventStatusText.setDescription('The text representation of the enumerated integer value of the most-relevant status or state object included in a trap. The value of this object is set only when sent with a trap. A read of this object will return a NULL string.') st4EventStatusCondition = MibScalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("nonError", 0), ("error", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: st4EventStatusCondition.setStatus('current') if mibBuilder.loadTexts: st4EventStatusCondition.setDescription('The condition of the enumerated integer value of the status object included in a trap. The value of this object is set only when sent with a trap. A read of this object will return zero.') st4Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 100)) st4Events = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0)) st4UnitStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 1)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4UnitID"), ("Sentry4-MIB", "st4UnitName"), ("Sentry4-MIB", "st4UnitStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4UnitStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4UnitStatusEvent.setDescription('Unit status event.') st4InputCordStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 2)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordState"), ("Sentry4-MIB", "st4InputCordStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4InputCordStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordStatusEvent.setDescription('Input cord status event.') st4InputCordActivePowerEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 3)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordActivePower"), ("Sentry4-MIB", "st4InputCordActivePowerStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4InputCordActivePowerEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerEvent.setDescription('Input cord active power event.') st4InputCordApparentPowerEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 4)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordApparentPower"), ("Sentry4-MIB", "st4InputCordApparentPowerStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4InputCordApparentPowerEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerEvent.setDescription('Input cord apparent power event.') st4InputCordPowerFactorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 5)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordPowerFactor"), ("Sentry4-MIB", "st4InputCordPowerFactorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4InputCordPowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorEvent.setDescription('Input cord power factor event.') st4InputCordOutOfBalanceEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 6)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordOutOfBalance"), ("Sentry4-MIB", "st4InputCordOutOfBalanceStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4InputCordOutOfBalanceEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceEvent.setDescription('Input cord out-of-balance event.') st4LineStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 7)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4LineID"), ("Sentry4-MIB", "st4LineLabel"), ("Sentry4-MIB", "st4LineState"), ("Sentry4-MIB", "st4LineStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4LineStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4LineStatusEvent.setDescription('Line status event.') st4LineCurrentEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 8)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4LineID"), ("Sentry4-MIB", "st4LineLabel"), ("Sentry4-MIB", "st4LineCurrent"), ("Sentry4-MIB", "st4LineCurrentStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4LineCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentEvent.setDescription('Line current event.') st4PhaseStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 9)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4PhaseID"), ("Sentry4-MIB", "st4PhaseLabel"), ("Sentry4-MIB", "st4PhaseState"), ("Sentry4-MIB", "st4PhaseStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4PhaseStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4PhaseStatusEvent.setDescription('Phase status event.') st4PhaseVoltageEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 10)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4PhaseID"), ("Sentry4-MIB", "st4PhaseLabel"), ("Sentry4-MIB", "st4PhaseVoltage"), ("Sentry4-MIB", "st4PhaseVoltageStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4PhaseVoltageEvent.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageEvent.setDescription('Phase voltage event.') st4PhasePowerFactorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 11)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4PhaseID"), ("Sentry4-MIB", "st4PhaseLabel"), ("Sentry4-MIB", "st4PhasePowerFactor"), ("Sentry4-MIB", "st4PhasePowerFactorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4PhasePowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorEvent.setDescription('Phase voltage event.') st4OcpStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 12)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OcpID"), ("Sentry4-MIB", "st4OcpLabel"), ("Sentry4-MIB", "st4OcpStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OcpStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4OcpStatusEvent.setDescription('Over-current protector status event.') st4BranchStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 13)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4BranchID"), ("Sentry4-MIB", "st4BranchLabel"), ("Sentry4-MIB", "st4BranchState"), ("Sentry4-MIB", "st4BranchStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4BranchStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4BranchStatusEvent.setDescription('Branch status event.') st4BranchCurrentEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 14)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4BranchID"), ("Sentry4-MIB", "st4BranchLabel"), ("Sentry4-MIB", "st4BranchCurrent"), ("Sentry4-MIB", "st4BranchCurrentStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4BranchCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentEvent.setDescription('Branch current event.') st4OutletStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 15)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletState"), ("Sentry4-MIB", "st4OutletStatus"), ("Sentry4-MIB", "st4OutletControlState"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OutletStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletStatusEvent.setDescription('Outlet status event.') st4OutletStateChangeEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 16)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletState"), ("Sentry4-MIB", "st4OutletStatus"), ("Sentry4-MIB", "st4OutletControlState"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OutletStateChangeEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletStateChangeEvent.setDescription('Outlet state change event.') st4OutletCurrentEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 17)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletCurrent"), ("Sentry4-MIB", "st4OutletCurrentStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OutletCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentEvent.setDescription('Outlet current event.') st4OutletActivePowerEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 18)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletActivePower"), ("Sentry4-MIB", "st4OutletActivePowerStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OutletActivePowerEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerEvent.setDescription('Outlet active power event.') st4OutletPowerFactorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 19)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletPowerFactor"), ("Sentry4-MIB", "st4OutletPowerFactorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4OutletPowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorEvent.setDescription('Outlet power factor event.') st4TempSensorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 20)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4TempSensorID"), ("Sentry4-MIB", "st4TempSensorName"), ("Sentry4-MIB", "st4TempSensorValue"), ("Sentry4-MIB", "st4TempSensorStatus"), ("Sentry4-MIB", "st4TempSensorScale"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4TempSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEvent.setDescription('Temperature sensor event.') st4HumidSensorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 21)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4HumidSensorID"), ("Sentry4-MIB", "st4HumidSensorName"), ("Sentry4-MIB", "st4HumidSensorValue"), ("Sentry4-MIB", "st4HumidSensorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4HumidSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEvent.setDescription('Humidity sensor event.') st4WaterSensorStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 22)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4WaterSensorID"), ("Sentry4-MIB", "st4WaterSensorName"), ("Sentry4-MIB", "st4WaterSensorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4WaterSensorStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorStatusEvent.setDescription('Water sensor status event.') st4CcSensorStatusEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 23)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4CcSensorID"), ("Sentry4-MIB", "st4CcSensorName"), ("Sentry4-MIB", "st4CcSensorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4CcSensorStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4CcSensorStatusEvent.setDescription('Contact closure sensor status event.') st4AdcSensorEvent = NotificationType((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 24)).setObjects(("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4AdcSensorID"), ("Sentry4-MIB", "st4AdcSensorName"), ("Sentry4-MIB", "st4AdcSensorValue"), ("Sentry4-MIB", "st4AdcSensorStatus"), ("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if mibBuilder.loadTexts: st4AdcSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEvent.setDescription('Analog-to-digital converter sensor event.') st4Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 200)) st4Groups = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1)) st4SystemObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 1)).setObjects(("Sentry4-MIB", "st4SystemProductName"), ("Sentry4-MIB", "st4SystemLocation"), ("Sentry4-MIB", "st4SystemFirmwareVersion"), ("Sentry4-MIB", "st4SystemFirmwareBuildInfo"), ("Sentry4-MIB", "st4SystemNICSerialNumber"), ("Sentry4-MIB", "st4SystemNICHardwareInfo"), ("Sentry4-MIB", "st4SystemProductSeries"), ("Sentry4-MIB", "st4SystemFeatures"), ("Sentry4-MIB", "st4SystemFeatureKey"), ("Sentry4-MIB", "st4SystemConfigModifiedCount"), ("Sentry4-MIB", "st4SystemUnitCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4SystemObjectsGroup = st4SystemObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4SystemObjectsGroup.setDescription('System objects group.') st4UnitObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 2)).setObjects(("Sentry4-MIB", "st4UnitID"), ("Sentry4-MIB", "st4UnitName"), ("Sentry4-MIB", "st4UnitProductSN"), ("Sentry4-MIB", "st4UnitModel"), ("Sentry4-MIB", "st4UnitAssetTag"), ("Sentry4-MIB", "st4UnitType"), ("Sentry4-MIB", "st4UnitCapabilities"), ("Sentry4-MIB", "st4UnitProductMfrDate"), ("Sentry4-MIB", "st4UnitDisplayOrientation"), ("Sentry4-MIB", "st4UnitOutletSequenceOrder"), ("Sentry4-MIB", "st4UnitInputCordCount"), ("Sentry4-MIB", "st4UnitTempSensorCount"), ("Sentry4-MIB", "st4UnitHumidSensorCount"), ("Sentry4-MIB", "st4UnitWaterSensorCount"), ("Sentry4-MIB", "st4UnitCcSensorCount"), ("Sentry4-MIB", "st4UnitAdcSensorCount"), ("Sentry4-MIB", "st4UnitStatus"), ("Sentry4-MIB", "st4UnitNotifications")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4UnitObjectsGroup = st4UnitObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4UnitObjectsGroup.setDescription('Unit objects group.') st4InputCordObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 3)).setObjects(("Sentry4-MIB", "st4InputCordActivePowerHysteresis"), ("Sentry4-MIB", "st4InputCordApparentPowerHysteresis"), ("Sentry4-MIB", "st4InputCordPowerFactorHysteresis"), ("Sentry4-MIB", "st4InputCordOutOfBalanceHysteresis"), ("Sentry4-MIB", "st4InputCordID"), ("Sentry4-MIB", "st4InputCordName"), ("Sentry4-MIB", "st4InputCordInletType"), ("Sentry4-MIB", "st4InputCordNominalVoltage"), ("Sentry4-MIB", "st4InputCordNominalVoltageMin"), ("Sentry4-MIB", "st4InputCordNominalVoltageMax"), ("Sentry4-MIB", "st4InputCordCurrentCapacity"), ("Sentry4-MIB", "st4InputCordCurrentCapacityMax"), ("Sentry4-MIB", "st4InputCordPowerCapacity"), ("Sentry4-MIB", "st4InputCordNominalPowerFactor"), ("Sentry4-MIB", "st4InputCordLineCount"), ("Sentry4-MIB", "st4InputCordPhaseCount"), ("Sentry4-MIB", "st4InputCordOcpCount"), ("Sentry4-MIB", "st4InputCordBranchCount"), ("Sentry4-MIB", "st4InputCordOutletCount"), ("Sentry4-MIB", "st4InputCordState"), ("Sentry4-MIB", "st4InputCordStatus"), ("Sentry4-MIB", "st4InputCordActivePower"), ("Sentry4-MIB", "st4InputCordActivePowerStatus"), ("Sentry4-MIB", "st4InputCordApparentPower"), ("Sentry4-MIB", "st4InputCordApparentPowerStatus"), ("Sentry4-MIB", "st4InputCordPowerUtilized"), ("Sentry4-MIB", "st4InputCordPowerFactor"), ("Sentry4-MIB", "st4InputCordPowerFactorStatus"), ("Sentry4-MIB", "st4InputCordEnergy"), ("Sentry4-MIB", "st4InputCordFrequency"), ("Sentry4-MIB", "st4InputCordOutOfBalance"), ("Sentry4-MIB", "st4InputCordOutOfBalanceStatus"), ("Sentry4-MIB", "st4InputCordNotifications"), ("Sentry4-MIB", "st4InputCordActivePowerLowAlarm"), ("Sentry4-MIB", "st4InputCordActivePowerLowWarning"), ("Sentry4-MIB", "st4InputCordActivePowerHighWarning"), ("Sentry4-MIB", "st4InputCordActivePowerHighAlarm"), ("Sentry4-MIB", "st4InputCordApparentPowerLowAlarm"), ("Sentry4-MIB", "st4InputCordApparentPowerLowWarning"), ("Sentry4-MIB", "st4InputCordApparentPowerHighWarning"), ("Sentry4-MIB", "st4InputCordApparentPowerHighAlarm"), ("Sentry4-MIB", "st4InputCordPowerFactorLowAlarm"), ("Sentry4-MIB", "st4InputCordPowerFactorLowWarning"), ("Sentry4-MIB", "st4InputCordOutOfBalanceHighWarning"), ("Sentry4-MIB", "st4InputCordOutOfBalanceHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4InputCordObjectsGroup = st4InputCordObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4InputCordObjectsGroup.setDescription('Input cord objects group.') st4LineObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 4)).setObjects(("Sentry4-MIB", "st4LineCurrentHysteresis"), ("Sentry4-MIB", "st4LineID"), ("Sentry4-MIB", "st4LineLabel"), ("Sentry4-MIB", "st4LineCurrentCapacity"), ("Sentry4-MIB", "st4LineState"), ("Sentry4-MIB", "st4LineStatus"), ("Sentry4-MIB", "st4LineCurrent"), ("Sentry4-MIB", "st4LineCurrentStatus"), ("Sentry4-MIB", "st4LineCurrentUtilized"), ("Sentry4-MIB", "st4LineNotifications"), ("Sentry4-MIB", "st4LineCurrentLowAlarm"), ("Sentry4-MIB", "st4LineCurrentLowWarning"), ("Sentry4-MIB", "st4LineCurrentHighWarning"), ("Sentry4-MIB", "st4LineCurrentHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4LineObjectsGroup = st4LineObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4LineObjectsGroup.setDescription('Line objects group.') st4PhaseObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 5)).setObjects(("Sentry4-MIB", "st4PhaseVoltageHysteresis"), ("Sentry4-MIB", "st4PhasePowerFactorHysteresis"), ("Sentry4-MIB", "st4PhaseID"), ("Sentry4-MIB", "st4PhaseLabel"), ("Sentry4-MIB", "st4PhaseNominalVoltage"), ("Sentry4-MIB", "st4PhaseBranchCount"), ("Sentry4-MIB", "st4PhaseOutletCount"), ("Sentry4-MIB", "st4PhaseState"), ("Sentry4-MIB", "st4PhaseStatus"), ("Sentry4-MIB", "st4PhaseVoltage"), ("Sentry4-MIB", "st4PhaseVoltageStatus"), ("Sentry4-MIB", "st4PhaseVoltageDeviation"), ("Sentry4-MIB", "st4PhaseCurrent"), ("Sentry4-MIB", "st4PhaseCurrentCrestFactor"), ("Sentry4-MIB", "st4PhaseActivePower"), ("Sentry4-MIB", "st4PhaseApparentPower"), ("Sentry4-MIB", "st4PhasePowerFactor"), ("Sentry4-MIB", "st4PhasePowerFactorStatus"), ("Sentry4-MIB", "st4PhaseReactance"), ("Sentry4-MIB", "st4PhaseEnergy"), ("Sentry4-MIB", "st4PhaseNotifications"), ("Sentry4-MIB", "st4PhaseVoltageLowAlarm"), ("Sentry4-MIB", "st4PhaseVoltageLowWarning"), ("Sentry4-MIB", "st4PhaseVoltageHighWarning"), ("Sentry4-MIB", "st4PhaseVoltageHighAlarm"), ("Sentry4-MIB", "st4PhasePowerFactorLowAlarm"), ("Sentry4-MIB", "st4PhasePowerFactorLowWarning")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4PhaseObjectsGroup = st4PhaseObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4PhaseObjectsGroup.setDescription('Phase objects group.') st4OcpObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 6)).setObjects(("Sentry4-MIB", "st4OcpID"), ("Sentry4-MIB", "st4OcpLabel"), ("Sentry4-MIB", "st4OcpType"), ("Sentry4-MIB", "st4OcpCurrentCapacity"), ("Sentry4-MIB", "st4OcpCurrentCapacityMax"), ("Sentry4-MIB", "st4OcpBranchCount"), ("Sentry4-MIB", "st4OcpOutletCount"), ("Sentry4-MIB", "st4OcpStatus"), ("Sentry4-MIB", "st4OcpNotifications")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4OcpObjectsGroup = st4OcpObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4OcpObjectsGroup.setDescription('Over-current protector objects group.') st4BranchObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 7)).setObjects(("Sentry4-MIB", "st4BranchCurrentHysteresis"), ("Sentry4-MIB", "st4BranchID"), ("Sentry4-MIB", "st4BranchLabel"), ("Sentry4-MIB", "st4BranchCurrentCapacity"), ("Sentry4-MIB", "st4BranchPhaseID"), ("Sentry4-MIB", "st4BranchOcpID"), ("Sentry4-MIB", "st4BranchOutletCount"), ("Sentry4-MIB", "st4BranchState"), ("Sentry4-MIB", "st4BranchStatus"), ("Sentry4-MIB", "st4BranchCurrent"), ("Sentry4-MIB", "st4BranchCurrentStatus"), ("Sentry4-MIB", "st4BranchCurrentUtilized"), ("Sentry4-MIB", "st4BranchNotifications"), ("Sentry4-MIB", "st4BranchCurrentLowAlarm"), ("Sentry4-MIB", "st4BranchCurrentLowWarning"), ("Sentry4-MIB", "st4BranchCurrentHighWarning"), ("Sentry4-MIB", "st4BranchCurrentHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4BranchObjectsGroup = st4BranchObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4BranchObjectsGroup.setDescription('Branch objects group.') st4OutletObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 8)).setObjects(("Sentry4-MIB", "st4OutletCurrentHysteresis"), ("Sentry4-MIB", "st4OutletActivePowerHysteresis"), ("Sentry4-MIB", "st4OutletPowerFactorHysteresis"), ("Sentry4-MIB", "st4OutletSequenceInterval"), ("Sentry4-MIB", "st4OutletRebootDelay"), ("Sentry4-MIB", "st4OutletStateChangeLogging"), ("Sentry4-MIB", "st4OutletID"), ("Sentry4-MIB", "st4OutletName"), ("Sentry4-MIB", "st4OutletCapabilities"), ("Sentry4-MIB", "st4OutletSocketType"), ("Sentry4-MIB", "st4OutletCurrentCapacity"), ("Sentry4-MIB", "st4OutletPowerCapacity"), ("Sentry4-MIB", "st4OutletWakeupState"), ("Sentry4-MIB", "st4OutletPostOnDelay"), ("Sentry4-MIB", "st4OutletPhaseID"), ("Sentry4-MIB", "st4OutletOcpID"), ("Sentry4-MIB", "st4OutletBranchID"), ("Sentry4-MIB", "st4OutletState"), ("Sentry4-MIB", "st4OutletStatus"), ("Sentry4-MIB", "st4OutletCurrent"), ("Sentry4-MIB", "st4OutletCurrentStatus"), ("Sentry4-MIB", "st4OutletCurrentUtilized"), ("Sentry4-MIB", "st4OutletVoltage"), ("Sentry4-MIB", "st4OutletActivePower"), ("Sentry4-MIB", "st4OutletActivePowerStatus"), ("Sentry4-MIB", "st4OutletApparentPower"), ("Sentry4-MIB", "st4OutletPowerFactor"), ("Sentry4-MIB", "st4OutletPowerFactorStatus"), ("Sentry4-MIB", "st4OutletCurrentCrestFactor"), ("Sentry4-MIB", "st4OutletReactance"), ("Sentry4-MIB", "st4OutletEnergy"), ("Sentry4-MIB", "st4OutletNotifications"), ("Sentry4-MIB", "st4OutletCurrentLowAlarm"), ("Sentry4-MIB", "st4OutletCurrentLowWarning"), ("Sentry4-MIB", "st4OutletCurrentHighWarning"), ("Sentry4-MIB", "st4OutletCurrentHighAlarm"), ("Sentry4-MIB", "st4OutletActivePowerLowAlarm"), ("Sentry4-MIB", "st4OutletActivePowerLowWarning"), ("Sentry4-MIB", "st4OutletActivePowerHighWarning"), ("Sentry4-MIB", "st4OutletActivePowerHighAlarm"), ("Sentry4-MIB", "st4OutletPowerFactorLowAlarm"), ("Sentry4-MIB", "st4OutletPowerFactorLowWarning"), ("Sentry4-MIB", "st4OutletControlState"), ("Sentry4-MIB", "st4OutletControlAction"), ("Sentry4-MIB", "st4OutletQueueControl")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4OutletObjectsGroup = st4OutletObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4OutletObjectsGroup.setDescription('Outlet objects group.') st4TempSensorObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 9)).setObjects(("Sentry4-MIB", "st4TempSensorHysteresis"), ("Sentry4-MIB", "st4TempSensorScale"), ("Sentry4-MIB", "st4TempSensorID"), ("Sentry4-MIB", "st4TempSensorName"), ("Sentry4-MIB", "st4TempSensorValueMin"), ("Sentry4-MIB", "st4TempSensorValueMax"), ("Sentry4-MIB", "st4TempSensorValue"), ("Sentry4-MIB", "st4TempSensorStatus"), ("Sentry4-MIB", "st4TempSensorNotifications"), ("Sentry4-MIB", "st4TempSensorLowAlarm"), ("Sentry4-MIB", "st4TempSensorLowWarning"), ("Sentry4-MIB", "st4TempSensorHighWarning"), ("Sentry4-MIB", "st4TempSensorHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4TempSensorObjectsGroup = st4TempSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4TempSensorObjectsGroup.setDescription('Temperature sensor objects group.') st4HumidSensorObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 10)).setObjects(("Sentry4-MIB", "st4HumidSensorHysteresis"), ("Sentry4-MIB", "st4HumidSensorID"), ("Sentry4-MIB", "st4HumidSensorName"), ("Sentry4-MIB", "st4HumidSensorValue"), ("Sentry4-MIB", "st4HumidSensorStatus"), ("Sentry4-MIB", "st4HumidSensorNotifications"), ("Sentry4-MIB", "st4HumidSensorLowAlarm"), ("Sentry4-MIB", "st4HumidSensorLowWarning"), ("Sentry4-MIB", "st4HumidSensorHighWarning"), ("Sentry4-MIB", "st4HumidSensorHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4HumidSensorObjectsGroup = st4HumidSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorObjectsGroup.setDescription('Humidity sensor objects group.') st4WaterSensorObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 11)).setObjects(("Sentry4-MIB", "st4WaterSensorID"), ("Sentry4-MIB", "st4WaterSensorName"), ("Sentry4-MIB", "st4WaterSensorStatus"), ("Sentry4-MIB", "st4WaterSensorNotifications")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4WaterSensorObjectsGroup = st4WaterSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorObjectsGroup.setDescription('Water sensor objects group.') st4CcSensorObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 12)).setObjects(("Sentry4-MIB", "st4CcSensorID"), ("Sentry4-MIB", "st4CcSensorName"), ("Sentry4-MIB", "st4CcSensorStatus"), ("Sentry4-MIB", "st4CcSensorNotifications")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4CcSensorObjectsGroup = st4CcSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4CcSensorObjectsGroup.setDescription('Contact closure sensor objects group.') st4AdcSensorObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 13)).setObjects(("Sentry4-MIB", "st4AdcSensorHysteresis"), ("Sentry4-MIB", "st4AdcSensorID"), ("Sentry4-MIB", "st4AdcSensorName"), ("Sentry4-MIB", "st4AdcSensorValue"), ("Sentry4-MIB", "st4AdcSensorStatus"), ("Sentry4-MIB", "st4AdcSensorNotifications"), ("Sentry4-MIB", "st4AdcSensorLowAlarm"), ("Sentry4-MIB", "st4AdcSensorLowWarning"), ("Sentry4-MIB", "st4AdcSensorHighWarning"), ("Sentry4-MIB", "st4AdcSensorHighAlarm")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4AdcSensorObjectsGroup = st4AdcSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorObjectsGroup.setDescription('Analog-to-digital converter sensor objects group.') st4EventInfoObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 99)).setObjects(("Sentry4-MIB", "st4EventStatusText"), ("Sentry4-MIB", "st4EventStatusCondition")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4EventInfoObjectsGroup = st4EventInfoObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4EventInfoObjectsGroup.setDescription('Event information objects group.') st4EventNotificationsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 100)).setObjects(("Sentry4-MIB", "st4UnitStatusEvent"), ("Sentry4-MIB", "st4InputCordStatusEvent"), ("Sentry4-MIB", "st4InputCordActivePowerEvent"), ("Sentry4-MIB", "st4InputCordApparentPowerEvent"), ("Sentry4-MIB", "st4InputCordPowerFactorEvent"), ("Sentry4-MIB", "st4InputCordOutOfBalanceEvent"), ("Sentry4-MIB", "st4LineStatusEvent"), ("Sentry4-MIB", "st4LineCurrentEvent"), ("Sentry4-MIB", "st4PhaseStatusEvent"), ("Sentry4-MIB", "st4PhaseVoltageEvent"), ("Sentry4-MIB", "st4PhasePowerFactorEvent"), ("Sentry4-MIB", "st4OcpStatusEvent"), ("Sentry4-MIB", "st4BranchStatusEvent"), ("Sentry4-MIB", "st4BranchCurrentEvent"), ("Sentry4-MIB", "st4OutletStatusEvent"), ("Sentry4-MIB", "st4OutletStateChangeEvent"), ("Sentry4-MIB", "st4OutletCurrentEvent"), ("Sentry4-MIB", "st4OutletActivePowerEvent"), ("Sentry4-MIB", "st4OutletPowerFactorEvent"), ("Sentry4-MIB", "st4TempSensorEvent"), ("Sentry4-MIB", "st4HumidSensorEvent"), ("Sentry4-MIB", "st4WaterSensorStatusEvent"), ("Sentry4-MIB", "st4CcSensorStatusEvent"), ("Sentry4-MIB", "st4AdcSensorEvent")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4EventNotificationsGroup = st4EventNotificationsGroup.setStatus('current') if mibBuilder.loadTexts: st4EventNotificationsGroup.setDescription('Event notifications group.') st4Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 1718, 4, 200, 2)) st4ModuleCompliances = ModuleCompliance((1, 3, 6, 1, 4, 1, 1718, 4, 200, 2, 1)).setObjects(("Sentry4-MIB", "st4SystemObjectsGroup"), ("Sentry4-MIB", "st4UnitObjectsGroup"), ("Sentry4-MIB", "st4InputCordObjectsGroup"), ("Sentry4-MIB", "st4LineObjectsGroup"), ("Sentry4-MIB", "st4PhaseObjectsGroup"), ("Sentry4-MIB", "st4OcpObjectsGroup"), ("Sentry4-MIB", "st4BranchObjectsGroup"), ("Sentry4-MIB", "st4OutletObjectsGroup"), ("Sentry4-MIB", "st4TempSensorObjectsGroup"), ("Sentry4-MIB", "st4HumidSensorObjectsGroup"), ("Sentry4-MIB", "st4WaterSensorObjectsGroup"), ("Sentry4-MIB", "st4CcSensorObjectsGroup"), ("Sentry4-MIB", "st4AdcSensorObjectsGroup"), ("Sentry4-MIB", "st4EventInfoObjectsGroup"), ("Sentry4-MIB", "st4EventNotificationsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4ModuleCompliances = st4ModuleCompliances.setStatus('current') if mibBuilder.loadTexts: st4ModuleCompliances.setDescription('The requirements for conformance to the Sentry4-MIB.') mibBuilder.exportSymbols("Sentry4-MIB", st4WaterSensorStatus=st4WaterSensorStatus, st4LineConfigEntry=st4LineConfigEntry, st4InputCordMonitorTable=st4InputCordMonitorTable, st4BranchLabel=st4BranchLabel, st4InputCordActivePowerLowAlarm=st4InputCordActivePowerLowAlarm, st4OcpStatus=st4OcpStatus, st4OcpCommonConfig=st4OcpCommonConfig, st4BranchConfigTable=st4BranchConfigTable, st4CcSensorEventConfigTable=st4CcSensorEventConfigTable, st4PhaseReactance=st4PhaseReactance, st4AdcSensorEventConfigTable=st4AdcSensorEventConfigTable, st4PhasePowerFactorEvent=st4PhasePowerFactorEvent, st4HumiditySensors=st4HumiditySensors, st4BranchCurrent=st4BranchCurrent, st4OutletCurrentHysteresis=st4OutletCurrentHysteresis, st4TempSensorConfigTable=st4TempSensorConfigTable, st4OcpEventConfigEntry=st4OcpEventConfigEntry, st4UnitConfigEntry=st4UnitConfigEntry, st4System=st4System, st4PhaseState=st4PhaseState, st4OutletConfigEntry=st4OutletConfigEntry, st4TempSensorObjectsGroup=st4TempSensorObjectsGroup, st4InputCordActivePowerHighAlarm=st4InputCordActivePowerHighAlarm, st4UnitEventConfigEntry=st4UnitEventConfigEntry, st4OutletIndex=st4OutletIndex, st4HumidSensorMonitorTable=st4HumidSensorMonitorTable, st4InputCordConfigTable=st4InputCordConfigTable, st4HumidSensorEventConfigTable=st4HumidSensorEventConfigTable, st4LineState=st4LineState, st4PhaseNominalVoltage=st4PhaseNominalVoltage, st4AdcSensorEvent=st4AdcSensorEvent, st4InputCordActivePowerHysteresis=st4InputCordActivePowerHysteresis, st4UnitCommonConfig=st4UnitCommonConfig, st4InputCordActivePowerHighWarning=st4InputCordActivePowerHighWarning, st4InputCordApparentPowerHighWarning=st4InputCordApparentPowerHighWarning, st4OcpBranchCount=st4OcpBranchCount, st4OutletPostOnDelay=st4OutletPostOnDelay, st4InputCordPowerUtilized=st4InputCordPowerUtilized, st4UnitOutletSequenceOrder=st4UnitOutletSequenceOrder, st4SystemFeatures=st4SystemFeatures, st4LineCurrent=st4LineCurrent, st4HumidSensorValue=st4HumidSensorValue, st4ModuleCompliances=st4ModuleCompliances, st4PhaseVoltageLowAlarm=st4PhaseVoltageLowAlarm, st4OutletCurrentLowAlarm=st4OutletCurrentLowAlarm, st4OcpType=st4OcpType, st4InputCordOutOfBalance=st4InputCordOutOfBalance, st4BranchCommonConfig=st4BranchCommonConfig, st4UnitConfigTable=st4UnitConfigTable, st4UnitModel=st4UnitModel, st4TempSensorConfigEntry=st4TempSensorConfigEntry, st4PhaseVoltageStatus=st4PhaseVoltageStatus, st4AdcSensorStatus=st4AdcSensorStatus, EventNotificationMethods=EventNotificationMethods, st4UnitNotifications=st4UnitNotifications, st4OutletPowerFactorEvent=st4OutletPowerFactorEvent, st4WaterSensorMonitorEntry=st4WaterSensorMonitorEntry, st4LineCurrentLowAlarm=st4LineCurrentLowAlarm, st4InputCordPowerCapacity=st4InputCordPowerCapacity, st4PhaseBranchCount=st4PhaseBranchCount, st4InputCordState=st4InputCordState, st4OutletPhaseID=st4OutletPhaseID, st4OcpEventConfigTable=st4OcpEventConfigTable, st4OutletBranchID=st4OutletBranchID, st4LineEventConfigEntry=st4LineEventConfigEntry, st4CcSensorName=st4CcSensorName, st4OutletCurrentLowWarning=st4OutletCurrentLowWarning, st4BranchCurrentCapacity=st4BranchCurrentCapacity, st4WaterSensorCommonConfig=st4WaterSensorCommonConfig, st4InputCordNotifications=st4InputCordNotifications, st4WaterSensorConfigTable=st4WaterSensorConfigTable, st4OutletCurrentStatus=st4OutletCurrentStatus, st4OutletCommonConfig=st4OutletCommonConfig, st4TempSensorNotifications=st4TempSensorNotifications, st4OutletActivePowerHighWarning=st4OutletActivePowerHighWarning, st4OverCurrentProtectors=st4OverCurrentProtectors, st4OutletPowerFactor=st4OutletPowerFactor, st4BranchOutletCount=st4BranchOutletCount, st4EventNotificationsGroup=st4EventNotificationsGroup, sentry4=sentry4, st4WaterSensorIndex=st4WaterSensorIndex, st4UnitStatus=st4UnitStatus, st4InputCordOcpCount=st4InputCordOcpCount, st4LineCurrentStatus=st4LineCurrentStatus, st4LineCurrentHighWarning=st4LineCurrentHighWarning, st4InputCordNominalVoltage=st4InputCordNominalVoltage, st4Compliances=st4Compliances, st4PhaseActivePower=st4PhaseActivePower, st4BranchCurrentEvent=st4BranchCurrentEvent, st4InputCordIndex=st4InputCordIndex, st4OcpNotifications=st4OcpNotifications, DeviceState=DeviceState, st4AdcSensorMonitorTable=st4AdcSensorMonitorTable, st4PhasePowerFactorStatus=st4PhasePowerFactorStatus, st4SystemProductSeries=st4SystemProductSeries, st4OutletCurrentHighWarning=st4OutletCurrentHighWarning, st4WaterSensorConfigEntry=st4WaterSensorConfigEntry, st4PhaseConfigEntry=st4PhaseConfigEntry, st4HumidSensorCommonConfig=st4HumidSensorCommonConfig, st4CcSensorConfigTable=st4CcSensorConfigTable, st4LineNotifications=st4LineNotifications, st4BranchConfigEntry=st4BranchConfigEntry, st4OutletActivePowerLowAlarm=st4OutletActivePowerLowAlarm, st4PhaseCurrent=st4PhaseCurrent, st4OutletConfigTable=st4OutletConfigTable, st4InputCordPowerFactor=st4InputCordPowerFactor, st4LineCommonConfig=st4LineCommonConfig, st4OutletVoltage=st4OutletVoltage, st4OutletStateChangeLogging=st4OutletStateChangeLogging, st4PhaseCommonConfig=st4PhaseCommonConfig, st4InputCordOutOfBalanceEvent=st4InputCordOutOfBalanceEvent, st4OcpConfigTable=st4OcpConfigTable, st4BranchMonitorTable=st4BranchMonitorTable, st4OutletCurrentEvent=st4OutletCurrentEvent, st4OutletPowerFactorLowAlarm=st4OutletPowerFactorLowAlarm, st4SystemNICSerialNumber=st4SystemNICSerialNumber, st4InputCordPowerFactorLowWarning=st4InputCordPowerFactorLowWarning, st4WaterSensorName=st4WaterSensorName, st4OutletCapabilities=st4OutletCapabilities, st4UnitAdcSensorCount=st4UnitAdcSensorCount, st4BranchStatus=st4BranchStatus, st4InputCords=st4InputCords, st4UnitWaterSensorCount=st4UnitWaterSensorCount, st4TempSensorHighWarning=st4TempSensorHighWarning, st4PhaseCurrentCrestFactor=st4PhaseCurrentCrestFactor, st4LineCurrentHighAlarm=st4LineCurrentHighAlarm, st4HumidSensorIndex=st4HumidSensorIndex, st4SystemObjectsGroup=st4SystemObjectsGroup, st4CcSensorIndex=st4CcSensorIndex, st4InputCordConfigEntry=st4InputCordConfigEntry, st4BranchCurrentStatus=st4BranchCurrentStatus, st4InputCordCurrentCapacity=st4InputCordCurrentCapacity, st4PhaseVoltageDeviation=st4PhaseVoltageDeviation, st4PhaseID=st4PhaseID, st4OcpCurrentCapacityMax=st4OcpCurrentCapacityMax, st4AdcSensorLowWarning=st4AdcSensorLowWarning, st4LineMonitorTable=st4LineMonitorTable, st4InputCordBranchCount=st4InputCordBranchCount, st4AnalogToDigitalConvSensors=st4AnalogToDigitalConvSensors, DeviceStatus=DeviceStatus, st4InputCordPowerFactorEvent=st4InputCordPowerFactorEvent, st4OutletEventConfigTable=st4OutletEventConfigTable, st4InputCordStatusEvent=st4InputCordStatusEvent, st4UnitEventConfigTable=st4UnitEventConfigTable, st4OcpID=st4OcpID, st4TempSensorHysteresis=st4TempSensorHysteresis, st4PhaseMonitorEntry=st4PhaseMonitorEntry, st4InputCordApparentPowerHysteresis=st4InputCordApparentPowerHysteresis, st4OutletPowerCapacity=st4OutletPowerCapacity, st4OutletActivePowerHysteresis=st4OutletActivePowerHysteresis, st4LineCurrentCapacity=st4LineCurrentCapacity, st4SystemConfig=st4SystemConfig, st4AdcSensorIndex=st4AdcSensorIndex, st4LineCurrentLowWarning=st4LineCurrentLowWarning, st4TempSensorMonitorTable=st4TempSensorMonitorTable, st4InputCordNominalPowerFactor=st4InputCordNominalPowerFactor, st4UnitDisplayOrientation=st4UnitDisplayOrientation, st4PhaseVoltageLowWarning=st4PhaseVoltageLowWarning, st4HumidSensorHighWarning=st4HumidSensorHighWarning, st4BranchCurrentHighWarning=st4BranchCurrentHighWarning, st4TempSensorStatus=st4TempSensorStatus, st4AdcSensorHighWarning=st4AdcSensorHighWarning, st4OcpMonitorEntry=st4OcpMonitorEntry, st4SystemNICHardwareInfo=st4SystemNICHardwareInfo, st4InputCordOutOfBalanceHighAlarm=st4InputCordOutOfBalanceHighAlarm, st4HumidSensorEventConfigEntry=st4HumidSensorEventConfigEntry, st4BranchID=st4BranchID, st4InputCordActivePowerEvent=st4InputCordActivePowerEvent, st4CcSensorConfigEntry=st4CcSensorConfigEntry, st4OutletRebootDelay=st4OutletRebootDelay, st4OcpLabel=st4OcpLabel, st4Outlets=st4Outlets, st4OutletActivePower=st4OutletActivePower, st4PhaseOutletCount=st4PhaseOutletCount, st4CcSensorMonitorTable=st4CcSensorMonitorTable, st4UnitType=st4UnitType, st4InputCordNominalVoltageMax=st4InputCordNominalVoltageMax, st4BranchObjectsGroup=st4BranchObjectsGroup, st4UnitIndex=st4UnitIndex, st4TempSensorValueMax=st4TempSensorValueMax, st4UnitMonitorTable=st4UnitMonitorTable, st4Units=st4Units, st4HumidSensorConfigTable=st4HumidSensorConfigTable, st4UnitProductSN=st4UnitProductSN, st4TemperatureSensors=st4TemperatureSensors, st4AdcSensorLowAlarm=st4AdcSensorLowAlarm, st4SystemConfigModifiedCount=st4SystemConfigModifiedCount, st4UnitID=st4UnitID, st4LineCurrentUtilized=st4LineCurrentUtilized, st4OcpObjectsGroup=st4OcpObjectsGroup, st4SystemFeatureKey=st4SystemFeatureKey, st4TempSensorLowAlarm=st4TempSensorLowAlarm, st4WaterSensorID=st4WaterSensorID, st4OutletControlState=st4OutletControlState, st4AdcSensorConfigEntry=st4AdcSensorConfigEntry, st4WaterSensorNotifications=st4WaterSensorNotifications, st4Lines=st4Lines, st4WaterSensorStatusEvent=st4WaterSensorStatusEvent, st4BranchPhaseID=st4BranchPhaseID, st4OcpIndex=st4OcpIndex, st4OutletSequenceInterval=st4OutletSequenceInterval, st4InputCordOutOfBalanceStatus=st4InputCordOutOfBalanceStatus, st4OutletPowerFactorLowWarning=st4OutletPowerFactorLowWarning, st4TempSensorValueMin=st4TempSensorValueMin, st4AdcSensorCommonConfig=st4AdcSensorCommonConfig, st4PhaseVoltage=st4PhaseVoltage, st4OutletQueueControl=st4OutletQueueControl, st4InputCordPowerFactorHysteresis=st4InputCordPowerFactorHysteresis, st4InputCordCommonConfig=st4InputCordCommonConfig, st4OutletState=st4OutletState, st4SystemLocation=st4SystemLocation, st4HumidSensorMonitorEntry=st4HumidSensorMonitorEntry, st4OutletCurrent=st4OutletCurrent, st4PhaseVoltageHighAlarm=st4PhaseVoltageHighAlarm, st4PhaseStatusEvent=st4PhaseStatusEvent, st4LineConfigTable=st4LineConfigTable, st4CcSensorEventConfigEntry=st4CcSensorEventConfigEntry, st4AdcSensorMonitorEntry=st4AdcSensorMonitorEntry, st4InputCordNominalVoltageMin=st4InputCordNominalVoltageMin, st4OcpConfigEntry=st4OcpConfigEntry, st4TempSensorEventConfigTable=st4TempSensorEventConfigTable, st4OutletMonitorTable=st4OutletMonitorTable, st4InputCordObjectsGroup=st4InputCordObjectsGroup, st4OutletStateChangeEvent=st4OutletStateChangeEvent, st4AdcSensorConfigTable=st4AdcSensorConfigTable, st4OutletControlAction=st4OutletControlAction, st4TempSensorLowWarning=st4TempSensorLowWarning, st4InputCordStatus=st4InputCordStatus, st4BranchCurrentUtilized=st4BranchCurrentUtilized, st4UnitInputCordCount=st4UnitInputCordCount, st4InputCordApparentPowerHighAlarm=st4InputCordApparentPowerHighAlarm, st4OutletEnergy=st4OutletEnergy, st4InputCordEventConfigEntry=st4InputCordEventConfigEntry, st4PhasePowerFactorLowWarning=st4PhasePowerFactorLowWarning, st4BranchStatusEvent=st4BranchStatusEvent, st4PhaseEnergy=st4PhaseEnergy, st4UnitTempSensorCount=st4UnitTempSensorCount, st4LineIndex=st4LineIndex, st4OutletStatusEvent=st4OutletStatusEvent, st4OutletActivePowerEvent=st4OutletActivePowerEvent, st4InputCordActivePower=st4InputCordActivePower, st4OcpStatusEvent=st4OcpStatusEvent, st4OutletControlTable=st4OutletControlTable, st4LineCurrentEvent=st4LineCurrentEvent, st4Branches=st4Branches, st4PhaseStatus=st4PhaseStatus, st4OutletEventConfigEntry=st4OutletEventConfigEntry, st4PhaseLabel=st4PhaseLabel, st4LineMonitorEntry=st4LineMonitorEntry, st4AdcSensorName=st4AdcSensorName, st4TempSensorMonitorEntry=st4TempSensorMonitorEntry, st4PhaseEventConfigTable=st4PhaseEventConfigTable, st4OutletApparentPower=st4OutletApparentPower, st4UnitName=st4UnitName) mibBuilder.exportSymbols("Sentry4-MIB", st4LineEventConfigTable=st4LineEventConfigTable, st4InputCordPowerFactorStatus=st4InputCordPowerFactorStatus, st4OutletCurrentCrestFactor=st4OutletCurrentCrestFactor, st4AdcSensorObjectsGroup=st4AdcSensorObjectsGroup, st4HumidSensorLowWarning=st4HumidSensorLowWarning, st4PhaseVoltageHighWarning=st4PhaseVoltageHighWarning, st4HumidSensorName=st4HumidSensorName, st4BranchIndex=st4BranchIndex, st4HumidSensorEvent=st4HumidSensorEvent, st4LineCurrentHysteresis=st4LineCurrentHysteresis, st4CcSensorCommonConfig=st4CcSensorCommonConfig, st4OutletObjectsGroup=st4OutletObjectsGroup, st4OutletActivePowerHighAlarm=st4OutletActivePowerHighAlarm, st4UnitCcSensorCount=st4UnitCcSensorCount, st4BranchMonitorEntry=st4BranchMonitorEntry, st4InputCordApparentPowerStatus=st4InputCordApparentPowerStatus, st4InputCordFrequency=st4InputCordFrequency, st4WaterSensors=st4WaterSensors, st4TempSensorIndex=st4TempSensorIndex, st4OutletID=st4OutletID, st4OutletActivePowerLowWarning=st4OutletActivePowerLowWarning, st4PhasePowerFactorLowAlarm=st4PhasePowerFactorLowAlarm, st4AdcSensorValue=st4AdcSensorValue, st4BranchCurrentLowWarning=st4BranchCurrentLowWarning, st4PhaseEventConfigEntry=st4PhaseEventConfigEntry, st4PhaseNotifications=st4PhaseNotifications, st4WaterSensorMonitorTable=st4WaterSensorMonitorTable, st4LineObjectsGroup=st4LineObjectsGroup, st4Phases=st4Phases, st4UnitHumidSensorCount=st4UnitHumidSensorCount, st4OutletPowerFactorHysteresis=st4OutletPowerFactorHysteresis, st4CcSensorStatus=st4CcSensorStatus, st4AdcSensorHighAlarm=st4AdcSensorHighAlarm, st4OutletStatus=st4OutletStatus, st4LineLabel=st4LineLabel, st4SystemFirmwareBuildInfo=st4SystemFirmwareBuildInfo, st4SystemProductName=st4SystemProductName, st4InputCordEnergy=st4InputCordEnergy, st4HumidSensorStatus=st4HumidSensorStatus, st4TempSensorName=st4TempSensorName, st4InputCordPowerFactorLowAlarm=st4InputCordPowerFactorLowAlarm, st4PhaseIndex=st4PhaseIndex, st4InputCordActivePowerLowWarning=st4InputCordActivePowerLowWarning, st4InputCordApparentPower=st4InputCordApparentPower, serverTech=serverTech, st4LineID=st4LineID, st4PhaseVoltageEvent=st4PhaseVoltageEvent, st4WaterSensorEventConfigTable=st4WaterSensorEventConfigTable, st4InputCordEventConfigTable=st4InputCordEventConfigTable, st4InputCordMonitorEntry=st4InputCordMonitorEntry, st4InputCordApparentPowerLowAlarm=st4InputCordApparentPowerLowAlarm, st4Objects=st4Objects, st4TempSensorScale=st4TempSensorScale, st4OutletCurrentCapacity=st4OutletCurrentCapacity, st4TempSensorCommonConfig=st4TempSensorCommonConfig, st4Events=st4Events, st4Conformance=st4Conformance, st4BranchCurrentHighAlarm=st4BranchCurrentHighAlarm, st4OutletOcpID=st4OutletOcpID, st4TempSensorEventConfigEntry=st4TempSensorEventConfigEntry, st4BranchOcpID=st4BranchOcpID, st4HumidSensorHysteresis=st4HumidSensorHysteresis, st4TempSensorValue=st4TempSensorValue, st4Notifications=st4Notifications, st4HumidSensorConfigEntry=st4HumidSensorConfigEntry, st4HumidSensorNotifications=st4HumidSensorNotifications, st4InputCordOutletCount=st4InputCordOutletCount, st4InputCordInletType=st4InputCordInletType, st4CcSensorStatusEvent=st4CcSensorStatusEvent, st4AdcSensorHysteresis=st4AdcSensorHysteresis, st4LineStatusEvent=st4LineStatusEvent, st4OutletPowerFactorStatus=st4OutletPowerFactorStatus, st4BranchEventConfigEntry=st4BranchEventConfigEntry, st4TempSensorEvent=st4TempSensorEvent, st4AdcSensorNotifications=st4AdcSensorNotifications, st4HumidSensorID=st4HumidSensorID, st4Groups=st4Groups, st4UnitStatusEvent=st4UnitStatusEvent, st4BranchCurrentHysteresis=st4BranchCurrentHysteresis, st4BranchNotifications=st4BranchNotifications, st4UnitAssetTag=st4UnitAssetTag, st4OutletSocketType=st4OutletSocketType, st4ContactClosureSensors=st4ContactClosureSensors, st4UnitProductMfrDate=st4UnitProductMfrDate, st4TempSensorID=st4TempSensorID, st4OutletNotifications=st4OutletNotifications, st4CcSensorNotifications=st4CcSensorNotifications, st4UnitCapabilities=st4UnitCapabilities, st4InputCordPhaseCount=st4InputCordPhaseCount, st4SystemFirmwareVersion=st4SystemFirmwareVersion, st4OutletReactance=st4OutletReactance, st4EventInfoObjectsGroup=st4EventInfoObjectsGroup, st4OutletControlEntry=st4OutletControlEntry, st4CcSensorMonitorEntry=st4CcSensorMonitorEntry, st4BranchEventConfigTable=st4BranchEventConfigTable, st4LineStatus=st4LineStatus, st4PhaseApparentPower=st4PhaseApparentPower, st4EventStatusCondition=st4EventStatusCondition, st4AdcSensorEventConfigEntry=st4AdcSensorEventConfigEntry, st4AdcSensorID=st4AdcSensorID, st4OcpOutletCount=st4OcpOutletCount, st4InputCordActivePowerStatus=st4InputCordActivePowerStatus, st4UnitObjectsGroup=st4UnitObjectsGroup, st4HumidSensorHighAlarm=st4HumidSensorHighAlarm, st4PhaseConfigTable=st4PhaseConfigTable, st4PhasePowerFactor=st4PhasePowerFactor, st4BranchCurrentLowAlarm=st4BranchCurrentLowAlarm, st4WaterSensorObjectsGroup=st4WaterSensorObjectsGroup, st4InputCordApparentPowerLowWarning=st4InputCordApparentPowerLowWarning, st4InputCordLineCount=st4InputCordLineCount, st4InputCordID=st4InputCordID, st4InputCordCurrentCapacityMax=st4InputCordCurrentCapacityMax, st4OcpMonitorTable=st4OcpMonitorTable, st4CcSensorID=st4CcSensorID, st4PhasePowerFactorHysteresis=st4PhasePowerFactorHysteresis, st4OcpCurrentCapacity=st4OcpCurrentCapacity, st4InputCordApparentPowerEvent=st4InputCordApparentPowerEvent, st4TempSensorHighAlarm=st4TempSensorHighAlarm, st4WaterSensorEventConfigEntry=st4WaterSensorEventConfigEntry, st4HumidSensorObjectsGroup=st4HumidSensorObjectsGroup, st4InputCordOutOfBalanceHysteresis=st4InputCordOutOfBalanceHysteresis, st4PhaseVoltageHysteresis=st4PhaseVoltageHysteresis, st4HumidSensorLowAlarm=st4HumidSensorLowAlarm, st4CcSensorObjectsGroup=st4CcSensorObjectsGroup, st4OutletMonitorEntry=st4OutletMonitorEntry, st4OutletCurrentUtilized=st4OutletCurrentUtilized, st4OutletCurrentHighAlarm=st4OutletCurrentHighAlarm, st4OutletName=st4OutletName, st4OutletActivePowerStatus=st4OutletActivePowerStatus, st4PhaseObjectsGroup=st4PhaseObjectsGroup, st4OutletWakeupState=st4OutletWakeupState, st4OutletCommonControl=st4OutletCommonControl, st4EventInformation=st4EventInformation, st4InputCordOutOfBalanceHighWarning=st4InputCordOutOfBalanceHighWarning, st4BranchState=st4BranchState, st4SystemUnitCount=st4SystemUnitCount, st4PhaseMonitorTable=st4PhaseMonitorTable, st4UnitMonitorEntry=st4UnitMonitorEntry, st4EventStatusText=st4EventStatusText, PYSNMP_MODULE_ID=sentry4, st4InputCordName=st4InputCordName)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, value_range_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (integer32, time_ticks, bits, unsigned32, mib_identifier, iso, module_identity, counter32, gauge32, ip_address, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, enterprises, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'TimeTicks', 'Bits', 'Unsigned32', 'MibIdentifier', 'iso', 'ModuleIdentity', 'Counter32', 'Gauge32', 'IpAddress', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'enterprises', 'ObjectIdentity') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') sentry4 = module_identity((1, 3, 6, 1, 4, 1, 1718, 4)) sentry4.setRevisions(('2016-11-18 23:40', '2016-09-21 23:00', '2016-04-25 21:40', '2015-02-19 10:00', '2014-12-23 11:30')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: sentry4.setRevisionsDescriptions(('Added the st4UnitProductMfrDate object. Adjusted the upper limit of voltage objects to 600 Volts.', 'Fixed the st4InputCordOutOfBalanceEvent notification definition to include the correct objects.', 'Added support for the PRO1 product series. Added the st4SystemProductSeries and st4InputCordNominalPowerFactor objects. Adjusted the upper limit of cord and line current objects to 600 Amps. Adjusted the lower limit of nominal voltage objects to 0 Volts. Corrected the lower limit of several configuration objects from -1 to 0.', 'Corrected the UNITS and value range of temperature sensor threshold objects.', 'Initial release.')) if mibBuilder.loadTexts: sentry4.setLastUpdated('201611182340Z') if mibBuilder.loadTexts: sentry4.setOrganization('Server Technology, Inc.') if mibBuilder.loadTexts: sentry4.setContactInfo('Server Technology, Inc. 1040 Sandhill Road Reno, NV 89521 Tel: (775) 284-2000 Fax: (775) 284-2065 Email: [email protected]') if mibBuilder.loadTexts: sentry4.setDescription('This is the MIB module for the fourth generation of the Sentry product family. This includes the PRO1 and PRO2 series of Smart and Switched Cabinet Distribution Unit (CDU) and Power Distribution Unit (PDU) products.') server_tech = mib_identifier((1, 3, 6, 1, 4, 1, 1718)) class Devicestatus(TextualConvention, Integer32): description = 'Status returned by devices.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)) named_values = named_values(('normal', 0), ('disabled', 1), ('purged', 2), ('reading', 5), ('settle', 6), ('notFound', 7), ('lost', 8), ('readError', 9), ('noComm', 10), ('pwrError', 11), ('breakerTripped', 12), ('fuseBlown', 13), ('lowAlarm', 14), ('lowWarning', 15), ('highWarning', 16), ('highAlarm', 17), ('alarm', 18), ('underLimit', 19), ('overLimit', 20), ('nvmFail', 21), ('profileError', 22), ('conflict', 23)) class Devicestate(TextualConvention, Integer32): description = 'On or off state of devices.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2)) named_values = named_values(('unknown', 0), ('on', 1), ('off', 2)) class Eventnotificationmethods(TextualConvention, Bits): description = 'Bits to enable event notification methods.' status = 'current' named_values = named_values(('snmpTrap', 0), ('email', 1)) st4_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1)) st4_system = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1)) st4_system_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1)) st4_system_product_name = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemProductName.setStatus('current') if mibBuilder.loadTexts: st4SystemProductName.setDescription('The product name.') st4_system_location = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4SystemLocation.setStatus('current') if mibBuilder.loadTexts: st4SystemLocation.setDescription('The location of the system.') st4_system_firmware_version = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemFirmwareVersion.setStatus('current') if mibBuilder.loadTexts: st4SystemFirmwareVersion.setDescription('The firmware version.') st4_system_firmware_build_info = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemFirmwareBuildInfo.setStatus('current') if mibBuilder.loadTexts: st4SystemFirmwareBuildInfo.setDescription('The firmware build information.') st4_system_nic_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemNICSerialNumber.setStatus('current') if mibBuilder.loadTexts: st4SystemNICSerialNumber.setDescription('The serial number of the network interface card.') st4_system_nic_hardware_info = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemNICHardwareInfo.setStatus('current') if mibBuilder.loadTexts: st4SystemNICHardwareInfo.setDescription('Hardware information about the network interface card.') st4_system_product_series = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('pro1', 0), ('pro2', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemProductSeries.setStatus('current') if mibBuilder.loadTexts: st4SystemProductSeries.setDescription('The product series.') st4_system_features = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 10), bits().clone(namedValues=named_values(('smartLoadShedding', 0), ('reserved', 1), ('outletControlInhibit', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemFeatures.setStatus('current') if mibBuilder.loadTexts: st4SystemFeatures.setDescription('The key-activated features enabled in the system.') st4_system_feature_key = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 19))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4SystemFeatureKey.setStatus('current') if mibBuilder.loadTexts: st4SystemFeatureKey.setDescription('A valid feature key written to this object will enable a feature in the system. A valid feature key is in the form xxxx-xxxx-xxxx-xxxx. A read of this object returns an empty string.') st4_system_config_modified_count = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemConfigModifiedCount.setStatus('current') if mibBuilder.loadTexts: st4SystemConfigModifiedCount.setDescription('The total number of times the system configuration has changed.') st4_system_unit_count = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 1, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4SystemUnitCount.setStatus('current') if mibBuilder.loadTexts: st4SystemUnitCount.setDescription('The number of units in the system.') st4_units = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2)) st4_unit_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 1)) st4_unit_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2)) if mibBuilder.loadTexts: st4UnitConfigTable.setStatus('current') if mibBuilder.loadTexts: st4UnitConfigTable.setDescription('Unit configuration table.') st4_unit_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex')) if mibBuilder.loadTexts: st4UnitConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitConfigEntry.setDescription('Configuration objects for a particular unit.') st4_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))) if mibBuilder.loadTexts: st4UnitIndex.setStatus('current') if mibBuilder.loadTexts: st4UnitIndex.setDescription('Unit index. A=1, B=2, C=3, D=4, E=5, F=6.') st4_unit_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitID.setStatus('current') if mibBuilder.loadTexts: st4UnitID.setDescription('The internal ID of the unit. Format=A.') st4_unit_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4UnitName.setStatus('current') if mibBuilder.loadTexts: st4UnitName.setDescription('The name of the unit.') st4_unit_product_sn = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitProductSN.setStatus('current') if mibBuilder.loadTexts: st4UnitProductSN.setDescription('The product serial number of the unit.') st4_unit_model = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitModel.setStatus('current') if mibBuilder.loadTexts: st4UnitModel.setDescription('The model of the unit.') st4_unit_asset_tag = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4UnitAssetTag.setStatus('current') if mibBuilder.loadTexts: st4UnitAssetTag.setDescription('The asset tag of the unit.') st4_unit_type = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('masterPdu', 0), ('linkPdu', 1), ('controller', 2), ('emcu', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitType.setStatus('current') if mibBuilder.loadTexts: st4UnitType.setDescription('The type of the unit.') st4_unit_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 8), bits().clone(namedValues=named_values(('dc', 0), ('phase3', 1), ('wye', 2), ('delta', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitCapabilities.setStatus('current') if mibBuilder.loadTexts: st4UnitCapabilities.setDescription('The capabilities of the unit.') st4_unit_product_mfr_date = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitProductMfrDate.setStatus('current') if mibBuilder.loadTexts: st4UnitProductMfrDate.setDescription('The product manufacture date in YYYY-MM-DD (ISO 8601 format).') st4_unit_display_orientation = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('normal', 0), ('inverted', 1), ('auto', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4UnitDisplayOrientation.setStatus('current') if mibBuilder.loadTexts: st4UnitDisplayOrientation.setDescription('The orientation of all displays in the unit.') st4_unit_outlet_sequence_order = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normal', 0), ('reversed', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4UnitOutletSequenceOrder.setStatus('current') if mibBuilder.loadTexts: st4UnitOutletSequenceOrder.setDescription('The sequencing order of all outlets in the unit.') st4_unit_input_cord_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitInputCordCount.setStatus('current') if mibBuilder.loadTexts: st4UnitInputCordCount.setDescription('The number of power input cords into the unit.') st4_unit_temp_sensor_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitTempSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitTempSensorCount.setDescription('The number of external temperature sensors supported by the unit.') st4_unit_humid_sensor_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitHumidSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitHumidSensorCount.setDescription('The number of external humidity sensors supported by the unit.') st4_unit_water_sensor_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitWaterSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitWaterSensorCount.setDescription('The number of external water sensors supported by the unit.') st4_unit_cc_sensor_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 34), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitCcSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitCcSensorCount.setDescription('The number of external contact closure sensors supported by the unit.') st4_unit_adc_sensor_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 2, 1, 35), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitAdcSensorCount.setStatus('current') if mibBuilder.loadTexts: st4UnitAdcSensorCount.setDescription('The number of analog-to-digital converter sensors supported by the unit.') st4_unit_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3)) if mibBuilder.loadTexts: st4UnitMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4UnitMonitorTable.setDescription('Unit monitor table.') st4_unit_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex')) if mibBuilder.loadTexts: st4UnitMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitMonitorEntry.setDescription('Objects to monitor for a particular unit.') st4_unit_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 3, 1, 1), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4UnitStatus.setStatus('current') if mibBuilder.loadTexts: st4UnitStatus.setDescription('The status of the unit.') st4_unit_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4)) if mibBuilder.loadTexts: st4UnitEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4UnitEventConfigTable.setDescription('Unit event configuration table.') st4_unit_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex')) if mibBuilder.loadTexts: st4UnitEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4UnitEventConfigEntry.setDescription('Event configuration objects for a particular unit.') st4_unit_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 2, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4UnitNotifications.setStatus('current') if mibBuilder.loadTexts: st4UnitNotifications.setDescription('The notification methods enabled for unit events.') st4_input_cords = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3)) st4_input_cord_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1)) st4_input_cord_active_power_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordActivePowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHysteresis.setDescription('The active power hysteresis of the input cord in Watts.') st4_input_cord_apparent_power_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setUnits('Volt-Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordApparentPowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHysteresis.setDescription('The apparent power hysteresis of the input cord in Volt-Amps.') st4_input_cord_power_factor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 20))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordPowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorHysteresis.setDescription('The power factor hysteresis of the input cord in hundredths.') st4_input_cord_out_of_balance_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 10))).setUnits('percent').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHysteresis.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHysteresis.setDescription('The 3 phase out-of-balance hysteresis of the input cord in percent.') st4_input_cord_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2)) if mibBuilder.loadTexts: st4InputCordConfigTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordConfigTable.setDescription('Input cord configuration table.') st4_input_cord_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex')) if mibBuilder.loadTexts: st4InputCordConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordConfigEntry.setDescription('Configuration objects for a particular input cord.') st4_input_cord_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))) if mibBuilder.loadTexts: st4InputCordIndex.setStatus('current') if mibBuilder.loadTexts: st4InputCordIndex.setDescription('Input cord index. A=1, B=2, C=3, D=4.') st4_input_cord_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordID.setStatus('current') if mibBuilder.loadTexts: st4InputCordID.setDescription('The internal ID of the input cord. Format=AA.') st4_input_cord_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordName.setStatus('current') if mibBuilder.loadTexts: st4InputCordName.setDescription('The name of the input cord.') st4_input_cord_inlet_type = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordInletType.setStatus('current') if mibBuilder.loadTexts: st4InputCordInletType.setDescription('The type of plug on the input cord, or socket for the input cord.') st4_input_cord_nominal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordNominalVoltage.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltage.setDescription('The user-configured nominal voltage of the input cord in tenth Volts.') st4_input_cord_nominal_voltage_min = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setUnits('Volts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordNominalVoltageMin.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltageMin.setDescription('The factory-set minimum allowed for the user-configured nominal voltage of the input cord in Volts.') st4_input_cord_nominal_voltage_max = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setUnits('Volts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordNominalVoltageMax.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalVoltageMax.setDescription('The factory-set maximum allowed for the user-configured nominal voltage of the input cord in Volts.') st4_input_cord_current_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setUnits('Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4InputCordCurrentCapacity.setDescription('The user-configured current capacity of the input cord in Amps.') st4_input_cord_current_capacity_max = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setUnits('Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordCurrentCapacityMax.setStatus('current') if mibBuilder.loadTexts: st4InputCordCurrentCapacityMax.setDescription('The factory-set maximum allowed for the user-configured current capacity of the input cord in Amps.') st4_input_cord_power_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordPowerCapacity.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerCapacity.setDescription('The power capacity of the input cord in Volt-Amps. For DC products, this is identical to power capacity in Watts.') st4_input_cord_nominal_power_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordNominalPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4InputCordNominalPowerFactor.setDescription('The user-configured estimated nominal power factor of the input cord in hundredths.') st4_input_cord_line_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordLineCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordLineCount.setDescription('The number of current-carrying lines in the input cord.') st4_input_cord_phase_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordPhaseCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordPhaseCount.setDescription('The number of active phases from the lines in the input cord.') st4_input_cord_ocp_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 12))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordOcpCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordOcpCount.setDescription('The number of over-current protectors downstream from the input cord.') st4_input_cord_branch_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 12))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordBranchCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordBranchCount.setDescription('The number of branches downstream from the input cord.') st4_input_cord_outlet_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 2, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordOutletCount.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutletCount.setDescription('The number of outlets powered from the input cord.') st4_input_cord_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3)) if mibBuilder.loadTexts: st4InputCordMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordMonitorTable.setDescription('Input cord monitor table.') st4_input_cord_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex')) if mibBuilder.loadTexts: st4InputCordMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordMonitorEntry.setDescription('Objects to monitor for a particular input cord.') st4_input_cord_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 1), device_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordState.setStatus('current') if mibBuilder.loadTexts: st4InputCordState.setDescription('The on/off state of the input cord.') st4_input_cord_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordStatus.setDescription('The status of the input cord.') st4_input_cord_active_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 50000))).setUnits('Watts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordActivePower.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePower.setDescription('The measured active power of the input cord in Watts.') st4_input_cord_active_power_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 4), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordActivePowerStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerStatus.setDescription('The status of the measured active power of the input cord.') st4_input_cord_apparent_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-1, 50000))).setUnits('Volt-Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordApparentPower.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPower.setDescription('The measured apparent power of the input cord in Volt-Amps.') st4_input_cord_apparent_power_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 6), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordApparentPowerStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerStatus.setDescription('The status of the measured apparent power of the input cord.') st4_input_cord_power_utilized = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1200))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordPowerUtilized.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerUtilized.setDescription('The amount of the input cord power capacity used in tenth percent. For AC products, this is the ratio of the apparent power to the power capacity. For DC products, this is the ratio of the active power to the power capacity.') st4_input_cord_power_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(-1, 100))).setUnits('hundredths').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactor.setDescription('The measured power factor of the input cord in hundredths.') st4_input_cord_power_factor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 9), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordPowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorStatus.setDescription('The status of the measured power factor of the input cord.') st4_input_cord_energy = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-1, 2147483647))).setUnits('tenth Kilowatt-Hours').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordEnergy.setStatus('current') if mibBuilder.loadTexts: st4InputCordEnergy.setDescription('The total energy consumption of loads through the input cord in tenth Kilowatt-Hours.') st4_input_cord_frequency = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1000))).setUnits('tenth Hertz').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordFrequency.setStatus('current') if mibBuilder.loadTexts: st4InputCordFrequency.setDescription('The frequency of the input cord voltage in tenth Hertz.') st4_input_cord_out_of_balance = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(-1, 2000))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordOutOfBalance.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalance.setDescription('The current imbalance on the lines of the input cord in tenth percent.') st4_input_cord_out_of_balance_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 3, 1, 13), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4InputCordOutOfBalanceStatus.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceStatus.setDescription('The status of the current imbalance on the lines of the input cord.') st4_input_cord_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4)) if mibBuilder.loadTexts: st4InputCordEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4InputCordEventConfigTable.setDescription('Input cord event configuration table.') st4_input_cord_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex')) if mibBuilder.loadTexts: st4InputCordEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4InputCordEventConfigEntry.setDescription('Event configuration objects for a particular input cord.') st4_input_cord_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordNotifications.setStatus('current') if mibBuilder.loadTexts: st4InputCordNotifications.setDescription('The notification methods enabled for input cord events.') st4_input_cord_active_power_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordActivePowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerLowAlarm.setDescription('The active power low alarm threshold of the input cord in Watts.') st4_input_cord_active_power_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordActivePowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerLowWarning.setDescription('The active power low warning threshold of the input cord in Watts.') st4_input_cord_active_power_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordActivePowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHighWarning.setDescription('The active power high warning threshold of the input cord in Watts.') st4_input_cord_active_power_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordActivePowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerHighAlarm.setDescription('The active power high alarm threshold of the input cord in Watts.') st4_input_cord_apparent_power_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordApparentPowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerLowAlarm.setDescription('The apparent power low alarm threshold of the input cord in Volt-Amps.') st4_input_cord_apparent_power_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordApparentPowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerLowWarning.setDescription('The apparent power low warning threshold of the input cord in Volt-Amps.') st4_input_cord_apparent_power_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordApparentPowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHighWarning.setDescription('The apparent power high warning threshold of the input cord in Volt-Amps.') st4_input_cord_apparent_power_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000))).setUnits('Volt-Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordApparentPowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerHighAlarm.setDescription('The apparent power high alarm threshold of the input cord in Volt-Amps.') st4_input_cord_power_factor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordPowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorLowAlarm.setDescription('The power factor low alarm threshold of the input cord in hundredths.') st4_input_cord_power_factor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordPowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorLowWarning.setDescription('The power factor low warning threshold of the input cord in hundredths.') st4_input_cord_out_of_balance_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percent').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighWarning.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighWarning.setDescription('The 3 phase out-of-balance high warning threshold of the input cord in percent.') st4_input_cord_out_of_balance_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 3, 4, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percent').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceHighAlarm.setDescription('The 3 phase out-of-balance high alarm threshold of the input cord in percent.') st4_lines = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4)) st4_line_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 1)) st4_line_current_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHysteresis.setDescription('The current hysteresis of the line in tenth Amps.') st4_line_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2)) if mibBuilder.loadTexts: st4LineConfigTable.setStatus('current') if mibBuilder.loadTexts: st4LineConfigTable.setDescription('Line configuration table.') st4_line_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4LineIndex')) if mibBuilder.loadTexts: st4LineConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4LineConfigEntry.setDescription('Configuration objects for a particular line.') st4_line_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))) if mibBuilder.loadTexts: st4LineIndex.setStatus('current') if mibBuilder.loadTexts: st4LineIndex.setDescription('Line index. L1=1, L2=2, L3=3, N=4.') st4_line_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineID.setStatus('current') if mibBuilder.loadTexts: st4LineID.setDescription('The internal ID of the line. Format=AAN.') st4_line_label = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineLabel.setStatus('current') if mibBuilder.loadTexts: st4LineLabel.setDescription('The system label assigned to the line for identification.') st4_line_current_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setUnits('Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentCapacity.setDescription('The current capacity of the line in Amps.') st4_line_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3)) if mibBuilder.loadTexts: st4LineMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4LineMonitorTable.setDescription('Line monitor table.') st4_line_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4LineIndex')) if mibBuilder.loadTexts: st4LineMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4LineMonitorEntry.setDescription('Objects to monitor for a particular line.') st4_line_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 1), device_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineState.setStatus('current') if mibBuilder.loadTexts: st4LineState.setDescription('The on/off state of the line.') st4_line_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineStatus.setStatus('current') if mibBuilder.loadTexts: st4LineStatus.setDescription('The status of the line.') st4_line_current = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 60000))).setUnits('hundredth Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineCurrent.setStatus('current') if mibBuilder.loadTexts: st4LineCurrent.setDescription('The measured current on the line in hundredth Amps.') st4_line_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 4), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentStatus.setDescription('The status of the measured current on the line.') st4_line_current_utilized = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1200))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4LineCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentUtilized.setDescription('The amount of the line current capacity used in tenth percent.') st4_line_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4)) if mibBuilder.loadTexts: st4LineEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4LineEventConfigTable.setDescription('Line event configuration table.') st4_line_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4LineIndex')) if mibBuilder.loadTexts: st4LineEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4LineEventConfigEntry.setDescription('Event configuration objects for a particular line.') st4_line_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineNotifications.setStatus('current') if mibBuilder.loadTexts: st4LineNotifications.setDescription('The notification methods enabled for line events.') st4_line_current_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentLowAlarm.setDescription('The current low alarm threshold of the line in tenth Amps.') st4_line_current_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentLowWarning.setDescription('The current low warning threshold of the line in tenth Amps.') st4_line_current_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHighWarning.setDescription('The current high warning threshold of the line in tenth Amps.') st4_line_current_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 4, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4LineCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentHighAlarm.setDescription('The current high alarm threshold of the line in tenth Amps.') st4_phases = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5)) st4_phase_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1)) st4_phase_voltage_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 200))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseVoltageHysteresis.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHysteresis.setDescription('The voltage hysteresis of the phase in tenth Volts.') st4_phase_power_factor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 20))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhasePowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorHysteresis.setDescription('The power factor hysteresis of the phase in hundredths.') st4_phase_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2)) if mibBuilder.loadTexts: st4PhaseConfigTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseConfigTable.setDescription('Phase configuration table.') st4_phase_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4PhaseIndex')) if mibBuilder.loadTexts: st4PhaseConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseConfigEntry.setDescription('Configuration objects for a particular phase.') st4_phase_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 6))) if mibBuilder.loadTexts: st4PhaseIndex.setStatus('current') if mibBuilder.loadTexts: st4PhaseIndex.setDescription('Phase index. Three-phase AC Wye: L1-N=1, L2-N=2, L3-N=3; Three-phase AC Delta: L1-L2=1, L2-L3=2, L3-L1=3; Single Phase: L1-R=1; DC: L1-R=1; Three-phase AC Wye & Delta: L1-N=1, L2-N=2, L3-N=3, L1-L2=4, L2-L3=5; L3-L1=6.') st4_phase_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseID.setStatus('current') if mibBuilder.loadTexts: st4PhaseID.setDescription('The internal ID of the phase. Format=AAN.') st4_phase_label = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseLabel.setStatus('current') if mibBuilder.loadTexts: st4PhaseLabel.setDescription('The system label assigned to the phase for identification.') st4_phase_nominal_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseNominalVoltage.setStatus('current') if mibBuilder.loadTexts: st4PhaseNominalVoltage.setDescription('The nominal voltage of the phase in tenth Volts.') st4_phase_branch_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 12))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseBranchCount.setStatus('current') if mibBuilder.loadTexts: st4PhaseBranchCount.setDescription('The number of branches downstream from the phase.') st4_phase_outlet_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseOutletCount.setStatus('current') if mibBuilder.loadTexts: st4PhaseOutletCount.setDescription('The number of outlets powered from the phase.') st4_phase_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3)) if mibBuilder.loadTexts: st4PhaseMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseMonitorTable.setDescription('Phase monitor table.') st4_phase_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4PhaseIndex')) if mibBuilder.loadTexts: st4PhaseMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseMonitorEntry.setDescription('Objects to monitor for a particular phase.') st4_phase_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 1), device_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseState.setStatus('current') if mibBuilder.loadTexts: st4PhaseState.setDescription('The on/off state of the phase.') st4_phase_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseStatus.setStatus('current') if mibBuilder.loadTexts: st4PhaseStatus.setDescription('The status of the phase.') st4_phase_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 6000))).setUnits('tenth Volts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseVoltage.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltage.setDescription('The measured voltage on the phase in tenth Volts.') st4_phase_voltage_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 4), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseVoltageStatus.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageStatus.setDescription('The status of the measured voltage on the phase.') st4_phase_voltage_deviation = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-1000, 1000))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseVoltageDeviation.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageDeviation.setDescription('The deviation from the nominal voltage on the phase in tenth percent.') st4_phase_current = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-1, 30000))).setUnits('hundredth Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseCurrent.setStatus('current') if mibBuilder.loadTexts: st4PhaseCurrent.setDescription('The measured current on the phase in hundredth Amps.') st4_phase_current_crest_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-1, 250))).setUnits('tenths').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseCurrentCrestFactor.setStatus('current') if mibBuilder.loadTexts: st4PhaseCurrentCrestFactor.setDescription('The measured crest factor of the current waveform on the phase in tenths.') st4_phase_active_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(-1, 25000))).setUnits('Watts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseActivePower.setStatus('current') if mibBuilder.loadTexts: st4PhaseActivePower.setDescription('The measured active power on the phase in Watts.') st4_phase_apparent_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(-1, 25000))).setUnits('Volt-Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseApparentPower.setStatus('current') if mibBuilder.loadTexts: st4PhaseApparentPower.setDescription('The measured apparent power on the phase in Volt-Amps.') st4_phase_power_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-1, 100))).setUnits('hundredths').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhasePowerFactor.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactor.setDescription('The measured power factor on the phase in hundredths.') st4_phase_power_factor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 11), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhasePowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorStatus.setDescription('The status of the measured power factor on the phase.') st4_phase_reactance = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('unknown', 0), ('capacitive', 1), ('inductive', 2), ('resistive', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseReactance.setStatus('current') if mibBuilder.loadTexts: st4PhaseReactance.setDescription('The status of the measured reactance of the phase.') st4_phase_energy = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 3, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(-1, 2147483647))).setUnits('tenth Kilowatt-Hours').setMaxAccess('readonly') if mibBuilder.loadTexts: st4PhaseEnergy.setStatus('current') if mibBuilder.loadTexts: st4PhaseEnergy.setDescription('The total energy consumption of loads through the phase in tenth Kilowatt-Hours.') st4_phase_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4)) if mibBuilder.loadTexts: st4PhaseEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4PhaseEventConfigTable.setDescription('Phase event configuration table.') st4_phase_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4PhaseIndex')) if mibBuilder.loadTexts: st4PhaseEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4PhaseEventConfigEntry.setDescription('Event configuration objects for a particular phase.') st4_phase_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseNotifications.setStatus('current') if mibBuilder.loadTexts: st4PhaseNotifications.setDescription('The notification methods enabled for phase events.') st4_phase_voltage_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseVoltageLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageLowAlarm.setDescription('The current low alarm threshold of the phase in tenth Volts.') st4_phase_voltage_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseVoltageLowWarning.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageLowWarning.setDescription('The current low warning threshold of the phase in tenth Volts.') st4_phase_voltage_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseVoltageHighWarning.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHighWarning.setDescription('The current high warning threshold of the phase in tenth Volts.') st4_phase_voltage_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 6000))).setUnits('tenth Volts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhaseVoltageHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageHighAlarm.setDescription('The current high alarm threshold of the phase in tenth Volts.') st4_phase_power_factor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhasePowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorLowAlarm.setDescription('The low power factor alarm threshold of the phase in hundredths.') st4_phase_power_factor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 5, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4PhasePowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorLowWarning.setDescription('The low power factor warning threshold of the phase in hundredths.') st4_over_current_protectors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6)) st4_ocp_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 1)) st4_ocp_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2)) if mibBuilder.loadTexts: st4OcpConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OcpConfigTable.setDescription('Over-current protector configuration table.') st4_ocp_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OcpIndex')) if mibBuilder.loadTexts: st4OcpConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpConfigEntry.setDescription('Configuration objects for a particular over-current protector.') st4_ocp_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))) if mibBuilder.loadTexts: st4OcpIndex.setStatus('current') if mibBuilder.loadTexts: st4OcpIndex.setDescription('Over-current protector index.') st4_ocp_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(3, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpID.setStatus('current') if mibBuilder.loadTexts: st4OcpID.setDescription('The internal ID of the over-current protector. Format=AAN[N].') st4_ocp_label = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpLabel.setStatus('current') if mibBuilder.loadTexts: st4OcpLabel.setDescription('The system label assigned to the over-current protector for identification.') st4_ocp_type = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('fuse', 0), ('breaker', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpType.setStatus('current') if mibBuilder.loadTexts: st4OcpType.setDescription('The type of over-current protector.') st4_ocp_current_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 125))).setUnits('Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OcpCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4OcpCurrentCapacity.setDescription('The user-configured current capacity of the over-current protector in Amps.') st4_ocp_current_capacity_max = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 125))).setUnits('Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpCurrentCapacityMax.setStatus('current') if mibBuilder.loadTexts: st4OcpCurrentCapacityMax.setDescription('The factory-set maximum allowed for the user-configured current capacity of the over-current protector in Amps.') st4_ocp_branch_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 12))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpBranchCount.setStatus('current') if mibBuilder.loadTexts: st4OcpBranchCount.setDescription('The number of branches downstream from the over-current protector.') st4_ocp_outlet_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpOutletCount.setStatus('current') if mibBuilder.loadTexts: st4OcpOutletCount.setDescription('The number of outlets powered from the over-current protector.') st4_ocp_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3)) if mibBuilder.loadTexts: st4OcpMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4OcpMonitorTable.setDescription('Over-current protector monitor table.') st4_ocp_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OcpIndex')) if mibBuilder.loadTexts: st4OcpMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpMonitorEntry.setDescription('Objects to monitor for a particular over-current protector.') st4_ocp_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 3, 1, 1), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OcpStatus.setStatus('current') if mibBuilder.loadTexts: st4OcpStatus.setDescription('The status of the over-current protector.') st4_ocp_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4)) if mibBuilder.loadTexts: st4OcpEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OcpEventConfigTable.setDescription('Over-current protector event configuration table.') st4_ocp_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OcpIndex')) if mibBuilder.loadTexts: st4OcpEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OcpEventConfigEntry.setDescription('Event configuration objects for a particular over-current protector.') st4_ocp_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 6, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OcpNotifications.setStatus('current') if mibBuilder.loadTexts: st4OcpNotifications.setDescription('The notification methods enabled for over-current protector events.') st4_branches = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7)) st4_branch_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 1)) st4_branch_current_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHysteresis.setDescription('The current hysteresis of the branch in tenth Amps.') st4_branch_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2)) if mibBuilder.loadTexts: st4BranchConfigTable.setStatus('current') if mibBuilder.loadTexts: st4BranchConfigTable.setDescription('Branch configuration table.') st4_branch_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4BranchIndex')) if mibBuilder.loadTexts: st4BranchConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchConfigEntry.setDescription('Configuration objects for a particular branch.') st4_branch_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))) if mibBuilder.loadTexts: st4BranchIndex.setStatus('current') if mibBuilder.loadTexts: st4BranchIndex.setDescription('Branch index.') st4_branch_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(3, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchID.setStatus('current') if mibBuilder.loadTexts: st4BranchID.setDescription('The internal ID of the branch. Format=AAN[N].') st4_branch_label = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchLabel.setStatus('current') if mibBuilder.loadTexts: st4BranchLabel.setDescription('The system label assigned to the branch for identification.') st4_branch_current_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 125))).setUnits('Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentCapacity.setDescription('The current capacity of the branch in Amps.') st4_branch_phase_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchPhaseID.setStatus('current') if mibBuilder.loadTexts: st4BranchPhaseID.setDescription('The internal ID of the phase powering this branch. Format=AAN.') st4_branch_ocp_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 21), display_string().subtype(subtypeSpec=value_size_constraint(3, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchOcpID.setStatus('current') if mibBuilder.loadTexts: st4BranchOcpID.setDescription('The internal ID of the over-current protector powering this outlet. Format=AAN[N].') st4_branch_outlet_count = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 2, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchOutletCount.setStatus('current') if mibBuilder.loadTexts: st4BranchOutletCount.setDescription('The number of outlets powered from the branch.') st4_branch_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3)) if mibBuilder.loadTexts: st4BranchMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4BranchMonitorTable.setDescription('Branch monitor table.') st4_branch_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4BranchIndex')) if mibBuilder.loadTexts: st4BranchMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchMonitorEntry.setDescription('Objects to monitor for a particular branch.') st4_branch_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 1), device_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchState.setStatus('current') if mibBuilder.loadTexts: st4BranchState.setDescription('The on/off state of the branch.') st4_branch_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchStatus.setStatus('current') if mibBuilder.loadTexts: st4BranchStatus.setDescription('The status of the branch.') st4_branch_current = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 12500))).setUnits('hundredth Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchCurrent.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrent.setDescription('The measured current on the branch in hundredth Amps.') st4_branch_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 4), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentStatus.setDescription('The status of the measured current on the branch.') st4_branch_current_utilized = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1200))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4BranchCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentUtilized.setDescription('The amount of the branch current capacity used in tenth percent.') st4_branch_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4)) if mibBuilder.loadTexts: st4BranchEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4BranchEventConfigTable.setDescription('Branch event configuration table.') st4_branch_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4BranchIndex')) if mibBuilder.loadTexts: st4BranchEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4BranchEventConfigEntry.setDescription('Event configuration objects for a particular branch.') st4_branch_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchNotifications.setStatus('current') if mibBuilder.loadTexts: st4BranchNotifications.setDescription('The notification methods enabled for branch events.') st4_branch_current_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentLowAlarm.setDescription('The current low alarm threshold of the branch in tenth Amps.') st4_branch_current_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentLowWarning.setDescription('The current low warning threshold of the branch in tenth Amps.') st4_branch_current_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHighWarning.setDescription('The current high warning threshold of the branch in tenth Amps.') st4_branch_current_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 7, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4BranchCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentHighAlarm.setDescription('The current high alarm threshold of the branch in tenth Amps.') st4_outlets = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8)) st4_outlet_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1)) st4_outlet_current_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletCurrentHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHysteresis.setDescription('The current hysteresis of the outlet in tenth Amps.') st4_outlet_active_power_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletActivePowerHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHysteresis.setDescription('The power hysteresis of the outlet in Watts.') st4_outlet_power_factor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 20))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletPowerFactorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorHysteresis.setDescription('The power factor hysteresis of the outlet in hundredths.') st4_outlet_sequence_interval = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletSequenceInterval.setStatus('current') if mibBuilder.loadTexts: st4OutletSequenceInterval.setDescription('The power-on sequencing interval for all outlets in seconds.') st4_outlet_reboot_delay = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(5, 600))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletRebootDelay.setStatus('current') if mibBuilder.loadTexts: st4OutletRebootDelay.setDescription('The reboot delay for all outlets in seconds.') st4_outlet_state_change_logging = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletStateChangeLogging.setStatus('current') if mibBuilder.loadTexts: st4OutletStateChangeLogging.setDescription('Enables or disables informational Outlet State Change event logging.') st4_outlet_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2)) if mibBuilder.loadTexts: st4OutletConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OutletConfigTable.setDescription('Outlet configuration table.') st4_outlet_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OutletIndex')) if mibBuilder.loadTexts: st4OutletConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletConfigEntry.setDescription('Configuration objects for a particular outlet.') st4_outlet_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))) if mibBuilder.loadTexts: st4OutletIndex.setStatus('current') if mibBuilder.loadTexts: st4OutletIndex.setDescription('Outlet index.') st4_outlet_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(3, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletID.setStatus('current') if mibBuilder.loadTexts: st4OutletID.setDescription('The internal ID of the outlet. Format=AAN[N[N]].') st4_outlet_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletName.setStatus('current') if mibBuilder.loadTexts: st4OutletName.setDescription('The name of the outlet.') st4_outlet_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 5), bits().clone(namedValues=named_values(('switched', 0), ('pops', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCapabilities.setStatus('current') if mibBuilder.loadTexts: st4OutletCapabilities.setDescription('The capabilities of the outlet.') st4_outlet_socket_type = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletSocketType.setStatus('current') if mibBuilder.loadTexts: st4OutletSocketType.setDescription('The socket type of the outlet.') st4_outlet_current_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 125))).setUnits('Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCurrentCapacity.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentCapacity.setDescription('The current capacity of the outlet in Amps.') st4_outlet_power_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setUnits('Volt-Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletPowerCapacity.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerCapacity.setDescription('The power capacity of the outlet in Volt-Amps. For DC products, this is identical to power capacity in Watts.') st4_outlet_wakeup_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('on', 0), ('off', 1), ('last', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletWakeupState.setStatus('current') if mibBuilder.loadTexts: st4OutletWakeupState.setDescription('The wakeup state of the outlet.') st4_outlet_post_on_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 900))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletPostOnDelay.setStatus('current') if mibBuilder.loadTexts: st4OutletPostOnDelay.setDescription('The post-on delay of the outlet in seconds.') st4_outlet_phase_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 30), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletPhaseID.setStatus('current') if mibBuilder.loadTexts: st4OutletPhaseID.setDescription('The internal ID of the phase powering this outlet. Format=AAN.') st4_outlet_ocp_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 31), display_string().subtype(subtypeSpec=value_size_constraint(3, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletOcpID.setStatus('current') if mibBuilder.loadTexts: st4OutletOcpID.setDescription('The internal ID of the over-current protector powering this outlet. Format=AAN[N].') st4_outlet_branch_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 2, 1, 32), display_string().subtype(subtypeSpec=value_size_constraint(3, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletBranchID.setStatus('current') if mibBuilder.loadTexts: st4OutletBranchID.setDescription('The internal ID of the branch powering this outlet. Format=AAN[N].') st4_outlet_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3)) if mibBuilder.loadTexts: st4OutletMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4OutletMonitorTable.setDescription('Outlet monitor table.') st4_outlet_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OutletIndex')) if mibBuilder.loadTexts: st4OutletMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletMonitorEntry.setDescription('Objects to monitor for a particular outlet.') st4_outlet_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 1), device_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletState.setStatus('current') if mibBuilder.loadTexts: st4OutletState.setDescription('The on/off state of the outlet.') st4_outlet_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletStatus.setDescription('The status of the outlet.') st4_outlet_current = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 12500))).setUnits('hundredth Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCurrent.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrent.setDescription('The measured current on the outlet in hundredth Amps.') st4_outlet_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 4), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCurrentStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentStatus.setDescription('The status of the measured current on the outlet.') st4_outlet_current_utilized = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1200))).setUnits('tenth percent').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCurrentUtilized.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentUtilized.setDescription('The amount of the outlet current capacity used in tenth percent.') st4_outlet_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-1, 6000))).setUnits('tenth Volts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletVoltage.setStatus('current') if mibBuilder.loadTexts: st4OutletVoltage.setDescription('The measured voltage of the outlet in tenth Volts.') st4_outlet_active_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-1, 10000))).setUnits('Watts').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletActivePower.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePower.setDescription('The measured active power of the outlet in Watts.') st4_outlet_active_power_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 8), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletActivePowerStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerStatus.setDescription('The status of the measured active power of the outlet.') st4_outlet_apparent_power = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(-1, 10000))).setUnits('Volt-Amps').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletApparentPower.setStatus('current') if mibBuilder.loadTexts: st4OutletApparentPower.setDescription('The measured apparent power of the outlet in Volt-Amps.') st4_outlet_power_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-1, 100))).setUnits('hundredths').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletPowerFactor.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactor.setDescription('The measured power factor of the outlet in hundredths.') st4_outlet_power_factor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 11), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletPowerFactorStatus.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorStatus.setDescription('The status of the measured power factor of the outlet.') st4_outlet_current_crest_factor = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(-1, 250))).setUnits('tenths').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletCurrentCrestFactor.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentCrestFactor.setDescription('The measured crest factor of the outlet in tenths.') st4_outlet_reactance = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('unknown', 0), ('capacitive', 1), ('inductive', 2), ('resistive', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletReactance.setStatus('current') if mibBuilder.loadTexts: st4OutletReactance.setDescription('The status of the measured reactance of the outlet.') st4_outlet_energy = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 3, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(-1, 2147483647))).setUnits('Watt-Hours').setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletEnergy.setStatus('current') if mibBuilder.loadTexts: st4OutletEnergy.setDescription('The total energy consumption of the device plugged into the outlet in Watt-Hours.') st4_outlet_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4)) if mibBuilder.loadTexts: st4OutletEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4OutletEventConfigTable.setDescription('Outlet event configuration table.') st4_outlet_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OutletIndex')) if mibBuilder.loadTexts: st4OutletEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletEventConfigEntry.setDescription('Event configuration objects for a particular outlet.') st4_outlet_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletNotifications.setStatus('current') if mibBuilder.loadTexts: st4OutletNotifications.setDescription('The notification methods enabled for outlet events.') st4_outlet_current_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletCurrentLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentLowAlarm.setDescription('The current low alarm threshold of the outlet in tenth Amps.') st4_outlet_current_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletCurrentLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentLowWarning.setDescription('The current low warning threshold of the outlet in tenth Amps.') st4_outlet_current_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletCurrentHighWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHighWarning.setDescription('The current high warning threshold of the outlet in tenth Amps.') st4_outlet_current_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 1250))).setUnits('tenth Amps').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletCurrentHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentHighAlarm.setDescription('The current high alarm threshold of the outlet in tenth Amps.') st4_outlet_active_power_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletActivePowerLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerLowAlarm.setDescription('The active power low alarm threshold of the outlet in Watts.') st4_outlet_active_power_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletActivePowerLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerLowWarning.setDescription('The active power low warning threshold of the outlet in Watts.') st4_outlet_active_power_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletActivePowerHighWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHighWarning.setDescription('The active power high warning threshold of the outlet in Watts.') st4_outlet_active_power_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setUnits('Watts').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletActivePowerHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerHighAlarm.setDescription('The active power high alarm threshold of the outlet in Watts.') st4_outlet_power_factor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletPowerFactorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorLowAlarm.setDescription('The low power factor alarm threshold of the outlet in hundredths.') st4_outlet_power_factor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 4, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('hundredths').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletPowerFactorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorLowWarning.setDescription('The low power factor warning threshold of the outlet in hundredths.') st4_outlet_control_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5)) if mibBuilder.loadTexts: st4OutletControlTable.setStatus('current') if mibBuilder.loadTexts: st4OutletControlTable.setDescription('Outlet control table.') st4_outlet_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4InputCordIndex'), (0, 'Sentry4-MIB', 'st4OutletIndex')) if mibBuilder.loadTexts: st4OutletControlEntry.setStatus('current') if mibBuilder.loadTexts: st4OutletControlEntry.setDescription('Objects for control of a particular outlet.') st4_outlet_control_state = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=named_values(('notSet', 0), ('fixedOn', 1), ('idleOff', 2), ('idleOn', 3), ('wakeOff', 4), ('wakeOn', 5), ('ocpOff', 6), ('ocpOn', 7), ('pendOn', 8), ('pendOff', 9), ('off', 10), ('on', 11), ('reboot', 12), ('shutdown', 13), ('lockedOff', 14), ('lockedOn', 15), ('eventOff', 16), ('eventOn', 17), ('eventReboot', 18), ('eventShutdown', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4OutletControlState.setStatus('current') if mibBuilder.loadTexts: st4OutletControlState.setDescription('The control state of the outlet.') st4_outlet_control_action = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('none', 0), ('on', 1), ('off', 2), ('reboot', 3), ('queueOn', 4), ('queueOff', 5), ('queueReboot', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletControlAction.setStatus('current') if mibBuilder.loadTexts: st4OutletControlAction.setDescription('An action to change the control state of the outlet, or to queue an action.') st4_outlet_common_control = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 6)) st4_outlet_queue_control = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 8, 6, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('clear', 0), ('commit', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4OutletQueueControl.setStatus('current') if mibBuilder.loadTexts: st4OutletQueueControl.setDescription('An action to clear or commit queued outlet control actions. A read of this object returns clear(0) if queue is empty, and commit(1) if the queue is not empty.') st4_temperature_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9)) st4_temp_sensor_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1)) st4_temp_sensor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 54))).setUnits('degrees').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHysteresis.setDescription('The temperature hysteresis of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4_temp_sensor_scale = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('celsius', 0), ('fahrenheit', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorScale.setStatus('current') if mibBuilder.loadTexts: st4TempSensorScale.setDescription('The current scale used for all temperature values.') st4_temp_sensor_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2)) if mibBuilder.loadTexts: st4TempSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorConfigTable.setDescription('Temperature sensor configuration table.') st4_temp_sensor_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4TempSensorIndex')) if mibBuilder.loadTexts: st4TempSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorConfigEntry.setDescription('Configuration objects for a particular temperature sensor.') st4_temp_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))) if mibBuilder.loadTexts: st4TempSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4TempSensorIndex.setDescription('Temperature sensor index.') st4_temp_sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4TempSensorID.setStatus('current') if mibBuilder.loadTexts: st4TempSensorID.setDescription('The internal ID of the temperature sensor. Format=AN.') st4_temp_sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorName.setStatus('current') if mibBuilder.loadTexts: st4TempSensorName.setDescription('The name of the temperature sensor.') st4_temp_sensor_value_min = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readonly') if mibBuilder.loadTexts: st4TempSensorValueMin.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValueMin.setDescription('The minimum temperature limit of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4_temp_sensor_value_max = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readonly') if mibBuilder.loadTexts: st4TempSensorValueMax.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValueMax.setDescription('The maximum temperature limit of the sensor in degrees, using the scale selected by st4TempSensorScale.') st4_temp_sensor_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3)) if mibBuilder.loadTexts: st4TempSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorMonitorTable.setDescription('Temperature sensor monitor table.') st4_temp_sensor_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4TempSensorIndex')) if mibBuilder.loadTexts: st4TempSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorMonitorEntry.setDescription('Objects to monitor for a particular temperature sensor.') st4_temp_sensor_value = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(-410, 2540))).setUnits('tenth degrees').setMaxAccess('readonly') if mibBuilder.loadTexts: st4TempSensorValue.setStatus('current') if mibBuilder.loadTexts: st4TempSensorValue.setDescription('The measured temperature on the sensor in tenth degrees using the scale selected by st4TempSensorScale. -410 means the temperature reading is invalid.') st4_temp_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4TempSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4TempSensorStatus.setDescription('The status of the temperature sensor.') st4_temp_sensor_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4)) if mibBuilder.loadTexts: st4TempSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEventConfigTable.setDescription('Temperature sensor event configuration table.') st4_temp_sensor_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4TempSensorIndex')) if mibBuilder.loadTexts: st4TempSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEventConfigEntry.setDescription('Event configuration objects for a particular temperature sensor.') st4_temp_sensor_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4TempSensorNotifications.setDescription('The notification methods enabled for temperature sensor events.') st4_temp_sensor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4TempSensorLowAlarm.setDescription('The low alarm threshold of the temperature sensor in degrees.') st4_temp_sensor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4TempSensorLowWarning.setDescription('The low warning threshold of the temperature sensor in degrees.') st4_temp_sensor_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHighWarning.setDescription('The high warning threshold of the temperature sensor in degrees.') st4_temp_sensor_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 9, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-40, 253))).setUnits('degrees').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4TempSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4TempSensorHighAlarm.setDescription('The high alarm threshold of the temperature sensor in degrees.') st4_humidity_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10)) st4_humid_sensor_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 1)) st4_humid_sensor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 20))).setUnits('percentage relative humidity').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHysteresis.setDescription('The humidity hysteresis of the sensor in percent relative humidity.') st4_humid_sensor_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2)) if mibBuilder.loadTexts: st4HumidSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorConfigTable.setDescription('Humidity sensor configuration table.') st4_humid_sensor_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4HumidSensorIndex')) if mibBuilder.loadTexts: st4HumidSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorConfigEntry.setDescription('Configuration objects for a particular humidity sensor.') st4_humid_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))) if mibBuilder.loadTexts: st4HumidSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorIndex.setDescription('Humidity sensor index.') st4_humid_sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4HumidSensorID.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorID.setDescription('The internal ID of the humidity sensor. Format=AN.') st4_humid_sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorName.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorName.setDescription('The name of the humidity sensor.') st4_humid_sensor_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3)) if mibBuilder.loadTexts: st4HumidSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorMonitorTable.setDescription('Humidity sensor monitor table.') st4_humid_sensor_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4HumidSensorIndex')) if mibBuilder.loadTexts: st4HumidSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorMonitorEntry.setDescription('Objects to monitor for a particular humidity sensor.') st4_humid_sensor_value = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(-1, 100))).setUnits('percentage relative humidity').setMaxAccess('readonly') if mibBuilder.loadTexts: st4HumidSensorValue.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorValue.setDescription('The measured humidity on the sensor in percentage relative humidity.') st4_humid_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4HumidSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorStatus.setDescription('The status of the humidity sensor.') st4_humid_sensor_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4)) if mibBuilder.loadTexts: st4HumidSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEventConfigTable.setDescription('Humidity sensor event configuration table.') st4_humid_sensor_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4HumidSensorIndex')) if mibBuilder.loadTexts: st4HumidSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEventConfigEntry.setDescription('Event configuration objects for a particular humidity sensor.') st4_humid_sensor_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorNotifications.setDescription('The notification methods enabled for humidity sensor events.') st4_humid_sensor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorLowAlarm.setDescription('The low alarm threshold of the humidity sensor in percentage relative humidity.') st4_humid_sensor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorLowWarning.setDescription('The low warning threshold of the humidity sensor in percentage relative humidity.') st4_humid_sensor_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHighWarning.setDescription('The high warning threshold of the humidity sensor in percentage relative humidity.') st4_humid_sensor_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 10, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percentage relative humidity').setMaxAccess('readwrite') if mibBuilder.loadTexts: st4HumidSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorHighAlarm.setDescription('The high alarm threshold of the humidity sensor in percentage relative humidity.') st4_water_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11)) st4_water_sensor_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 1)) st4_water_sensor_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2)) if mibBuilder.loadTexts: st4WaterSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorConfigTable.setDescription('Water sensor configuration table.') st4_water_sensor_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4WaterSensorIndex')) if mibBuilder.loadTexts: st4WaterSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorConfigEntry.setDescription('Configuration objects for a particular water sensor.') st4_water_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))) if mibBuilder.loadTexts: st4WaterSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorIndex.setDescription('Water sensor index.') st4_water_sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4WaterSensorID.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorID.setDescription('The internal ID of the water sensor. Format=AN.') st4_water_sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4WaterSensorName.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorName.setDescription('The name of the water sensor.') st4_water_sensor_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3)) if mibBuilder.loadTexts: st4WaterSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorMonitorTable.setDescription('Water sensor monitor table.') st4_water_sensor_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4WaterSensorIndex')) if mibBuilder.loadTexts: st4WaterSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorMonitorEntry.setDescription('Objects to monitor for a particular water sensor.') st4_water_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 3, 1, 1), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4WaterSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorStatus.setDescription('The status of the water sensor.') st4_water_sensor_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4)) if mibBuilder.loadTexts: st4WaterSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorEventConfigTable.setDescription('Water sensor event configuration table.') st4_water_sensor_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4WaterSensorIndex')) if mibBuilder.loadTexts: st4WaterSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorEventConfigEntry.setDescription('Event configuration objects for a particular water sensor.') st4_water_sensor_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 11, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4WaterSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorNotifications.setDescription('The notification methods enabled for water sensor events.') st4_contact_closure_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12)) st4_cc_sensor_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 1)) st4_cc_sensor_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2)) if mibBuilder.loadTexts: st4CcSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorConfigTable.setDescription('Contact closure sensor configuration table.') st4_cc_sensor_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4CcSensorIndex')) if mibBuilder.loadTexts: st4CcSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorConfigEntry.setDescription('Configuration objects for a particular contact closure sensor.') st4_cc_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))) if mibBuilder.loadTexts: st4CcSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4CcSensorIndex.setDescription('Contact closure sensor index.') st4_cc_sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4CcSensorID.setStatus('current') if mibBuilder.loadTexts: st4CcSensorID.setDescription('The internal ID of the contact closure sensor. Format=AN.') st4_cc_sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4CcSensorName.setStatus('current') if mibBuilder.loadTexts: st4CcSensorName.setDescription('The name of the contact closure sensor.') st4_cc_sensor_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3)) if mibBuilder.loadTexts: st4CcSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorMonitorTable.setDescription('Contact closure sensor monitor table.') st4_cc_sensor_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4CcSensorIndex')) if mibBuilder.loadTexts: st4CcSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorMonitorEntry.setDescription('Objects to monitor for a particular contact closure sensor.') st4_cc_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 3, 1, 1), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4CcSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4CcSensorStatus.setDescription('The status of the contact closure.') st4_cc_sensor_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4)) if mibBuilder.loadTexts: st4CcSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4CcSensorEventConfigTable.setDescription('Contact closure sensor event configuration table.') st4_cc_sensor_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4CcSensorIndex')) if mibBuilder.loadTexts: st4CcSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4CcSensorEventConfigEntry.setDescription('Event configuration objects for a particular contact closure sensor.') st4_cc_sensor_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 12, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4CcSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4CcSensorNotifications.setDescription('The notification methods enabled for contact closure sensor events.') st4_analog_to_digital_conv_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13)) st4_adc_sensor_common_config = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 1)) st4_adc_sensor_hysteresis = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorHysteresis.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHysteresis.setDescription('The 8-bit count hysteresis of the analog-to-digital converter sensor.') st4_adc_sensor_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2)) if mibBuilder.loadTexts: st4AdcSensorConfigTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorConfigTable.setDescription('Analog-to-digital converter sensor configuration table.') st4_adc_sensor_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4AdcSensorIndex')) if mibBuilder.loadTexts: st4AdcSensorConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorConfigEntry.setDescription('Configuration objects for a particular analog-to-digital converter sensor.') st4_adc_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 1))) if mibBuilder.loadTexts: st4AdcSensorIndex.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorIndex.setDescription('Analog-to-digital converter sensor index.') st4_adc_sensor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: st4AdcSensorID.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorID.setDescription('The internal ID of the analog-to-digital converter sensor. Format=AN.') st4_adc_sensor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorName.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorName.setDescription('The name of the analog-to-digital converter sensor.') st4_adc_sensor_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3)) if mibBuilder.loadTexts: st4AdcSensorMonitorTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorMonitorTable.setDescription('Analog-to-digital converter sensor monitor table.') st4_adc_sensor_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4AdcSensorIndex')) if mibBuilder.loadTexts: st4AdcSensorMonitorEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorMonitorEntry.setDescription('Objects to monitor for a particular analog-to-digital converter sensor.') st4_adc_sensor_value = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(-1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4AdcSensorValue.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorValue.setDescription('The 8-bit value from the analog-to-digital converter sensor.') st4_adc_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 3, 1, 2), device_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: st4AdcSensorStatus.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorStatus.setDescription('The status of the analog-to-digital converter sensor.') st4_adc_sensor_event_config_table = mib_table((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4)) if mibBuilder.loadTexts: st4AdcSensorEventConfigTable.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEventConfigTable.setDescription('Analog-to-digital converter sensor event configuration table.') st4_adc_sensor_event_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1)).setIndexNames((0, 'Sentry4-MIB', 'st4UnitIndex'), (0, 'Sentry4-MIB', 'st4AdcSensorIndex')) if mibBuilder.loadTexts: st4AdcSensorEventConfigEntry.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEventConfigEntry.setDescription('Event configuration objects for a particular analog-to-digital converter sensor.') st4_adc_sensor_notifications = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 1), event_notification_methods()).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorNotifications.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorNotifications.setDescription('The notification methods enabled for analog-to-digital converter sensor events.') st4_adc_sensor_low_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorLowAlarm.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorLowAlarm.setDescription('The 8-bit value for the low alarm threshold of the analog-to-digital converter sensor.') st4_adc_sensor_low_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorLowWarning.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorLowWarning.setDescription('The 8-bit value for the low warning threshold of the analog-to-digital converter sensor.') st4_adc_sensor_high_warning = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorHighWarning.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHighWarning.setDescription('The 8-bit value for the high warning threshold of the analog-to-digital converter sensor.') st4_adc_sensor_high_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 1718, 4, 1, 13, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: st4AdcSensorHighAlarm.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorHighAlarm.setDescription('The 8-bit value for the high alarm threshold of the analog-to-digital converter sensor.') st4_event_information = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99)) st4_event_status_text = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4EventStatusText.setStatus('current') if mibBuilder.loadTexts: st4EventStatusText.setDescription('The text representation of the enumerated integer value of the most-relevant status or state object included in a trap. The value of this object is set only when sent with a trap. A read of this object will return a NULL string.') st4_event_status_condition = mib_scalar((1, 3, 6, 1, 4, 1, 1718, 4, 1, 99, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('nonError', 0), ('error', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: st4EventStatusCondition.setStatus('current') if mibBuilder.loadTexts: st4EventStatusCondition.setDescription('The condition of the enumerated integer value of the status object included in a trap. The value of this object is set only when sent with a trap. A read of this object will return zero.') st4_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 100)) st4_events = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0)) st4_unit_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 1)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4UnitID'), ('Sentry4-MIB', 'st4UnitName'), ('Sentry4-MIB', 'st4UnitStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4UnitStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4UnitStatusEvent.setDescription('Unit status event.') st4_input_cord_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 2)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordState'), ('Sentry4-MIB', 'st4InputCordStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4InputCordStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordStatusEvent.setDescription('Input cord status event.') st4_input_cord_active_power_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 3)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordActivePower'), ('Sentry4-MIB', 'st4InputCordActivePowerStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4InputCordActivePowerEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordActivePowerEvent.setDescription('Input cord active power event.') st4_input_cord_apparent_power_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 4)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordApparentPower'), ('Sentry4-MIB', 'st4InputCordApparentPowerStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4InputCordApparentPowerEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordApparentPowerEvent.setDescription('Input cord apparent power event.') st4_input_cord_power_factor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 5)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordPowerFactor'), ('Sentry4-MIB', 'st4InputCordPowerFactorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4InputCordPowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordPowerFactorEvent.setDescription('Input cord power factor event.') st4_input_cord_out_of_balance_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 6)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordOutOfBalance'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4InputCordOutOfBalanceEvent.setStatus('current') if mibBuilder.loadTexts: st4InputCordOutOfBalanceEvent.setDescription('Input cord out-of-balance event.') st4_line_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 7)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4LineID'), ('Sentry4-MIB', 'st4LineLabel'), ('Sentry4-MIB', 'st4LineState'), ('Sentry4-MIB', 'st4LineStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4LineStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4LineStatusEvent.setDescription('Line status event.') st4_line_current_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 8)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4LineID'), ('Sentry4-MIB', 'st4LineLabel'), ('Sentry4-MIB', 'st4LineCurrent'), ('Sentry4-MIB', 'st4LineCurrentStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4LineCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4LineCurrentEvent.setDescription('Line current event.') st4_phase_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 9)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4PhaseID'), ('Sentry4-MIB', 'st4PhaseLabel'), ('Sentry4-MIB', 'st4PhaseState'), ('Sentry4-MIB', 'st4PhaseStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4PhaseStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4PhaseStatusEvent.setDescription('Phase status event.') st4_phase_voltage_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 10)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4PhaseID'), ('Sentry4-MIB', 'st4PhaseLabel'), ('Sentry4-MIB', 'st4PhaseVoltage'), ('Sentry4-MIB', 'st4PhaseVoltageStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4PhaseVoltageEvent.setStatus('current') if mibBuilder.loadTexts: st4PhaseVoltageEvent.setDescription('Phase voltage event.') st4_phase_power_factor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 11)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4PhaseID'), ('Sentry4-MIB', 'st4PhaseLabel'), ('Sentry4-MIB', 'st4PhasePowerFactor'), ('Sentry4-MIB', 'st4PhasePowerFactorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4PhasePowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4PhasePowerFactorEvent.setDescription('Phase voltage event.') st4_ocp_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 12)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OcpID'), ('Sentry4-MIB', 'st4OcpLabel'), ('Sentry4-MIB', 'st4OcpStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OcpStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4OcpStatusEvent.setDescription('Over-current protector status event.') st4_branch_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 13)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4BranchID'), ('Sentry4-MIB', 'st4BranchLabel'), ('Sentry4-MIB', 'st4BranchState'), ('Sentry4-MIB', 'st4BranchStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4BranchStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4BranchStatusEvent.setDescription('Branch status event.') st4_branch_current_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 14)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4BranchID'), ('Sentry4-MIB', 'st4BranchLabel'), ('Sentry4-MIB', 'st4BranchCurrent'), ('Sentry4-MIB', 'st4BranchCurrentStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4BranchCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4BranchCurrentEvent.setDescription('Branch current event.') st4_outlet_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 15)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletState'), ('Sentry4-MIB', 'st4OutletStatus'), ('Sentry4-MIB', 'st4OutletControlState'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OutletStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletStatusEvent.setDescription('Outlet status event.') st4_outlet_state_change_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 16)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletState'), ('Sentry4-MIB', 'st4OutletStatus'), ('Sentry4-MIB', 'st4OutletControlState'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OutletStateChangeEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletStateChangeEvent.setDescription('Outlet state change event.') st4_outlet_current_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 17)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletCurrent'), ('Sentry4-MIB', 'st4OutletCurrentStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OutletCurrentEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletCurrentEvent.setDescription('Outlet current event.') st4_outlet_active_power_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 18)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletActivePower'), ('Sentry4-MIB', 'st4OutletActivePowerStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OutletActivePowerEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletActivePowerEvent.setDescription('Outlet active power event.') st4_outlet_power_factor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 19)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletPowerFactor'), ('Sentry4-MIB', 'st4OutletPowerFactorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4OutletPowerFactorEvent.setStatus('current') if mibBuilder.loadTexts: st4OutletPowerFactorEvent.setDescription('Outlet power factor event.') st4_temp_sensor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 20)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4TempSensorID'), ('Sentry4-MIB', 'st4TempSensorName'), ('Sentry4-MIB', 'st4TempSensorValue'), ('Sentry4-MIB', 'st4TempSensorStatus'), ('Sentry4-MIB', 'st4TempSensorScale'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4TempSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4TempSensorEvent.setDescription('Temperature sensor event.') st4_humid_sensor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 21)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4HumidSensorID'), ('Sentry4-MIB', 'st4HumidSensorName'), ('Sentry4-MIB', 'st4HumidSensorValue'), ('Sentry4-MIB', 'st4HumidSensorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4HumidSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorEvent.setDescription('Humidity sensor event.') st4_water_sensor_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 22)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4WaterSensorID'), ('Sentry4-MIB', 'st4WaterSensorName'), ('Sentry4-MIB', 'st4WaterSensorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4WaterSensorStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorStatusEvent.setDescription('Water sensor status event.') st4_cc_sensor_status_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 23)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4CcSensorID'), ('Sentry4-MIB', 'st4CcSensorName'), ('Sentry4-MIB', 'st4CcSensorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4CcSensorStatusEvent.setStatus('current') if mibBuilder.loadTexts: st4CcSensorStatusEvent.setDescription('Contact closure sensor status event.') st4_adc_sensor_event = notification_type((1, 3, 6, 1, 4, 1, 1718, 4, 100, 0, 24)).setObjects(('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4AdcSensorID'), ('Sentry4-MIB', 'st4AdcSensorName'), ('Sentry4-MIB', 'st4AdcSensorValue'), ('Sentry4-MIB', 'st4AdcSensorStatus'), ('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if mibBuilder.loadTexts: st4AdcSensorEvent.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorEvent.setDescription('Analog-to-digital converter sensor event.') st4_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 200)) st4_groups = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1)) st4_system_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 1)).setObjects(('Sentry4-MIB', 'st4SystemProductName'), ('Sentry4-MIB', 'st4SystemLocation'), ('Sentry4-MIB', 'st4SystemFirmwareVersion'), ('Sentry4-MIB', 'st4SystemFirmwareBuildInfo'), ('Sentry4-MIB', 'st4SystemNICSerialNumber'), ('Sentry4-MIB', 'st4SystemNICHardwareInfo'), ('Sentry4-MIB', 'st4SystemProductSeries'), ('Sentry4-MIB', 'st4SystemFeatures'), ('Sentry4-MIB', 'st4SystemFeatureKey'), ('Sentry4-MIB', 'st4SystemConfigModifiedCount'), ('Sentry4-MIB', 'st4SystemUnitCount')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_system_objects_group = st4SystemObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4SystemObjectsGroup.setDescription('System objects group.') st4_unit_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 2)).setObjects(('Sentry4-MIB', 'st4UnitID'), ('Sentry4-MIB', 'st4UnitName'), ('Sentry4-MIB', 'st4UnitProductSN'), ('Sentry4-MIB', 'st4UnitModel'), ('Sentry4-MIB', 'st4UnitAssetTag'), ('Sentry4-MIB', 'st4UnitType'), ('Sentry4-MIB', 'st4UnitCapabilities'), ('Sentry4-MIB', 'st4UnitProductMfrDate'), ('Sentry4-MIB', 'st4UnitDisplayOrientation'), ('Sentry4-MIB', 'st4UnitOutletSequenceOrder'), ('Sentry4-MIB', 'st4UnitInputCordCount'), ('Sentry4-MIB', 'st4UnitTempSensorCount'), ('Sentry4-MIB', 'st4UnitHumidSensorCount'), ('Sentry4-MIB', 'st4UnitWaterSensorCount'), ('Sentry4-MIB', 'st4UnitCcSensorCount'), ('Sentry4-MIB', 'st4UnitAdcSensorCount'), ('Sentry4-MIB', 'st4UnitStatus'), ('Sentry4-MIB', 'st4UnitNotifications')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_unit_objects_group = st4UnitObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4UnitObjectsGroup.setDescription('Unit objects group.') st4_input_cord_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 3)).setObjects(('Sentry4-MIB', 'st4InputCordActivePowerHysteresis'), ('Sentry4-MIB', 'st4InputCordApparentPowerHysteresis'), ('Sentry4-MIB', 'st4InputCordPowerFactorHysteresis'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceHysteresis'), ('Sentry4-MIB', 'st4InputCordID'), ('Sentry4-MIB', 'st4InputCordName'), ('Sentry4-MIB', 'st4InputCordInletType'), ('Sentry4-MIB', 'st4InputCordNominalVoltage'), ('Sentry4-MIB', 'st4InputCordNominalVoltageMin'), ('Sentry4-MIB', 'st4InputCordNominalVoltageMax'), ('Sentry4-MIB', 'st4InputCordCurrentCapacity'), ('Sentry4-MIB', 'st4InputCordCurrentCapacityMax'), ('Sentry4-MIB', 'st4InputCordPowerCapacity'), ('Sentry4-MIB', 'st4InputCordNominalPowerFactor'), ('Sentry4-MIB', 'st4InputCordLineCount'), ('Sentry4-MIB', 'st4InputCordPhaseCount'), ('Sentry4-MIB', 'st4InputCordOcpCount'), ('Sentry4-MIB', 'st4InputCordBranchCount'), ('Sentry4-MIB', 'st4InputCordOutletCount'), ('Sentry4-MIB', 'st4InputCordState'), ('Sentry4-MIB', 'st4InputCordStatus'), ('Sentry4-MIB', 'st4InputCordActivePower'), ('Sentry4-MIB', 'st4InputCordActivePowerStatus'), ('Sentry4-MIB', 'st4InputCordApparentPower'), ('Sentry4-MIB', 'st4InputCordApparentPowerStatus'), ('Sentry4-MIB', 'st4InputCordPowerUtilized'), ('Sentry4-MIB', 'st4InputCordPowerFactor'), ('Sentry4-MIB', 'st4InputCordPowerFactorStatus'), ('Sentry4-MIB', 'st4InputCordEnergy'), ('Sentry4-MIB', 'st4InputCordFrequency'), ('Sentry4-MIB', 'st4InputCordOutOfBalance'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceStatus'), ('Sentry4-MIB', 'st4InputCordNotifications'), ('Sentry4-MIB', 'st4InputCordActivePowerLowAlarm'), ('Sentry4-MIB', 'st4InputCordActivePowerLowWarning'), ('Sentry4-MIB', 'st4InputCordActivePowerHighWarning'), ('Sentry4-MIB', 'st4InputCordActivePowerHighAlarm'), ('Sentry4-MIB', 'st4InputCordApparentPowerLowAlarm'), ('Sentry4-MIB', 'st4InputCordApparentPowerLowWarning'), ('Sentry4-MIB', 'st4InputCordApparentPowerHighWarning'), ('Sentry4-MIB', 'st4InputCordApparentPowerHighAlarm'), ('Sentry4-MIB', 'st4InputCordPowerFactorLowAlarm'), ('Sentry4-MIB', 'st4InputCordPowerFactorLowWarning'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceHighWarning'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_input_cord_objects_group = st4InputCordObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4InputCordObjectsGroup.setDescription('Input cord objects group.') st4_line_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 4)).setObjects(('Sentry4-MIB', 'st4LineCurrentHysteresis'), ('Sentry4-MIB', 'st4LineID'), ('Sentry4-MIB', 'st4LineLabel'), ('Sentry4-MIB', 'st4LineCurrentCapacity'), ('Sentry4-MIB', 'st4LineState'), ('Sentry4-MIB', 'st4LineStatus'), ('Sentry4-MIB', 'st4LineCurrent'), ('Sentry4-MIB', 'st4LineCurrentStatus'), ('Sentry4-MIB', 'st4LineCurrentUtilized'), ('Sentry4-MIB', 'st4LineNotifications'), ('Sentry4-MIB', 'st4LineCurrentLowAlarm'), ('Sentry4-MIB', 'st4LineCurrentLowWarning'), ('Sentry4-MIB', 'st4LineCurrentHighWarning'), ('Sentry4-MIB', 'st4LineCurrentHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_line_objects_group = st4LineObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4LineObjectsGroup.setDescription('Line objects group.') st4_phase_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 5)).setObjects(('Sentry4-MIB', 'st4PhaseVoltageHysteresis'), ('Sentry4-MIB', 'st4PhasePowerFactorHysteresis'), ('Sentry4-MIB', 'st4PhaseID'), ('Sentry4-MIB', 'st4PhaseLabel'), ('Sentry4-MIB', 'st4PhaseNominalVoltage'), ('Sentry4-MIB', 'st4PhaseBranchCount'), ('Sentry4-MIB', 'st4PhaseOutletCount'), ('Sentry4-MIB', 'st4PhaseState'), ('Sentry4-MIB', 'st4PhaseStatus'), ('Sentry4-MIB', 'st4PhaseVoltage'), ('Sentry4-MIB', 'st4PhaseVoltageStatus'), ('Sentry4-MIB', 'st4PhaseVoltageDeviation'), ('Sentry4-MIB', 'st4PhaseCurrent'), ('Sentry4-MIB', 'st4PhaseCurrentCrestFactor'), ('Sentry4-MIB', 'st4PhaseActivePower'), ('Sentry4-MIB', 'st4PhaseApparentPower'), ('Sentry4-MIB', 'st4PhasePowerFactor'), ('Sentry4-MIB', 'st4PhasePowerFactorStatus'), ('Sentry4-MIB', 'st4PhaseReactance'), ('Sentry4-MIB', 'st4PhaseEnergy'), ('Sentry4-MIB', 'st4PhaseNotifications'), ('Sentry4-MIB', 'st4PhaseVoltageLowAlarm'), ('Sentry4-MIB', 'st4PhaseVoltageLowWarning'), ('Sentry4-MIB', 'st4PhaseVoltageHighWarning'), ('Sentry4-MIB', 'st4PhaseVoltageHighAlarm'), ('Sentry4-MIB', 'st4PhasePowerFactorLowAlarm'), ('Sentry4-MIB', 'st4PhasePowerFactorLowWarning')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_phase_objects_group = st4PhaseObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4PhaseObjectsGroup.setDescription('Phase objects group.') st4_ocp_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 6)).setObjects(('Sentry4-MIB', 'st4OcpID'), ('Sentry4-MIB', 'st4OcpLabel'), ('Sentry4-MIB', 'st4OcpType'), ('Sentry4-MIB', 'st4OcpCurrentCapacity'), ('Sentry4-MIB', 'st4OcpCurrentCapacityMax'), ('Sentry4-MIB', 'st4OcpBranchCount'), ('Sentry4-MIB', 'st4OcpOutletCount'), ('Sentry4-MIB', 'st4OcpStatus'), ('Sentry4-MIB', 'st4OcpNotifications')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_ocp_objects_group = st4OcpObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4OcpObjectsGroup.setDescription('Over-current protector objects group.') st4_branch_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 7)).setObjects(('Sentry4-MIB', 'st4BranchCurrentHysteresis'), ('Sentry4-MIB', 'st4BranchID'), ('Sentry4-MIB', 'st4BranchLabel'), ('Sentry4-MIB', 'st4BranchCurrentCapacity'), ('Sentry4-MIB', 'st4BranchPhaseID'), ('Sentry4-MIB', 'st4BranchOcpID'), ('Sentry4-MIB', 'st4BranchOutletCount'), ('Sentry4-MIB', 'st4BranchState'), ('Sentry4-MIB', 'st4BranchStatus'), ('Sentry4-MIB', 'st4BranchCurrent'), ('Sentry4-MIB', 'st4BranchCurrentStatus'), ('Sentry4-MIB', 'st4BranchCurrentUtilized'), ('Sentry4-MIB', 'st4BranchNotifications'), ('Sentry4-MIB', 'st4BranchCurrentLowAlarm'), ('Sentry4-MIB', 'st4BranchCurrentLowWarning'), ('Sentry4-MIB', 'st4BranchCurrentHighWarning'), ('Sentry4-MIB', 'st4BranchCurrentHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_branch_objects_group = st4BranchObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4BranchObjectsGroup.setDescription('Branch objects group.') st4_outlet_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 8)).setObjects(('Sentry4-MIB', 'st4OutletCurrentHysteresis'), ('Sentry4-MIB', 'st4OutletActivePowerHysteresis'), ('Sentry4-MIB', 'st4OutletPowerFactorHysteresis'), ('Sentry4-MIB', 'st4OutletSequenceInterval'), ('Sentry4-MIB', 'st4OutletRebootDelay'), ('Sentry4-MIB', 'st4OutletStateChangeLogging'), ('Sentry4-MIB', 'st4OutletID'), ('Sentry4-MIB', 'st4OutletName'), ('Sentry4-MIB', 'st4OutletCapabilities'), ('Sentry4-MIB', 'st4OutletSocketType'), ('Sentry4-MIB', 'st4OutletCurrentCapacity'), ('Sentry4-MIB', 'st4OutletPowerCapacity'), ('Sentry4-MIB', 'st4OutletWakeupState'), ('Sentry4-MIB', 'st4OutletPostOnDelay'), ('Sentry4-MIB', 'st4OutletPhaseID'), ('Sentry4-MIB', 'st4OutletOcpID'), ('Sentry4-MIB', 'st4OutletBranchID'), ('Sentry4-MIB', 'st4OutletState'), ('Sentry4-MIB', 'st4OutletStatus'), ('Sentry4-MIB', 'st4OutletCurrent'), ('Sentry4-MIB', 'st4OutletCurrentStatus'), ('Sentry4-MIB', 'st4OutletCurrentUtilized'), ('Sentry4-MIB', 'st4OutletVoltage'), ('Sentry4-MIB', 'st4OutletActivePower'), ('Sentry4-MIB', 'st4OutletActivePowerStatus'), ('Sentry4-MIB', 'st4OutletApparentPower'), ('Sentry4-MIB', 'st4OutletPowerFactor'), ('Sentry4-MIB', 'st4OutletPowerFactorStatus'), ('Sentry4-MIB', 'st4OutletCurrentCrestFactor'), ('Sentry4-MIB', 'st4OutletReactance'), ('Sentry4-MIB', 'st4OutletEnergy'), ('Sentry4-MIB', 'st4OutletNotifications'), ('Sentry4-MIB', 'st4OutletCurrentLowAlarm'), ('Sentry4-MIB', 'st4OutletCurrentLowWarning'), ('Sentry4-MIB', 'st4OutletCurrentHighWarning'), ('Sentry4-MIB', 'st4OutletCurrentHighAlarm'), ('Sentry4-MIB', 'st4OutletActivePowerLowAlarm'), ('Sentry4-MIB', 'st4OutletActivePowerLowWarning'), ('Sentry4-MIB', 'st4OutletActivePowerHighWarning'), ('Sentry4-MIB', 'st4OutletActivePowerHighAlarm'), ('Sentry4-MIB', 'st4OutletPowerFactorLowAlarm'), ('Sentry4-MIB', 'st4OutletPowerFactorLowWarning'), ('Sentry4-MIB', 'st4OutletControlState'), ('Sentry4-MIB', 'st4OutletControlAction'), ('Sentry4-MIB', 'st4OutletQueueControl')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_outlet_objects_group = st4OutletObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4OutletObjectsGroup.setDescription('Outlet objects group.') st4_temp_sensor_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 9)).setObjects(('Sentry4-MIB', 'st4TempSensorHysteresis'), ('Sentry4-MIB', 'st4TempSensorScale'), ('Sentry4-MIB', 'st4TempSensorID'), ('Sentry4-MIB', 'st4TempSensorName'), ('Sentry4-MIB', 'st4TempSensorValueMin'), ('Sentry4-MIB', 'st4TempSensorValueMax'), ('Sentry4-MIB', 'st4TempSensorValue'), ('Sentry4-MIB', 'st4TempSensorStatus'), ('Sentry4-MIB', 'st4TempSensorNotifications'), ('Sentry4-MIB', 'st4TempSensorLowAlarm'), ('Sentry4-MIB', 'st4TempSensorLowWarning'), ('Sentry4-MIB', 'st4TempSensorHighWarning'), ('Sentry4-MIB', 'st4TempSensorHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_temp_sensor_objects_group = st4TempSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4TempSensorObjectsGroup.setDescription('Temperature sensor objects group.') st4_humid_sensor_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 10)).setObjects(('Sentry4-MIB', 'st4HumidSensorHysteresis'), ('Sentry4-MIB', 'st4HumidSensorID'), ('Sentry4-MIB', 'st4HumidSensorName'), ('Sentry4-MIB', 'st4HumidSensorValue'), ('Sentry4-MIB', 'st4HumidSensorStatus'), ('Sentry4-MIB', 'st4HumidSensorNotifications'), ('Sentry4-MIB', 'st4HumidSensorLowAlarm'), ('Sentry4-MIB', 'st4HumidSensorLowWarning'), ('Sentry4-MIB', 'st4HumidSensorHighWarning'), ('Sentry4-MIB', 'st4HumidSensorHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_humid_sensor_objects_group = st4HumidSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4HumidSensorObjectsGroup.setDescription('Humidity sensor objects group.') st4_water_sensor_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 11)).setObjects(('Sentry4-MIB', 'st4WaterSensorID'), ('Sentry4-MIB', 'st4WaterSensorName'), ('Sentry4-MIB', 'st4WaterSensorStatus'), ('Sentry4-MIB', 'st4WaterSensorNotifications')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_water_sensor_objects_group = st4WaterSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4WaterSensorObjectsGroup.setDescription('Water sensor objects group.') st4_cc_sensor_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 12)).setObjects(('Sentry4-MIB', 'st4CcSensorID'), ('Sentry4-MIB', 'st4CcSensorName'), ('Sentry4-MIB', 'st4CcSensorStatus'), ('Sentry4-MIB', 'st4CcSensorNotifications')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_cc_sensor_objects_group = st4CcSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4CcSensorObjectsGroup.setDescription('Contact closure sensor objects group.') st4_adc_sensor_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 13)).setObjects(('Sentry4-MIB', 'st4AdcSensorHysteresis'), ('Sentry4-MIB', 'st4AdcSensorID'), ('Sentry4-MIB', 'st4AdcSensorName'), ('Sentry4-MIB', 'st4AdcSensorValue'), ('Sentry4-MIB', 'st4AdcSensorStatus'), ('Sentry4-MIB', 'st4AdcSensorNotifications'), ('Sentry4-MIB', 'st4AdcSensorLowAlarm'), ('Sentry4-MIB', 'st4AdcSensorLowWarning'), ('Sentry4-MIB', 'st4AdcSensorHighWarning'), ('Sentry4-MIB', 'st4AdcSensorHighAlarm')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_adc_sensor_objects_group = st4AdcSensorObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4AdcSensorObjectsGroup.setDescription('Analog-to-digital converter sensor objects group.') st4_event_info_objects_group = object_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 99)).setObjects(('Sentry4-MIB', 'st4EventStatusText'), ('Sentry4-MIB', 'st4EventStatusCondition')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_event_info_objects_group = st4EventInfoObjectsGroup.setStatus('current') if mibBuilder.loadTexts: st4EventInfoObjectsGroup.setDescription('Event information objects group.') st4_event_notifications_group = notification_group((1, 3, 6, 1, 4, 1, 1718, 4, 200, 1, 100)).setObjects(('Sentry4-MIB', 'st4UnitStatusEvent'), ('Sentry4-MIB', 'st4InputCordStatusEvent'), ('Sentry4-MIB', 'st4InputCordActivePowerEvent'), ('Sentry4-MIB', 'st4InputCordApparentPowerEvent'), ('Sentry4-MIB', 'st4InputCordPowerFactorEvent'), ('Sentry4-MIB', 'st4InputCordOutOfBalanceEvent'), ('Sentry4-MIB', 'st4LineStatusEvent'), ('Sentry4-MIB', 'st4LineCurrentEvent'), ('Sentry4-MIB', 'st4PhaseStatusEvent'), ('Sentry4-MIB', 'st4PhaseVoltageEvent'), ('Sentry4-MIB', 'st4PhasePowerFactorEvent'), ('Sentry4-MIB', 'st4OcpStatusEvent'), ('Sentry4-MIB', 'st4BranchStatusEvent'), ('Sentry4-MIB', 'st4BranchCurrentEvent'), ('Sentry4-MIB', 'st4OutletStatusEvent'), ('Sentry4-MIB', 'st4OutletStateChangeEvent'), ('Sentry4-MIB', 'st4OutletCurrentEvent'), ('Sentry4-MIB', 'st4OutletActivePowerEvent'), ('Sentry4-MIB', 'st4OutletPowerFactorEvent'), ('Sentry4-MIB', 'st4TempSensorEvent'), ('Sentry4-MIB', 'st4HumidSensorEvent'), ('Sentry4-MIB', 'st4WaterSensorStatusEvent'), ('Sentry4-MIB', 'st4CcSensorStatusEvent'), ('Sentry4-MIB', 'st4AdcSensorEvent')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_event_notifications_group = st4EventNotificationsGroup.setStatus('current') if mibBuilder.loadTexts: st4EventNotificationsGroup.setDescription('Event notifications group.') st4_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 1718, 4, 200, 2)) st4_module_compliances = module_compliance((1, 3, 6, 1, 4, 1, 1718, 4, 200, 2, 1)).setObjects(('Sentry4-MIB', 'st4SystemObjectsGroup'), ('Sentry4-MIB', 'st4UnitObjectsGroup'), ('Sentry4-MIB', 'st4InputCordObjectsGroup'), ('Sentry4-MIB', 'st4LineObjectsGroup'), ('Sentry4-MIB', 'st4PhaseObjectsGroup'), ('Sentry4-MIB', 'st4OcpObjectsGroup'), ('Sentry4-MIB', 'st4BranchObjectsGroup'), ('Sentry4-MIB', 'st4OutletObjectsGroup'), ('Sentry4-MIB', 'st4TempSensorObjectsGroup'), ('Sentry4-MIB', 'st4HumidSensorObjectsGroup'), ('Sentry4-MIB', 'st4WaterSensorObjectsGroup'), ('Sentry4-MIB', 'st4CcSensorObjectsGroup'), ('Sentry4-MIB', 'st4AdcSensorObjectsGroup'), ('Sentry4-MIB', 'st4EventInfoObjectsGroup'), ('Sentry4-MIB', 'st4EventNotificationsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): st4_module_compliances = st4ModuleCompliances.setStatus('current') if mibBuilder.loadTexts: st4ModuleCompliances.setDescription('The requirements for conformance to the Sentry4-MIB.') mibBuilder.exportSymbols('Sentry4-MIB', st4WaterSensorStatus=st4WaterSensorStatus, st4LineConfigEntry=st4LineConfigEntry, st4InputCordMonitorTable=st4InputCordMonitorTable, st4BranchLabel=st4BranchLabel, st4InputCordActivePowerLowAlarm=st4InputCordActivePowerLowAlarm, st4OcpStatus=st4OcpStatus, st4OcpCommonConfig=st4OcpCommonConfig, st4BranchConfigTable=st4BranchConfigTable, st4CcSensorEventConfigTable=st4CcSensorEventConfigTable, st4PhaseReactance=st4PhaseReactance, st4AdcSensorEventConfigTable=st4AdcSensorEventConfigTable, st4PhasePowerFactorEvent=st4PhasePowerFactorEvent, st4HumiditySensors=st4HumiditySensors, st4BranchCurrent=st4BranchCurrent, st4OutletCurrentHysteresis=st4OutletCurrentHysteresis, st4TempSensorConfigTable=st4TempSensorConfigTable, st4OcpEventConfigEntry=st4OcpEventConfigEntry, st4UnitConfigEntry=st4UnitConfigEntry, st4System=st4System, st4PhaseState=st4PhaseState, st4OutletConfigEntry=st4OutletConfigEntry, st4TempSensorObjectsGroup=st4TempSensorObjectsGroup, st4InputCordActivePowerHighAlarm=st4InputCordActivePowerHighAlarm, st4UnitEventConfigEntry=st4UnitEventConfigEntry, st4OutletIndex=st4OutletIndex, st4HumidSensorMonitorTable=st4HumidSensorMonitorTable, st4InputCordConfigTable=st4InputCordConfigTable, st4HumidSensorEventConfigTable=st4HumidSensorEventConfigTable, st4LineState=st4LineState, st4PhaseNominalVoltage=st4PhaseNominalVoltage, st4AdcSensorEvent=st4AdcSensorEvent, st4InputCordActivePowerHysteresis=st4InputCordActivePowerHysteresis, st4UnitCommonConfig=st4UnitCommonConfig, st4InputCordActivePowerHighWarning=st4InputCordActivePowerHighWarning, st4InputCordApparentPowerHighWarning=st4InputCordApparentPowerHighWarning, st4OcpBranchCount=st4OcpBranchCount, st4OutletPostOnDelay=st4OutletPostOnDelay, st4InputCordPowerUtilized=st4InputCordPowerUtilized, st4UnitOutletSequenceOrder=st4UnitOutletSequenceOrder, st4SystemFeatures=st4SystemFeatures, st4LineCurrent=st4LineCurrent, st4HumidSensorValue=st4HumidSensorValue, st4ModuleCompliances=st4ModuleCompliances, st4PhaseVoltageLowAlarm=st4PhaseVoltageLowAlarm, st4OutletCurrentLowAlarm=st4OutletCurrentLowAlarm, st4OcpType=st4OcpType, st4InputCordOutOfBalance=st4InputCordOutOfBalance, st4BranchCommonConfig=st4BranchCommonConfig, st4UnitConfigTable=st4UnitConfigTable, st4UnitModel=st4UnitModel, st4TempSensorConfigEntry=st4TempSensorConfigEntry, st4PhaseVoltageStatus=st4PhaseVoltageStatus, st4AdcSensorStatus=st4AdcSensorStatus, EventNotificationMethods=EventNotificationMethods, st4UnitNotifications=st4UnitNotifications, st4OutletPowerFactorEvent=st4OutletPowerFactorEvent, st4WaterSensorMonitorEntry=st4WaterSensorMonitorEntry, st4LineCurrentLowAlarm=st4LineCurrentLowAlarm, st4InputCordPowerCapacity=st4InputCordPowerCapacity, st4PhaseBranchCount=st4PhaseBranchCount, st4InputCordState=st4InputCordState, st4OutletPhaseID=st4OutletPhaseID, st4OcpEventConfigTable=st4OcpEventConfigTable, st4OutletBranchID=st4OutletBranchID, st4LineEventConfigEntry=st4LineEventConfigEntry, st4CcSensorName=st4CcSensorName, st4OutletCurrentLowWarning=st4OutletCurrentLowWarning, st4BranchCurrentCapacity=st4BranchCurrentCapacity, st4WaterSensorCommonConfig=st4WaterSensorCommonConfig, st4InputCordNotifications=st4InputCordNotifications, st4WaterSensorConfigTable=st4WaterSensorConfigTable, st4OutletCurrentStatus=st4OutletCurrentStatus, st4OutletCommonConfig=st4OutletCommonConfig, st4TempSensorNotifications=st4TempSensorNotifications, st4OutletActivePowerHighWarning=st4OutletActivePowerHighWarning, st4OverCurrentProtectors=st4OverCurrentProtectors, st4OutletPowerFactor=st4OutletPowerFactor, st4BranchOutletCount=st4BranchOutletCount, st4EventNotificationsGroup=st4EventNotificationsGroup, sentry4=sentry4, st4WaterSensorIndex=st4WaterSensorIndex, st4UnitStatus=st4UnitStatus, st4InputCordOcpCount=st4InputCordOcpCount, st4LineCurrentStatus=st4LineCurrentStatus, st4LineCurrentHighWarning=st4LineCurrentHighWarning, st4InputCordNominalVoltage=st4InputCordNominalVoltage, st4Compliances=st4Compliances, st4PhaseActivePower=st4PhaseActivePower, st4BranchCurrentEvent=st4BranchCurrentEvent, st4InputCordIndex=st4InputCordIndex, st4OcpNotifications=st4OcpNotifications, DeviceState=DeviceState, st4AdcSensorMonitorTable=st4AdcSensorMonitorTable, st4PhasePowerFactorStatus=st4PhasePowerFactorStatus, st4SystemProductSeries=st4SystemProductSeries, st4OutletCurrentHighWarning=st4OutletCurrentHighWarning, st4WaterSensorConfigEntry=st4WaterSensorConfigEntry, st4PhaseConfigEntry=st4PhaseConfigEntry, st4HumidSensorCommonConfig=st4HumidSensorCommonConfig, st4CcSensorConfigTable=st4CcSensorConfigTable, st4LineNotifications=st4LineNotifications, st4BranchConfigEntry=st4BranchConfigEntry, st4OutletActivePowerLowAlarm=st4OutletActivePowerLowAlarm, st4PhaseCurrent=st4PhaseCurrent, st4OutletConfigTable=st4OutletConfigTable, st4InputCordPowerFactor=st4InputCordPowerFactor, st4LineCommonConfig=st4LineCommonConfig, st4OutletVoltage=st4OutletVoltage, st4OutletStateChangeLogging=st4OutletStateChangeLogging, st4PhaseCommonConfig=st4PhaseCommonConfig, st4InputCordOutOfBalanceEvent=st4InputCordOutOfBalanceEvent, st4OcpConfigTable=st4OcpConfigTable, st4BranchMonitorTable=st4BranchMonitorTable, st4OutletCurrentEvent=st4OutletCurrentEvent, st4OutletPowerFactorLowAlarm=st4OutletPowerFactorLowAlarm, st4SystemNICSerialNumber=st4SystemNICSerialNumber, st4InputCordPowerFactorLowWarning=st4InputCordPowerFactorLowWarning, st4WaterSensorName=st4WaterSensorName, st4OutletCapabilities=st4OutletCapabilities, st4UnitAdcSensorCount=st4UnitAdcSensorCount, st4BranchStatus=st4BranchStatus, st4InputCords=st4InputCords, st4UnitWaterSensorCount=st4UnitWaterSensorCount, st4TempSensorHighWarning=st4TempSensorHighWarning, st4PhaseCurrentCrestFactor=st4PhaseCurrentCrestFactor, st4LineCurrentHighAlarm=st4LineCurrentHighAlarm, st4HumidSensorIndex=st4HumidSensorIndex, st4SystemObjectsGroup=st4SystemObjectsGroup, st4CcSensorIndex=st4CcSensorIndex, st4InputCordConfigEntry=st4InputCordConfigEntry, st4BranchCurrentStatus=st4BranchCurrentStatus, st4InputCordCurrentCapacity=st4InputCordCurrentCapacity, st4PhaseVoltageDeviation=st4PhaseVoltageDeviation, st4PhaseID=st4PhaseID, st4OcpCurrentCapacityMax=st4OcpCurrentCapacityMax, st4AdcSensorLowWarning=st4AdcSensorLowWarning, st4LineMonitorTable=st4LineMonitorTable, st4InputCordBranchCount=st4InputCordBranchCount, st4AnalogToDigitalConvSensors=st4AnalogToDigitalConvSensors, DeviceStatus=DeviceStatus, st4InputCordPowerFactorEvent=st4InputCordPowerFactorEvent, st4OutletEventConfigTable=st4OutletEventConfigTable, st4InputCordStatusEvent=st4InputCordStatusEvent, st4UnitEventConfigTable=st4UnitEventConfigTable, st4OcpID=st4OcpID, st4TempSensorHysteresis=st4TempSensorHysteresis, st4PhaseMonitorEntry=st4PhaseMonitorEntry, st4InputCordApparentPowerHysteresis=st4InputCordApparentPowerHysteresis, st4OutletPowerCapacity=st4OutletPowerCapacity, st4OutletActivePowerHysteresis=st4OutletActivePowerHysteresis, st4LineCurrentCapacity=st4LineCurrentCapacity, st4SystemConfig=st4SystemConfig, st4AdcSensorIndex=st4AdcSensorIndex, st4LineCurrentLowWarning=st4LineCurrentLowWarning, st4TempSensorMonitorTable=st4TempSensorMonitorTable, st4InputCordNominalPowerFactor=st4InputCordNominalPowerFactor, st4UnitDisplayOrientation=st4UnitDisplayOrientation, st4PhaseVoltageLowWarning=st4PhaseVoltageLowWarning, st4HumidSensorHighWarning=st4HumidSensorHighWarning, st4BranchCurrentHighWarning=st4BranchCurrentHighWarning, st4TempSensorStatus=st4TempSensorStatus, st4AdcSensorHighWarning=st4AdcSensorHighWarning, st4OcpMonitorEntry=st4OcpMonitorEntry, st4SystemNICHardwareInfo=st4SystemNICHardwareInfo, st4InputCordOutOfBalanceHighAlarm=st4InputCordOutOfBalanceHighAlarm, st4HumidSensorEventConfigEntry=st4HumidSensorEventConfigEntry, st4BranchID=st4BranchID, st4InputCordActivePowerEvent=st4InputCordActivePowerEvent, st4CcSensorConfigEntry=st4CcSensorConfigEntry, st4OutletRebootDelay=st4OutletRebootDelay, st4OcpLabel=st4OcpLabel, st4Outlets=st4Outlets, st4OutletActivePower=st4OutletActivePower, st4PhaseOutletCount=st4PhaseOutletCount, st4CcSensorMonitorTable=st4CcSensorMonitorTable, st4UnitType=st4UnitType, st4InputCordNominalVoltageMax=st4InputCordNominalVoltageMax, st4BranchObjectsGroup=st4BranchObjectsGroup, st4UnitIndex=st4UnitIndex, st4TempSensorValueMax=st4TempSensorValueMax, st4UnitMonitorTable=st4UnitMonitorTable, st4Units=st4Units, st4HumidSensorConfigTable=st4HumidSensorConfigTable, st4UnitProductSN=st4UnitProductSN, st4TemperatureSensors=st4TemperatureSensors, st4AdcSensorLowAlarm=st4AdcSensorLowAlarm, st4SystemConfigModifiedCount=st4SystemConfigModifiedCount, st4UnitID=st4UnitID, st4LineCurrentUtilized=st4LineCurrentUtilized, st4OcpObjectsGroup=st4OcpObjectsGroup, st4SystemFeatureKey=st4SystemFeatureKey, st4TempSensorLowAlarm=st4TempSensorLowAlarm, st4WaterSensorID=st4WaterSensorID, st4OutletControlState=st4OutletControlState, st4AdcSensorConfigEntry=st4AdcSensorConfigEntry, st4WaterSensorNotifications=st4WaterSensorNotifications, st4Lines=st4Lines, st4WaterSensorStatusEvent=st4WaterSensorStatusEvent, st4BranchPhaseID=st4BranchPhaseID, st4OcpIndex=st4OcpIndex, st4OutletSequenceInterval=st4OutletSequenceInterval, st4InputCordOutOfBalanceStatus=st4InputCordOutOfBalanceStatus, st4OutletPowerFactorLowWarning=st4OutletPowerFactorLowWarning, st4TempSensorValueMin=st4TempSensorValueMin, st4AdcSensorCommonConfig=st4AdcSensorCommonConfig, st4PhaseVoltage=st4PhaseVoltage, st4OutletQueueControl=st4OutletQueueControl, st4InputCordPowerFactorHysteresis=st4InputCordPowerFactorHysteresis, st4InputCordCommonConfig=st4InputCordCommonConfig, st4OutletState=st4OutletState, st4SystemLocation=st4SystemLocation, st4HumidSensorMonitorEntry=st4HumidSensorMonitorEntry, st4OutletCurrent=st4OutletCurrent, st4PhaseVoltageHighAlarm=st4PhaseVoltageHighAlarm, st4PhaseStatusEvent=st4PhaseStatusEvent, st4LineConfigTable=st4LineConfigTable, st4CcSensorEventConfigEntry=st4CcSensorEventConfigEntry, st4AdcSensorMonitorEntry=st4AdcSensorMonitorEntry, st4InputCordNominalVoltageMin=st4InputCordNominalVoltageMin, st4OcpConfigEntry=st4OcpConfigEntry, st4TempSensorEventConfigTable=st4TempSensorEventConfigTable, st4OutletMonitorTable=st4OutletMonitorTable, st4InputCordObjectsGroup=st4InputCordObjectsGroup, st4OutletStateChangeEvent=st4OutletStateChangeEvent, st4AdcSensorConfigTable=st4AdcSensorConfigTable, st4OutletControlAction=st4OutletControlAction, st4TempSensorLowWarning=st4TempSensorLowWarning, st4InputCordStatus=st4InputCordStatus, st4BranchCurrentUtilized=st4BranchCurrentUtilized, st4UnitInputCordCount=st4UnitInputCordCount, st4InputCordApparentPowerHighAlarm=st4InputCordApparentPowerHighAlarm, st4OutletEnergy=st4OutletEnergy, st4InputCordEventConfigEntry=st4InputCordEventConfigEntry, st4PhasePowerFactorLowWarning=st4PhasePowerFactorLowWarning, st4BranchStatusEvent=st4BranchStatusEvent, st4PhaseEnergy=st4PhaseEnergy, st4UnitTempSensorCount=st4UnitTempSensorCount, st4LineIndex=st4LineIndex, st4OutletStatusEvent=st4OutletStatusEvent, st4OutletActivePowerEvent=st4OutletActivePowerEvent, st4InputCordActivePower=st4InputCordActivePower, st4OcpStatusEvent=st4OcpStatusEvent, st4OutletControlTable=st4OutletControlTable, st4LineCurrentEvent=st4LineCurrentEvent, st4Branches=st4Branches, st4PhaseStatus=st4PhaseStatus, st4OutletEventConfigEntry=st4OutletEventConfigEntry, st4PhaseLabel=st4PhaseLabel, st4LineMonitorEntry=st4LineMonitorEntry, st4AdcSensorName=st4AdcSensorName, st4TempSensorMonitorEntry=st4TempSensorMonitorEntry, st4PhaseEventConfigTable=st4PhaseEventConfigTable, st4OutletApparentPower=st4OutletApparentPower, st4UnitName=st4UnitName) mibBuilder.exportSymbols('Sentry4-MIB', st4LineEventConfigTable=st4LineEventConfigTable, st4InputCordPowerFactorStatus=st4InputCordPowerFactorStatus, st4OutletCurrentCrestFactor=st4OutletCurrentCrestFactor, st4AdcSensorObjectsGroup=st4AdcSensorObjectsGroup, st4HumidSensorLowWarning=st4HumidSensorLowWarning, st4PhaseVoltageHighWarning=st4PhaseVoltageHighWarning, st4HumidSensorName=st4HumidSensorName, st4BranchIndex=st4BranchIndex, st4HumidSensorEvent=st4HumidSensorEvent, st4LineCurrentHysteresis=st4LineCurrentHysteresis, st4CcSensorCommonConfig=st4CcSensorCommonConfig, st4OutletObjectsGroup=st4OutletObjectsGroup, st4OutletActivePowerHighAlarm=st4OutletActivePowerHighAlarm, st4UnitCcSensorCount=st4UnitCcSensorCount, st4BranchMonitorEntry=st4BranchMonitorEntry, st4InputCordApparentPowerStatus=st4InputCordApparentPowerStatus, st4InputCordFrequency=st4InputCordFrequency, st4WaterSensors=st4WaterSensors, st4TempSensorIndex=st4TempSensorIndex, st4OutletID=st4OutletID, st4OutletActivePowerLowWarning=st4OutletActivePowerLowWarning, st4PhasePowerFactorLowAlarm=st4PhasePowerFactorLowAlarm, st4AdcSensorValue=st4AdcSensorValue, st4BranchCurrentLowWarning=st4BranchCurrentLowWarning, st4PhaseEventConfigEntry=st4PhaseEventConfigEntry, st4PhaseNotifications=st4PhaseNotifications, st4WaterSensorMonitorTable=st4WaterSensorMonitorTable, st4LineObjectsGroup=st4LineObjectsGroup, st4Phases=st4Phases, st4UnitHumidSensorCount=st4UnitHumidSensorCount, st4OutletPowerFactorHysteresis=st4OutletPowerFactorHysteresis, st4CcSensorStatus=st4CcSensorStatus, st4AdcSensorHighAlarm=st4AdcSensorHighAlarm, st4OutletStatus=st4OutletStatus, st4LineLabel=st4LineLabel, st4SystemFirmwareBuildInfo=st4SystemFirmwareBuildInfo, st4SystemProductName=st4SystemProductName, st4InputCordEnergy=st4InputCordEnergy, st4HumidSensorStatus=st4HumidSensorStatus, st4TempSensorName=st4TempSensorName, st4InputCordPowerFactorLowAlarm=st4InputCordPowerFactorLowAlarm, st4PhaseIndex=st4PhaseIndex, st4InputCordActivePowerLowWarning=st4InputCordActivePowerLowWarning, st4InputCordApparentPower=st4InputCordApparentPower, serverTech=serverTech, st4LineID=st4LineID, st4PhaseVoltageEvent=st4PhaseVoltageEvent, st4WaterSensorEventConfigTable=st4WaterSensorEventConfigTable, st4InputCordEventConfigTable=st4InputCordEventConfigTable, st4InputCordMonitorEntry=st4InputCordMonitorEntry, st4InputCordApparentPowerLowAlarm=st4InputCordApparentPowerLowAlarm, st4Objects=st4Objects, st4TempSensorScale=st4TempSensorScale, st4OutletCurrentCapacity=st4OutletCurrentCapacity, st4TempSensorCommonConfig=st4TempSensorCommonConfig, st4Events=st4Events, st4Conformance=st4Conformance, st4BranchCurrentHighAlarm=st4BranchCurrentHighAlarm, st4OutletOcpID=st4OutletOcpID, st4TempSensorEventConfigEntry=st4TempSensorEventConfigEntry, st4BranchOcpID=st4BranchOcpID, st4HumidSensorHysteresis=st4HumidSensorHysteresis, st4TempSensorValue=st4TempSensorValue, st4Notifications=st4Notifications, st4HumidSensorConfigEntry=st4HumidSensorConfigEntry, st4HumidSensorNotifications=st4HumidSensorNotifications, st4InputCordOutletCount=st4InputCordOutletCount, st4InputCordInletType=st4InputCordInletType, st4CcSensorStatusEvent=st4CcSensorStatusEvent, st4AdcSensorHysteresis=st4AdcSensorHysteresis, st4LineStatusEvent=st4LineStatusEvent, st4OutletPowerFactorStatus=st4OutletPowerFactorStatus, st4BranchEventConfigEntry=st4BranchEventConfigEntry, st4TempSensorEvent=st4TempSensorEvent, st4AdcSensorNotifications=st4AdcSensorNotifications, st4HumidSensorID=st4HumidSensorID, st4Groups=st4Groups, st4UnitStatusEvent=st4UnitStatusEvent, st4BranchCurrentHysteresis=st4BranchCurrentHysteresis, st4BranchNotifications=st4BranchNotifications, st4UnitAssetTag=st4UnitAssetTag, st4OutletSocketType=st4OutletSocketType, st4ContactClosureSensors=st4ContactClosureSensors, st4UnitProductMfrDate=st4UnitProductMfrDate, st4TempSensorID=st4TempSensorID, st4OutletNotifications=st4OutletNotifications, st4CcSensorNotifications=st4CcSensorNotifications, st4UnitCapabilities=st4UnitCapabilities, st4InputCordPhaseCount=st4InputCordPhaseCount, st4SystemFirmwareVersion=st4SystemFirmwareVersion, st4OutletReactance=st4OutletReactance, st4EventInfoObjectsGroup=st4EventInfoObjectsGroup, st4OutletControlEntry=st4OutletControlEntry, st4CcSensorMonitorEntry=st4CcSensorMonitorEntry, st4BranchEventConfigTable=st4BranchEventConfigTable, st4LineStatus=st4LineStatus, st4PhaseApparentPower=st4PhaseApparentPower, st4EventStatusCondition=st4EventStatusCondition, st4AdcSensorEventConfigEntry=st4AdcSensorEventConfigEntry, st4AdcSensorID=st4AdcSensorID, st4OcpOutletCount=st4OcpOutletCount, st4InputCordActivePowerStatus=st4InputCordActivePowerStatus, st4UnitObjectsGroup=st4UnitObjectsGroup, st4HumidSensorHighAlarm=st4HumidSensorHighAlarm, st4PhaseConfigTable=st4PhaseConfigTable, st4PhasePowerFactor=st4PhasePowerFactor, st4BranchCurrentLowAlarm=st4BranchCurrentLowAlarm, st4WaterSensorObjectsGroup=st4WaterSensorObjectsGroup, st4InputCordApparentPowerLowWarning=st4InputCordApparentPowerLowWarning, st4InputCordLineCount=st4InputCordLineCount, st4InputCordID=st4InputCordID, st4InputCordCurrentCapacityMax=st4InputCordCurrentCapacityMax, st4OcpMonitorTable=st4OcpMonitorTable, st4CcSensorID=st4CcSensorID, st4PhasePowerFactorHysteresis=st4PhasePowerFactorHysteresis, st4OcpCurrentCapacity=st4OcpCurrentCapacity, st4InputCordApparentPowerEvent=st4InputCordApparentPowerEvent, st4TempSensorHighAlarm=st4TempSensorHighAlarm, st4WaterSensorEventConfigEntry=st4WaterSensorEventConfigEntry, st4HumidSensorObjectsGroup=st4HumidSensorObjectsGroup, st4InputCordOutOfBalanceHysteresis=st4InputCordOutOfBalanceHysteresis, st4PhaseVoltageHysteresis=st4PhaseVoltageHysteresis, st4HumidSensorLowAlarm=st4HumidSensorLowAlarm, st4CcSensorObjectsGroup=st4CcSensorObjectsGroup, st4OutletMonitorEntry=st4OutletMonitorEntry, st4OutletCurrentUtilized=st4OutletCurrentUtilized, st4OutletCurrentHighAlarm=st4OutletCurrentHighAlarm, st4OutletName=st4OutletName, st4OutletActivePowerStatus=st4OutletActivePowerStatus, st4PhaseObjectsGroup=st4PhaseObjectsGroup, st4OutletWakeupState=st4OutletWakeupState, st4OutletCommonControl=st4OutletCommonControl, st4EventInformation=st4EventInformation, st4InputCordOutOfBalanceHighWarning=st4InputCordOutOfBalanceHighWarning, st4BranchState=st4BranchState, st4SystemUnitCount=st4SystemUnitCount, st4PhaseMonitorTable=st4PhaseMonitorTable, st4UnitMonitorEntry=st4UnitMonitorEntry, st4EventStatusText=st4EventStatusText, PYSNMP_MODULE_ID=sentry4, st4InputCordName=st4InputCordName)
DEBUG = True ALLOWED_HOSTS = ['*'] SECRET_KEY = 'secret' SOCIAL_AUTH_TWITTER_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx' SOCIAL_AUTH_TWITTER_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' SOCIAL_AUTH_ORCID_KEY = '' SOCIAL_AUTH_ORCID_SECRET = ''
debug = True allowed_hosts = ['*'] secret_key = 'secret' social_auth_twitter_key = 'xxxxxxxxxxxxxxxxxxxxxxxxx' social_auth_twitter_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' social_auth_orcid_key = '' social_auth_orcid_secret = ''
# reverse generator def reverse(data): current = len(data) while current >= 1: current -= 1 yield data[current] for c in reverse("string"): print(c) for i in reverse([1, 2, 3]): print(i) # reverse iterator class Reverse(object): def __init__(self, data): self.data = data self.index = len(data) def __iter__(self): return self def __next__(self): if self.index == 0: raise StopIteration self.index -= 1 return self.data[self.index] for c in Reverse("string"): print(c) for i in Reverse([1, 2, 3]): print(i) # simple generator def counter(low, high, step): current = low while current <= high: yield current current += step for c in counter(3, 9, 2): print(c) # simple iterator class Counter(object): def __init__(self, low, high, step): self.current = low self.high = high self.step = step def __iter__(self): return self def __next__(self): if self.current > self.high: raise StopIteration else: result = self.current self.current += self.step return result for c in Counter(3, 9, 2): print(c)
def reverse(data): current = len(data) while current >= 1: current -= 1 yield data[current] for c in reverse('string'): print(c) for i in reverse([1, 2, 3]): print(i) class Reverse(object): def __init__(self, data): self.data = data self.index = len(data) def __iter__(self): return self def __next__(self): if self.index == 0: raise StopIteration self.index -= 1 return self.data[self.index] for c in reverse('string'): print(c) for i in reverse([1, 2, 3]): print(i) def counter(low, high, step): current = low while current <= high: yield current current += step for c in counter(3, 9, 2): print(c) class Counter(object): def __init__(self, low, high, step): self.current = low self.high = high self.step = step def __iter__(self): return self def __next__(self): if self.current > self.high: raise StopIteration else: result = self.current self.current += self.step return result for c in counter(3, 9, 2): print(c)
# Based on: https://articles.leetcode.com/longest-palindromic-substring-part-ii/ def _process(s): alt_chars = ['$', '#'] for char in s: alt_chars.extend([char, '#']) alt_chars += ['@'] return alt_chars def _run_manacher(alt_chars): palin_table = [0] * len(alt_chars) center, right = 0, 0 for i in range(len(alt_chars) - 1): opposite = center * 2 - i if right > i: palin_table[i] = min(right - i, palin_table[opposite]) while alt_chars[i + (1 + palin_table[i])] == alt_chars[i - (1 + palin_table[i])]: palin_table[i] += 1 if i + palin_table[i] > right: center, right = i, i + palin_table[i] return palin_table def longest_palindrome(s): alt_chars = _process(s) palin_table = _run_manacher(alt_chars) longest, center = 0, 0 for i in range(len(palin_table) - 1): if palin_table[i] > longest: longest, center = palin_table[i], i return s[(center - 1 - longest) // 2:(center - 1 + longest) // 2] def main(): print(longest_palindrome("blahblahblahracecarblah")) if __name__ == '__main__': main()
def _process(s): alt_chars = ['$', '#'] for char in s: alt_chars.extend([char, '#']) alt_chars += ['@'] return alt_chars def _run_manacher(alt_chars): palin_table = [0] * len(alt_chars) (center, right) = (0, 0) for i in range(len(alt_chars) - 1): opposite = center * 2 - i if right > i: palin_table[i] = min(right - i, palin_table[opposite]) while alt_chars[i + (1 + palin_table[i])] == alt_chars[i - (1 + palin_table[i])]: palin_table[i] += 1 if i + palin_table[i] > right: (center, right) = (i, i + palin_table[i]) return palin_table def longest_palindrome(s): alt_chars = _process(s) palin_table = _run_manacher(alt_chars) (longest, center) = (0, 0) for i in range(len(palin_table) - 1): if palin_table[i] > longest: (longest, center) = (palin_table[i], i) return s[(center - 1 - longest) // 2:(center - 1 + longest) // 2] def main(): print(longest_palindrome('blahblahblahracecarblah')) if __name__ == '__main__': main()
def get_majority_element(a, left, right): a.sort() if left == right: return -1 if left + 1 == right: return a[left] #write your code here mid = left + (right-left)//2 k=0 for i in range(len(a)): if a[i]==a[mid]: k+=1 if k > right/2 : return k return -1 n = int(input()) a = list(map(int, input().split())) if get_majority_element(a, 0, n) != -1: print(1) else: print(0)
def get_majority_element(a, left, right): a.sort() if left == right: return -1 if left + 1 == right: return a[left] mid = left + (right - left) // 2 k = 0 for i in range(len(a)): if a[i] == a[mid]: k += 1 if k > right / 2: return k return -1 n = int(input()) a = list(map(int, input().split())) if get_majority_element(a, 0, n) != -1: print(1) else: print(0)
def main(): points = [] with open("input.txt") as input_file: for wire in input_file: wire = [(x[0], int(x[1:])) for x in wire.split(",")] x, y = 0, 0 cost = 0 points_local = [(x, y, cost)] for direction, value in wire: if direction == "U": y += value elif direction == "D": y -= value elif direction == "R": x += value elif direction == "L": x -= value else: raise Exception("Invalid direction: " + direction) cost += value points_local.append((x, y, cost)) points.append(points_local) results = [] for i in range(len(points[0]) - 1): px1, py1 = points[0][i][0], points[0][i][1] px2, py2 = points[0][i + 1][0], points[0][i + 1][1] for j in range(len(points[1]) - 1): qx1, qy1 = points[1][j][0], points[1][j][1] qx2, qy2 = points[1][j + 1][0], points[1][j + 1][1] if px1 == px2 and qy1 == qy2: if px1 <= max(qx1, qx2) and px1 >= min(qx1, qx2) and px2 <= max(qx1, qx2) and px2 >= min(qx1, qx2): if max(py1, py2) >= qy1 and min(py1, py2) <= qy2: results.append(points[0][i][2] + points[1][j][2] + abs(px1 - qx1) + abs(qy1 - py1)) #print((px1, qy1)) elif py1 == py2 and qx1 == qx2: if qx1 <= max(px1, px2) and qx1 >= min(px1, px2) and qx2 <= max(px1, px2) and qx2 >= min(px1, px2): if max(qy1, qy2) >= py1 and min(qy1, qy2) <= py2: results.append(points[0][i][2] + points[1][j][2] + abs(qx1 - px1) + abs(py1 - qy1)) #print((qx1, py1)) print(results) if __name__ == "__main__": main()
def main(): points = [] with open('input.txt') as input_file: for wire in input_file: wire = [(x[0], int(x[1:])) for x in wire.split(',')] (x, y) = (0, 0) cost = 0 points_local = [(x, y, cost)] for (direction, value) in wire: if direction == 'U': y += value elif direction == 'D': y -= value elif direction == 'R': x += value elif direction == 'L': x -= value else: raise exception('Invalid direction: ' + direction) cost += value points_local.append((x, y, cost)) points.append(points_local) results = [] for i in range(len(points[0]) - 1): (px1, py1) = (points[0][i][0], points[0][i][1]) (px2, py2) = (points[0][i + 1][0], points[0][i + 1][1]) for j in range(len(points[1]) - 1): (qx1, qy1) = (points[1][j][0], points[1][j][1]) (qx2, qy2) = (points[1][j + 1][0], points[1][j + 1][1]) if px1 == px2 and qy1 == qy2: if px1 <= max(qx1, qx2) and px1 >= min(qx1, qx2) and (px2 <= max(qx1, qx2)) and (px2 >= min(qx1, qx2)): if max(py1, py2) >= qy1 and min(py1, py2) <= qy2: results.append(points[0][i][2] + points[1][j][2] + abs(px1 - qx1) + abs(qy1 - py1)) elif py1 == py2 and qx1 == qx2: if qx1 <= max(px1, px2) and qx1 >= min(px1, px2) and (qx2 <= max(px1, px2)) and (qx2 >= min(px1, px2)): if max(qy1, qy2) >= py1 and min(qy1, qy2) <= py2: results.append(points[0][i][2] + points[1][j][2] + abs(qx1 - px1) + abs(py1 - qy1)) print(results) if __name__ == '__main__': main()
class APIException(Exception): def __init__(self, message): super().__init__(message) self.message = message class UserException(Exception): def __init__(self, message): super().__init__(message) self.message = message
class Apiexception(Exception): def __init__(self, message): super().__init__(message) self.message = message class Userexception(Exception): def __init__(self, message): super().__init__(message) self.message = message
class MyClass(object): def set_val(self,val): self.val = val def get_val(self): return self.val a = MyClass() b = MyClass() a.set_val(10) b.set_val(100) print(a.get_val()) print(b.get_val())
class Myclass(object): def set_val(self, val): self.val = val def get_val(self): return self.val a = my_class() b = my_class() a.set_val(10) b.set_val(100) print(a.get_val()) print(b.get_val())
# ======================== # Information # ======================== # Direct Link: https://www.hackerrank.com/challenges/security-key-spaces/problem # Difficulty: Easy # Max Score: 10 # Language: Python # ======================== # Solution # ======================== num = (input()) e = int(input()) print(''.join([str((int(i)+e) % 10) for i in num]))
num = input() e = int(input()) print(''.join([str((int(i) + e) % 10) for i in num]))
def palindrome_num(): num = int(input("Enter a number:")) temp = num rev = 0 while(num>0): dig = num%10 rev = rev*10+dig num = num//10 if(temp == rev): print("The number is palindrome!") else: print("Not a palindrome!") palindrome_num()
def palindrome_num(): num = int(input('Enter a number:')) temp = num rev = 0 while num > 0: dig = num % 10 rev = rev * 10 + dig num = num // 10 if temp == rev: print('The number is palindrome!') else: print('Not a palindrome!') palindrome_num()
# Not necessary. Just wanted to separate program from credentials def apikey(): return 'apikey' def stomp_username(): return 'stomp user' def stomp_password(): return 'stomp pass'
def apikey(): return 'apikey' def stomp_username(): return 'stomp user' def stomp_password(): return 'stomp pass'
# Lists always stay in the same order, so you can get # information out very easily. List indexes act very similar # to string indexs intList = [1, 2, 3, 4, 5] # Get the first item print(intList[0]) # Get the last item print(intList[-1]) # Alternatively: print(intList[len(intList) - 1]) # Get the 2nd to 4th items print(intList[1:5]) # Instead of find, lists have "index" print(intList.index(2))
int_list = [1, 2, 3, 4, 5] print(intList[0]) print(intList[-1]) print(intList[len(intList) - 1]) print(intList[1:5]) print(intList.index(2))
cars = 100 space_in_car = 4 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_car average_passengers_per_car = passengers / cars_driven print("Cars: ", cars) print(drivers) print(cars_not_driven) print(carpool_capacity) print(passengers) print(average_passengers_per_car)
cars = 100 space_in_car = 4 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_car average_passengers_per_car = passengers / cars_driven print('Cars: ', cars) print(drivers) print(cars_not_driven) print(carpool_capacity) print(passengers) print(average_passengers_per_car)
class Config(object): # Measuration Parameters TOTAL_TICKS = 80 PRECISION = 1 INITIAL_TIMESTAMP = 1 # Acceleration Parameters MINIMIZE_CHECKING = True GENERATE_STATE = False LOGGING_NETWORK = False # SPEC Parameters SLOTS_PER_EPOCH = 8 # System Parameters NUM_VALIDATORS = 8 # Network Parameters LATENCY = 1.5 / PRECISION RELIABILITY = 1.0 NUM_PEERS = 10 SHARD_NUM_PEERS = 5 TARGET_TOTAL_TPS = 1 MEAN_TX_ARRIVAL_TIME = ((1 / TARGET_TOTAL_TPS) * PRECISION) * NUM_VALIDATORS # Validator Parameters TIME_OFFSET = 1 PROB_CREATE_BLOCK_SUCCESS = 0.999 DISCONNECT_THRESHOLD = 5
class Config(object): total_ticks = 80 precision = 1 initial_timestamp = 1 minimize_checking = True generate_state = False logging_network = False slots_per_epoch = 8 num_validators = 8 latency = 1.5 / PRECISION reliability = 1.0 num_peers = 10 shard_num_peers = 5 target_total_tps = 1 mean_tx_arrival_time = 1 / TARGET_TOTAL_TPS * PRECISION * NUM_VALIDATORS time_offset = 1 prob_create_block_success = 0.999 disconnect_threshold = 5
_base_ = [ '../_base_/models/mask_rcnn_se_r50_fpn.py', '../_base_/datasets/coco_instance.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( pretrained='checkpoints/se_resnext101_64x4d-f9926f93.pth', backbone=dict(block='SEResNeXtBottleneck', layers=[3, 4, 23, 3], groups=64))
_base_ = ['../_base_/models/mask_rcnn_se_r50_fpn.py', '../_base_/datasets/coco_instance.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'] model = dict(pretrained='checkpoints/se_resnext101_64x4d-f9926f93.pth', backbone=dict(block='SEResNeXtBottleneck', layers=[3, 4, 23, 3], groups=64))
class Solution: def reverseVowels(self, s: str) -> str: vowels = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'} s = list(s) left = 0 right = len(s) - 1 while left < right: if s[left] not in vowels: left += 1 elif s[right] not in vowels: right -= 1 else: s[left], s[right] = s[right], s[left] left += 1 right -= 1 return ''.join(s)
class Solution: def reverse_vowels(self, s: str) -> str: vowels = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'} s = list(s) left = 0 right = len(s) - 1 while left < right: if s[left] not in vowels: left += 1 elif s[right] not in vowels: right -= 1 else: (s[left], s[right]) = (s[right], s[left]) left += 1 right -= 1 return ''.join(s)
#!/usr/bin/env python3 # https://sites.google.com/site/ev3python/learn_ev3_python/using-sensors/sensor-modes speedReading=0 # Color Sensor Readings # COL-REFLECT COL-AMBIENT COL-COLOR RGB-RAW colorSensor_mode_default = "COL-COLOR" colorSensor_mode_lt = colorSensor_mode_default colorSensor_mode_rt = colorSensor_mode_default colorSensor_reflect_lt=0 colorSensor_reflect_rt=0 colorSensor_color_lt=0 colorSensor_color_rt=0 colorSensor_rawred_lt=0 colorSensor_rawgreen_lt=0 colorSensor_rawblue_lt=0 colorSensor_rawred_rt=0 colorSensor_rawgreen_rt=0 colorSensor_rawblue_rt=0 ultrasonicSensor_ReadingInCm=0
speed_reading = 0 color_sensor_mode_default = 'COL-COLOR' color_sensor_mode_lt = colorSensor_mode_default color_sensor_mode_rt = colorSensor_mode_default color_sensor_reflect_lt = 0 color_sensor_reflect_rt = 0 color_sensor_color_lt = 0 color_sensor_color_rt = 0 color_sensor_rawred_lt = 0 color_sensor_rawgreen_lt = 0 color_sensor_rawblue_lt = 0 color_sensor_rawred_rt = 0 color_sensor_rawgreen_rt = 0 color_sensor_rawblue_rt = 0 ultrasonic_sensor__reading_in_cm = 0
class Player: def getTime(self): pass def playWavFile(self, file): pass def wavWasPlayed(self): pass def resetWav(self): pass
class Player: def get_time(self): pass def play_wav_file(self, file): pass def wav_was_played(self): pass def reset_wav(self): pass
def countSetBits(num): binary = bin(num) setBits = [ones for ones in binary[2:] if ones == '1'] return len(setBits) if __name__ == "__main__": n = int(input()) for i in range(n+1): print(countSetBits(i), end =' ')
def count_set_bits(num): binary = bin(num) set_bits = [ones for ones in binary[2:] if ones == '1'] return len(setBits) if __name__ == '__main__': n = int(input()) for i in range(n + 1): print(count_set_bits(i), end=' ')
'simple demo of using map to create instances of objects' class Dog: def __init__(self, name): self.name = name def bark(self): print("Woof! %s is barking!" % self.name) dogs = list(map(Dog, ['rex', 'rover', 'ranger']))
"""simple demo of using map to create instances of objects""" class Dog: def __init__(self, name): self.name = name def bark(self): print('Woof! %s is barking!' % self.name) dogs = list(map(Dog, ['rex', 'rover', 'ranger']))
#!/usr/bin/python3 max_integer = __import__('6-max_integer').max_integer print(max_integer([1, 2, 3, 4])) print(max_integer([1, 3, 4, 2]))
max_integer = __import__('6-max_integer').max_integer print(max_integer([1, 2, 3, 4])) print(max_integer([1, 3, 4, 2]))
try: # Check if the basestring type if available, this will fail in python3 basestring except NameError: basestring = str class ControlFileParams: generalParams = "GeneralParams" spawningBlockname = "SpawningParams" simulationBlockname = "SimulationParams" clusteringBlockname = "clusteringTypes" class GeneralParams: mandatory = { "restart": "bool", "outputPath": "basestring", "initialStructures": "list" } params = { "restart": "bool", "outputPath": "basestring", "initialStructures": "list", "debug": "bool", "writeAllClusteringStructures": "bool", "nativeStructure": "basestring" } class SpawningParams: params = { "epsilon": "numbers.Real", "T": "numbers.Real", "reportFilename": "basestring", "metricColumnInReport": "numbers.Real", "varEpsilonType": "basestring", "maxEpsilon": "numbers.Real", "minEpsilon": "numbers.Real", "variationWindow": "numbers.Real", "maxEpsilonWindow": "numbers.Real", "period": "numbers.Real", "alpha": "numbers.Real", "metricWeights": "basestring", "metricsInd": "list", "condition": "basestring", "n": "numbers.Real", "lagtime": "numbers.Real", "minPos": "list", "SASA_column": "int", "filterByMetric": "bool", "filter_value": "numbers.Real", "filter_col": "int" } types = { "sameWeight": { "reportFilename": "basestring" }, "independent": { "reportFilename": "basestring" }, "independentMetric": { "metricColumnInReport": "numbers.Real", "reportFilename": "basestring" }, "inverselyProportional": { "reportFilename": "basestring" }, "null": { "reportFilename": "basestring" }, "epsilon": { "epsilon": "numbers.Real", "reportFilename": "basestring", "metricColumnInReport": "numbers.Real", }, "FAST": { "epsilon": "numbers.Real", "reportFilename": "basestring", "metricColumnInReport": "numbers.Real", }, "variableEpsilon": { "epsilon": "numbers.Real", "reportFilename": "basestring", "metricColumnInReport": "numbers.Real", "varEpsilonType": "basestring", "maxEpsilon": "numbers.Real" }, "UCB": { "reportFilename": "basestring", "metricColumnInReport": "numbers.Real" }, "REAP": { "reportFilename": "basestring", "metricColumnInReport": "numbers.Real" }, "ProbabilityMSM": { "lagtime": "numbers.Real" }, "MetastabilityMSM": { "lagtime": "numbers.Real" }, "UncertaintyMSM": { "lagtime": "numbers.Real" }, "IndependentMSM": { "lagtime": "numbers.Real" } } density = { "types": { "heaviside": "basestring", "null": "basestring", "constant": "basestring", "exitContinuous": "basestring", "continuous": "basestring" }, "params": { "heaviside": "basestring", "null": "basestring", "constant": "basestring", "values": "list", "conditions": "list", "exitContinuous": "basestring", "continuous": "basestring" } } class SimulationParams: types = { "pele": { "processors": "numbers.Real", "controlFile": "basestring", "seed": "numbers.Real", "peleSteps": "numbers.Real", "iterations": "numbers.Real" }, "test": { "destination": "basestring", "origin": "basestring", "processors": "numbers.Real", "seed": "numbers.Real", "peleSteps": "numbers.Real", "iterations": "numbers.Real" }, "md": { "processors": "numbers.Real", "seed": "numbers.Real", "productionLength": "numbers.Real", "iterations": "numbers.Real", "numReplicas": "numbers.Real" }} params = { "executable": "basestring", "data": "basestring", "documents": "basestring", "destination": "basestring", "origin": "basestring", "time": "numbers.Real", "processors": "numbers.Real", "controlFile": "basestring", "seed": "numbers.Real", "peleSteps": "numbers.Real", "iterations": "numbers.Real", "modeMovingBox": "basestring", "boxCenter": "list", "boxRadius": "numbers.Real", "runEquilibration": "bool", "equilibrationMode": "basestring", "equilibrationLength": "numbers.Real", "equilibrationBoxRadius": "numbers.Real", "equilibrationTranslationRange": "numbers.Real", "equilibrationRotationRange": "numbers.Real", "numberEquilibrationStructures": "numbers.Real", "useSrun": "bool", "srunParameters": "basestring", "mpiParameters": "basestring", "exitCondition": "dict", "trajectoryName": "basestring", "ligandCharge": "list|numbers.Real", "ligandName": "list|basestring", "cofactors": "list", "ligandsToRestrict": "list", "nonBondedCutoff": "numbers.Real", "timeStep": "numbers.Real", "temperature": "numbers.Real", "runningPlatform": "basestring", "minimizationIterations": "numbers.Real", "reporterFrequency": "numbers.Real", "productionLength": "numbers.Real", "WaterBoxSize": "numbers.Real", "forcefield": "basestring", "trajectoriesPerReplica": "numbers.Real", "equilibrationLengthNVT": "numbers.Real", "equilibrationLengthNPT": "numbers.Real", "devicesPerTrajectory": "int", "constraintsMinimization": "numbers.Real", "constraintsNVT": "numbers.Real", "constraintsNPT": "numbers.Real", "customparamspath": "basestring", "numReplicas": "numbers.Real", "maxDevicesPerReplica": "numbers.Real", "format": "basestring", "constraints": "list", "boxType": "basestring", "postprocessing": "bool", "cylinderBases": "list" } exitCondition = { "types": { "metric": "basestring", "clustering": "basestring", "metricMultipleTrajectories": "basestring" }, "params": { "metricCol": "numbers.Real", "exitValue": "numbers.Real", "condition": "basestring", "numTrajs": "numbers.Real" } } class clusteringTypes: types = { "rmsd": {}, "contactMap": { "similarityEvaluator": "basestring", "ligandResname": "basestring" }, "lastSnapshot": { "ligandResname": "basestring" }, "null": {}, "MSM": { "ligandResname": "basestring", "nclusters": "numbers.Real" } } params = { "rmsd": "basestring", "contactMap": "basestring", "lastSnapshot": "basestring", "null": "basestring", "contactThresholdDistance": "numbers.Real", "ligandResname": "basestring", "ligandResnum": "numbers.Real", "ligandChain": "basestring", "similarityEvaluator": "basestring", "symmetries": "list", "alternativeStructure": "bool", "nclusters": "numbers.Real", "tica": "bool", "atom_Ids": "list", "writeCA": "bool", "sidechains": "bool", "tica_lagtime": "numbers.Real", "tica_nICs": "numbers.Real", "tica_kinetic_map": "bool", "tica_commute_map": "bool" } thresholdCalculator = { "types": { "heaviside": "basestring", "constant": "basestring" }, "params": { "conditions": "list", "values": "list", "value": "numbers.Real", "heaviside": "basestring", "constant": "basestring" } }
try: basestring except NameError: basestring = str class Controlfileparams: general_params = 'GeneralParams' spawning_blockname = 'SpawningParams' simulation_blockname = 'SimulationParams' clustering_blockname = 'clusteringTypes' class Generalparams: mandatory = {'restart': 'bool', 'outputPath': 'basestring', 'initialStructures': 'list'} params = {'restart': 'bool', 'outputPath': 'basestring', 'initialStructures': 'list', 'debug': 'bool', 'writeAllClusteringStructures': 'bool', 'nativeStructure': 'basestring'} class Spawningparams: params = {'epsilon': 'numbers.Real', 'T': 'numbers.Real', 'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real', 'varEpsilonType': 'basestring', 'maxEpsilon': 'numbers.Real', 'minEpsilon': 'numbers.Real', 'variationWindow': 'numbers.Real', 'maxEpsilonWindow': 'numbers.Real', 'period': 'numbers.Real', 'alpha': 'numbers.Real', 'metricWeights': 'basestring', 'metricsInd': 'list', 'condition': 'basestring', 'n': 'numbers.Real', 'lagtime': 'numbers.Real', 'minPos': 'list', 'SASA_column': 'int', 'filterByMetric': 'bool', 'filter_value': 'numbers.Real', 'filter_col': 'int'} types = {'sameWeight': {'reportFilename': 'basestring'}, 'independent': {'reportFilename': 'basestring'}, 'independentMetric': {'metricColumnInReport': 'numbers.Real', 'reportFilename': 'basestring'}, 'inverselyProportional': {'reportFilename': 'basestring'}, 'null': {'reportFilename': 'basestring'}, 'epsilon': {'epsilon': 'numbers.Real', 'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real'}, 'FAST': {'epsilon': 'numbers.Real', 'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real'}, 'variableEpsilon': {'epsilon': 'numbers.Real', 'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real', 'varEpsilonType': 'basestring', 'maxEpsilon': 'numbers.Real'}, 'UCB': {'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real'}, 'REAP': {'reportFilename': 'basestring', 'metricColumnInReport': 'numbers.Real'}, 'ProbabilityMSM': {'lagtime': 'numbers.Real'}, 'MetastabilityMSM': {'lagtime': 'numbers.Real'}, 'UncertaintyMSM': {'lagtime': 'numbers.Real'}, 'IndependentMSM': {'lagtime': 'numbers.Real'}} density = {'types': {'heaviside': 'basestring', 'null': 'basestring', 'constant': 'basestring', 'exitContinuous': 'basestring', 'continuous': 'basestring'}, 'params': {'heaviside': 'basestring', 'null': 'basestring', 'constant': 'basestring', 'values': 'list', 'conditions': 'list', 'exitContinuous': 'basestring', 'continuous': 'basestring'}} class Simulationparams: types = {'pele': {'processors': 'numbers.Real', 'controlFile': 'basestring', 'seed': 'numbers.Real', 'peleSteps': 'numbers.Real', 'iterations': 'numbers.Real'}, 'test': {'destination': 'basestring', 'origin': 'basestring', 'processors': 'numbers.Real', 'seed': 'numbers.Real', 'peleSteps': 'numbers.Real', 'iterations': 'numbers.Real'}, 'md': {'processors': 'numbers.Real', 'seed': 'numbers.Real', 'productionLength': 'numbers.Real', 'iterations': 'numbers.Real', 'numReplicas': 'numbers.Real'}} params = {'executable': 'basestring', 'data': 'basestring', 'documents': 'basestring', 'destination': 'basestring', 'origin': 'basestring', 'time': 'numbers.Real', 'processors': 'numbers.Real', 'controlFile': 'basestring', 'seed': 'numbers.Real', 'peleSteps': 'numbers.Real', 'iterations': 'numbers.Real', 'modeMovingBox': 'basestring', 'boxCenter': 'list', 'boxRadius': 'numbers.Real', 'runEquilibration': 'bool', 'equilibrationMode': 'basestring', 'equilibrationLength': 'numbers.Real', 'equilibrationBoxRadius': 'numbers.Real', 'equilibrationTranslationRange': 'numbers.Real', 'equilibrationRotationRange': 'numbers.Real', 'numberEquilibrationStructures': 'numbers.Real', 'useSrun': 'bool', 'srunParameters': 'basestring', 'mpiParameters': 'basestring', 'exitCondition': 'dict', 'trajectoryName': 'basestring', 'ligandCharge': 'list|numbers.Real', 'ligandName': 'list|basestring', 'cofactors': 'list', 'ligandsToRestrict': 'list', 'nonBondedCutoff': 'numbers.Real', 'timeStep': 'numbers.Real', 'temperature': 'numbers.Real', 'runningPlatform': 'basestring', 'minimizationIterations': 'numbers.Real', 'reporterFrequency': 'numbers.Real', 'productionLength': 'numbers.Real', 'WaterBoxSize': 'numbers.Real', 'forcefield': 'basestring', 'trajectoriesPerReplica': 'numbers.Real', 'equilibrationLengthNVT': 'numbers.Real', 'equilibrationLengthNPT': 'numbers.Real', 'devicesPerTrajectory': 'int', 'constraintsMinimization': 'numbers.Real', 'constraintsNVT': 'numbers.Real', 'constraintsNPT': 'numbers.Real', 'customparamspath': 'basestring', 'numReplicas': 'numbers.Real', 'maxDevicesPerReplica': 'numbers.Real', 'format': 'basestring', 'constraints': 'list', 'boxType': 'basestring', 'postprocessing': 'bool', 'cylinderBases': 'list'} exit_condition = {'types': {'metric': 'basestring', 'clustering': 'basestring', 'metricMultipleTrajectories': 'basestring'}, 'params': {'metricCol': 'numbers.Real', 'exitValue': 'numbers.Real', 'condition': 'basestring', 'numTrajs': 'numbers.Real'}} class Clusteringtypes: types = {'rmsd': {}, 'contactMap': {'similarityEvaluator': 'basestring', 'ligandResname': 'basestring'}, 'lastSnapshot': {'ligandResname': 'basestring'}, 'null': {}, 'MSM': {'ligandResname': 'basestring', 'nclusters': 'numbers.Real'}} params = {'rmsd': 'basestring', 'contactMap': 'basestring', 'lastSnapshot': 'basestring', 'null': 'basestring', 'contactThresholdDistance': 'numbers.Real', 'ligandResname': 'basestring', 'ligandResnum': 'numbers.Real', 'ligandChain': 'basestring', 'similarityEvaluator': 'basestring', 'symmetries': 'list', 'alternativeStructure': 'bool', 'nclusters': 'numbers.Real', 'tica': 'bool', 'atom_Ids': 'list', 'writeCA': 'bool', 'sidechains': 'bool', 'tica_lagtime': 'numbers.Real', 'tica_nICs': 'numbers.Real', 'tica_kinetic_map': 'bool', 'tica_commute_map': 'bool'} threshold_calculator = {'types': {'heaviside': 'basestring', 'constant': 'basestring'}, 'params': {'conditions': 'list', 'values': 'list', 'value': 'numbers.Real', 'heaviside': 'basestring', 'constant': 'basestring'}}
num = int(input()) if num == 0: print("zero") elif num == 1: print("one") elif num == 2: print("two") elif num == 3: print("three") elif num == 4: print("four") elif num == 5: print("five") elif num == 6: print("six") elif num == 7: print("seven") elif num == 8: print("eight") elif num == 9: print("nine") else: print("number too big")
num = int(input()) if num == 0: print('zero') elif num == 1: print('one') elif num == 2: print('two') elif num == 3: print('three') elif num == 4: print('four') elif num == 5: print('five') elif num == 6: print('six') elif num == 7: print('seven') elif num == 8: print('eight') elif num == 9: print('nine') else: print('number too big')
# Crie um progrmaa que leia dois numeros e mostra a soma entre eles n1 = int(input('Digite o primeiro numero: ')) n2 = int(input('Digite o segundo numero: ')) s = n1 + n2 print('A soma de \033[31m{}\033[m e \033[34m{}\033[m eh de \033[32m{}\033[m ' .format(n1, n2, s))
n1 = int(input('Digite o primeiro numero: ')) n2 = int(input('Digite o segundo numero: ')) s = n1 + n2 print('A soma de \x1b[31m{}\x1b[m e \x1b[34m{}\x1b[m eh de \x1b[32m{}\x1b[m '.format(n1, n2, s))
# TODO(dan): Sort out how this displays in tracebacks, it's terrible class ValidationError(Exception): def __init__(self, errors, exc=None): self.errors = errors self.exc = exc self._str = str(exc) if exc is not None else '' + ', '.join( [str(e) for e in errors]) def __str__(self): return self._str
class Validationerror(Exception): def __init__(self, errors, exc=None): self.errors = errors self.exc = exc self._str = str(exc) if exc is not None else '' + ', '.join([str(e) for e in errors]) def __str__(self): return self._str
# # PySNMP MIB module SONUS-NTP-SERVICES-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SONUS-NTP-SERVICES-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:02:02 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") MibIdentifier, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, NotificationType, TimeTicks, Bits, IpAddress, Unsigned32, ObjectIdentity, ModuleIdentity, iso, Integer32, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "NotificationType", "TimeTicks", "Bits", "IpAddress", "Unsigned32", "ObjectIdentity", "ModuleIdentity", "iso", "Integer32", "Gauge32") RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "TextualConvention") sonusEventLevel, sonusEventClass, sonusEventDescription, sonusShelfIndex, sonusSlotIndex = mibBuilder.importSymbols("SONUS-COMMON-MIB", "sonusEventLevel", "sonusEventClass", "sonusEventDescription", "sonusShelfIndex", "sonusSlotIndex") sonusServicesMIBs, = mibBuilder.importSymbols("SONUS-SMI", "sonusServicesMIBs") SonusName, SonusNameReference = mibBuilder.importSymbols("SONUS-TC", "SonusName", "SonusNameReference") sonusNtpServicesMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2)) if mibBuilder.loadTexts: sonusNtpServicesMIB.setLastUpdated('200004230000Z') if mibBuilder.loadTexts: sonusNtpServicesMIB.setOrganization('Sonus Networks, Inc.') sonusNtpServicesMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1)) sonusTimeZoneObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 1)) sonusTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35))).clone(namedValues=NamedValues(("gmtMinus12-Eniuetok", 1), ("gmtMinus11-MidwayIsland", 2), ("gmtMinus10-Hawaii", 3), ("gmtMinus09-Alaska", 4), ("gmtMinus08-Pacific-US", 5), ("gmtMinus07-Arizona", 6), ("gmtMinus07-Mountain", 7), ("gmtMinus06-Central-US", 8), ("gmtMinus06-Mexico", 9), ("gmtMinus06-Saskatchewan", 10), ("gmtMinus05-Bojota", 11), ("gmtMinus05-Eastern-US", 12), ("gmtMinus05-Indiana", 13), ("gmtMinus04-Atlantic-Canada", 14), ("gmtMinus04-Caracas", 15), ("gmtMinus03-BuenosAires", 16), ("gmtMinus02-MidAtlantic", 17), ("gmtMinus01-Azores", 18), ("gmt", 19), ("gmtPlus01-Berlin", 20), ("gmtPlus02-Athens", 21), ("gmtPlus03-Moscow", 22), ("gmtPlus0330-Tehran", 23), ("gmtPlus04-AbuDhabi", 24), ("gmtPlus0430-Kabul", 25), ("gmtPlus05-Islamabad", 26), ("gmtPlus0530-NewDelhi", 27), ("gmtPlus06-Dhaka", 28), ("gmtPlus07-Bangkok", 29), ("gmtPlus08-Beijing", 30), ("gmtPlus09-Tokyo", 31), ("gmtPlus0930-Adelaide", 32), ("gmtPlus10-Guam", 33), ("gmtPlus11-Magadan", 34), ("gmtPlus12-Fiji", 35))).clone(12)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusTimeZone.setStatus('current') sonusNtpPeer = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2)) sonusNtpPeerNextIndex = MibScalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerNextIndex.setStatus('current') sonusNtpPeerTable = MibTable((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2), ) if mibBuilder.loadTexts: sonusNtpPeerTable.setStatus('current') sonusNtpAdmnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1), ).setIndexNames((0, "SONUS-NTP-SERVICES-MIB", "sonusNtpPeerIndex")) if mibBuilder.loadTexts: sonusNtpAdmnEntry.setStatus('current') sonusNtpPeerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerIndex.setStatus('current') sonusNtpServerName = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 2), SonusName()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpServerName.setStatus('current') sonusNtpPeerIpaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerIpaddr.setStatus('current') sonusNtpPeerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(3, 8))).clone(namedValues=NamedValues(("poll", 3), ("broadcast", 8))).clone('poll')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerMode.setStatus('current') sonusNtpPeerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(3, 4))).clone(namedValues=NamedValues(("version3", 3), ("version4", 4))).clone('version3')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerVersion.setStatus('current') sonusNtpPeerMinPoll = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerMinPoll.setStatus('current') sonusNtpPeerMaxPoll = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerMaxPoll.setStatus('current') sonusNtpPeerAdmnState = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerAdmnState.setStatus('current') sonusNtpPeerAdmnRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 9), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonusNtpPeerAdmnRowStatus.setStatus('current') sonusNtpPeerStatTable = MibTable((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3), ) if mibBuilder.loadTexts: sonusNtpPeerStatTable.setStatus('current') sonusNtpPeerStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1), ).setIndexNames((0, "SONUS-NTP-SERVICES-MIB", "sonusNtpPeerStatShelfIndex"), (0, "SONUS-NTP-SERVICES-MIB", "sonusNtpPeerStatIndex")) if mibBuilder.loadTexts: sonusNtpPeerStatEntry.setStatus('current') sonusNtpPeerStatShelfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerStatShelfIndex.setStatus('current') sonusNtpPeerStatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerStatIndex.setStatus('current') sonusNtpPeerState = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("outofsync", 1), ("insync", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerState.setStatus('current') sonusNtpPeerStratum = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerStratum.setStatus('current') sonusNtpPeerRefTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 23))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpPeerRefTime.setStatus('current') sonusNtpSysStatTable = MibTable((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4), ) if mibBuilder.loadTexts: sonusNtpSysStatTable.setStatus('current') sonusNtpSysStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1), ).setIndexNames((0, "SONUS-NTP-SERVICES-MIB", "sonusNtpSysShelfIndex")) if mibBuilder.loadTexts: sonusNtpSysStatEntry.setStatus('current') sonusNtpSysShelfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpSysShelfIndex.setStatus('current') sonusNtpSysClock = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 23))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpSysClock.setStatus('current') sonusNtpSysRefTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 23))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpSysRefTime.setStatus('current') sonusNtpSysLastSelect = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 23))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpSysLastSelect.setStatus('current') sonusNtpSysPeer = MibTableColumn((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 5), SonusNameReference()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpSysPeer.setStatus('current') sonusNtpServicesMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2)) sonusNtpServicesMIBNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0)) sonusNtpServicesMIBNotificationsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1)) sonusNtpServerOutOfServiceReason = MibScalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ntpServerDisabled", 1), ("ntpServerOutOfSync", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpServerOutOfServiceReason.setStatus('current') sonusNtpDownReason = MibScalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noNtpServerConfigured", 1), ("allNtpServersOutOfSync", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonusNtpDownReason.setStatus('current') sonusNtpServerInServiceNotification = NotificationType((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 1)).setObjects(("SONUS-COMMON-MIB", "sonusShelfIndex"), ("SONUS-COMMON-MIB", "sonusSlotIndex"), ("SONUS-NTP-SERVICES-MIB", "sonusNtpServerName"), ("SONUS-COMMON-MIB", "sonusEventDescription"), ("SONUS-COMMON-MIB", "sonusEventClass"), ("SONUS-COMMON-MIB", "sonusEventLevel")) if mibBuilder.loadTexts: sonusNtpServerInServiceNotification.setStatus('current') sonusNtpServerOutOfServiceNotification = NotificationType((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 2)).setObjects(("SONUS-COMMON-MIB", "sonusShelfIndex"), ("SONUS-COMMON-MIB", "sonusSlotIndex"), ("SONUS-NTP-SERVICES-MIB", "sonusNtpServerName"), ("SONUS-NTP-SERVICES-MIB", "sonusNtpServerOutOfServiceReason"), ("SONUS-COMMON-MIB", "sonusEventDescription"), ("SONUS-COMMON-MIB", "sonusEventClass"), ("SONUS-COMMON-MIB", "sonusEventLevel")) if mibBuilder.loadTexts: sonusNtpServerOutOfServiceNotification.setStatus('current') sonusNtpUpNotification = NotificationType((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 3)).setObjects(("SONUS-COMMON-MIB", "sonusShelfIndex"), ("SONUS-COMMON-MIB", "sonusSlotIndex"), ("SONUS-COMMON-MIB", "sonusEventDescription"), ("SONUS-COMMON-MIB", "sonusEventClass"), ("SONUS-COMMON-MIB", "sonusEventLevel")) if mibBuilder.loadTexts: sonusNtpUpNotification.setStatus('current') sonusNtpDownNotification = NotificationType((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 4)).setObjects(("SONUS-COMMON-MIB", "sonusShelfIndex"), ("SONUS-COMMON-MIB", "sonusSlotIndex"), ("SONUS-NTP-SERVICES-MIB", "sonusNtpDownReason"), ("SONUS-COMMON-MIB", "sonusEventDescription"), ("SONUS-COMMON-MIB", "sonusEventClass"), ("SONUS-COMMON-MIB", "sonusEventLevel")) if mibBuilder.loadTexts: sonusNtpDownNotification.setStatus('current') mibBuilder.exportSymbols("SONUS-NTP-SERVICES-MIB", sonusNtpServerName=sonusNtpServerName, sonusNtpSysStatEntry=sonusNtpSysStatEntry, sonusNtpPeerVersion=sonusNtpPeerVersion, sonusNtpPeerState=sonusNtpPeerState, sonusNtpSysPeer=sonusNtpSysPeer, sonusNtpPeerAdmnState=sonusNtpPeerAdmnState, sonusNtpUpNotification=sonusNtpUpNotification, sonusNtpServerOutOfServiceNotification=sonusNtpServerOutOfServiceNotification, sonusNtpPeerStatTable=sonusNtpPeerStatTable, sonusNtpDownNotification=sonusNtpDownNotification, sonusNtpPeerMaxPoll=sonusNtpPeerMaxPoll, sonusNtpServicesMIB=sonusNtpServicesMIB, sonusNtpSysRefTime=sonusNtpSysRefTime, sonusTimeZoneObjects=sonusTimeZoneObjects, sonusNtpPeerStratum=sonusNtpPeerStratum, sonusNtpPeerIpaddr=sonusNtpPeerIpaddr, sonusNtpSysLastSelect=sonusNtpSysLastSelect, sonusNtpServicesMIBNotifications=sonusNtpServicesMIBNotifications, sonusNtpPeerStatEntry=sonusNtpPeerStatEntry, sonusNtpPeerTable=sonusNtpPeerTable, sonusNtpPeerMinPoll=sonusNtpPeerMinPoll, sonusNtpPeerMode=sonusNtpPeerMode, sonusNtpPeerIndex=sonusNtpPeerIndex, sonusNtpPeerAdmnRowStatus=sonusNtpPeerAdmnRowStatus, PYSNMP_MODULE_ID=sonusNtpServicesMIB, sonusNtpPeer=sonusNtpPeer, sonusNtpPeerStatShelfIndex=sonusNtpPeerStatShelfIndex, sonusNtpServerInServiceNotification=sonusNtpServerInServiceNotification, sonusNtpAdmnEntry=sonusNtpAdmnEntry, sonusNtpPeerRefTime=sonusNtpPeerRefTime, sonusNtpPeerNextIndex=sonusNtpPeerNextIndex, sonusNtpServicesMIBNotificationsObjects=sonusNtpServicesMIBNotificationsObjects, sonusNtpDownReason=sonusNtpDownReason, sonusNtpSysShelfIndex=sonusNtpSysShelfIndex, sonusNtpSysStatTable=sonusNtpSysStatTable, sonusNtpSysClock=sonusNtpSysClock, sonusNtpServerOutOfServiceReason=sonusNtpServerOutOfServiceReason, sonusNtpServicesMIBNotificationsPrefix=sonusNtpServicesMIBNotificationsPrefix, sonusTimeZone=sonusTimeZone, sonusNtpServicesMIBObjects=sonusNtpServicesMIBObjects, sonusNtpPeerStatIndex=sonusNtpPeerStatIndex)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, single_value_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (mib_identifier, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, notification_type, time_ticks, bits, ip_address, unsigned32, object_identity, module_identity, iso, integer32, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'NotificationType', 'TimeTicks', 'Bits', 'IpAddress', 'Unsigned32', 'ObjectIdentity', 'ModuleIdentity', 'iso', 'Integer32', 'Gauge32') (row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'TextualConvention') (sonus_event_level, sonus_event_class, sonus_event_description, sonus_shelf_index, sonus_slot_index) = mibBuilder.importSymbols('SONUS-COMMON-MIB', 'sonusEventLevel', 'sonusEventClass', 'sonusEventDescription', 'sonusShelfIndex', 'sonusSlotIndex') (sonus_services_mi_bs,) = mibBuilder.importSymbols('SONUS-SMI', 'sonusServicesMIBs') (sonus_name, sonus_name_reference) = mibBuilder.importSymbols('SONUS-TC', 'SonusName', 'SonusNameReference') sonus_ntp_services_mib = module_identity((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2)) if mibBuilder.loadTexts: sonusNtpServicesMIB.setLastUpdated('200004230000Z') if mibBuilder.loadTexts: sonusNtpServicesMIB.setOrganization('Sonus Networks, Inc.') sonus_ntp_services_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1)) sonus_time_zone_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 1)) sonus_time_zone = mib_scalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35))).clone(namedValues=named_values(('gmtMinus12-Eniuetok', 1), ('gmtMinus11-MidwayIsland', 2), ('gmtMinus10-Hawaii', 3), ('gmtMinus09-Alaska', 4), ('gmtMinus08-Pacific-US', 5), ('gmtMinus07-Arizona', 6), ('gmtMinus07-Mountain', 7), ('gmtMinus06-Central-US', 8), ('gmtMinus06-Mexico', 9), ('gmtMinus06-Saskatchewan', 10), ('gmtMinus05-Bojota', 11), ('gmtMinus05-Eastern-US', 12), ('gmtMinus05-Indiana', 13), ('gmtMinus04-Atlantic-Canada', 14), ('gmtMinus04-Caracas', 15), ('gmtMinus03-BuenosAires', 16), ('gmtMinus02-MidAtlantic', 17), ('gmtMinus01-Azores', 18), ('gmt', 19), ('gmtPlus01-Berlin', 20), ('gmtPlus02-Athens', 21), ('gmtPlus03-Moscow', 22), ('gmtPlus0330-Tehran', 23), ('gmtPlus04-AbuDhabi', 24), ('gmtPlus0430-Kabul', 25), ('gmtPlus05-Islamabad', 26), ('gmtPlus0530-NewDelhi', 27), ('gmtPlus06-Dhaka', 28), ('gmtPlus07-Bangkok', 29), ('gmtPlus08-Beijing', 30), ('gmtPlus09-Tokyo', 31), ('gmtPlus0930-Adelaide', 32), ('gmtPlus10-Guam', 33), ('gmtPlus11-Magadan', 34), ('gmtPlus12-Fiji', 35))).clone(12)).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusTimeZone.setStatus('current') sonus_ntp_peer = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2)) sonus_ntp_peer_next_index = mib_scalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerNextIndex.setStatus('current') sonus_ntp_peer_table = mib_table((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2)) if mibBuilder.loadTexts: sonusNtpPeerTable.setStatus('current') sonus_ntp_admn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1)).setIndexNames((0, 'SONUS-NTP-SERVICES-MIB', 'sonusNtpPeerIndex')) if mibBuilder.loadTexts: sonusNtpAdmnEntry.setStatus('current') sonus_ntp_peer_index = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 3))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerIndex.setStatus('current') sonus_ntp_server_name = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 2), sonus_name()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpServerName.setStatus('current') sonus_ntp_peer_ipaddr = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerIpaddr.setStatus('current') sonus_ntp_peer_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(3, 8))).clone(namedValues=named_values(('poll', 3), ('broadcast', 8))).clone('poll')).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerMode.setStatus('current') sonus_ntp_peer_version = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(3, 4))).clone(namedValues=named_values(('version3', 3), ('version4', 4))).clone('version3')).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerVersion.setStatus('current') sonus_ntp_peer_min_poll = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 63)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerMinPoll.setStatus('current') sonus_ntp_peer_max_poll = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 63)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerMaxPoll.setStatus('current') sonus_ntp_peer_admn_state = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerAdmnState.setStatus('current') sonus_ntp_peer_admn_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 2, 2, 1, 9), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sonusNtpPeerAdmnRowStatus.setStatus('current') sonus_ntp_peer_stat_table = mib_table((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3)) if mibBuilder.loadTexts: sonusNtpPeerStatTable.setStatus('current') sonus_ntp_peer_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1)).setIndexNames((0, 'SONUS-NTP-SERVICES-MIB', 'sonusNtpPeerStatShelfIndex'), (0, 'SONUS-NTP-SERVICES-MIB', 'sonusNtpPeerStatIndex')) if mibBuilder.loadTexts: sonusNtpPeerStatEntry.setStatus('current') sonus_ntp_peer_stat_shelf_index = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerStatShelfIndex.setStatus('current') sonus_ntp_peer_stat_index = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerStatIndex.setStatus('current') sonus_ntp_peer_state = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('outofsync', 1), ('insync', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerState.setStatus('current') sonus_ntp_peer_stratum = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerStratum.setStatus('current') sonus_ntp_peer_ref_time = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 3, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 23))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpPeerRefTime.setStatus('current') sonus_ntp_sys_stat_table = mib_table((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4)) if mibBuilder.loadTexts: sonusNtpSysStatTable.setStatus('current') sonus_ntp_sys_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1)).setIndexNames((0, 'SONUS-NTP-SERVICES-MIB', 'sonusNtpSysShelfIndex')) if mibBuilder.loadTexts: sonusNtpSysStatEntry.setStatus('current') sonus_ntp_sys_shelf_index = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpSysShelfIndex.setStatus('current') sonus_ntp_sys_clock = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 23))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpSysClock.setStatus('current') sonus_ntp_sys_ref_time = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 23))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpSysRefTime.setStatus('current') sonus_ntp_sys_last_select = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 23))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpSysLastSelect.setStatus('current') sonus_ntp_sys_peer = mib_table_column((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 1, 4, 1, 5), sonus_name_reference()).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpSysPeer.setStatus('current') sonus_ntp_services_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2)) sonus_ntp_services_mib_notifications_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0)) sonus_ntp_services_mib_notifications_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1)) sonus_ntp_server_out_of_service_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ntpServerDisabled', 1), ('ntpServerOutOfSync', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpServerOutOfServiceReason.setStatus('current') sonus_ntp_down_reason = mib_scalar((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noNtpServerConfigured', 1), ('allNtpServersOutOfSync', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: sonusNtpDownReason.setStatus('current') sonus_ntp_server_in_service_notification = notification_type((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 1)).setObjects(('SONUS-COMMON-MIB', 'sonusShelfIndex'), ('SONUS-COMMON-MIB', 'sonusSlotIndex'), ('SONUS-NTP-SERVICES-MIB', 'sonusNtpServerName'), ('SONUS-COMMON-MIB', 'sonusEventDescription'), ('SONUS-COMMON-MIB', 'sonusEventClass'), ('SONUS-COMMON-MIB', 'sonusEventLevel')) if mibBuilder.loadTexts: sonusNtpServerInServiceNotification.setStatus('current') sonus_ntp_server_out_of_service_notification = notification_type((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 2)).setObjects(('SONUS-COMMON-MIB', 'sonusShelfIndex'), ('SONUS-COMMON-MIB', 'sonusSlotIndex'), ('SONUS-NTP-SERVICES-MIB', 'sonusNtpServerName'), ('SONUS-NTP-SERVICES-MIB', 'sonusNtpServerOutOfServiceReason'), ('SONUS-COMMON-MIB', 'sonusEventDescription'), ('SONUS-COMMON-MIB', 'sonusEventClass'), ('SONUS-COMMON-MIB', 'sonusEventLevel')) if mibBuilder.loadTexts: sonusNtpServerOutOfServiceNotification.setStatus('current') sonus_ntp_up_notification = notification_type((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 3)).setObjects(('SONUS-COMMON-MIB', 'sonusShelfIndex'), ('SONUS-COMMON-MIB', 'sonusSlotIndex'), ('SONUS-COMMON-MIB', 'sonusEventDescription'), ('SONUS-COMMON-MIB', 'sonusEventClass'), ('SONUS-COMMON-MIB', 'sonusEventLevel')) if mibBuilder.loadTexts: sonusNtpUpNotification.setStatus('current') sonus_ntp_down_notification = notification_type((1, 3, 6, 1, 4, 1, 2879, 2, 5, 2, 2, 0, 4)).setObjects(('SONUS-COMMON-MIB', 'sonusShelfIndex'), ('SONUS-COMMON-MIB', 'sonusSlotIndex'), ('SONUS-NTP-SERVICES-MIB', 'sonusNtpDownReason'), ('SONUS-COMMON-MIB', 'sonusEventDescription'), ('SONUS-COMMON-MIB', 'sonusEventClass'), ('SONUS-COMMON-MIB', 'sonusEventLevel')) if mibBuilder.loadTexts: sonusNtpDownNotification.setStatus('current') mibBuilder.exportSymbols('SONUS-NTP-SERVICES-MIB', sonusNtpServerName=sonusNtpServerName, sonusNtpSysStatEntry=sonusNtpSysStatEntry, sonusNtpPeerVersion=sonusNtpPeerVersion, sonusNtpPeerState=sonusNtpPeerState, sonusNtpSysPeer=sonusNtpSysPeer, sonusNtpPeerAdmnState=sonusNtpPeerAdmnState, sonusNtpUpNotification=sonusNtpUpNotification, sonusNtpServerOutOfServiceNotification=sonusNtpServerOutOfServiceNotification, sonusNtpPeerStatTable=sonusNtpPeerStatTable, sonusNtpDownNotification=sonusNtpDownNotification, sonusNtpPeerMaxPoll=sonusNtpPeerMaxPoll, sonusNtpServicesMIB=sonusNtpServicesMIB, sonusNtpSysRefTime=sonusNtpSysRefTime, sonusTimeZoneObjects=sonusTimeZoneObjects, sonusNtpPeerStratum=sonusNtpPeerStratum, sonusNtpPeerIpaddr=sonusNtpPeerIpaddr, sonusNtpSysLastSelect=sonusNtpSysLastSelect, sonusNtpServicesMIBNotifications=sonusNtpServicesMIBNotifications, sonusNtpPeerStatEntry=sonusNtpPeerStatEntry, sonusNtpPeerTable=sonusNtpPeerTable, sonusNtpPeerMinPoll=sonusNtpPeerMinPoll, sonusNtpPeerMode=sonusNtpPeerMode, sonusNtpPeerIndex=sonusNtpPeerIndex, sonusNtpPeerAdmnRowStatus=sonusNtpPeerAdmnRowStatus, PYSNMP_MODULE_ID=sonusNtpServicesMIB, sonusNtpPeer=sonusNtpPeer, sonusNtpPeerStatShelfIndex=sonusNtpPeerStatShelfIndex, sonusNtpServerInServiceNotification=sonusNtpServerInServiceNotification, sonusNtpAdmnEntry=sonusNtpAdmnEntry, sonusNtpPeerRefTime=sonusNtpPeerRefTime, sonusNtpPeerNextIndex=sonusNtpPeerNextIndex, sonusNtpServicesMIBNotificationsObjects=sonusNtpServicesMIBNotificationsObjects, sonusNtpDownReason=sonusNtpDownReason, sonusNtpSysShelfIndex=sonusNtpSysShelfIndex, sonusNtpSysStatTable=sonusNtpSysStatTable, sonusNtpSysClock=sonusNtpSysClock, sonusNtpServerOutOfServiceReason=sonusNtpServerOutOfServiceReason, sonusNtpServicesMIBNotificationsPrefix=sonusNtpServicesMIBNotificationsPrefix, sonusTimeZone=sonusTimeZone, sonusNtpServicesMIBObjects=sonusNtpServicesMIBObjects, sonusNtpPeerStatIndex=sonusNtpPeerStatIndex)
JSVIZ1='''<script type="text/javascript"> function go() { var zoomCanvas = document.getElementById('canvas'); origZoomChart = new Scribl(zoomCanvas, 100); //origZoomChart.scale.min = 0; // origZoomChart.scale.max = 12000; ''' JSVIZ2=''' origZoomChart.scrollable = true; origZoomChart.scrollValues = [10, 250]; origZoomChart.draw(); } </script> ''' CANVAS=''' <div id="container"> <canvas id="canvas" width="940px" height="400px" style="margin-left:auto; margin-right:auto"></canvas> </div> ''' SEQ='''origZoomChart.addFeature( new Seq('human', %s, %s, "%s") );''' def addseq(pos,len,seq): return(SEQ % (pos,len,seq))
jsviz1 = '<script type="text/javascript">\n\t\t function go() {\n var zoomCanvas = document.getElementById(\'canvas\');\n origZoomChart = new Scribl(zoomCanvas, 100);\n //origZoomChart.scale.min = 0;\n\t // origZoomChart.scale.max = 12000;\n' jsviz2 = '\n origZoomChart.scrollable = true;\n origZoomChart.scrollValues = [10, 250];\n origZoomChart.draw();\n\t\t }\n\n\t\t</script>\n' canvas = '\t\t<div id="container">\n\t\t <canvas id="canvas" width="940px" height="400px" style="margin-left:auto; margin-right:auto"></canvas> \n\t\t</div>\t\t\n' seq = 'origZoomChart.addFeature( new Seq(\'human\', %s, %s, "%s") );' def addseq(pos, len, seq): return SEQ % (pos, len, seq)
def catalan_rec(n): if n <= 1: return 1 res = 0 for i in range(n): res += catalan_rec(i) * catalan_rec(n-i-1) return res def catalan_rec_td(n, arr): if n <= 1: return 1 if arr[n] > 0: return arr[n] res = 0 for i in range(n): res += catalan_rec_td(i, arr) * catalan_rec_td(n-i-1, arr) arr[n] = res return res def catalan_rec_bu(n): catalan = [0] * (n+1) catalan[0] = 1 catalan[1] = 1 for i in range(2, n + 1): catalan[i] = 0 for j in range(i): catalan[i] = catalan[i] + catalan[j] + catalan[i-j-1] return catalan[n] if __name__ == "__main__": for i in range(10): catalan_rec(i) for i in range(10): arr = [0] * i catalan_rec(i, arr)
def catalan_rec(n): if n <= 1: return 1 res = 0 for i in range(n): res += catalan_rec(i) * catalan_rec(n - i - 1) return res def catalan_rec_td(n, arr): if n <= 1: return 1 if arr[n] > 0: return arr[n] res = 0 for i in range(n): res += catalan_rec_td(i, arr) * catalan_rec_td(n - i - 1, arr) arr[n] = res return res def catalan_rec_bu(n): catalan = [0] * (n + 1) catalan[0] = 1 catalan[1] = 1 for i in range(2, n + 1): catalan[i] = 0 for j in range(i): catalan[i] = catalan[i] + catalan[j] + catalan[i - j - 1] return catalan[n] if __name__ == '__main__': for i in range(10): catalan_rec(i) for i in range(10): arr = [0] * i catalan_rec(i, arr)
class Solution: def isValidSerialization(self, preorder: str) -> bool: return self.isValidSerializationStack(preorder) ''' Initial, Almost-Optimal, Split Iteration Look at the question closely. If i give you a subset from start, will you be able to tell me easily if its valid You will quickly realize that the numbers don't matter There a given number of slots for any given tree structure and all of them must be filled, BUT there should be no more nodes than the number of slots How do we know how many slots to be filled? Look at the tree growth and you will find a pattern Initially, we have 1 slot available (for the root) For every new number node, we use up 1 slot but create 2 new ones Net change: +1 For every null node, we use up 1 slot and create 0 new ones Net change: -1 So if you keep track of this slot count, you can easily figure out if the traversal is valid NOTE: The traversal being preorder is basically useless Time: O(n) Space: O(n) ''' def isValidSerializationInitial(self, preorder: str) -> bool: # initially we have one empty slot to put the root in it slots = 1 for node in preorder.split(','): # no empty slot to put the current node if slots == 0: return False if node == '#': # null node uses up a slot slots -= 1 else: # number node creates a new slot slots += 1 # we don't allow empty slots at the end return slots == 0 ''' Optimal, Character Iteration Similar logic as above, just skips the .split for char iteration This is because .split saves the split in a new list, costing us O(n) memory Time: O(n) Space: O(n) ''' def isValidSerializationCharIteration(self, preorder: str) -> bool: # initially we have one empty slot to put the root in it slots = 1 # this boolean indicates whether current digit char indicates a new node (for multi-char numbers) new_symbol = True for ch in preorder: # if current char is a comma # get ready for next node and continue if ch == ',': new_symbol = True continue # no empty slot to put the current node if slots == 0: return False if ch == '#': # null node uses up a slot slots -= 1 elif new_symbol: # number node creates a new slot slots += 1 # next letter is not a new node new_symbol = False # we don't allow empty slots at the end return slots == 0 ''' Stack Not better than initial, but interesting ''' def isValidSerializationStack(self, preorder: str) -> bool: stack = [] for node in preorder.split(","): while stack and node == stack[-1] == "#": if len(stack) < 2: return False stack.pop() stack.pop() stack.append(node) return stack == ['#']
class Solution: def is_valid_serialization(self, preorder: str) -> bool: return self.isValidSerializationStack(preorder) "\n Initial, Almost-Optimal, Split Iteration\n Look at the question closely.\n If i give you a subset from start, will you be able to tell me easily if its valid\n You will quickly realize that the numbers don't matter\n There a given number of slots for any given tree structure\n and all of them must be filled, BUT\n there should be no more nodes than the number of slots\n How do we know how many slots to be filled?\n Look at the tree growth and you will find a pattern\n Initially, we have 1 slot available (for the root)\n For every new number node, we use up 1 slot but create 2 new ones\n Net change: +1\n For every null node, we use up 1 slot and create 0 new ones\n Net change: -1\n So if you keep track of this slot count, you can easily figure out if the traversal is valid\n NOTE: The traversal being preorder is basically useless\n \n Time: O(n)\n Space: O(n)\n " def is_valid_serialization_initial(self, preorder: str) -> bool: slots = 1 for node in preorder.split(','): if slots == 0: return False if node == '#': slots -= 1 else: slots += 1 return slots == 0 '\n Optimal, Character Iteration\n Similar logic as above, just skips the .split for char iteration\n This is because .split saves the split in a new list, costing us O(n) memory\n \n Time: O(n)\n Space: O(n)\n ' def is_valid_serialization_char_iteration(self, preorder: str) -> bool: slots = 1 new_symbol = True for ch in preorder: if ch == ',': new_symbol = True continue if slots == 0: return False if ch == '#': slots -= 1 elif new_symbol: slots += 1 new_symbol = False return slots == 0 '\n Stack\n Not better than initial, but interesting\n ' def is_valid_serialization_stack(self, preorder: str) -> bool: stack = [] for node in preorder.split(','): while stack and node == stack[-1] == '#': if len(stack) < 2: return False stack.pop() stack.pop() stack.append(node) return stack == ['#']
#!/usr/bin/env python3 # Day 22: Binary Tree Zigzag Level Order Traversal # # Given a binary tree, return the zigzag level order traversal of its nodes' # values. (ie, from left to right, then right to left for the next level and # alternate between). # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def zigzagLevelOrder(self, root: TreeNode) -> [[int]]: # First get a regular level order traversal if root is None: return [] result = [[root.val]] queue = [root] while len(queue) > 0: children = [] for node in queue: if node.left is not None: children.append(node.left) if node.right is not None: children.append(node.right) queue = children if len(children) > 0: result.append([node.val for node in queue]) # Then flip the odd levels for level in range(len(result)): if level % 2 == 1: result[level] = result[level][::-1] return result # Test test_tree = TreeNode(3) test_tree.left = TreeNode(9) test_tree.right = TreeNode(20) test_tree.right.left = TreeNode(15) test_tree.right.right = TreeNode(7) assert Solution().zigzagLevelOrder(test_tree) == [[3],[20,9],[15,7]]
class Treenode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def zigzag_level_order(self, root: TreeNode) -> [[int]]: if root is None: return [] result = [[root.val]] queue = [root] while len(queue) > 0: children = [] for node in queue: if node.left is not None: children.append(node.left) if node.right is not None: children.append(node.right) queue = children if len(children) > 0: result.append([node.val for node in queue]) for level in range(len(result)): if level % 2 == 1: result[level] = result[level][::-1] return result test_tree = tree_node(3) test_tree.left = tree_node(9) test_tree.right = tree_node(20) test_tree.right.left = tree_node(15) test_tree.right.right = tree_node(7) assert solution().zigzagLevelOrder(test_tree) == [[3], [20, 9], [15, 7]]
def minion_game(string): length = len(string) the_vowel = "AEIOU" kevin = 0 stuart = 0 for i in range(length): if string[i] in the_vowel: kevin = kevin + length - i else: stuart = stuart + length - i if kevin > stuart: print ("Kevin %d" % kevin) elif kevin < stuart: print ("Stuart %d" % stuart) else: print ("Draw")
def minion_game(string): length = len(string) the_vowel = 'AEIOU' kevin = 0 stuart = 0 for i in range(length): if string[i] in the_vowel: kevin = kevin + length - i else: stuart = stuart + length - i if kevin > stuart: print('Kevin %d' % kevin) elif kevin < stuart: print('Stuart %d' % stuart) else: print('Draw')
class PatchExtractor: def __init__(self, img, patch_size, stride): self.img = img self.size = patch_size self.stride = stride def extract_patches(self): wp, hp = self.shape() return [self.extract_patch((w, h)) for h in range(hp) for w in range(wp)] def extract_patch(self, patch): return self.img.crop(( patch[0] * self.stride, # left patch[1] * self.stride, # up patch[0] * self.stride + self.size, # right patch[1] * self.stride + self.size # down )) def shape(self): wp = int((self.img.width - self.size) / self.stride + 1) hp = int((self.img.height - self.size) / self.stride + 1) return wp, hp
class Patchextractor: def __init__(self, img, patch_size, stride): self.img = img self.size = patch_size self.stride = stride def extract_patches(self): (wp, hp) = self.shape() return [self.extract_patch((w, h)) for h in range(hp) for w in range(wp)] def extract_patch(self, patch): return self.img.crop((patch[0] * self.stride, patch[1] * self.stride, patch[0] * self.stride + self.size, patch[1] * self.stride + self.size)) def shape(self): wp = int((self.img.width - self.size) / self.stride + 1) hp = int((self.img.height - self.size) / self.stride + 1) return (wp, hp)
class OnegramException(Exception): pass # TODO [romeira]: Login exceptions {06/03/18 23:07} class AuthException(OnegramException): pass class AuthFailed(AuthException): pass class AuthUserError(AuthException): pass class NotSupportedError(OnegramException): pass class RequestFailed(OnegramException): pass class RateLimitedError(RequestFailed): pass # TODO [romeira]: Query/action exceptions {06/03/18 23:08} # TODO [romeira]: Session expired exception {06/03/18 23:08} # TODO [romeira]: Private user exception/warning {06/03/18 23:09} # TODO [romeira]: Not found exception {06/03/18 23:12} # TODO [romeira]: Already following/liked/commented? warnings {06/03/18 23:12} # TODO [romeira]: Timeout exception {06/03/18 23:12}
class Onegramexception(Exception): pass class Authexception(OnegramException): pass class Authfailed(AuthException): pass class Authusererror(AuthException): pass class Notsupportederror(OnegramException): pass class Requestfailed(OnegramException): pass class Ratelimitederror(RequestFailed): pass
# _version.py # Simon Hulse # [email protected] # Last Edited: Tue 10 May 2022 10:24:50 BST __version__ = "0.0.6"
__version__ = '0.0.6'
def fact(n): if n == 0: return(1) return(n*fact(n-1)) def ncr(n, r): return(fact(n)/(fact(r)*fact(n-r))) million = 1000000 n = 0 a = 0 comp = 0 for n in range(100, 0, -1): for r in range(a, n): if ncr(n,r) > million: comp += n-2*r + 1 a = r-1 break print(n) print("comp=" + str(comp))
def fact(n): if n == 0: return 1 return n * fact(n - 1) def ncr(n, r): return fact(n) / (fact(r) * fact(n - r)) million = 1000000 n = 0 a = 0 comp = 0 for n in range(100, 0, -1): for r in range(a, n): if ncr(n, r) > million: comp += n - 2 * r + 1 a = r - 1 break print(n) print('comp=' + str(comp))
#!/usr/bin/env python # # Copyright 2019 DFKI GmbH. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to permit # persons to whom the Software is furnished to do so, subject to the # following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE # USE OR OTHER DEALINGS IN THE SOFTWARE. LOG_MODE_ERROR = -1 LOG_MODE_INFO = 1 LOG_MODE_DEBUG = 2 _lines = [] _active = True _mode = LOG_MODE_INFO def activate(): global _active _active = True def deactivate(): global _active _active = False def set_log_mode(mode): global _mode _mode = mode def write_log(*args): global _active global _lines if _active: line = " ".join(map(str, args)) print(line) _lines.append(line) def write_message_to_log(message, mode=LOG_MODE_INFO): global _active global _lines if _active and _mode >= mode: print(message) _lines.append(message) def save_log(filename): global _lines with open(filename, "wb") as outfile: for l in _lines: outfile.write(l+"\n") def clear_log(): global _lines _lines = []
log_mode_error = -1 log_mode_info = 1 log_mode_debug = 2 _lines = [] _active = True _mode = LOG_MODE_INFO def activate(): global _active _active = True def deactivate(): global _active _active = False def set_log_mode(mode): global _mode _mode = mode def write_log(*args): global _active global _lines if _active: line = ' '.join(map(str, args)) print(line) _lines.append(line) def write_message_to_log(message, mode=LOG_MODE_INFO): global _active global _lines if _active and _mode >= mode: print(message) _lines.append(message) def save_log(filename): global _lines with open(filename, 'wb') as outfile: for l in _lines: outfile.write(l + '\n') def clear_log(): global _lines _lines = []
# # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the Software # without restriction, including without limitation the rights to use, copy, modify, # merge, publish, distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A # PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # ORIGINAL_VALUE = 0 TOP_RESOLUTION = 1 SLOT_CONFIG = { 'event_name': {'type': TOP_RESOLUTION, 'remember': True, 'error': 'I couldn\'t find an event called "{}".'}, 'event_month': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_name': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_city': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_state': {'type': ORIGINAL_VALUE, 'remember': True}, 'cat_desc': {'type': TOP_RESOLUTION, 'remember': True, 'error': 'I couldn\'t find a category called "{}".'}, 'count': {'type': ORIGINAL_VALUE, 'remember': True}, 'dimension': {'type': ORIGINAL_VALUE, 'remember': True}, 'one_event': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find an event called "{}".'}, 'another_event': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find an event called "{}".'}, 'one_venue': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_venue': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_month': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_month': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_city': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_city': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_state': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_state': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_category': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find a category called "{}".'}, 'another_category': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find a category called "{}".'} } DIMENSIONS = { 'events': {'slot': 'event_name', 'column': 'e.event_name', 'singular': 'event'}, 'months': {'slot': 'event_month', 'column': 'd.month', 'singular': 'month'}, 'venues': {'slot': 'venue_name', 'column': 'v.venue_name', 'singular': 'venue'}, 'cities': {'slot': 'venue_city', 'column': 'v.venue_city', 'singular': 'city'}, 'states': {'slot': 'venue_state', 'column': 'v.venue_state', 'singular': 'state'}, 'categories': {'slot': 'cat_desc', 'column': 'c.cat_desc', 'singular': 'category'} } class SlotError(Exception): pass
original_value = 0 top_resolution = 1 slot_config = {'event_name': {'type': TOP_RESOLUTION, 'remember': True, 'error': 'I couldn\'t find an event called "{}".'}, 'event_month': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_name': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_city': {'type': ORIGINAL_VALUE, 'remember': True}, 'venue_state': {'type': ORIGINAL_VALUE, 'remember': True}, 'cat_desc': {'type': TOP_RESOLUTION, 'remember': True, 'error': 'I couldn\'t find a category called "{}".'}, 'count': {'type': ORIGINAL_VALUE, 'remember': True}, 'dimension': {'type': ORIGINAL_VALUE, 'remember': True}, 'one_event': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find an event called "{}".'}, 'another_event': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find an event called "{}".'}, 'one_venue': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_venue': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_month': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_month': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_city': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_city': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_state': {'type': ORIGINAL_VALUE, 'remember': False}, 'another_state': {'type': ORIGINAL_VALUE, 'remember': False}, 'one_category': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find a category called "{}".'}, 'another_category': {'type': TOP_RESOLUTION, 'remember': False, 'error': 'I couldn\'t find a category called "{}".'}} dimensions = {'events': {'slot': 'event_name', 'column': 'e.event_name', 'singular': 'event'}, 'months': {'slot': 'event_month', 'column': 'd.month', 'singular': 'month'}, 'venues': {'slot': 'venue_name', 'column': 'v.venue_name', 'singular': 'venue'}, 'cities': {'slot': 'venue_city', 'column': 'v.venue_city', 'singular': 'city'}, 'states': {'slot': 'venue_state', 'column': 'v.venue_state', 'singular': 'state'}, 'categories': {'slot': 'cat_desc', 'column': 'c.cat_desc', 'singular': 'category'}} class Sloterror(Exception): pass
'''' def multiplica(a,b): return a*b print(multiplica(4,5)) def troca(x,y): aux = x x=y y=aux x=10 y=20 troca(x,y) print("X=",x,"e y =",y) ''' def total_caracteres (x,y,z): return (len(x)+len(y)+len(z))
"""' def multiplica(a,b): return a*b print(multiplica(4,5)) def troca(x,y): aux = x x=y y=aux x=10 y=20 troca(x,y) print("X=",x,"e y =",y) """ def total_caracteres(x, y, z): return len(x) + len(y) + len(z)
#!/usr/bin/env python3 def encode(message): encoded_message = "" i = 0 while (i <= len(message) - 1): count = 1 ch = message[i] j = i while (j < len(message) - 1): if (message[j] == message[j + 1]): count = count + 1 j = j + 1 else: break encoded_message = encoded_message + str(count) + ch i = j + 1 return encoded_message #Provide different values for message and test your program encoded_message = encode("ABBBBCCCCCCCCAB") print(encoded_message)
def encode(message): encoded_message = '' i = 0 while i <= len(message) - 1: count = 1 ch = message[i] j = i while j < len(message) - 1: if message[j] == message[j + 1]: count = count + 1 j = j + 1 else: break encoded_message = encoded_message + str(count) + ch i = j + 1 return encoded_message encoded_message = encode('ABBBBCCCCCCCCAB') print(encoded_message)
class MainClass: class_number = 20 class_string = 'Hello, world' def get_local_number(self): return 14 def get_lass_number(self): return MainClass.class_number def get_class_string(self): return MainClass.class_string
class Mainclass: class_number = 20 class_string = 'Hello, world' def get_local_number(self): return 14 def get_lass_number(self): return MainClass.class_number def get_class_string(self): return MainClass.class_string
friendly_names = { "fim_s01e01": "Season 1, Episode 1", "fim_s01e02": "Season 1, Episode 2", "fim_s01e03": "Season 1, Episode 3", "fim_s01e04": "Season 1, Episode 4", "fim_s01e05": "Season 1, Episode 5", "fim_s01e06": "Season 1, Episode 6", "fim_s01e07": "Season 1, Episode 7", "fim_s01e08": "Season 1, Episode 8", "fim_s01e09": "Season 1, Episode 9", "fim_s01e10": "Season 1, Episode 10", "fim_s01e11": "Season 1, Episode 11", "fim_s01e12": "Season 1, Episode 12", "fim_s01e13": "Season 1, Episode 13", "fim_s01e14": "Season 1, Episode 14", "fim_s01e15": "Season 1, Episode 15", "fim_s01e16": "Season 1, Episode 16", "fim_s01e17": "Season 1, Episode 17", "fim_s01e18": "Season 1, Episode 18", "fim_s01e19": "Season 1, Episode 19", "fim_s01e20": "Season 1, Episode 20", "fim_s01e21": "Season 1, Episode 21", "fim_s01e22": "Season 1, Episode 22", "fim_s01e23": "Season 1, Episode 23", "fim_s01e24": "Season 1, Episode 24", "fim_s01e25": "Season 1, Episode 25", "fim_s01e26": "Season 1, Episode 26", "fim_s02e01": "Season 2, Episode 1", "fim_s02e02": "Season 2, Episode 2", "fim_s02e03": "Season 2, Episode 3", "fim_s02e04": "Season 2, Episode 4", "fim_s02e05": "Season 2, Episode 5", "fim_s02e06": "Season 2, Episode 6", "fim_s02e07": "Season 2, Episode 7", "fim_s02e08": "Season 2, Episode 8", "fim_s02e09": "Season 2, Episode 9", "fim_s02e10": "Season 2, Episode 10", "fim_s02e11": "Season 2, Episode 11", "fim_s02e12": "Season 2, Episode 12", "fim_s02e13": "Season 2, Episode 13", "fim_s02e14": "Season 2, Episode 14", "fim_s02e15": "Season 2, Episode 15", "fim_s02e16": "Season 2, Episode 16", "fim_s02e17": "Season 2, Episode 17", "fim_s02e18": "Season 2, Episode 18", "fim_s02e19": "Season 2, Episode 19", "fim_s02e20": "Season 2, Episode 20", "fim_s02e21": "Season 2, Episode 21", "fim_s02e22": "Season 2, Episode 22", "fim_s02e23": "Season 2, Episode 23", "fim_s02e24": "Season 2, Episode 24", "fim_s02e25": "Season 2, Episode 25", "fim_s02e26": "Season 2, Episode 26", "fim_s03e01": "Season 3, Episode 1", "fim_s03e02": "Season 3, Episode 2", "fim_s03e03": "Season 3, Episode 3", "fim_s03e04": "Season 3, Episode 4", "fim_s03e05": "Season 3, Episode 5", "fim_s03e06": "Season 3, Episode 6", "fim_s03e07": "Season 3, Episode 7", "fim_s03e08": "Season 3, Episode 8", "fim_s03e09": "Season 3, Episode 9", "fim_s03e10": "Season 3, Episode 10", "fim_s03e11": "Season 3, Episode 11", "fim_s03e12": "Season 3, Episode 12", "fim_s03e13": "Season 3, Episode 13", "fim_s04e01": "Season 4, Episode 1", "fim_s04e02": "Season 4, Episode 2", "fim_s04e03": "Season 4, Episode 3", "fim_s04e04": "Season 4, Episode 4", "fim_s04e05": "Season 4, Episode 5", "fim_s04e06": "Season 4, Episode 6", "fim_s04e07": "Season 4, Episode 7", "fim_s04e08": "Season 4, Episode 8", "fim_s04e09": "Season 4, Episode 9", "fim_s04e10": "Season 4, Episode 10", "fim_s04e11": "Season 4, Episode 11", "fim_s04e12": "Season 4, Episode 12", "fim_s04e13": "Season 4, Episode 13", "fim_s04e14": "Season 4, Episode 14", "fim_s04e15": "Season 4, Episode 15", "fim_s04e16": "Season 4, Episode 16", "fim_s04e17": "Season 4, Episode 17", "fim_s04e18": "Season 4, Episode 18", "fim_s04e19": "Season 4, Episode 19", "fim_s04e20": "Season 4, Episode 20", "fim_s04e21": "Season 4, Episode 21", "fim_s04e22": "Season 4, Episode 22", "fim_s04e23": "Season 4, Episode 23", "fim_s04e24": "Season 4, Episode 24", "fim_s04e25": "Season 4, Episode 25", "fim_s04e26": "Season 4, Episode 26", "fim_s05e01": "Season 5, Episode 1", "fim_s05e02": "Season 5, Episode 2", "fim_s05e03": "Season 5, Episode 3", "fim_s05e04": "Season 5, Episode 4", "fim_s05e05": "Season 5, Episode 5", "fim_s05e06": "Season 5, Episode 6", "fim_s05e07": "Season 5, Episode 7", "fim_s05e08": "Season 5, Episode 8", "fim_s05e09": "Season 5, Episode 9", "fim_s05e10": "Season 5, Episode 10", "fim_s05e11": "Season 5, Episode 11", "fim_s05e12": "Season 5, Episode 12", "fim_s05e13": "Season 5, Episode 13", "fim_s05e14": "Season 5, Episode 14", "fim_s05e15": "Season 5, Episode 15", "fim_s05e16": "Season 5, Episode 16", "fim_s05e17": "Season 5, Episode 17", "fim_s05e18": "Season 5, Episode 18", "fim_s05e19": "Season 5, Episode 19", "fim_s05e20": "Season 5, Episode 20", "fim_s05e21": "Season 5, Episode 21", "fim_s05e22": "Season 5, Episode 22", "fim_s05e23": "Season 5, Episode 23", "fim_s05e24": "Season 5, Episode 24", "fim_s05e25": "Season 5, Episode 25", "fim_s05e26": "Season 5, Episode 26", "fim_s06e01": "Season 6, Episode 1", "fim_s06e02": "Season 6, Episode 2", "fim_s06e03": "Season 6, Episode 3", "fim_s06e04": "Season 6, Episode 4", "fim_s06e05": "Season 6, Episode 5", "fim_s06e06": "Season 6, Episode 6", "fim_s06e07": "Season 6, Episode 7", "fim_s06e08": "Season 6, Episode 8", "fim_s06e09": "Season 6, Episode 9", "fim_s06e10": "Season 6, Episode 10", "fim_s06e11": "Season 6, Episode 11", "fim_s06e12": "Season 6, Episode 12", "fim_s06e13": "Season 6, Episode 13", "fim_s06e14": "Season 6, Episode 14", "fim_s06e15": "Season 6, Episode 15", "fim_s06e16": "Season 6, Episode 16", "fim_s06e17": "Season 6, Episode 17", "fim_s06e18": "Season 6, Episode 18", "fim_s06e19": "Season 6, Episode 19", "fim_s06e20": "Season 6, Episode 20", "fim_s06e21": "Season 6, Episode 21", "fim_s06e22": "Season 6, Episode 22", "fim_s06e23": "Season 6, Episode 23", "fim_s06e24": "Season 6, Episode 24", "fim_s06e25": "Season 6, Episode 25", "fim_s06e26": "Season 6, Episode 26", "fim_s07e01": "Season 7, Episode 1", "fim_s07e02": "Season 7, Episode 2", "fim_s07e03": "Season 7, Episode 3", "fim_s07e04": "Season 7, Episode 4", "fim_s07e05": "Season 7, Episode 5", "fim_s07e06": "Season 7, Episode 6", "fim_s07e07": "Season 7, Episode 7", "fim_s07e08": "Season 7, Episode 8", "fim_s07e09": "Season 7, Episode 9", "fim_s07e10": "Season 7, Episode 10", "fim_s07e11": "Season 7, Episode 11", "fim_s07e12": "Season 7, Episode 12", "fim_s07e13": "Season 7, Episode 13", "fim_s07e14": "Season 7, Episode 14", "fim_s07e15": "Season 7, Episode 15", "fim_s07e16": "Season 7, Episode 16", "fim_s07e17": "Season 7, Episode 17", "fim_s07e18": "Season 7, Episode 18", "fim_s07e19": "Season 7, Episode 19", "fim_s07e20": "Season 7, Episode 20", "fim_s07e21": "Season 7, Episode 21", "fim_s07e22": "Season 7, Episode 22", "fim_s07e23": "Season 7, Episode 23", "fim_s07e24": "Season 7, Episode 24", "fim_s07e25": "Season 7, Episode 25", "fim_s07e26": "Season 7, Episode 26", "fim_s08e01": "Season 8, Episode 1", "fim_s08e02": "Season 8, Episode 2", "fim_s08e03": "Season 8, Episode 3", "fim_s08e04": "Season 8, Episode 4", "fim_s08e05": "Season 8, Episode 5", "fim_s08e06": "Season 8, Episode 6", "fim_s08e07": "Season 8, Episode 7", "fim_s08e08": "Season 8, Episode 8", "fim_s08e09": "Season 8, Episode 9", "fim_s08e10": "Season 8, Episode 10", "fim_s08e11": "Season 8, Episode 11", "fim_s08e12": "Season 8, Episode 12", "fim_s08e13": "Season 8, Episode 13", "fim_s08e14": "Season 8, Episode 14", "fim_s08e15": "Season 8, Episode 15", "fim_s08e16": "Season 8, Episode 16", "fim_s08e17": "Season 8, Episode 17", "fim_s08e18": "Season 8, Episode 18", "fim_s08e19": "Season 8, Episode 19", "fim_s08e20": "Season 8, Episode 20", "fim_s08e21": "Season 8, Episode 21", "fim_s08e22": "Season 8, Episode 22", "fim_s08e23": "Season 8, Episode 23", "fim_s08e24": "Season 8, Episode 24", "fim_s08e25": "Season 8, Episode 25", "fim_s08e26": "Season 8, Episode 26", "fim_s09e01": "Season 9, Episode 1", "fim_s09e02": "Season 9, Episode 2", "fim_s09e03": "Season 9, Episode 3", "fim_s09e04": "Season 9, Episode 4", "fim_s09e05": "Season 9, Episode 5", "fim_s09e06": "Season 9, Episode 6", "fim_s09e07": "Season 9, Episode 7", "fim_s09e08": "Season 9, Episode 8", "fim_s09e09": "Season 9, Episode 9", "fim_s09e10": "Season 9, Episode 10", "fim_s09e11": "Season 9, Episode 11", "fim_s09e12": "Season 9, Episode 12", "fim_s09e13": "Season 9, Episode 13", "fim_s09e14": "Season 9, Episode 14", "fim_s09e15": "Season 9, Episode 15", "fim_s09e16": "Season 9, Episode 16", "fim_s09e17": "Season 9, Episode 17", "fim_s09e18": "Season 9, Episode 18", "fim_s09e19": "Season 9, Episode 19", "fim_s09e20": "Season 9, Episode 20", "fim_s09e21": "Season 9, Episode 21", # "fim_s09e22": "Season 9, Episode 22", # "fim_s09e23": "Season 9, Episode 23", # "fim_s09e24": "Season 9, Episode 24", # "fim_s09e25": "Season 9, Episode 25", # "fim_s09e26": "Season 9, Episode 26", "eqg_original_movie": "Equestria Girls (Original)", "eqg_friendship_games": "Equestria Girls: Friendship Games", "eqg_legend_of_everfree": "Equestria Girls: Legend of Everfree", "eqg_rainbow_rocks": "Equestria Girls: Rainbow Rocks", } original_hashes = { "fim_s01e01": "5735ea49c43ea56109171cde2547a42cecb839cc", "fim_s01e02": "8d61b132aaff821b0b93fbff5baf74a017b93942", "fim_s01e03": "6c5e832dbdc91aec2159bd517a818c6aa1057613", "fim_s01e04": "b18eb5b02993dfed9cd383e54207119ee5cb51e4", "fim_s01e05": "7d7461461e39dd807ad5ace457d762c65075e62e", "fim_s01e06": "94138a8ed565a1d39ab43cbf9244720372287d66", "fim_s01e07": "a416681e16e9d8397e9ae06ecdfd9d2386e8f8f1", "fim_s01e08": "fedfadaa3d737e59fe1617407f80157258858004", "fim_s01e09": "75c31f8555f4b6a931b41185dd9aa645a6b5d9df", "fim_s01e10": "868a4050fd56eb397b25624a6bd6efea7b05f4d1", "fim_s01e11": "d9c603f4073e796454935eb855205f424b2bc0b0", "fim_s01e12": "9aa15d4cc4d6a1596b1b964add7398149cff5d4d", "fim_s01e13": "aa94e28636d9ad224b71c544a1ad84598a4899f6", "fim_s01e14": "6ea73fc00e5626669269c207b3ee0e52f018e382", "fim_s01e15": "701f2862a9aeefca70f6d314c0589c7a8a179ccc", "fim_s01e16": "dfcb90fb26d55641b554268d1d93efaa11ad285c", "fim_s01e17": "cc867f314d68564ce48e0bcad9b57a7af80a1520", "fim_s01e18": "e54ae83f44efd7dcab1bafa88eb6f3a6bd7f6c2a", "fim_s01e19": "96ca30cedca8170dad9611da02f774980ad83737", "fim_s01e20": "f4dbd0df7214583e0848360c89a8bde432c91b6d", "fim_s01e21": "ec5b1b9036ddce7cd62c0af9fb0c96a4dd85a52a", "fim_s01e22": "89aae028e1658c083c18a99216d1a549b30bce21", "fim_s01e23": "b18d2ab28435fbafb90046328e77751b8ca8cf6f", "fim_s01e24": "2e72f04bb686ea6273ebdda7f712ae32d76d0594", "fim_s01e25": "225228dcba4fdc08601b4b48cb182a9bc5d841f8", "fim_s01e26": "69030f04a1395db8a732149d552c7f9a5f95cad7", "fim_s02e01": "b188a4b7b3d9e74fa26dcb573e29216f450d677f", "fim_s02e02": "9072ea4af815c04c86fe00884aa55acde51c8de8", "fim_s02e03": "bc9bcab5e626e649185a237485cd6c45044febac", "fim_s02e04": "0bf3465a2adb91829d8fe16d8354f4dea9a96a4f", "fim_s02e05": "4d3033f9b443ebf892db563ecc183b15ad171134", "fim_s02e06": "e80a27201a93226b99377e5f3c7d60a337bfb974", "fim_s02e07": "5fd93be8ea58d26ed2eac7aee6cab6ea6d606da8", "fim_s02e08": "0f4197de4d3e5e29bb916c68c989c42003a3cae7", "fim_s02e09": "4aec2125d344f7651a25869f6fefe2d340cf255c", "fim_s02e10": "2df0e6d01d8510db000065baa2d028240d7dae49", "fim_s02e11": "7586a9586ffd57ddacda6201abd1e919cc6a782f", "fim_s02e12": "dd027fe0d956c851f8d4b633cfc56e0b5b24f786", "fim_s02e13": "667ef565d8fd3fa82dcd54cf2b469a5e1ae85c5e", "fim_s02e14": "69d1e1a4610eba20343287f2fd5a3419b74fb6e7", "fim_s02e15": "feedd3600151fa1834f9ff73363ce8931f7b5ec6", "fim_s02e16": "d2bb3a3f5daa5553b5be15894b4e209b211ea178", "fim_s02e17": "4524d942ca3834230e9766ba1e4ad4e51681ed0c", "fim_s02e18": "6ac536af39ec9a3096296af9da5559ae4a5d8523", "fim_s02e19": "82e77f72f7b67126ae7fd85e87cccb1d6fc586ff", "fim_s02e20": "333994b8309e760d0eaeaa793b18020b5b7acd9c", "fim_s02e21": "1b085707a89006b05290cc4df7e29030b42c85d0", "fim_s02e22": "cee734596a7c3f57e7c87e8542746142745375c7", "fim_s02e23": "e698ae4ec212fbef527914f5eeb4ee6cae8060fd", "fim_s02e24": "14b3bb367891df57cbd39aa9f34309d6a1658884", "fim_s02e25": "b6e1cc5ec6bcd7c9a14e901a278c7eb940ea93e1", "fim_s02e26": "201d11c9eea301bb85f222b392f88289d1b966d9", "fim_s03e01": "4408659e47d65176add7e46137f67b1756ea0265", "fim_s03e02": "32ace5c7e56f0dc92d192ccc3c5c5eda4ff32f29", "fim_s03e03": "60422fc559b26daeb7392b9c7839c6787e1bbdf0", "fim_s03e04": "51487978bdf587624f56abeb18e98703bb738ab1", "fim_s03e05": "ebd85277ee14163e7f5ec690197e617346032bd3", "fim_s03e06": "36c4ac7e393b268ce76cf7f834a52bcdd170a22c", "fim_s03e07": "7faadb4e07ea50f9660d4d29c5ec98e5080da2e2", "fim_s03e08": "3b4001fce0ab49313f59afcecfdb3944564b3682", "fim_s03e09": "5c045b5532829d502adcc9839cd22b961f5e7342", "fim_s03e10": "8212168e108028e5e4906a4fabba10530f2550a9", "fim_s03e11": "520d1362576df396c8db428fe430b4b14260346c", "fim_s03e12": "735ca37f27f8c75a7d3bc23bd43c933a4aa073c5", "fim_s03e13": "b9c1e54800c8965a2b3a3ab73ba8e1a3b24dd58b", "fim_s04e01": "fd420d33b9f256868ee5e379eb9c8a2bc3b40b09", "fim_s04e02": "73b72f84f85ee26ee9c2728b933c86d7d370a69b", "fim_s04e03": "5bedfc8eb95c9b692daa4a806ff35e6d5c215d1b", "fim_s04e04": "4f6aa4d45802b3304f04e6a4e3a7456933878a21", "fim_s04e05": "a03e2eb3d089408e3b37d3cd258736e81ee2e2cb", "fim_s04e06": "678bd6d70839761b9a4271af8cf55e526c12e6ca", "fim_s04e07": "ca0cd431366b9d29282f1cafed3c4b1194670a89", "fim_s04e08": "81f8192af3404dc563ba9d5567e89e781201226a", "fim_s04e09": "aad68c1cb09aa95482e22cfc9fd4495445cfe1e6", "fim_s04e10": "7be7993cc1a2ea9866f0ee6350765c0973fbab48", "fim_s04e11": "a7476b04649ab027f6419d439b7d7add52342145", "fim_s04e12": "977825b271c87e55d760ef3f93663f1491c16fcb", "fim_s04e13": "3d0fc66b9f550f84d599ae26a0561888620b83a2", "fim_s04e14": "ef3e76f455176c085d74f5571fbe20e378e2db15", "fim_s04e15": "26ef4519511b99b13d112dca008f8933bb0417ef", "fim_s04e16": "09155205ae4c06db7fc224016f3c529b2d72aeeb", "fim_s04e17": "d4516745d73a6c6b06922367370d9b60c1e9c9e2", "fim_s04e18": "0166151f5eb32b945fc0a7c87a83661193dc8a7e", "fim_s04e19": "714b02bc8baf1d892cd7a40d1846e2a98e17f771", "fim_s04e20": "a541743d1e4c68fec52ba8890ffde23b53d76df1", "fim_s04e21": "92ce42d2b108fe9adf0b6be24e91d8f7772a2b97", "fim_s04e22": "e274ef133ad4b64751737407ff2d56fafd404669", "fim_s04e23": "19983b86893a51ff9a9c7dfd975724dcba07f6fd", "fim_s04e24": "477c881d8da11102e280363b61a65fb3da41eecb", "fim_s04e25": "51d3e59472d7393a46303f7f7be084929242145b", "fim_s04e26": "97444afe8ab97a9d31586eb812a2fcd239fd055a", "fim_s05e01": "5dbb872d9bff9054a28e7438558d6a1f8264ff91", "fim_s05e02": "c3f15e75538b723a08fd602faba7714bd6e6d812", "fim_s05e03": "4621407df2da79bd229df24599f5caff56b88ea1", "fim_s05e04": "f839303bc2689ec96d61910ae6c7cf5c209616c7", "fim_s05e05": "5115b64a61e0819007f6382425f397ebe48a06de", "fim_s05e06": "0eb12c6d0baa38299b6afe70450e1c4bf02001fb", "fim_s05e07": "2178552485f41cb2fc30a6e0b5e0b6ff70129ef9", "fim_s05e08": "c5240a27e9956e388ab3aaa75078db473cf4f755", "fim_s05e09": "def459ef5462a3ae16aee3d7897eeeb272f366fc", "fim_s05e10": "b9c0b00bb44280c5a882ab86d65d62c864cd4aca", "fim_s05e11": "c8b22e0bb8d1e8db700ab334b7e1af487028abd1", "fim_s05e12": "d368b0c504d66794db1c576e2665f9e0bdc26149", "fim_s05e13": "9205df05a50ccebe7ef943dd753add0c113977e4", "fim_s05e14": "1f85660cc8a5eb6f02995b9d6791a2a693c78c15", "fim_s05e15": "8a5e01c14f3506c24c62204d57e882b40e77fbad", "fim_s05e16": "935236f72c771c29f37102ef039e91d6650ccb0b", "fim_s05e17": "e0ae2f283a214a454c1f5dc2d7f5266fcf06b625", "fim_s05e18": "aec9d8082e0b5d44df44530ac925eaf06d9eb36c", "fim_s05e19": "897e301efe7314d8b9badce6a976201aeb4a85bc", "fim_s05e20": "0bf2590abedcc2273813e641e19f6a85da0e868f", "fim_s05e21": "319945de56b444a1b576158af1a85f93ee1cce47", "fim_s05e22": "958dcd5354a6a1f92b9f7f825fa621a58a4f24b3", "fim_s05e23": "5ba88f8254ef41fc344e1cc4e19696e1dda8ed4f", "fim_s05e24": "a6f4b609f03c7c3db10f139ae9777b31faa87ade", "fim_s05e25": "2a457cace44f83d75d75a97d51ef8f7610b1ee5e", "fim_s05e26": "6109d956ffa8ef0e5654101188ceac10e0e4b00a", "fim_s06e01": "2f5a0741966fd0a65f39f6a46cf7e211c4abd615", "fim_s06e02": "772a81ef3a8bc4de77e9844a222024b7c6556902", "fim_s06e03": "c1776d478795ef7c1a80163df1d2577020fd67c1", "fim_s06e04": "31df7f9e1b14fe9e2cfda4bc374d42b5f6410ee8", "fim_s06e05": "63ae25a890c4ce775dd1e468cce9ff53ce1555d6", "fim_s06e06": "01eee5ecc47f9194252b0e6a79e3eab1e7c967bf", "fim_s06e07": "fb37ddb83fd33fb21f7ec531d2ab22ee553bfcff", "fim_s06e08": "e59cf84e2bda3c737e8e493eeacd8cc03226ed62", "fim_s06e09": "af76a47b6a4cc4f70c90b5a7a01198c36f9cefe2", "fim_s06e10": "64d83601772b03136d008755ac489d7db6f8782a", "fim_s06e11": "ee4b97ba3d04e45fb95f0bdd3489d2e89082fe46", "fim_s06e12": "624eb125ab329d0cbb6753e0485b3e898ec74f2a", "fim_s06e13": "265a77bbec7ffda9c4bc984a771eac89046d3db4", "fim_s06e14": "60f7e86420539011d092374e1fb9146f8a795108", "fim_s06e15": "b8c38b7727fe2711d5b27f5fd128e4f43f1230c6", "fim_s06e16": "e4e7c18f04dcfe19e6a122edd69dd0705b05815e", "fim_s06e17": "d75ffe2da2f92f8f80671d6a2f6de5ec41909f99", "fim_s06e18": "fb7b89e4a0984b3a31387199bc1e760e5e8e34fc", "fim_s06e19": "e768fb304bc6d8de89496d20649a068c9c482419", "fim_s06e20": "50b39be291c5d541587ec717df9703430f848266", "fim_s06e21": "617546695b583ece594330c591a6e4427eaaf77a", "fim_s06e22": "303d856ed659c809aab459684e1a94d1e4df5f76", "fim_s06e23": "a32aa10d18294a43fd3d6df25a129117f3261397", "fim_s06e24": "25fce908c96c825fd88e5b300f237eb34ec267b5", "fim_s06e25": "0aa2b8bcdc0d515ce645abebf96cf50eabbb2d68", "fim_s06e26": "e28ae456662b264cb791a071d9d8c9fca1b128c6", "fim_s07e01": "c2edfa142bb6c91446a3a747c49c9f3ee2234b9d", "fim_s07e02": "de9c1ca38abce51ed605d86bc6d85daf8fbe595a", "fim_s07e03": "585e527dd175d89f58723725d5aa1d4d27949616", "fim_s07e04": "f94a53d4ca0ff914b35de88f6488d5d0e666ce3b", "fim_s07e05": "58695b0e626411828275efd146d1e2c0953cb054", "fim_s07e06": "ed0d957a8e7f5b35835c9b617159dbef72378c6d", "fim_s07e07": "e75b261b0420f2051558f5d9b7c5d427ce997cbe", "fim_s07e08": "b1a72ee905e56567e9277247aee5ae78ce0ae3af", "fim_s07e09": "59f1d24cdb1b89775ee1c08e697c534b30ee09c0", "fim_s07e10": "fd83d40fcaf077b47fc3e953fcd71a9b55a5d230", "fim_s07e11": "c9a867d1ddc812b691b50cd413aa74d854cbe69f", "fim_s07e12": "df3ab652a7c120292069664886c72a05f6c3d31e", "fim_s07e13": "637041b3645af31dd7467b566f512b491582f59e", "fim_s07e14": "58ebd77188a430a23d63d36c317d40563265448c", "fim_s07e15": "029953957f3f5f96430b9900286671c45ed5029f", "fim_s07e16": "ebd3f72254542a3ab9bd05c8e8833f5ba4961d9e", "fim_s07e17": "c85dbaec5fc5508269cc1a68d8bc2d0fd09a1c5d", "fim_s07e18": "710e6e92c6e755ef6fb833b74b8335d2c4ae1855", "fim_s07e19": "4bc91bc47cc7c1d49682cea2ca5ea0897a14792a", "fim_s07e20": "1066134a286afa3ad42da6d40d800d4d70d10bb8", "fim_s07e21": "438f7eb81b4ef8ef20376bb87a3b07a938354066", "fim_s07e22": "b14f3aabbdafd30cdd91c18b4c8fd31ff6f50e8f", "fim_s07e23": "35e529712b734da8d2e4026f1e7297c064bb5686", "fim_s07e24": "a546204cece37896e6a49df7f53850586bb395ce", "fim_s07e25": "cd3624133eeac941a5a6e26912f9416a762017ef", "fim_s07e26": "7eb71360fafe1fb1f397b3e1ec5023e1a877e575", "fim_s08e01": "076cc70aeedf3b775070a174d24899c99bba48e7", "fim_s08e02": "ef55ff3f9e8be2c295687a9c05e607ef3902b74f", "fim_s08e03": "5d389fd6b7eb480b02f1a42e97ad496349c95ce4", "fim_s08e04": "c309a04a82c5d6b3a805de4ba6fdb1f2a7463283", "fim_s08e05": "83ba497a8e0e6c3cb0e030a0cc45ca2c412f264d", "fim_s08e06": "bb1a1e6aba6414d3d54e42dba64f636b6ccca1f4", "fim_s08e07": "cd90c566bec22350c83c53aa9892b3a31ad6c69a", "fim_s08e08": "7e100b9b553136604e411863d1b01f20b731c747", "fim_s08e09": "4360eba6f9068ddda8534a034e3eaada342bac97", "fim_s08e10": "94ad320e05ce30402d8f22b014f3004d76edfa6b", "fim_s08e11": "03b9ff19482c8db8c700d547025a23b8ca0c9b74", "fim_s08e12": "304d0723742c7fc10ef5d44868daef6684a5f674", "fim_s08e13": "3531ea698101b35a0823a843725e51500b6d70f2", "fim_s08e14": "4830050ce62167e61391b6cece11057caac273e6", "fim_s08e15": "8a2fd1e83457459fe29c548df94de3461d46adfd", "fim_s08e16": "2fb4a3ecc5062a1b5e7515c1f5e87f45151ca319", "fim_s08e17": "27bc30641357df42cae1a8622a6653c29540b550", "fim_s08e18": "c5f759656652a3c4745e2c25e90dae59442f46df", "fim_s08e19": "cb8b76cfcae9ca0496df5c3e8570e927093bce79", "fim_s08e20": "362db545da4fbaabcf31db03151f106ac66fecc1", "fim_s08e21": "c397c7a2c59f905e30d8654ebcb86417bc349dfc", "fim_s08e22": "9e790fb4b4796af8e8c9a7fd4a12cd69628243ba", "fim_s08e23": "19df7e2a55ca6141ac8708d8552fca36e19b593b", "fim_s08e24": "214f2c55f0d2bd625ed32d98bfda086c90d282b8", "fim_s08e25": "ee960deb72558e988f896e6e4bee03972ac598c7", "fim_s08e26": "af21facb8c787fe81b4fc03f7de529a87f425540", "fim_s09e01": "b42a1efd4656e1a935dbdd83bd5090323ec1f3c1", "fim_s09e02": "515fb107f552dfc34b85102276336c77a9daca37", "fim_s09e03": "6a584f94467f7df36ba970c2136f824abcdc8c16", "fim_s09e04": "72b9a3dc0493b064b12500bffaea6f7cf9206f41", "fim_s09e05": "c5540523c71796cc073836e82aca115a4a1c79ba", "fim_s09e06": "847bc311062d64baf047478323cc5aae20993eb9", "fim_s09e07": "6b5a6224ba2d52df20b73e2357a5c78facb0a60f", "fim_s09e08": "2a7fa34a6ddb7e8ee2263756f4d315bc323af94e", "fim_s09e09": "c60d111f27ea50bdb886adc71a8c5f946bfce280", "fim_s09e10": "8adfc1e86af3ec220c8d379a8a397588d98e11a6", "fim_s09e11": "40fb13de7799c29f8bf6f41090a54d24d49233a4", "fim_s09e12": "8cceb7e03154c46c61c6a0691180a654a8fe268d", "fim_s09e13": "7700e2e51cb7c8e634f7cabe28f066c4b1f0f72a", "fim_s09e14": "736f62c0c276f6aa1f911517b82d294dfce4b876", "fim_s09e15": "6a1ddf8ba3c0cd2713522f7582b16a0b48828a41", "fim_s09e16": "18b5e2fa57b4f82b76f3338a5ca44e95a289659e", "fim_s09e17": "d319eedfebff339b116985eeec7db529f952c9de", "fim_s09e18": "baa11cd12bee95a5bf2719b8f7bbe1fa3fad60f5", "fim_s09e19": "1757cfd03e199649d11d566d2c74f9a52d660bc8", "fim_s09e20": "5ba76c741cae8f83fb5ade47b946ba5925224577", "fim_s09e21": "beb7a4d66acd631f2891d2491702db673f026935", "fim_s09e22": "unknown", "fim_s09e23": "unknown", "fim_s09e24": "unknown", "fim_s09e25": "unknown", "fim_s09e26": "unknown", "eqg_original_movie": "a7d91653a1e68c7c1be95cb6f20d334c66266e98", "eqg_friendship_games": "41d5a6e45d13cde4220720e843ad5285d9ab95ff", "eqg_legend_of_everfree": "0ae355e182f7ad116127dcede68c50f247db6876", "eqg_rainbow_rocks": "3e9bccff77192b5acfce95d334805027f1de83e4", } izo_hashes = { "fim_s01e01": "f6a9024c2d5f1b98ed6f65ffb9e633b731633ca1", "fim_s01e02": "837028fbc12f6998da620bd687093cb71da44300", "fim_s01e03": "46cb8d1bdf8a59dbc38a080f7c1ee69bcf6ebe50", "fim_s01e04": "01fd19c33a7cfebae29630469f2b63f00e61ab67", "fim_s01e05": "7ed175f523796df134fe4a91cd924f495e7fc6f0", "fim_s01e06": "b44630407e4ba8aeecb9c9bce3094578a5989be5", "fim_s01e07": "c606a59baf8ea44667cdc1ef32dd0a8b439aa832", "fim_s01e08": "f9ece1c16c067f935f472ca44de2b42cbd4ce72c", "fim_s01e09": "081c9ad4947c28f111c64a2d0dfa3dbb122865a5", "fim_s01e10": "77ea25d4e5d6fbed37c87ef51498465c47850809", "fim_s01e11": "55b6a431b0fdb124106dc3ec3c9b34426780c7be", "fim_s01e12": "92d010ba3ac2b8fef2971ad95fa60b3d88b2dce3", "fim_s01e13": "39c55e57ade0e1dd75ac9f1d9528ebc9eb4049c7", "fim_s01e14": "ff9c70f14c1e9e17c90e5e74f0e6c830662e6641", "fim_s01e15": "c06c7e448eee5390c203692550deaa56c7ca99fa", "fim_s01e16": "f95e0b3e36bf56ad987a338d896c41ecfb5d6ef2", "fim_s01e17": "337e1d6a9d60b516ad4c1c252a2b3b43b110cd4a", "fim_s01e18": "f6adcde8831ca4801cd455c864e47ecf001becbd", "fim_s01e19": "bc91d89bf4361306ee03fbd66161f2c09e932180", "fim_s01e20": "077ef96ebe6b62f7b8dfbad054ccf48eeaa639ad", "fim_s01e21": "e79c648baffc2889e1bcda8bb1e6180ed229bdd0", "fim_s01e22": "d05cbf7e0062b23692542cfef4cb4509e1d1bb7c", "fim_s01e23": "6a6edc7f89bb1f5d297b9163abde7b60218b2f72", "fim_s01e24": "bd7bf5fca6f75306db9d06546a8151cdc8fa2af4", "fim_s01e25": "1f323ccc45e5ed180b91636cafaec314070eeb45", "fim_s01e26": "6c9f96dac12594083cadb1c520d9e9e238127414", "fim_s02e01": "961f47fc2d8617cb513a5c6e963ab5405583b24f", "fim_s02e02": "9cf031d0f8f5fa891a73f086417e3bf9f42f9ccc", "fim_s02e03": "12685c6cf5f1fac7e9114e78f091f42ee5f52b7d", "fim_s02e04": "3c789884ec1d340e55413a813bd39dab4290ef38", "fim_s02e05": "618049dbb04f4c9325f93854e9dd5bf984a459a4", "fim_s02e06": "de634231e70c2f23316944086f2c543c97c19a9f", "fim_s02e07": "4866c807dadb346607332b25c08530931967b4e3", "fim_s02e08": "d1f1885afd3eccc191b586ff7217be732b0d17a5", "fim_s02e09": "d52d0c06cec5ffabc441f2d390ea8260b63b8d47", "fim_s02e10": "9a9845afa5a4b5b64b418294debc45221042ba4f", "fim_s02e11": "f307bf2614e1ce8e19e581a683694a7d37f318c3", "fim_s02e12": "49bc1e0b89c944a5408d7d757779f130ff533ed6", "fim_s02e13": "5e56f840d7d5fbcf4c0724f9fbf6cbf5f00e56f5", "fim_s02e14": "ac86b17bfc3d9341dab3e6282506ead5326c3c70", "fim_s02e15": "1dcb2629a203f0a4f758dfee25930fe18f228a9b", "fim_s02e16": "c17161d4f77d44be1f8c72af6a15df630253ac53", "fim_s02e17": "b08637bc0489faaf9e1e7392536a6c218fadc2ab", "fim_s02e18": "a1191dd442d88bd50037cc8000eeb30b559c53e3", "fim_s02e19": "d9de8c47d06b6a922ba058b72ebfa816f302c573", "fim_s02e20": "fb72d51dab61f932313261a9a424f432e14df024", "fim_s02e21": "319344dd49593b60b2f9188deaac64c7207a91e4", "fim_s02e22": "3dacdacb0831dbf23ea02bc3edaa923b14c0216e", "fim_s02e23": "0415b042a97b52f6d4ee68a7dab90e6032160ab0", "fim_s02e24": "a0a48b6e4609e0c089966043ccdae842cfad7401", "fim_s02e25": "9f52e54d5273baafc607bc2e6503c5b4283a202e", "fim_s02e26": "5cd79ebce7f9302b4fd581c42d8f2ebb9d4dbf11", "fim_s03e01": "ad581fa4b222d653f8f067bf073251aad5c508f5", "fim_s03e02": "26043fa9c1ffd15ce10a32975a81cd0eb024a635", "fim_s03e03": "4ccc98ae5ae3a6845973f05414ee9d5f6bd106e3", "fim_s03e04": "2d028f89db0ab5ecf72126af65a0580d72f37fd8", "fim_s03e05": "a0c2edcc17bb07d07988199d4b8699ae1311cf92", "fim_s03e06": "fd7bdcd134c4e1a1039b58943143cd42c16daf22", "fim_s03e07": "06c566eb542db2fa6591e7d0be03d0588ffc72ce", "fim_s03e08": "fae0c07f7cdd4e071648477e861cf1e16a0bb705", "fim_s03e09": "3753c33c68f01934bc189ec017317f2bcbd70dd6", "fim_s03e10": "82844bb1ebabac572a239d5c08bc50ac602cc4b5", "fim_s03e11": "7cbc0294c8fd6412cd3f60f4d9dfde5a3a4ecae1", "fim_s03e12": "ba91ccd6ecb94859e895c8f3340ff4323ea8739f", "fim_s03e13": "b2bab2e7fa9e171aefcf0996b0987b4af25f16fe", "fim_s04e01": "0b8da7a6025a14aa2a2376d2519052fe883247cf", "fim_s04e02": "16dc2f4e35644a3b6df37ca3270eafa27fbc1dab", "fim_s04e03": "0bab184d4d58e520ea7a2ef54232a3f439076f83", "fim_s04e04": "3e971bd50fd6801a69169c81c9b22d2054b9102e", "fim_s04e05": "4efdae5536326d27db57cea43c8ffb9b486b2cbf", "fim_s04e06": "edb0561371fc453e6fe2474b2401948daab43333", "fim_s04e07": "4bbf58fdd9bc3f33376a44ccf164e8b33e14449e", "fim_s04e08": "f2a5c2ab930579c52aab347e003b6b4bb72c96b6", "fim_s04e09": "7d2f532d3540cd1147c9c3427e0f9a3bd6431162", "fim_s04e10": "f1f1ca515bd1bf1d462c570921c3486ebe99e5ff", "fim_s04e11": "4964977a3956c359d8800ee0f73a65bca0713805", "fim_s04e12": "ef639444d94cb91f057be13feb7d6107011d1c63", "fim_s04e13": "df95a0c61c2eaed4ea3a22d054a14d3533b5e61c", "fim_s04e14": "308cb00a6ab8bd4458759627063b64cff9e71b2b", "fim_s04e15": "19ac49592509505adb2e9cd6bdacb5c6e4ea3fcb", "fim_s04e16": "68f5b5df443dd44f31ba98b797b799022e4b9f58", "fim_s04e17": "06351f66834b2149ce3e4207af795d01f59986d7", "fim_s04e18": "afadfb72c758af6722df942ceb117ff59e26ca83", "fim_s04e19": "c48728696083634780d169c0334ef7570ff9b24c", "fim_s04e20": "bda66b67600367b1a79368e160d94f3f8132bfc3", "fim_s04e21": "36676b142a4765e1b4503067bae814245e5f9d9b", "fim_s04e22": "de86d1413b2d0f6d218f36fa19816d087c8fffda", "fim_s04e23": "06654109453e40c0a771f3f6f931c45638836eeb", "fim_s04e24": "8f0b8efe53b924ede6174b81fc2981accb24a126", "fim_s04e25": "ef09917da342d41a82a56c8688aa8de4fdaeca02", "fim_s04e26": "be4f396dff757242c5eaab50a72e1fe5d1f53223", "fim_s05e01": "dadbddb82ef59384c14c8ff341db3eff97f24ca8", "fim_s05e02": "210dcfc2ae2f3d81ae141c0fe53df47c8a9ab59d", "fim_s05e03": "78416fd1698876844ab838e55075c7d6224c9cc4", "fim_s05e04": "f5e84b08970e3b473361617abdc1f6a0bbe17792", "fim_s05e05": "304ed96576a36cd5646f1bcbe74279cd594871b3", "fim_s05e06": "83cee832d68583db83e6066380ecd0086ca2f1b8", "fim_s05e07": "1a64148801f604cf419f4edd3f0900af1f292112", "fim_s05e08": "6ef331a7f08cd0923f2f0326bf0d4fa0c17626f0", "fim_s05e09": "f7db68bf6e74be8ae26fe7d0c069db66dc48225f", "fim_s05e10": "d8d915e674acab272a146af517629e6d45a2e5c9", "fim_s05e11": "c07f5e9b1be669b59c28ce5aa26eb67546dd074f", "fim_s05e12": "6ea0cf770a228b9537c3c14e1382dd14b50997f7", "fim_s05e13": "27609192ad83af804295d8ae98c00ab8fc22eb5f", "fim_s05e14": "38a6b06c2ab0b3fc4fd7f238f89fe8bd277d28ef", "fim_s05e15": "4688d8c2050235dd5eebf7aa0099812eb5aeca34", "fim_s05e16": "71b2c6c682e142bbd53e80adc298d6b5c6f54123", "fim_s05e17": "a9ef2e4f7bbad929bd21f98563d07adfaab6129e", "fim_s05e18": "806444a811e91498d3cbfb001811cb21d548d4a8", "fim_s05e19": "f862eb7c844ae1f6c721e3fde703488b0e022dc2", "fim_s05e20": "253dc31d2279bfb7ec24228042702ed9e8f27a9a", "fim_s05e21": "beba681c7bf7e04f5537b9dda8d26eea81ad6abc", "fim_s05e22": "4f1118498df9a8a098b945843e2d4708099da8b1", "fim_s05e23": "700b3b57686af13fe370a509f7fe49c93fd12cb6", "fim_s05e24": "eff6b8292ce12f9427a1612e1c5736fada62f071", "fim_s05e25": "e0b85c17a79cb694cfedfe41c9f269ace64354ef", "fim_s05e26": "94173ecac9fa6d993b9e321c24a21d37b5295bdf", "fim_s06e01": "f9abcbff1c6559363dc2d01b1b131b1fd7652075", "fim_s06e02": "4570cb5c8f677081856503e9473b829af9ea5279", "fim_s06e03": "6da71d196d87b5a0d71a0d6cbc8d0739e6f08df3", "fim_s06e04": "a1e365ea7e0a5eee9d3284dc59345ceab167d8a0", "fim_s06e05": "717aca95a8877a9b5b5aaa4224c8eb595efbc8f8", "fim_s06e06": "5a1422a00d41575285b653b087fd72c2880452b5", "fim_s06e07": "e73b105b48d9554661558f0296bc4c34cb33c237", "fim_s06e08": "dda06b88279e0d2bbc536526af548d48b5e4f1e4", "fim_s06e09": "289234b9563758f0ced37eac3e6ed43e9bf2dd49", "fim_s06e10": "0368cfdd86f97d4ba49076cb164452e3aa920beb", "fim_s06e11": "11ab453a3f70f147952d35e9b4158920fc112524", "fim_s06e12": "9b4182df2d0e21170e23552796bcfcd33ecad1f1", "fim_s06e13": "b93b9faf3daa40b569c7d1200175a981dcc27335", "fim_s06e14": "46d41de3ce8e1811225930d27691c4de2049de85", "fim_s06e15": "fcb2fa148c53badc896b38e3b7ca9a9697ac063b", "fim_s06e16": "f3ae9395e43b6f3690795d8ab187af799e87cf29", "fim_s06e17": "498828cb2eee52431057d8b6728eccfb372df368", "fim_s06e18": "010ae66278753eb775d49bae32acab0d1c9c6fcd", "fim_s06e19": "8b6e00372b21906b74161141745cbb8643f937d5", "fim_s06e20": "2ea96c422a1d980cbc431da6df61cbf2bbb00ecf", "fim_s06e21": "fee21ca21647b474b10c57cd95b915f9454e3e4c", "fim_s06e22": "fd05dd1eafabb6ad23294f087400415428083952", "fim_s06e23": "e6b38a84d01530fb1710417c37b14edb9ceb0318", "fim_s06e24": "1d569bd9e83b93165a321d7f1137cc4f856e2f28", "fim_s06e25": "0988ecb76b172b1e0f2ab83c8a81a2b21d90cb23", "fim_s06e26": "7b255c9d24419c79b61cb03e1aa1c51ee869a59b", "fim_s07e01": "13552a4e583122cb929c335f2aabb96868ebe8bf", "fim_s07e02": "7168f16470d158d98e77cd2f956d3c3aeed950f0", "fim_s07e03": "f9d114d4a6ba8728ab1e66e2c72c2ab49afdb425", "fim_s07e04": "a4863d754430365e8f8352f1ea281b33152f62ec", "fim_s07e05": "f7e82abd7dfb363f7cc5d88c056ff39bf88fc91a", "fim_s07e06": "6f7d7a949963cf603d94a1d2f6ea2faba40d6ec0", "fim_s07e07": "f554058057385bf47b8e44247296bdecd74245d7", "fim_s07e08": "34a440cba25b5c0d28c4a4519fd666291c4eacb5", "fim_s07e09": "0a80082dcb8261751db62316624ddb1a5413d084", "fim_s07e10": "33959c2ac2e4210fe679a9d74ed035baa32ff581", "fim_s07e11": "f262360d1b534b9893277f17065efbc006e86597", "fim_s07e12": "decde67c0c63c957c89b3cc4814ec62010e0390f", "fim_s07e13": "a1fd8783e398141ab29969c968a9ef8d926a2761", "fim_s07e14": "538abc0eb0513c9d2915b7c226d63949977c8b45", "fim_s07e15": "ce4422c88246c21768f4188843824dc48bf2da30", "fim_s07e16": "ae4ba22190cdf32599bad2d1fa67371e31fa1bc5", "fim_s07e17": "c6a47aab6a11fccb4846ddabf650a47ed3ad95d9", "fim_s07e18": "800d3ba5074eb59556ff3d2d929fe55f33662467", "fim_s07e19": "49566b3604ef3414064cc5f6e2ddb71716f3c55e", "fim_s07e20": "856e6dc2c66f4c352fdb48625eae6cf8f8e8d0bf", "fim_s07e21": "55d99812da760cd528a735887e822517e06a30f4", "fim_s07e22": "62801071748a63e688e939b306d78b51f5f8e824", "fim_s07e23": "3a70ac5a28606d4e92fb9fec484997c5c45454bc", "fim_s07e24": "c8b532184c09ecb0f9eb468b18746edb95553053", "fim_s07e25": "da047c5cf0eb2e93cd163775fe1729e64ad3b5ca", "fim_s07e26": "b69f4c32c3717abef52fbf43e0f7d95e5ce0a9ae", "fim_s08e01": "695f7365f9fbb7df059f38911ef397c2525ddd0f", "fim_s08e02": "976df812644dbbaa5905dd9e6f2b712bfb9bce5a", "fim_s08e03": "4f8f3f236ad697147aa002d545907ce6427c1ef2", "fim_s08e04": "b3faf68eaf99deec4f5ef9ea162b5ec6df0412ff", "fim_s08e05": "7bdd85dec8e09fda1ec57cf56ce5cafc75188b31", "fim_s08e06": "6a53c91e3dd22ddc069d5cf85225d3ec9a141e2e", "fim_s08e07": "5b788645db606822e99d6188cbad5a06556bcd80", "fim_s08e08": "6cbcfde1eddaef72e4f54fab85602776c3f83f1f", "fim_s08e09": "1c01cfc679b442b2f05184327ca15fa0bb54a04c", "fim_s08e10": "8d680da1acdd9c8636fb6d093e3cae5e1072916c", "fim_s08e11": "3acc0bd1c3bd9ad1924a7baad0ae52d224f1b98f", "fim_s08e12": "814e5e20a1d5cb11b2d40630d8d9f09aadf0f367", "fim_s08e13": "f153eb6197d9587f10d5ef21b2564ecce8a0869c", "fim_s08e14": "003127da6e5d687a916e8f0facb99130f34d6856", "fim_s08e15": "c1db00dfe88352f6d09e90825ccf20aedda29416", "fim_s08e16": "bd5879b90204a8e45534f8f1021aeb05085b0cfb", "fim_s08e17": "d5d073670b0053b023bf7c82ba33bc58ae064e81", "fim_s08e18": "8bac4e2877cbdb46df87f1ca61c4f78ca41cb491", "fim_s08e19": "7d7cb95831868838738a12a215b04e97ab7d15d4", "fim_s08e20": "f631a709607562db55fc15b36657ef4ecddcc039", "fim_s08e21": "9690385208ee229254b635af82a09fa2ab9828c4", "fim_s08e22": "4379434a499ec49628607955e9d711d001c2c709", "fim_s08e23": "9d1bbd5ffa936a38dd50f819ee0ffa61bb8ce9b7", "fim_s08e24": "ae1aa3fa3ad40e000d3e4ce4775d665ff9f54cda", "fim_s08e25": "d51e3fe09bfcf10efcb7e81db41075d1afd48476", "fim_s08e26": "db77fb88f9de6d48f1abd197f366d481be9b76c6", "fim_s09e01": "697b309edad2fea1ac2d21e6c1d6e17dcedcabdb", "fim_s09e02": "756036b6d4932190a97b08c3578a5fd67fce328d", "fim_s09e03": "44a1060f5bf3d587e7bf85ad0dd172fefa636a83", "fim_s09e04": "430e5a5756053b09780400e1cb4bdad0662f492b", "fim_s09e05": "5d0fdc9c8dc60bdff56aec4c031de671f639749b", "fim_s09e06": "bb38c9d23c41df9c22668da7bf535988c3f1356f", "fim_s09e07": "ca180f475678b55150b92382edd7ce1c4350467d", "fim_s09e08": "e01251baa48012eb5a75e7798ca0f7970b08bbd6", "fim_s09e09": "f7d6a40d4c4405a96fdad66917fbb1b013b3d0aa", "fim_s09e10": "5c726e521b2160c19b9010fab42103e181e60ed5", "fim_s09e11": "54c9aedfe15155519c363c10133dd6d2277ad751", "fim_s09e12": "60f163a0092527684966532789bc2d90b8ee6986", "fim_s09e13": "6008d29554185bd36deec16b72368101b791fda3", "fim_s09e14": "44b896f80f0393559ee001e05c64df30a5dda905", "fim_s09e15": "6d880d843f8adecd6ec664128c1d355c486f2753", "fim_s09e16": "682776123da12ab638f3af15a75d7915dab38b4d", "fim_s09e17": "79e62638d6628c7ba97af6f6187a864e15787a7f", "fim_s09e18": "2974b45463f9ac41b4a29f63d9b0d013e311771e", "fim_s09e19": "8989d8a96822f29839bc3330487d7586aa927d37", "fim_s09e20": "088134fe57889434089515c889e590f33afeb099", "fim_s09e21": "7d6749aeb470e71c0e8bd51e3760ae9562f6579d", "fim_s09e22": "a164e1f92185d6fb51f1b5a25196c2377498ea43", "fim_s09e23": "3094600e69bd6934e925f58cb95a2430d1839f54", "fim_s09e24": "ded8ba2b9887a14597e41ec7256d9f45b0f61abc", "fim_s09e25": "ebab1fc09dadb040388d89486aeef1b75885b0b5", "fim_s09e26": "2ba14c1d174eb33155dd3f6ebace2279ba8b4ef6", "eqg_original_movie": "edea58393759cf74326e05d0b0a821e7ff54dc03", "eqg_friendship_games": "9619ab463a28b5498490ed1e43ff83ba247ac309", "eqg_legend_of_everfree": "6b65399c961f71afd2dfa2189d493a412ee3300a", "eqg_rainbow_rocks": "b5a8d331a5e6b37931282207874b334d488d562d", } unmix_hashes = { "fim_s01e01": "104d5aaa0c37225c200ad7b83fcf63034f05522f", "fim_s01e02": "e0d7b62bb2291a3d692f3feccdeefa184e80e7c1", "fim_s01e03": "c29cb960fae5e435016e02fa107ea1bcdbc75eae", "fim_s01e04": "19a6c63c6ebf8be3e040003e8c08627df98e5a44", "fim_s01e05": "9ef84b6c65927182d21b3cc3d4b2a847e6c16c18", "fim_s01e06": "50594babaf65ec42243c4a9800ee1bfebc6bc7d8", "fim_s01e07": "eb05c17e53a166ae660d1f3da6e90b8f14b7c79a", "fim_s01e08": "41577ab4d5a133397e55c03a747d41f4658b4481", "fim_s01e09": "59a587efd4f2292c9969f0e391e54ecf9d7cb594", "fim_s01e10": "df48e4108bfb89a9e6b490b07bf04dbd1bc3494b", "fim_s01e11": "907907fdc17d15f7e65d8ca1e079095b508b18a6", "fim_s01e12": "5a8007535d7b0925f077fde57a63791b71bad523", "fim_s01e13": "d6e26ed11d68262ebd32becca6529509f97c3a58", "fim_s01e14": "a5784986a38730fc1fb430ad0f0272fd0c7d0cf4", "fim_s01e15": "7fd50b75fe4a02337c25f8ff694e390f268a9456", "fim_s01e16": "0344d2ae7ee8f2f6461798e2900ed0ad3bd0b11d", "fim_s01e17": "28b9582d04a27dd13b0557730cf0eadaaa2cd629", "fim_s01e18": "6e84cf840ba430e9527f71ef2a0dc8ce6c218875", "fim_s01e19": "4a9a544a5663a6d7ac731a9083c9cce71aefdb6b", "fim_s01e20": "fa7733b6ab981829b4466c26f185738509ec062e", "fim_s01e21": "388cc179f81c44d23aee3fcffec64b17d3c10f01", "fim_s01e22": "e46ae2a8f92e82be3172ffd7d25f491de7cd0289", "fim_s01e23": "661828a394087d716376dc0139b61137389ae5de", "fim_s01e24": "b227ac1c89f3a25dc4522118750a58e978475b9c", "fim_s01e25": "2004b2aa9015498e1f2d8454856e5883bfbb3315", "fim_s01e26": "f66ca26045de350188d476ab5b501408c551acba", "fim_s02e01": "44b3fe6e76e60b7e70ef85aed2c0b2756c69cef7", "fim_s02e02": "35fff48ca55ecb1e601b57d896330900a55cbc92", "fim_s02e03": "87e1d81dcb3cffbca12550e143cc922e6a4a68b1", "fim_s02e04": "e5463604e47ddcc6c15552e65c4a8ae75ba55730", "fim_s02e05": "33149416515e8a3f04e1db6f636afecd20e4572c", "fim_s02e06": "8516c352f688e3be76cd9db8ca709d5dd62dc5bf", "fim_s02e07": "00f060faae1f1e0b6b82361b4c0fc4ddde90fd1d", "fim_s02e08": "059f6d9b21d6e78d7ff2593f01a032f045bb3246", "fim_s02e09": "153a013f94d0272ccaee7a4197f353a0756b917e", "fim_s02e10": "13de5f5c20c11bcf6afdf01a76db934f370c5afa", "fim_s02e11": "1f1b0e38ec868d3d976444b6b28548e023fd2508", "fim_s02e12": "cc9a39c32d44632161968b5b5babd9a38bc9b385", "fim_s02e13": "00ccf5ce90f50db65a4aeec6a8b6c75f056e9e19", "fim_s02e14": "b737ccfc861470abbc6e9e1d8d4d11dae78cfe8f", "fim_s02e15": "9e03f0e03c39f797f16211b086aea4f660f72684", "fim_s02e16": "ae02167827b0a27794154534fcb16c489df6418c", "fim_s02e17": "4a002a75c00b34ca9cf932a5cf7987b7abf84292", "fim_s02e18": "8fe1a7765ddf8ab1b062ea7ddb968d1c92569876", "fim_s02e19": "c4f73cec0071d37a021d96a0c7e8e8269cfa6b21", "fim_s02e20": "a8a392cbfe39a7f478f308dde7774f5264da1bef", "fim_s02e21": "c19ce429444c7862f6de83fcee8479ede4d2de0b", "fim_s02e22": "9054930ee5a9403da56794aa30ee8a9b8bc66c54", "fim_s02e23": "96baecf46098eccca9b26a587f8e588c622a0443", "fim_s02e24": "d304f143b81026f93628bc26f3018442d6b494b4", "fim_s02e25": "258b39c68661c89a7a3f564f0827382c365ac824", "fim_s02e26": "58df95dbcd6998ace149d16479add90f670b5156", "fim_s03e01": "197d03426d4bbdebff15e7723bb95f5cffccd230", "fim_s03e02": "3623a1cb7dea3c5fd43ed5b5e77c91f83d7ced4b", "fim_s03e03": "4df72e4dc9580acf9a9c598d5fbcb36e1f1429f7", "fim_s03e04": "213ba1e62e23931e58dc4ebb5f4b2dfd735f47ca", "fim_s03e05": "564a8c54b13320aa982ff2209565ef4750564194", "fim_s03e06": "ed1b6fb5b071ab56a78492e54875b082c0c8a074", "fim_s03e07": "a37fc358a86679130e9a4ff8baf0ba55ccf28b56", "fim_s03e08": "e050d4d8d14c26c6ebb859b01a4569d871fcd2b0", "fim_s03e09": "229dbc841e643c820653af1e7f3bd14f07ef1e1b", "fim_s03e10": "50f5e34647763ab9b007c7e86d0d7be94c297845", "fim_s03e11": "df0c039168e062c9dd57e77c974e810255dceb4f", "fim_s03e12": "3bf02a42574ea2a703639adddb3614172d50a525", "fim_s03e13": "788d4bc2660f27bf51fa57c469155d4e3a4488e4", "fim_s04e01": "b538e685b444022c8fce4916da0d422d13f6e576", "fim_s04e02": "aa205fdfd60da95fc4f99fffba883c567421dab1", "fim_s04e03": "fe64dcf231ccc42722fc855a3e74ae3bbbf0e643", "fim_s04e04": "001c014fe5324332f8d00f012efb35fefa47f533", "fim_s04e05": "e8a338e557652d21b161b8026dd5768e05976027", "fim_s04e06": "321426038fc6cc0bc8ddd086a79c3946a27cd436", "fim_s04e07": "611e78559560a6b63a099fc3397ef3a8eb0db4c7", "fim_s04e08": "3a463dd8573a4eb51dabd2efb28cd099681e110e", "fim_s04e09": "de37b8d59676f5f598ea6bda080077a371fbf601", "fim_s04e10": "9f40be459463d5513ba274189548c2b0b3552d36", "fim_s04e11": "bfa1dc10e4c64bdefe2c7ebe0fc2ffb9f4f1e443", "fim_s04e12": "13adfc2233f9a005b6bf708e7abd0b93faba828b", "fim_s04e13": "3fc37f27939d951f313111a9f792715731ed059d", "fim_s04e14": "88a29e567214de2c72b8b5a11466ea8f2e2b5c96", "fim_s04e15": "2728093f445fd3a21d0ac86598cf07f9b20fc45d", "fim_s04e16": "9f720280324c0d491fc75f179d69ca4965f46821", "fim_s04e17": "77437fa49ab73a880859c76ee4b6b522e60e5b5e", "fim_s04e18": "ee79772dd96bb4cf78e53879168b52044a80f83a", "fim_s04e19": "3a93bca017d5fe1f28a1f89c10df0abc49a33e42", "fim_s04e20": "8481897fa44d02624b3a8799ceba22a1b9087060", "fim_s04e21": "74f6f18d61e52673b99ba1c1379fcad2a1125899", "fim_s04e22": "cec016654cdd2f7c73864229f54760ea20b86c8a", "fim_s04e23": "1f894ae6cf86a865988b72b3d1a5060cf2f89a86", "fim_s04e24": "c6a4fe51123ba3ce0b0716df21e9989e8b555ade", "fim_s04e25": "204666928675f6b9bff9e92ef3b2176099180e9b", "fim_s04e26": "47de6d5d70bb61fc746a47d28fc53854d2be441b", "fim_s05e01": "2cafa7cc6ca0414c294c824d63c3a433e07b2f13", "fim_s05e02": "69260d52ed666d0dc97544ed5019e1914d674c53", "fim_s05e03": "5c7db95c1f78f2e7425096b67ce534fc872e6618", "fim_s05e04": "91da34c761324628156d1db94b5a06b77a327c41", "fim_s05e05": "ee74a927b5a5419fe9e851a132fe2d814f699f10", "fim_s05e06": "84d7d6c7cce9a4cca502d9c8a24ed0be862ea702", "fim_s05e07": "2c128bf9d45e75ffddd452ac2f20abd553203641", "fim_s05e08": "2954354ce57c7fedd61d372e8fa908731e3407bb", "fim_s05e09": "317ac1df8d316d175fca6e1715bb9f97cfc1ca13", "fim_s05e10": "f977396916f65a96ca0aa40fee7345d3ce0d34a8", "fim_s05e11": "1df05e8363c41ba68f5eaa2af0c22e29998d066d", "fim_s05e12": "bc08072dc6be4e21dae03db1464ae0b83f657a7f", "fim_s05e13": "674758bd23d8ba73d14858580b60fa5062e28fe0", "fim_s05e14": "047799ab041a30d774938d0dc2672c34935371f8", "fim_s05e15": "66ec2eb2ce01dc382cc32c9c6530374e8a96a938", "fim_s05e16": "4bc308416d420583a69642bfa83c8235fb84e1e1", "fim_s05e17": "8fe15d113baf7a5e140f53729aa11a4722aaec64", "fim_s05e18": "9ff2bf125cf6a07af325cb5cbba3d17b2579c498", "fim_s05e19": "af9a63a629b1fc154e600ab058878457bdc799e1", "fim_s05e20": "ea0635bf7757e53300a07d56887e4b1857cde93c", "fim_s05e21": "3fa37e113e81c54667db87204d68958cb4dfb50f", "fim_s05e22": "b5f54f2e4736b4e1be4d537d8d0edaa219ca16c7", "fim_s05e23": "40bce23e28e12686b667c431072f925b01bdf817", "fim_s05e24": "f08b14a1e6e41dccc4315aade503ed91ce2f71b3", "fim_s05e25": "85272b7929fa219f503ca08637f04b52458b2636", "fim_s05e26": "abe7acfacc78bba55e4da71eab592383e8c2010d", "fim_s06e01": "bb554e4b036f19bfe98b0e11db71732204e71747", "fim_s06e02": "9bcd6ba7d6da353e49da88ee9702a1c9e7b58f9d", "fim_s06e03": "44f278c1c3b1642f92dae0f1dc9d1869cb5edd3e", "fim_s06e04": "a23fc5a9b0171265d4c37debd3e6888b7d5cfadd", "fim_s06e05": "717c3c0a63515266079cafe0d0076cedf3eeb2c9", "fim_s06e06": "0c7f49103a41190b115f8d4d4a4134c10d03c441", "fim_s06e07": "dc1011e5ee80a45544ee9d9c5edd6bca2e0b9b10", "fim_s06e08": "70ebfee1498e73c6e0432e279cda32efc6c611d7", "fim_s06e09": "0ecdf3735a03bb49075e94221e840815e960e736", "fim_s06e10": "eac675ef07f63907353d758cc5dccf82c75bcf9c", "fim_s06e11": "43bd3f861e85bc7e21dc4523e112d82a3193edd0", "fim_s06e12": "cee4185a9957ecbd00b6b6f374fa56715ef04fcd", "fim_s06e13": "e040a7ec92cf7139a415a5e27bff994c8604c320", "fim_s06e14": "b1f071de18a25d9ee6f70674ff3c00379ed44e09", "fim_s06e15": "75473364424e5b4dd91e918657e41b5d4e7f0b61", "fim_s06e16": "a59a451317257474359cc85e523892e94c2f393c", "fim_s06e17": "0bd07609e7209aac921e21d9f33f6a8b16172d65", "fim_s06e18": "3d16b21da67c674735b61adddb831a0e2240d3b9", "fim_s06e19": "3594101ff21359203054973ead72905fd09b5680", "fim_s06e20": "562c8a5c548deef2a915c8fdd9f3ab069e1222ae", "fim_s06e21": "38a558ff7551b56511cb9644dfe2ceb7b0c635ec", "fim_s06e22": "5735868115acbe5c18d0370592eeff689402a3b3", "fim_s06e23": "9a40a8b6b6c304d286f34d2cee80535dc46c618a", "fim_s06e24": "8987aaca1bb4395673093c28ec00023b65abf451", "fim_s06e25": "f33e490c411fe249d90be1e23b455f422bbfea7d", "fim_s06e26": "70a737ebe36d85801294b2d22a462bf41a211a77", "fim_s07e01": "unknown", "fim_s07e02": "unknown", "fim_s07e03": "unknown", "fim_s07e04": "unknown", "fim_s07e05": "unknown", "fim_s07e06": "unknown", "fim_s07e07": "unknown", "fim_s07e08": "unknown", "fim_s07e09": "unknown", "fim_s07e10": "unknown", "fim_s07e11": "unknown", "fim_s07e12": "unknown", "fim_s07e13": "unknown", "fim_s07e14": "unknown", "fim_s07e15": "unknown", "fim_s07e16": "unknown", "fim_s07e17": "unknown", "fim_s07e18": "unknown", "fim_s07e19": "unknown", "fim_s07e20": "unknown", "fim_s07e21": "unknown", "fim_s07e22": "unknown", "fim_s07e23": "unknown", "fim_s07e24": "unknown", "fim_s07e25": "unknown", "fim_s07e26": "unknown", "fim_s08e01": "unknown", "fim_s08e02": "unknown", "fim_s08e03": "unknown", "fim_s08e04": "unknown", "fim_s08e05": "unknown", "fim_s08e06": "unknown", "fim_s08e07": "unknown", "fim_s08e08": "unknown", "fim_s08e09": "unknown", "fim_s08e10": "unknown", "fim_s08e11": "unknown", "fim_s08e12": "unknown", "fim_s08e13": "unknown", "fim_s08e14": "unknown", "fim_s08e15": "unknown", "fim_s08e16": "unknown", "fim_s08e17": "unknown", "fim_s08e18": "unknown", "fim_s08e19": "unknown", "fim_s08e20": "unknown", "fim_s08e21": "unknown", "fim_s08e22": "unknown", "fim_s08e23": "unknown", "fim_s08e24": "unknown", "fim_s08e25": "unknown", "fim_s08e26": "unknown", "fim_s09e01": "unknown", "fim_s09e02": "unknown", "fim_s09e03": "unknown", "fim_s09e04": "unknown", "fim_s09e05": "unknown", "fim_s09e06": "unknown", "fim_s09e07": "unknown", "fim_s09e08": "unknown", "fim_s09e09": "unknown", "fim_s09e10": "unknown", "fim_s09e11": "unknown", "fim_s09e12": "unknown", "fim_s09e13": "unknown", "fim_s09e14": "unknown", "fim_s09e15": "unknown", "fim_s09e16": "unknown", "fim_s09e17": "unknown", "fim_s09e18": "unknown", "fim_s09e19": "unknown", "fim_s09e20": "unknown", "fim_s09e21": "unknown", "fim_s09e22": "eec65346f3f84a2200a5e5918e89d91a2a549a29", "fim_s09e23": "1426f4afd21cc478d175cc89d342d4cb42d358b7", "fim_s09e24": "14ac91b7eda5698feed15ec53084aee5cf0fb571", "fim_s09e25": "60cbea49cec1cd14c94921c0990a42df754abf51", "fim_s09e26": "9b2d98c2eb5e336a97e49b3e35bffee39238414c", "eqg_original_movie": "5ecf9491a5808e7b32accabdf7c57273ad197192", "eqg_friendship_games": "31097404640cced077169c41e7cdf925ced9f165", "eqg_legend_of_everfree": "3104471033ef47b7cd303812dfeb720bd0d63f8a", "eqg_rainbow_rocks": "ff4e528045e846f2221229a3f38bababd5c0b733", }
friendly_names = {'fim_s01e01': 'Season 1, Episode 1', 'fim_s01e02': 'Season 1, Episode 2', 'fim_s01e03': 'Season 1, Episode 3', 'fim_s01e04': 'Season 1, Episode 4', 'fim_s01e05': 'Season 1, Episode 5', 'fim_s01e06': 'Season 1, Episode 6', 'fim_s01e07': 'Season 1, Episode 7', 'fim_s01e08': 'Season 1, Episode 8', 'fim_s01e09': 'Season 1, Episode 9', 'fim_s01e10': 'Season 1, Episode 10', 'fim_s01e11': 'Season 1, Episode 11', 'fim_s01e12': 'Season 1, Episode 12', 'fim_s01e13': 'Season 1, Episode 13', 'fim_s01e14': 'Season 1, Episode 14', 'fim_s01e15': 'Season 1, Episode 15', 'fim_s01e16': 'Season 1, Episode 16', 'fim_s01e17': 'Season 1, Episode 17', 'fim_s01e18': 'Season 1, Episode 18', 'fim_s01e19': 'Season 1, Episode 19', 'fim_s01e20': 'Season 1, Episode 20', 'fim_s01e21': 'Season 1, Episode 21', 'fim_s01e22': 'Season 1, Episode 22', 'fim_s01e23': 'Season 1, Episode 23', 'fim_s01e24': 'Season 1, Episode 24', 'fim_s01e25': 'Season 1, Episode 25', 'fim_s01e26': 'Season 1, Episode 26', 'fim_s02e01': 'Season 2, Episode 1', 'fim_s02e02': 'Season 2, Episode 2', 'fim_s02e03': 'Season 2, Episode 3', 'fim_s02e04': 'Season 2, Episode 4', 'fim_s02e05': 'Season 2, Episode 5', 'fim_s02e06': 'Season 2, Episode 6', 'fim_s02e07': 'Season 2, Episode 7', 'fim_s02e08': 'Season 2, Episode 8', 'fim_s02e09': 'Season 2, Episode 9', 'fim_s02e10': 'Season 2, Episode 10', 'fim_s02e11': 'Season 2, Episode 11', 'fim_s02e12': 'Season 2, Episode 12', 'fim_s02e13': 'Season 2, Episode 13', 'fim_s02e14': 'Season 2, Episode 14', 'fim_s02e15': 'Season 2, Episode 15', 'fim_s02e16': 'Season 2, Episode 16', 'fim_s02e17': 'Season 2, Episode 17', 'fim_s02e18': 'Season 2, Episode 18', 'fim_s02e19': 'Season 2, Episode 19', 'fim_s02e20': 'Season 2, Episode 20', 'fim_s02e21': 'Season 2, Episode 21', 'fim_s02e22': 'Season 2, Episode 22', 'fim_s02e23': 'Season 2, Episode 23', 'fim_s02e24': 'Season 2, Episode 24', 'fim_s02e25': 'Season 2, Episode 25', 'fim_s02e26': 'Season 2, Episode 26', 'fim_s03e01': 'Season 3, Episode 1', 'fim_s03e02': 'Season 3, Episode 2', 'fim_s03e03': 'Season 3, Episode 3', 'fim_s03e04': 'Season 3, Episode 4', 'fim_s03e05': 'Season 3, Episode 5', 'fim_s03e06': 'Season 3, Episode 6', 'fim_s03e07': 'Season 3, Episode 7', 'fim_s03e08': 'Season 3, Episode 8', 'fim_s03e09': 'Season 3, Episode 9', 'fim_s03e10': 'Season 3, Episode 10', 'fim_s03e11': 'Season 3, Episode 11', 'fim_s03e12': 'Season 3, Episode 12', 'fim_s03e13': 'Season 3, Episode 13', 'fim_s04e01': 'Season 4, Episode 1', 'fim_s04e02': 'Season 4, Episode 2', 'fim_s04e03': 'Season 4, Episode 3', 'fim_s04e04': 'Season 4, Episode 4', 'fim_s04e05': 'Season 4, Episode 5', 'fim_s04e06': 'Season 4, Episode 6', 'fim_s04e07': 'Season 4, Episode 7', 'fim_s04e08': 'Season 4, Episode 8', 'fim_s04e09': 'Season 4, Episode 9', 'fim_s04e10': 'Season 4, Episode 10', 'fim_s04e11': 'Season 4, Episode 11', 'fim_s04e12': 'Season 4, Episode 12', 'fim_s04e13': 'Season 4, Episode 13', 'fim_s04e14': 'Season 4, Episode 14', 'fim_s04e15': 'Season 4, Episode 15', 'fim_s04e16': 'Season 4, Episode 16', 'fim_s04e17': 'Season 4, Episode 17', 'fim_s04e18': 'Season 4, Episode 18', 'fim_s04e19': 'Season 4, Episode 19', 'fim_s04e20': 'Season 4, Episode 20', 'fim_s04e21': 'Season 4, Episode 21', 'fim_s04e22': 'Season 4, Episode 22', 'fim_s04e23': 'Season 4, Episode 23', 'fim_s04e24': 'Season 4, Episode 24', 'fim_s04e25': 'Season 4, Episode 25', 'fim_s04e26': 'Season 4, Episode 26', 'fim_s05e01': 'Season 5, Episode 1', 'fim_s05e02': 'Season 5, Episode 2', 'fim_s05e03': 'Season 5, Episode 3', 'fim_s05e04': 'Season 5, Episode 4', 'fim_s05e05': 'Season 5, Episode 5', 'fim_s05e06': 'Season 5, Episode 6', 'fim_s05e07': 'Season 5, Episode 7', 'fim_s05e08': 'Season 5, Episode 8', 'fim_s05e09': 'Season 5, Episode 9', 'fim_s05e10': 'Season 5, Episode 10', 'fim_s05e11': 'Season 5, Episode 11', 'fim_s05e12': 'Season 5, Episode 12', 'fim_s05e13': 'Season 5, Episode 13', 'fim_s05e14': 'Season 5, Episode 14', 'fim_s05e15': 'Season 5, Episode 15', 'fim_s05e16': 'Season 5, Episode 16', 'fim_s05e17': 'Season 5, Episode 17', 'fim_s05e18': 'Season 5, Episode 18', 'fim_s05e19': 'Season 5, Episode 19', 'fim_s05e20': 'Season 5, Episode 20', 'fim_s05e21': 'Season 5, Episode 21', 'fim_s05e22': 'Season 5, Episode 22', 'fim_s05e23': 'Season 5, Episode 23', 'fim_s05e24': 'Season 5, Episode 24', 'fim_s05e25': 'Season 5, Episode 25', 'fim_s05e26': 'Season 5, Episode 26', 'fim_s06e01': 'Season 6, Episode 1', 'fim_s06e02': 'Season 6, Episode 2', 'fim_s06e03': 'Season 6, Episode 3', 'fim_s06e04': 'Season 6, Episode 4', 'fim_s06e05': 'Season 6, Episode 5', 'fim_s06e06': 'Season 6, Episode 6', 'fim_s06e07': 'Season 6, Episode 7', 'fim_s06e08': 'Season 6, Episode 8', 'fim_s06e09': 'Season 6, Episode 9', 'fim_s06e10': 'Season 6, Episode 10', 'fim_s06e11': 'Season 6, Episode 11', 'fim_s06e12': 'Season 6, Episode 12', 'fim_s06e13': 'Season 6, Episode 13', 'fim_s06e14': 'Season 6, Episode 14', 'fim_s06e15': 'Season 6, Episode 15', 'fim_s06e16': 'Season 6, Episode 16', 'fim_s06e17': 'Season 6, Episode 17', 'fim_s06e18': 'Season 6, Episode 18', 'fim_s06e19': 'Season 6, Episode 19', 'fim_s06e20': 'Season 6, Episode 20', 'fim_s06e21': 'Season 6, Episode 21', 'fim_s06e22': 'Season 6, Episode 22', 'fim_s06e23': 'Season 6, Episode 23', 'fim_s06e24': 'Season 6, Episode 24', 'fim_s06e25': 'Season 6, Episode 25', 'fim_s06e26': 'Season 6, Episode 26', 'fim_s07e01': 'Season 7, Episode 1', 'fim_s07e02': 'Season 7, Episode 2', 'fim_s07e03': 'Season 7, Episode 3', 'fim_s07e04': 'Season 7, Episode 4', 'fim_s07e05': 'Season 7, Episode 5', 'fim_s07e06': 'Season 7, Episode 6', 'fim_s07e07': 'Season 7, Episode 7', 'fim_s07e08': 'Season 7, Episode 8', 'fim_s07e09': 'Season 7, Episode 9', 'fim_s07e10': 'Season 7, Episode 10', 'fim_s07e11': 'Season 7, Episode 11', 'fim_s07e12': 'Season 7, Episode 12', 'fim_s07e13': 'Season 7, Episode 13', 'fim_s07e14': 'Season 7, Episode 14', 'fim_s07e15': 'Season 7, Episode 15', 'fim_s07e16': 'Season 7, Episode 16', 'fim_s07e17': 'Season 7, Episode 17', 'fim_s07e18': 'Season 7, Episode 18', 'fim_s07e19': 'Season 7, Episode 19', 'fim_s07e20': 'Season 7, Episode 20', 'fim_s07e21': 'Season 7, Episode 21', 'fim_s07e22': 'Season 7, Episode 22', 'fim_s07e23': 'Season 7, Episode 23', 'fim_s07e24': 'Season 7, Episode 24', 'fim_s07e25': 'Season 7, Episode 25', 'fim_s07e26': 'Season 7, Episode 26', 'fim_s08e01': 'Season 8, Episode 1', 'fim_s08e02': 'Season 8, Episode 2', 'fim_s08e03': 'Season 8, Episode 3', 'fim_s08e04': 'Season 8, Episode 4', 'fim_s08e05': 'Season 8, Episode 5', 'fim_s08e06': 'Season 8, Episode 6', 'fim_s08e07': 'Season 8, Episode 7', 'fim_s08e08': 'Season 8, Episode 8', 'fim_s08e09': 'Season 8, Episode 9', 'fim_s08e10': 'Season 8, Episode 10', 'fim_s08e11': 'Season 8, Episode 11', 'fim_s08e12': 'Season 8, Episode 12', 'fim_s08e13': 'Season 8, Episode 13', 'fim_s08e14': 'Season 8, Episode 14', 'fim_s08e15': 'Season 8, Episode 15', 'fim_s08e16': 'Season 8, Episode 16', 'fim_s08e17': 'Season 8, Episode 17', 'fim_s08e18': 'Season 8, Episode 18', 'fim_s08e19': 'Season 8, Episode 19', 'fim_s08e20': 'Season 8, Episode 20', 'fim_s08e21': 'Season 8, Episode 21', 'fim_s08e22': 'Season 8, Episode 22', 'fim_s08e23': 'Season 8, Episode 23', 'fim_s08e24': 'Season 8, Episode 24', 'fim_s08e25': 'Season 8, Episode 25', 'fim_s08e26': 'Season 8, Episode 26', 'fim_s09e01': 'Season 9, Episode 1', 'fim_s09e02': 'Season 9, Episode 2', 'fim_s09e03': 'Season 9, Episode 3', 'fim_s09e04': 'Season 9, Episode 4', 'fim_s09e05': 'Season 9, Episode 5', 'fim_s09e06': 'Season 9, Episode 6', 'fim_s09e07': 'Season 9, Episode 7', 'fim_s09e08': 'Season 9, Episode 8', 'fim_s09e09': 'Season 9, Episode 9', 'fim_s09e10': 'Season 9, Episode 10', 'fim_s09e11': 'Season 9, Episode 11', 'fim_s09e12': 'Season 9, Episode 12', 'fim_s09e13': 'Season 9, Episode 13', 'fim_s09e14': 'Season 9, Episode 14', 'fim_s09e15': 'Season 9, Episode 15', 'fim_s09e16': 'Season 9, Episode 16', 'fim_s09e17': 'Season 9, Episode 17', 'fim_s09e18': 'Season 9, Episode 18', 'fim_s09e19': 'Season 9, Episode 19', 'fim_s09e20': 'Season 9, Episode 20', 'fim_s09e21': 'Season 9, Episode 21', 'eqg_original_movie': 'Equestria Girls (Original)', 'eqg_friendship_games': 'Equestria Girls: Friendship Games', 'eqg_legend_of_everfree': 'Equestria Girls: Legend of Everfree', 'eqg_rainbow_rocks': 'Equestria Girls: Rainbow Rocks'} original_hashes = {'fim_s01e01': '5735ea49c43ea56109171cde2547a42cecb839cc', 'fim_s01e02': '8d61b132aaff821b0b93fbff5baf74a017b93942', 'fim_s01e03': '6c5e832dbdc91aec2159bd517a818c6aa1057613', 'fim_s01e04': 'b18eb5b02993dfed9cd383e54207119ee5cb51e4', 'fim_s01e05': '7d7461461e39dd807ad5ace457d762c65075e62e', 'fim_s01e06': '94138a8ed565a1d39ab43cbf9244720372287d66', 'fim_s01e07': 'a416681e16e9d8397e9ae06ecdfd9d2386e8f8f1', 'fim_s01e08': 'fedfadaa3d737e59fe1617407f80157258858004', 'fim_s01e09': '75c31f8555f4b6a931b41185dd9aa645a6b5d9df', 'fim_s01e10': '868a4050fd56eb397b25624a6bd6efea7b05f4d1', 'fim_s01e11': 'd9c603f4073e796454935eb855205f424b2bc0b0', 'fim_s01e12': '9aa15d4cc4d6a1596b1b964add7398149cff5d4d', 'fim_s01e13': 'aa94e28636d9ad224b71c544a1ad84598a4899f6', 'fim_s01e14': '6ea73fc00e5626669269c207b3ee0e52f018e382', 'fim_s01e15': '701f2862a9aeefca70f6d314c0589c7a8a179ccc', 'fim_s01e16': 'dfcb90fb26d55641b554268d1d93efaa11ad285c', 'fim_s01e17': 'cc867f314d68564ce48e0bcad9b57a7af80a1520', 'fim_s01e18': 'e54ae83f44efd7dcab1bafa88eb6f3a6bd7f6c2a', 'fim_s01e19': '96ca30cedca8170dad9611da02f774980ad83737', 'fim_s01e20': 'f4dbd0df7214583e0848360c89a8bde432c91b6d', 'fim_s01e21': 'ec5b1b9036ddce7cd62c0af9fb0c96a4dd85a52a', 'fim_s01e22': '89aae028e1658c083c18a99216d1a549b30bce21', 'fim_s01e23': 'b18d2ab28435fbafb90046328e77751b8ca8cf6f', 'fim_s01e24': '2e72f04bb686ea6273ebdda7f712ae32d76d0594', 'fim_s01e25': '225228dcba4fdc08601b4b48cb182a9bc5d841f8', 'fim_s01e26': '69030f04a1395db8a732149d552c7f9a5f95cad7', 'fim_s02e01': 'b188a4b7b3d9e74fa26dcb573e29216f450d677f', 'fim_s02e02': '9072ea4af815c04c86fe00884aa55acde51c8de8', 'fim_s02e03': 'bc9bcab5e626e649185a237485cd6c45044febac', 'fim_s02e04': '0bf3465a2adb91829d8fe16d8354f4dea9a96a4f', 'fim_s02e05': '4d3033f9b443ebf892db563ecc183b15ad171134', 'fim_s02e06': 'e80a27201a93226b99377e5f3c7d60a337bfb974', 'fim_s02e07': '5fd93be8ea58d26ed2eac7aee6cab6ea6d606da8', 'fim_s02e08': '0f4197de4d3e5e29bb916c68c989c42003a3cae7', 'fim_s02e09': '4aec2125d344f7651a25869f6fefe2d340cf255c', 'fim_s02e10': '2df0e6d01d8510db000065baa2d028240d7dae49', 'fim_s02e11': '7586a9586ffd57ddacda6201abd1e919cc6a782f', 'fim_s02e12': 'dd027fe0d956c851f8d4b633cfc56e0b5b24f786', 'fim_s02e13': '667ef565d8fd3fa82dcd54cf2b469a5e1ae85c5e', 'fim_s02e14': '69d1e1a4610eba20343287f2fd5a3419b74fb6e7', 'fim_s02e15': 'feedd3600151fa1834f9ff73363ce8931f7b5ec6', 'fim_s02e16': 'd2bb3a3f5daa5553b5be15894b4e209b211ea178', 'fim_s02e17': '4524d942ca3834230e9766ba1e4ad4e51681ed0c', 'fim_s02e18': '6ac536af39ec9a3096296af9da5559ae4a5d8523', 'fim_s02e19': '82e77f72f7b67126ae7fd85e87cccb1d6fc586ff', 'fim_s02e20': '333994b8309e760d0eaeaa793b18020b5b7acd9c', 'fim_s02e21': '1b085707a89006b05290cc4df7e29030b42c85d0', 'fim_s02e22': 'cee734596a7c3f57e7c87e8542746142745375c7', 'fim_s02e23': 'e698ae4ec212fbef527914f5eeb4ee6cae8060fd', 'fim_s02e24': '14b3bb367891df57cbd39aa9f34309d6a1658884', 'fim_s02e25': 'b6e1cc5ec6bcd7c9a14e901a278c7eb940ea93e1', 'fim_s02e26': '201d11c9eea301bb85f222b392f88289d1b966d9', 'fim_s03e01': '4408659e47d65176add7e46137f67b1756ea0265', 'fim_s03e02': '32ace5c7e56f0dc92d192ccc3c5c5eda4ff32f29', 'fim_s03e03': '60422fc559b26daeb7392b9c7839c6787e1bbdf0', 'fim_s03e04': '51487978bdf587624f56abeb18e98703bb738ab1', 'fim_s03e05': 'ebd85277ee14163e7f5ec690197e617346032bd3', 'fim_s03e06': '36c4ac7e393b268ce76cf7f834a52bcdd170a22c', 'fim_s03e07': '7faadb4e07ea50f9660d4d29c5ec98e5080da2e2', 'fim_s03e08': '3b4001fce0ab49313f59afcecfdb3944564b3682', 'fim_s03e09': '5c045b5532829d502adcc9839cd22b961f5e7342', 'fim_s03e10': '8212168e108028e5e4906a4fabba10530f2550a9', 'fim_s03e11': '520d1362576df396c8db428fe430b4b14260346c', 'fim_s03e12': '735ca37f27f8c75a7d3bc23bd43c933a4aa073c5', 'fim_s03e13': 'b9c1e54800c8965a2b3a3ab73ba8e1a3b24dd58b', 'fim_s04e01': 'fd420d33b9f256868ee5e379eb9c8a2bc3b40b09', 'fim_s04e02': '73b72f84f85ee26ee9c2728b933c86d7d370a69b', 'fim_s04e03': '5bedfc8eb95c9b692daa4a806ff35e6d5c215d1b', 'fim_s04e04': '4f6aa4d45802b3304f04e6a4e3a7456933878a21', 'fim_s04e05': 'a03e2eb3d089408e3b37d3cd258736e81ee2e2cb', 'fim_s04e06': '678bd6d70839761b9a4271af8cf55e526c12e6ca', 'fim_s04e07': 'ca0cd431366b9d29282f1cafed3c4b1194670a89', 'fim_s04e08': '81f8192af3404dc563ba9d5567e89e781201226a', 'fim_s04e09': 'aad68c1cb09aa95482e22cfc9fd4495445cfe1e6', 'fim_s04e10': '7be7993cc1a2ea9866f0ee6350765c0973fbab48', 'fim_s04e11': 'a7476b04649ab027f6419d439b7d7add52342145', 'fim_s04e12': '977825b271c87e55d760ef3f93663f1491c16fcb', 'fim_s04e13': '3d0fc66b9f550f84d599ae26a0561888620b83a2', 'fim_s04e14': 'ef3e76f455176c085d74f5571fbe20e378e2db15', 'fim_s04e15': '26ef4519511b99b13d112dca008f8933bb0417ef', 'fim_s04e16': '09155205ae4c06db7fc224016f3c529b2d72aeeb', 'fim_s04e17': 'd4516745d73a6c6b06922367370d9b60c1e9c9e2', 'fim_s04e18': '0166151f5eb32b945fc0a7c87a83661193dc8a7e', 'fim_s04e19': '714b02bc8baf1d892cd7a40d1846e2a98e17f771', 'fim_s04e20': 'a541743d1e4c68fec52ba8890ffde23b53d76df1', 'fim_s04e21': '92ce42d2b108fe9adf0b6be24e91d8f7772a2b97', 'fim_s04e22': 'e274ef133ad4b64751737407ff2d56fafd404669', 'fim_s04e23': '19983b86893a51ff9a9c7dfd975724dcba07f6fd', 'fim_s04e24': '477c881d8da11102e280363b61a65fb3da41eecb', 'fim_s04e25': '51d3e59472d7393a46303f7f7be084929242145b', 'fim_s04e26': '97444afe8ab97a9d31586eb812a2fcd239fd055a', 'fim_s05e01': '5dbb872d9bff9054a28e7438558d6a1f8264ff91', 'fim_s05e02': 'c3f15e75538b723a08fd602faba7714bd6e6d812', 'fim_s05e03': '4621407df2da79bd229df24599f5caff56b88ea1', 'fim_s05e04': 'f839303bc2689ec96d61910ae6c7cf5c209616c7', 'fim_s05e05': '5115b64a61e0819007f6382425f397ebe48a06de', 'fim_s05e06': '0eb12c6d0baa38299b6afe70450e1c4bf02001fb', 'fim_s05e07': '2178552485f41cb2fc30a6e0b5e0b6ff70129ef9', 'fim_s05e08': 'c5240a27e9956e388ab3aaa75078db473cf4f755', 'fim_s05e09': 'def459ef5462a3ae16aee3d7897eeeb272f366fc', 'fim_s05e10': 'b9c0b00bb44280c5a882ab86d65d62c864cd4aca', 'fim_s05e11': 'c8b22e0bb8d1e8db700ab334b7e1af487028abd1', 'fim_s05e12': 'd368b0c504d66794db1c576e2665f9e0bdc26149', 'fim_s05e13': '9205df05a50ccebe7ef943dd753add0c113977e4', 'fim_s05e14': '1f85660cc8a5eb6f02995b9d6791a2a693c78c15', 'fim_s05e15': '8a5e01c14f3506c24c62204d57e882b40e77fbad', 'fim_s05e16': '935236f72c771c29f37102ef039e91d6650ccb0b', 'fim_s05e17': 'e0ae2f283a214a454c1f5dc2d7f5266fcf06b625', 'fim_s05e18': 'aec9d8082e0b5d44df44530ac925eaf06d9eb36c', 'fim_s05e19': '897e301efe7314d8b9badce6a976201aeb4a85bc', 'fim_s05e20': '0bf2590abedcc2273813e641e19f6a85da0e868f', 'fim_s05e21': '319945de56b444a1b576158af1a85f93ee1cce47', 'fim_s05e22': '958dcd5354a6a1f92b9f7f825fa621a58a4f24b3', 'fim_s05e23': '5ba88f8254ef41fc344e1cc4e19696e1dda8ed4f', 'fim_s05e24': 'a6f4b609f03c7c3db10f139ae9777b31faa87ade', 'fim_s05e25': '2a457cace44f83d75d75a97d51ef8f7610b1ee5e', 'fim_s05e26': '6109d956ffa8ef0e5654101188ceac10e0e4b00a', 'fim_s06e01': '2f5a0741966fd0a65f39f6a46cf7e211c4abd615', 'fim_s06e02': '772a81ef3a8bc4de77e9844a222024b7c6556902', 'fim_s06e03': 'c1776d478795ef7c1a80163df1d2577020fd67c1', 'fim_s06e04': '31df7f9e1b14fe9e2cfda4bc374d42b5f6410ee8', 'fim_s06e05': '63ae25a890c4ce775dd1e468cce9ff53ce1555d6', 'fim_s06e06': '01eee5ecc47f9194252b0e6a79e3eab1e7c967bf', 'fim_s06e07': 'fb37ddb83fd33fb21f7ec531d2ab22ee553bfcff', 'fim_s06e08': 'e59cf84e2bda3c737e8e493eeacd8cc03226ed62', 'fim_s06e09': 'af76a47b6a4cc4f70c90b5a7a01198c36f9cefe2', 'fim_s06e10': '64d83601772b03136d008755ac489d7db6f8782a', 'fim_s06e11': 'ee4b97ba3d04e45fb95f0bdd3489d2e89082fe46', 'fim_s06e12': '624eb125ab329d0cbb6753e0485b3e898ec74f2a', 'fim_s06e13': '265a77bbec7ffda9c4bc984a771eac89046d3db4', 'fim_s06e14': '60f7e86420539011d092374e1fb9146f8a795108', 'fim_s06e15': 'b8c38b7727fe2711d5b27f5fd128e4f43f1230c6', 'fim_s06e16': 'e4e7c18f04dcfe19e6a122edd69dd0705b05815e', 'fim_s06e17': 'd75ffe2da2f92f8f80671d6a2f6de5ec41909f99', 'fim_s06e18': 'fb7b89e4a0984b3a31387199bc1e760e5e8e34fc', 'fim_s06e19': 'e768fb304bc6d8de89496d20649a068c9c482419', 'fim_s06e20': '50b39be291c5d541587ec717df9703430f848266', 'fim_s06e21': '617546695b583ece594330c591a6e4427eaaf77a', 'fim_s06e22': '303d856ed659c809aab459684e1a94d1e4df5f76', 'fim_s06e23': 'a32aa10d18294a43fd3d6df25a129117f3261397', 'fim_s06e24': '25fce908c96c825fd88e5b300f237eb34ec267b5', 'fim_s06e25': '0aa2b8bcdc0d515ce645abebf96cf50eabbb2d68', 'fim_s06e26': 'e28ae456662b264cb791a071d9d8c9fca1b128c6', 'fim_s07e01': 'c2edfa142bb6c91446a3a747c49c9f3ee2234b9d', 'fim_s07e02': 'de9c1ca38abce51ed605d86bc6d85daf8fbe595a', 'fim_s07e03': '585e527dd175d89f58723725d5aa1d4d27949616', 'fim_s07e04': 'f94a53d4ca0ff914b35de88f6488d5d0e666ce3b', 'fim_s07e05': '58695b0e626411828275efd146d1e2c0953cb054', 'fim_s07e06': 'ed0d957a8e7f5b35835c9b617159dbef72378c6d', 'fim_s07e07': 'e75b261b0420f2051558f5d9b7c5d427ce997cbe', 'fim_s07e08': 'b1a72ee905e56567e9277247aee5ae78ce0ae3af', 'fim_s07e09': '59f1d24cdb1b89775ee1c08e697c534b30ee09c0', 'fim_s07e10': 'fd83d40fcaf077b47fc3e953fcd71a9b55a5d230', 'fim_s07e11': 'c9a867d1ddc812b691b50cd413aa74d854cbe69f', 'fim_s07e12': 'df3ab652a7c120292069664886c72a05f6c3d31e', 'fim_s07e13': '637041b3645af31dd7467b566f512b491582f59e', 'fim_s07e14': '58ebd77188a430a23d63d36c317d40563265448c', 'fim_s07e15': '029953957f3f5f96430b9900286671c45ed5029f', 'fim_s07e16': 'ebd3f72254542a3ab9bd05c8e8833f5ba4961d9e', 'fim_s07e17': 'c85dbaec5fc5508269cc1a68d8bc2d0fd09a1c5d', 'fim_s07e18': '710e6e92c6e755ef6fb833b74b8335d2c4ae1855', 'fim_s07e19': '4bc91bc47cc7c1d49682cea2ca5ea0897a14792a', 'fim_s07e20': '1066134a286afa3ad42da6d40d800d4d70d10bb8', 'fim_s07e21': '438f7eb81b4ef8ef20376bb87a3b07a938354066', 'fim_s07e22': 'b14f3aabbdafd30cdd91c18b4c8fd31ff6f50e8f', 'fim_s07e23': '35e529712b734da8d2e4026f1e7297c064bb5686', 'fim_s07e24': 'a546204cece37896e6a49df7f53850586bb395ce', 'fim_s07e25': 'cd3624133eeac941a5a6e26912f9416a762017ef', 'fim_s07e26': '7eb71360fafe1fb1f397b3e1ec5023e1a877e575', 'fim_s08e01': '076cc70aeedf3b775070a174d24899c99bba48e7', 'fim_s08e02': 'ef55ff3f9e8be2c295687a9c05e607ef3902b74f', 'fim_s08e03': '5d389fd6b7eb480b02f1a42e97ad496349c95ce4', 'fim_s08e04': 'c309a04a82c5d6b3a805de4ba6fdb1f2a7463283', 'fim_s08e05': '83ba497a8e0e6c3cb0e030a0cc45ca2c412f264d', 'fim_s08e06': 'bb1a1e6aba6414d3d54e42dba64f636b6ccca1f4', 'fim_s08e07': 'cd90c566bec22350c83c53aa9892b3a31ad6c69a', 'fim_s08e08': '7e100b9b553136604e411863d1b01f20b731c747', 'fim_s08e09': '4360eba6f9068ddda8534a034e3eaada342bac97', 'fim_s08e10': '94ad320e05ce30402d8f22b014f3004d76edfa6b', 'fim_s08e11': '03b9ff19482c8db8c700d547025a23b8ca0c9b74', 'fim_s08e12': '304d0723742c7fc10ef5d44868daef6684a5f674', 'fim_s08e13': '3531ea698101b35a0823a843725e51500b6d70f2', 'fim_s08e14': '4830050ce62167e61391b6cece11057caac273e6', 'fim_s08e15': '8a2fd1e83457459fe29c548df94de3461d46adfd', 'fim_s08e16': '2fb4a3ecc5062a1b5e7515c1f5e87f45151ca319', 'fim_s08e17': '27bc30641357df42cae1a8622a6653c29540b550', 'fim_s08e18': 'c5f759656652a3c4745e2c25e90dae59442f46df', 'fim_s08e19': 'cb8b76cfcae9ca0496df5c3e8570e927093bce79', 'fim_s08e20': '362db545da4fbaabcf31db03151f106ac66fecc1', 'fim_s08e21': 'c397c7a2c59f905e30d8654ebcb86417bc349dfc', 'fim_s08e22': '9e790fb4b4796af8e8c9a7fd4a12cd69628243ba', 'fim_s08e23': '19df7e2a55ca6141ac8708d8552fca36e19b593b', 'fim_s08e24': '214f2c55f0d2bd625ed32d98bfda086c90d282b8', 'fim_s08e25': 'ee960deb72558e988f896e6e4bee03972ac598c7', 'fim_s08e26': 'af21facb8c787fe81b4fc03f7de529a87f425540', 'fim_s09e01': 'b42a1efd4656e1a935dbdd83bd5090323ec1f3c1', 'fim_s09e02': '515fb107f552dfc34b85102276336c77a9daca37', 'fim_s09e03': '6a584f94467f7df36ba970c2136f824abcdc8c16', 'fim_s09e04': '72b9a3dc0493b064b12500bffaea6f7cf9206f41', 'fim_s09e05': 'c5540523c71796cc073836e82aca115a4a1c79ba', 'fim_s09e06': '847bc311062d64baf047478323cc5aae20993eb9', 'fim_s09e07': '6b5a6224ba2d52df20b73e2357a5c78facb0a60f', 'fim_s09e08': '2a7fa34a6ddb7e8ee2263756f4d315bc323af94e', 'fim_s09e09': 'c60d111f27ea50bdb886adc71a8c5f946bfce280', 'fim_s09e10': '8adfc1e86af3ec220c8d379a8a397588d98e11a6', 'fim_s09e11': '40fb13de7799c29f8bf6f41090a54d24d49233a4', 'fim_s09e12': '8cceb7e03154c46c61c6a0691180a654a8fe268d', 'fim_s09e13': '7700e2e51cb7c8e634f7cabe28f066c4b1f0f72a', 'fim_s09e14': '736f62c0c276f6aa1f911517b82d294dfce4b876', 'fim_s09e15': '6a1ddf8ba3c0cd2713522f7582b16a0b48828a41', 'fim_s09e16': '18b5e2fa57b4f82b76f3338a5ca44e95a289659e', 'fim_s09e17': 'd319eedfebff339b116985eeec7db529f952c9de', 'fim_s09e18': 'baa11cd12bee95a5bf2719b8f7bbe1fa3fad60f5', 'fim_s09e19': '1757cfd03e199649d11d566d2c74f9a52d660bc8', 'fim_s09e20': '5ba76c741cae8f83fb5ade47b946ba5925224577', 'fim_s09e21': 'beb7a4d66acd631f2891d2491702db673f026935', 'fim_s09e22': 'unknown', 'fim_s09e23': 'unknown', 'fim_s09e24': 'unknown', 'fim_s09e25': 'unknown', 'fim_s09e26': 'unknown', 'eqg_original_movie': 'a7d91653a1e68c7c1be95cb6f20d334c66266e98', 'eqg_friendship_games': '41d5a6e45d13cde4220720e843ad5285d9ab95ff', 'eqg_legend_of_everfree': '0ae355e182f7ad116127dcede68c50f247db6876', 'eqg_rainbow_rocks': '3e9bccff77192b5acfce95d334805027f1de83e4'} izo_hashes = {'fim_s01e01': 'f6a9024c2d5f1b98ed6f65ffb9e633b731633ca1', 'fim_s01e02': '837028fbc12f6998da620bd687093cb71da44300', 'fim_s01e03': '46cb8d1bdf8a59dbc38a080f7c1ee69bcf6ebe50', 'fim_s01e04': '01fd19c33a7cfebae29630469f2b63f00e61ab67', 'fim_s01e05': '7ed175f523796df134fe4a91cd924f495e7fc6f0', 'fim_s01e06': 'b44630407e4ba8aeecb9c9bce3094578a5989be5', 'fim_s01e07': 'c606a59baf8ea44667cdc1ef32dd0a8b439aa832', 'fim_s01e08': 'f9ece1c16c067f935f472ca44de2b42cbd4ce72c', 'fim_s01e09': '081c9ad4947c28f111c64a2d0dfa3dbb122865a5', 'fim_s01e10': '77ea25d4e5d6fbed37c87ef51498465c47850809', 'fim_s01e11': '55b6a431b0fdb124106dc3ec3c9b34426780c7be', 'fim_s01e12': '92d010ba3ac2b8fef2971ad95fa60b3d88b2dce3', 'fim_s01e13': '39c55e57ade0e1dd75ac9f1d9528ebc9eb4049c7', 'fim_s01e14': 'ff9c70f14c1e9e17c90e5e74f0e6c830662e6641', 'fim_s01e15': 'c06c7e448eee5390c203692550deaa56c7ca99fa', 'fim_s01e16': 'f95e0b3e36bf56ad987a338d896c41ecfb5d6ef2', 'fim_s01e17': '337e1d6a9d60b516ad4c1c252a2b3b43b110cd4a', 'fim_s01e18': 'f6adcde8831ca4801cd455c864e47ecf001becbd', 'fim_s01e19': 'bc91d89bf4361306ee03fbd66161f2c09e932180', 'fim_s01e20': '077ef96ebe6b62f7b8dfbad054ccf48eeaa639ad', 'fim_s01e21': 'e79c648baffc2889e1bcda8bb1e6180ed229bdd0', 'fim_s01e22': 'd05cbf7e0062b23692542cfef4cb4509e1d1bb7c', 'fim_s01e23': '6a6edc7f89bb1f5d297b9163abde7b60218b2f72', 'fim_s01e24': 'bd7bf5fca6f75306db9d06546a8151cdc8fa2af4', 'fim_s01e25': '1f323ccc45e5ed180b91636cafaec314070eeb45', 'fim_s01e26': '6c9f96dac12594083cadb1c520d9e9e238127414', 'fim_s02e01': '961f47fc2d8617cb513a5c6e963ab5405583b24f', 'fim_s02e02': '9cf031d0f8f5fa891a73f086417e3bf9f42f9ccc', 'fim_s02e03': '12685c6cf5f1fac7e9114e78f091f42ee5f52b7d', 'fim_s02e04': '3c789884ec1d340e55413a813bd39dab4290ef38', 'fim_s02e05': '618049dbb04f4c9325f93854e9dd5bf984a459a4', 'fim_s02e06': 'de634231e70c2f23316944086f2c543c97c19a9f', 'fim_s02e07': '4866c807dadb346607332b25c08530931967b4e3', 'fim_s02e08': 'd1f1885afd3eccc191b586ff7217be732b0d17a5', 'fim_s02e09': 'd52d0c06cec5ffabc441f2d390ea8260b63b8d47', 'fim_s02e10': '9a9845afa5a4b5b64b418294debc45221042ba4f', 'fim_s02e11': 'f307bf2614e1ce8e19e581a683694a7d37f318c3', 'fim_s02e12': '49bc1e0b89c944a5408d7d757779f130ff533ed6', 'fim_s02e13': '5e56f840d7d5fbcf4c0724f9fbf6cbf5f00e56f5', 'fim_s02e14': 'ac86b17bfc3d9341dab3e6282506ead5326c3c70', 'fim_s02e15': '1dcb2629a203f0a4f758dfee25930fe18f228a9b', 'fim_s02e16': 'c17161d4f77d44be1f8c72af6a15df630253ac53', 'fim_s02e17': 'b08637bc0489faaf9e1e7392536a6c218fadc2ab', 'fim_s02e18': 'a1191dd442d88bd50037cc8000eeb30b559c53e3', 'fim_s02e19': 'd9de8c47d06b6a922ba058b72ebfa816f302c573', 'fim_s02e20': 'fb72d51dab61f932313261a9a424f432e14df024', 'fim_s02e21': '319344dd49593b60b2f9188deaac64c7207a91e4', 'fim_s02e22': '3dacdacb0831dbf23ea02bc3edaa923b14c0216e', 'fim_s02e23': '0415b042a97b52f6d4ee68a7dab90e6032160ab0', 'fim_s02e24': 'a0a48b6e4609e0c089966043ccdae842cfad7401', 'fim_s02e25': '9f52e54d5273baafc607bc2e6503c5b4283a202e', 'fim_s02e26': '5cd79ebce7f9302b4fd581c42d8f2ebb9d4dbf11', 'fim_s03e01': 'ad581fa4b222d653f8f067bf073251aad5c508f5', 'fim_s03e02': '26043fa9c1ffd15ce10a32975a81cd0eb024a635', 'fim_s03e03': '4ccc98ae5ae3a6845973f05414ee9d5f6bd106e3', 'fim_s03e04': '2d028f89db0ab5ecf72126af65a0580d72f37fd8', 'fim_s03e05': 'a0c2edcc17bb07d07988199d4b8699ae1311cf92', 'fim_s03e06': 'fd7bdcd134c4e1a1039b58943143cd42c16daf22', 'fim_s03e07': '06c566eb542db2fa6591e7d0be03d0588ffc72ce', 'fim_s03e08': 'fae0c07f7cdd4e071648477e861cf1e16a0bb705', 'fim_s03e09': '3753c33c68f01934bc189ec017317f2bcbd70dd6', 'fim_s03e10': '82844bb1ebabac572a239d5c08bc50ac602cc4b5', 'fim_s03e11': '7cbc0294c8fd6412cd3f60f4d9dfde5a3a4ecae1', 'fim_s03e12': 'ba91ccd6ecb94859e895c8f3340ff4323ea8739f', 'fim_s03e13': 'b2bab2e7fa9e171aefcf0996b0987b4af25f16fe', 'fim_s04e01': '0b8da7a6025a14aa2a2376d2519052fe883247cf', 'fim_s04e02': '16dc2f4e35644a3b6df37ca3270eafa27fbc1dab', 'fim_s04e03': '0bab184d4d58e520ea7a2ef54232a3f439076f83', 'fim_s04e04': '3e971bd50fd6801a69169c81c9b22d2054b9102e', 'fim_s04e05': '4efdae5536326d27db57cea43c8ffb9b486b2cbf', 'fim_s04e06': 'edb0561371fc453e6fe2474b2401948daab43333', 'fim_s04e07': '4bbf58fdd9bc3f33376a44ccf164e8b33e14449e', 'fim_s04e08': 'f2a5c2ab930579c52aab347e003b6b4bb72c96b6', 'fim_s04e09': '7d2f532d3540cd1147c9c3427e0f9a3bd6431162', 'fim_s04e10': 'f1f1ca515bd1bf1d462c570921c3486ebe99e5ff', 'fim_s04e11': '4964977a3956c359d8800ee0f73a65bca0713805', 'fim_s04e12': 'ef639444d94cb91f057be13feb7d6107011d1c63', 'fim_s04e13': 'df95a0c61c2eaed4ea3a22d054a14d3533b5e61c', 'fim_s04e14': '308cb00a6ab8bd4458759627063b64cff9e71b2b', 'fim_s04e15': '19ac49592509505adb2e9cd6bdacb5c6e4ea3fcb', 'fim_s04e16': '68f5b5df443dd44f31ba98b797b799022e4b9f58', 'fim_s04e17': '06351f66834b2149ce3e4207af795d01f59986d7', 'fim_s04e18': 'afadfb72c758af6722df942ceb117ff59e26ca83', 'fim_s04e19': 'c48728696083634780d169c0334ef7570ff9b24c', 'fim_s04e20': 'bda66b67600367b1a79368e160d94f3f8132bfc3', 'fim_s04e21': '36676b142a4765e1b4503067bae814245e5f9d9b', 'fim_s04e22': 'de86d1413b2d0f6d218f36fa19816d087c8fffda', 'fim_s04e23': '06654109453e40c0a771f3f6f931c45638836eeb', 'fim_s04e24': '8f0b8efe53b924ede6174b81fc2981accb24a126', 'fim_s04e25': 'ef09917da342d41a82a56c8688aa8de4fdaeca02', 'fim_s04e26': 'be4f396dff757242c5eaab50a72e1fe5d1f53223', 'fim_s05e01': 'dadbddb82ef59384c14c8ff341db3eff97f24ca8', 'fim_s05e02': '210dcfc2ae2f3d81ae141c0fe53df47c8a9ab59d', 'fim_s05e03': '78416fd1698876844ab838e55075c7d6224c9cc4', 'fim_s05e04': 'f5e84b08970e3b473361617abdc1f6a0bbe17792', 'fim_s05e05': '304ed96576a36cd5646f1bcbe74279cd594871b3', 'fim_s05e06': '83cee832d68583db83e6066380ecd0086ca2f1b8', 'fim_s05e07': '1a64148801f604cf419f4edd3f0900af1f292112', 'fim_s05e08': '6ef331a7f08cd0923f2f0326bf0d4fa0c17626f0', 'fim_s05e09': 'f7db68bf6e74be8ae26fe7d0c069db66dc48225f', 'fim_s05e10': 'd8d915e674acab272a146af517629e6d45a2e5c9', 'fim_s05e11': 'c07f5e9b1be669b59c28ce5aa26eb67546dd074f', 'fim_s05e12': '6ea0cf770a228b9537c3c14e1382dd14b50997f7', 'fim_s05e13': '27609192ad83af804295d8ae98c00ab8fc22eb5f', 'fim_s05e14': '38a6b06c2ab0b3fc4fd7f238f89fe8bd277d28ef', 'fim_s05e15': '4688d8c2050235dd5eebf7aa0099812eb5aeca34', 'fim_s05e16': '71b2c6c682e142bbd53e80adc298d6b5c6f54123', 'fim_s05e17': 'a9ef2e4f7bbad929bd21f98563d07adfaab6129e', 'fim_s05e18': '806444a811e91498d3cbfb001811cb21d548d4a8', 'fim_s05e19': 'f862eb7c844ae1f6c721e3fde703488b0e022dc2', 'fim_s05e20': '253dc31d2279bfb7ec24228042702ed9e8f27a9a', 'fim_s05e21': 'beba681c7bf7e04f5537b9dda8d26eea81ad6abc', 'fim_s05e22': '4f1118498df9a8a098b945843e2d4708099da8b1', 'fim_s05e23': '700b3b57686af13fe370a509f7fe49c93fd12cb6', 'fim_s05e24': 'eff6b8292ce12f9427a1612e1c5736fada62f071', 'fim_s05e25': 'e0b85c17a79cb694cfedfe41c9f269ace64354ef', 'fim_s05e26': '94173ecac9fa6d993b9e321c24a21d37b5295bdf', 'fim_s06e01': 'f9abcbff1c6559363dc2d01b1b131b1fd7652075', 'fim_s06e02': '4570cb5c8f677081856503e9473b829af9ea5279', 'fim_s06e03': '6da71d196d87b5a0d71a0d6cbc8d0739e6f08df3', 'fim_s06e04': 'a1e365ea7e0a5eee9d3284dc59345ceab167d8a0', 'fim_s06e05': '717aca95a8877a9b5b5aaa4224c8eb595efbc8f8', 'fim_s06e06': '5a1422a00d41575285b653b087fd72c2880452b5', 'fim_s06e07': 'e73b105b48d9554661558f0296bc4c34cb33c237', 'fim_s06e08': 'dda06b88279e0d2bbc536526af548d48b5e4f1e4', 'fim_s06e09': '289234b9563758f0ced37eac3e6ed43e9bf2dd49', 'fim_s06e10': '0368cfdd86f97d4ba49076cb164452e3aa920beb', 'fim_s06e11': '11ab453a3f70f147952d35e9b4158920fc112524', 'fim_s06e12': '9b4182df2d0e21170e23552796bcfcd33ecad1f1', 'fim_s06e13': 'b93b9faf3daa40b569c7d1200175a981dcc27335', 'fim_s06e14': '46d41de3ce8e1811225930d27691c4de2049de85', 'fim_s06e15': 'fcb2fa148c53badc896b38e3b7ca9a9697ac063b', 'fim_s06e16': 'f3ae9395e43b6f3690795d8ab187af799e87cf29', 'fim_s06e17': '498828cb2eee52431057d8b6728eccfb372df368', 'fim_s06e18': '010ae66278753eb775d49bae32acab0d1c9c6fcd', 'fim_s06e19': '8b6e00372b21906b74161141745cbb8643f937d5', 'fim_s06e20': '2ea96c422a1d980cbc431da6df61cbf2bbb00ecf', 'fim_s06e21': 'fee21ca21647b474b10c57cd95b915f9454e3e4c', 'fim_s06e22': 'fd05dd1eafabb6ad23294f087400415428083952', 'fim_s06e23': 'e6b38a84d01530fb1710417c37b14edb9ceb0318', 'fim_s06e24': '1d569bd9e83b93165a321d7f1137cc4f856e2f28', 'fim_s06e25': '0988ecb76b172b1e0f2ab83c8a81a2b21d90cb23', 'fim_s06e26': '7b255c9d24419c79b61cb03e1aa1c51ee869a59b', 'fim_s07e01': '13552a4e583122cb929c335f2aabb96868ebe8bf', 'fim_s07e02': '7168f16470d158d98e77cd2f956d3c3aeed950f0', 'fim_s07e03': 'f9d114d4a6ba8728ab1e66e2c72c2ab49afdb425', 'fim_s07e04': 'a4863d754430365e8f8352f1ea281b33152f62ec', 'fim_s07e05': 'f7e82abd7dfb363f7cc5d88c056ff39bf88fc91a', 'fim_s07e06': '6f7d7a949963cf603d94a1d2f6ea2faba40d6ec0', 'fim_s07e07': 'f554058057385bf47b8e44247296bdecd74245d7', 'fim_s07e08': '34a440cba25b5c0d28c4a4519fd666291c4eacb5', 'fim_s07e09': '0a80082dcb8261751db62316624ddb1a5413d084', 'fim_s07e10': '33959c2ac2e4210fe679a9d74ed035baa32ff581', 'fim_s07e11': 'f262360d1b534b9893277f17065efbc006e86597', 'fim_s07e12': 'decde67c0c63c957c89b3cc4814ec62010e0390f', 'fim_s07e13': 'a1fd8783e398141ab29969c968a9ef8d926a2761', 'fim_s07e14': '538abc0eb0513c9d2915b7c226d63949977c8b45', 'fim_s07e15': 'ce4422c88246c21768f4188843824dc48bf2da30', 'fim_s07e16': 'ae4ba22190cdf32599bad2d1fa67371e31fa1bc5', 'fim_s07e17': 'c6a47aab6a11fccb4846ddabf650a47ed3ad95d9', 'fim_s07e18': '800d3ba5074eb59556ff3d2d929fe55f33662467', 'fim_s07e19': '49566b3604ef3414064cc5f6e2ddb71716f3c55e', 'fim_s07e20': '856e6dc2c66f4c352fdb48625eae6cf8f8e8d0bf', 'fim_s07e21': '55d99812da760cd528a735887e822517e06a30f4', 'fim_s07e22': '62801071748a63e688e939b306d78b51f5f8e824', 'fim_s07e23': '3a70ac5a28606d4e92fb9fec484997c5c45454bc', 'fim_s07e24': 'c8b532184c09ecb0f9eb468b18746edb95553053', 'fim_s07e25': 'da047c5cf0eb2e93cd163775fe1729e64ad3b5ca', 'fim_s07e26': 'b69f4c32c3717abef52fbf43e0f7d95e5ce0a9ae', 'fim_s08e01': '695f7365f9fbb7df059f38911ef397c2525ddd0f', 'fim_s08e02': '976df812644dbbaa5905dd9e6f2b712bfb9bce5a', 'fim_s08e03': '4f8f3f236ad697147aa002d545907ce6427c1ef2', 'fim_s08e04': 'b3faf68eaf99deec4f5ef9ea162b5ec6df0412ff', 'fim_s08e05': '7bdd85dec8e09fda1ec57cf56ce5cafc75188b31', 'fim_s08e06': '6a53c91e3dd22ddc069d5cf85225d3ec9a141e2e', 'fim_s08e07': '5b788645db606822e99d6188cbad5a06556bcd80', 'fim_s08e08': '6cbcfde1eddaef72e4f54fab85602776c3f83f1f', 'fim_s08e09': '1c01cfc679b442b2f05184327ca15fa0bb54a04c', 'fim_s08e10': '8d680da1acdd9c8636fb6d093e3cae5e1072916c', 'fim_s08e11': '3acc0bd1c3bd9ad1924a7baad0ae52d224f1b98f', 'fim_s08e12': '814e5e20a1d5cb11b2d40630d8d9f09aadf0f367', 'fim_s08e13': 'f153eb6197d9587f10d5ef21b2564ecce8a0869c', 'fim_s08e14': '003127da6e5d687a916e8f0facb99130f34d6856', 'fim_s08e15': 'c1db00dfe88352f6d09e90825ccf20aedda29416', 'fim_s08e16': 'bd5879b90204a8e45534f8f1021aeb05085b0cfb', 'fim_s08e17': 'd5d073670b0053b023bf7c82ba33bc58ae064e81', 'fim_s08e18': '8bac4e2877cbdb46df87f1ca61c4f78ca41cb491', 'fim_s08e19': '7d7cb95831868838738a12a215b04e97ab7d15d4', 'fim_s08e20': 'f631a709607562db55fc15b36657ef4ecddcc039', 'fim_s08e21': '9690385208ee229254b635af82a09fa2ab9828c4', 'fim_s08e22': '4379434a499ec49628607955e9d711d001c2c709', 'fim_s08e23': '9d1bbd5ffa936a38dd50f819ee0ffa61bb8ce9b7', 'fim_s08e24': 'ae1aa3fa3ad40e000d3e4ce4775d665ff9f54cda', 'fim_s08e25': 'd51e3fe09bfcf10efcb7e81db41075d1afd48476', 'fim_s08e26': 'db77fb88f9de6d48f1abd197f366d481be9b76c6', 'fim_s09e01': '697b309edad2fea1ac2d21e6c1d6e17dcedcabdb', 'fim_s09e02': '756036b6d4932190a97b08c3578a5fd67fce328d', 'fim_s09e03': '44a1060f5bf3d587e7bf85ad0dd172fefa636a83', 'fim_s09e04': '430e5a5756053b09780400e1cb4bdad0662f492b', 'fim_s09e05': '5d0fdc9c8dc60bdff56aec4c031de671f639749b', 'fim_s09e06': 'bb38c9d23c41df9c22668da7bf535988c3f1356f', 'fim_s09e07': 'ca180f475678b55150b92382edd7ce1c4350467d', 'fim_s09e08': 'e01251baa48012eb5a75e7798ca0f7970b08bbd6', 'fim_s09e09': 'f7d6a40d4c4405a96fdad66917fbb1b013b3d0aa', 'fim_s09e10': '5c726e521b2160c19b9010fab42103e181e60ed5', 'fim_s09e11': '54c9aedfe15155519c363c10133dd6d2277ad751', 'fim_s09e12': '60f163a0092527684966532789bc2d90b8ee6986', 'fim_s09e13': '6008d29554185bd36deec16b72368101b791fda3', 'fim_s09e14': '44b896f80f0393559ee001e05c64df30a5dda905', 'fim_s09e15': '6d880d843f8adecd6ec664128c1d355c486f2753', 'fim_s09e16': '682776123da12ab638f3af15a75d7915dab38b4d', 'fim_s09e17': '79e62638d6628c7ba97af6f6187a864e15787a7f', 'fim_s09e18': '2974b45463f9ac41b4a29f63d9b0d013e311771e', 'fim_s09e19': '8989d8a96822f29839bc3330487d7586aa927d37', 'fim_s09e20': '088134fe57889434089515c889e590f33afeb099', 'fim_s09e21': '7d6749aeb470e71c0e8bd51e3760ae9562f6579d', 'fim_s09e22': 'a164e1f92185d6fb51f1b5a25196c2377498ea43', 'fim_s09e23': '3094600e69bd6934e925f58cb95a2430d1839f54', 'fim_s09e24': 'ded8ba2b9887a14597e41ec7256d9f45b0f61abc', 'fim_s09e25': 'ebab1fc09dadb040388d89486aeef1b75885b0b5', 'fim_s09e26': '2ba14c1d174eb33155dd3f6ebace2279ba8b4ef6', 'eqg_original_movie': 'edea58393759cf74326e05d0b0a821e7ff54dc03', 'eqg_friendship_games': '9619ab463a28b5498490ed1e43ff83ba247ac309', 'eqg_legend_of_everfree': '6b65399c961f71afd2dfa2189d493a412ee3300a', 'eqg_rainbow_rocks': 'b5a8d331a5e6b37931282207874b334d488d562d'} unmix_hashes = {'fim_s01e01': '104d5aaa0c37225c200ad7b83fcf63034f05522f', 'fim_s01e02': 'e0d7b62bb2291a3d692f3feccdeefa184e80e7c1', 'fim_s01e03': 'c29cb960fae5e435016e02fa107ea1bcdbc75eae', 'fim_s01e04': '19a6c63c6ebf8be3e040003e8c08627df98e5a44', 'fim_s01e05': '9ef84b6c65927182d21b3cc3d4b2a847e6c16c18', 'fim_s01e06': '50594babaf65ec42243c4a9800ee1bfebc6bc7d8', 'fim_s01e07': 'eb05c17e53a166ae660d1f3da6e90b8f14b7c79a', 'fim_s01e08': '41577ab4d5a133397e55c03a747d41f4658b4481', 'fim_s01e09': '59a587efd4f2292c9969f0e391e54ecf9d7cb594', 'fim_s01e10': 'df48e4108bfb89a9e6b490b07bf04dbd1bc3494b', 'fim_s01e11': '907907fdc17d15f7e65d8ca1e079095b508b18a6', 'fim_s01e12': '5a8007535d7b0925f077fde57a63791b71bad523', 'fim_s01e13': 'd6e26ed11d68262ebd32becca6529509f97c3a58', 'fim_s01e14': 'a5784986a38730fc1fb430ad0f0272fd0c7d0cf4', 'fim_s01e15': '7fd50b75fe4a02337c25f8ff694e390f268a9456', 'fim_s01e16': '0344d2ae7ee8f2f6461798e2900ed0ad3bd0b11d', 'fim_s01e17': '28b9582d04a27dd13b0557730cf0eadaaa2cd629', 'fim_s01e18': '6e84cf840ba430e9527f71ef2a0dc8ce6c218875', 'fim_s01e19': '4a9a544a5663a6d7ac731a9083c9cce71aefdb6b', 'fim_s01e20': 'fa7733b6ab981829b4466c26f185738509ec062e', 'fim_s01e21': '388cc179f81c44d23aee3fcffec64b17d3c10f01', 'fim_s01e22': 'e46ae2a8f92e82be3172ffd7d25f491de7cd0289', 'fim_s01e23': '661828a394087d716376dc0139b61137389ae5de', 'fim_s01e24': 'b227ac1c89f3a25dc4522118750a58e978475b9c', 'fim_s01e25': '2004b2aa9015498e1f2d8454856e5883bfbb3315', 'fim_s01e26': 'f66ca26045de350188d476ab5b501408c551acba', 'fim_s02e01': '44b3fe6e76e60b7e70ef85aed2c0b2756c69cef7', 'fim_s02e02': '35fff48ca55ecb1e601b57d896330900a55cbc92', 'fim_s02e03': '87e1d81dcb3cffbca12550e143cc922e6a4a68b1', 'fim_s02e04': 'e5463604e47ddcc6c15552e65c4a8ae75ba55730', 'fim_s02e05': '33149416515e8a3f04e1db6f636afecd20e4572c', 'fim_s02e06': '8516c352f688e3be76cd9db8ca709d5dd62dc5bf', 'fim_s02e07': '00f060faae1f1e0b6b82361b4c0fc4ddde90fd1d', 'fim_s02e08': '059f6d9b21d6e78d7ff2593f01a032f045bb3246', 'fim_s02e09': '153a013f94d0272ccaee7a4197f353a0756b917e', 'fim_s02e10': '13de5f5c20c11bcf6afdf01a76db934f370c5afa', 'fim_s02e11': '1f1b0e38ec868d3d976444b6b28548e023fd2508', 'fim_s02e12': 'cc9a39c32d44632161968b5b5babd9a38bc9b385', 'fim_s02e13': '00ccf5ce90f50db65a4aeec6a8b6c75f056e9e19', 'fim_s02e14': 'b737ccfc861470abbc6e9e1d8d4d11dae78cfe8f', 'fim_s02e15': '9e03f0e03c39f797f16211b086aea4f660f72684', 'fim_s02e16': 'ae02167827b0a27794154534fcb16c489df6418c', 'fim_s02e17': '4a002a75c00b34ca9cf932a5cf7987b7abf84292', 'fim_s02e18': '8fe1a7765ddf8ab1b062ea7ddb968d1c92569876', 'fim_s02e19': 'c4f73cec0071d37a021d96a0c7e8e8269cfa6b21', 'fim_s02e20': 'a8a392cbfe39a7f478f308dde7774f5264da1bef', 'fim_s02e21': 'c19ce429444c7862f6de83fcee8479ede4d2de0b', 'fim_s02e22': '9054930ee5a9403da56794aa30ee8a9b8bc66c54', 'fim_s02e23': '96baecf46098eccca9b26a587f8e588c622a0443', 'fim_s02e24': 'd304f143b81026f93628bc26f3018442d6b494b4', 'fim_s02e25': '258b39c68661c89a7a3f564f0827382c365ac824', 'fim_s02e26': '58df95dbcd6998ace149d16479add90f670b5156', 'fim_s03e01': '197d03426d4bbdebff15e7723bb95f5cffccd230', 'fim_s03e02': '3623a1cb7dea3c5fd43ed5b5e77c91f83d7ced4b', 'fim_s03e03': '4df72e4dc9580acf9a9c598d5fbcb36e1f1429f7', 'fim_s03e04': '213ba1e62e23931e58dc4ebb5f4b2dfd735f47ca', 'fim_s03e05': '564a8c54b13320aa982ff2209565ef4750564194', 'fim_s03e06': 'ed1b6fb5b071ab56a78492e54875b082c0c8a074', 'fim_s03e07': 'a37fc358a86679130e9a4ff8baf0ba55ccf28b56', 'fim_s03e08': 'e050d4d8d14c26c6ebb859b01a4569d871fcd2b0', 'fim_s03e09': '229dbc841e643c820653af1e7f3bd14f07ef1e1b', 'fim_s03e10': '50f5e34647763ab9b007c7e86d0d7be94c297845', 'fim_s03e11': 'df0c039168e062c9dd57e77c974e810255dceb4f', 'fim_s03e12': '3bf02a42574ea2a703639adddb3614172d50a525', 'fim_s03e13': '788d4bc2660f27bf51fa57c469155d4e3a4488e4', 'fim_s04e01': 'b538e685b444022c8fce4916da0d422d13f6e576', 'fim_s04e02': 'aa205fdfd60da95fc4f99fffba883c567421dab1', 'fim_s04e03': 'fe64dcf231ccc42722fc855a3e74ae3bbbf0e643', 'fim_s04e04': '001c014fe5324332f8d00f012efb35fefa47f533', 'fim_s04e05': 'e8a338e557652d21b161b8026dd5768e05976027', 'fim_s04e06': '321426038fc6cc0bc8ddd086a79c3946a27cd436', 'fim_s04e07': '611e78559560a6b63a099fc3397ef3a8eb0db4c7', 'fim_s04e08': '3a463dd8573a4eb51dabd2efb28cd099681e110e', 'fim_s04e09': 'de37b8d59676f5f598ea6bda080077a371fbf601', 'fim_s04e10': '9f40be459463d5513ba274189548c2b0b3552d36', 'fim_s04e11': 'bfa1dc10e4c64bdefe2c7ebe0fc2ffb9f4f1e443', 'fim_s04e12': '13adfc2233f9a005b6bf708e7abd0b93faba828b', 'fim_s04e13': '3fc37f27939d951f313111a9f792715731ed059d', 'fim_s04e14': '88a29e567214de2c72b8b5a11466ea8f2e2b5c96', 'fim_s04e15': '2728093f445fd3a21d0ac86598cf07f9b20fc45d', 'fim_s04e16': '9f720280324c0d491fc75f179d69ca4965f46821', 'fim_s04e17': '77437fa49ab73a880859c76ee4b6b522e60e5b5e', 'fim_s04e18': 'ee79772dd96bb4cf78e53879168b52044a80f83a', 'fim_s04e19': '3a93bca017d5fe1f28a1f89c10df0abc49a33e42', 'fim_s04e20': '8481897fa44d02624b3a8799ceba22a1b9087060', 'fim_s04e21': '74f6f18d61e52673b99ba1c1379fcad2a1125899', 'fim_s04e22': 'cec016654cdd2f7c73864229f54760ea20b86c8a', 'fim_s04e23': '1f894ae6cf86a865988b72b3d1a5060cf2f89a86', 'fim_s04e24': 'c6a4fe51123ba3ce0b0716df21e9989e8b555ade', 'fim_s04e25': '204666928675f6b9bff9e92ef3b2176099180e9b', 'fim_s04e26': '47de6d5d70bb61fc746a47d28fc53854d2be441b', 'fim_s05e01': '2cafa7cc6ca0414c294c824d63c3a433e07b2f13', 'fim_s05e02': '69260d52ed666d0dc97544ed5019e1914d674c53', 'fim_s05e03': '5c7db95c1f78f2e7425096b67ce534fc872e6618', 'fim_s05e04': '91da34c761324628156d1db94b5a06b77a327c41', 'fim_s05e05': 'ee74a927b5a5419fe9e851a132fe2d814f699f10', 'fim_s05e06': '84d7d6c7cce9a4cca502d9c8a24ed0be862ea702', 'fim_s05e07': '2c128bf9d45e75ffddd452ac2f20abd553203641', 'fim_s05e08': '2954354ce57c7fedd61d372e8fa908731e3407bb', 'fim_s05e09': '317ac1df8d316d175fca6e1715bb9f97cfc1ca13', 'fim_s05e10': 'f977396916f65a96ca0aa40fee7345d3ce0d34a8', 'fim_s05e11': '1df05e8363c41ba68f5eaa2af0c22e29998d066d', 'fim_s05e12': 'bc08072dc6be4e21dae03db1464ae0b83f657a7f', 'fim_s05e13': '674758bd23d8ba73d14858580b60fa5062e28fe0', 'fim_s05e14': '047799ab041a30d774938d0dc2672c34935371f8', 'fim_s05e15': '66ec2eb2ce01dc382cc32c9c6530374e8a96a938', 'fim_s05e16': '4bc308416d420583a69642bfa83c8235fb84e1e1', 'fim_s05e17': '8fe15d113baf7a5e140f53729aa11a4722aaec64', 'fim_s05e18': '9ff2bf125cf6a07af325cb5cbba3d17b2579c498', 'fim_s05e19': 'af9a63a629b1fc154e600ab058878457bdc799e1', 'fim_s05e20': 'ea0635bf7757e53300a07d56887e4b1857cde93c', 'fim_s05e21': '3fa37e113e81c54667db87204d68958cb4dfb50f', 'fim_s05e22': 'b5f54f2e4736b4e1be4d537d8d0edaa219ca16c7', 'fim_s05e23': '40bce23e28e12686b667c431072f925b01bdf817', 'fim_s05e24': 'f08b14a1e6e41dccc4315aade503ed91ce2f71b3', 'fim_s05e25': '85272b7929fa219f503ca08637f04b52458b2636', 'fim_s05e26': 'abe7acfacc78bba55e4da71eab592383e8c2010d', 'fim_s06e01': 'bb554e4b036f19bfe98b0e11db71732204e71747', 'fim_s06e02': '9bcd6ba7d6da353e49da88ee9702a1c9e7b58f9d', 'fim_s06e03': '44f278c1c3b1642f92dae0f1dc9d1869cb5edd3e', 'fim_s06e04': 'a23fc5a9b0171265d4c37debd3e6888b7d5cfadd', 'fim_s06e05': '717c3c0a63515266079cafe0d0076cedf3eeb2c9', 'fim_s06e06': '0c7f49103a41190b115f8d4d4a4134c10d03c441', 'fim_s06e07': 'dc1011e5ee80a45544ee9d9c5edd6bca2e0b9b10', 'fim_s06e08': '70ebfee1498e73c6e0432e279cda32efc6c611d7', 'fim_s06e09': '0ecdf3735a03bb49075e94221e840815e960e736', 'fim_s06e10': 'eac675ef07f63907353d758cc5dccf82c75bcf9c', 'fim_s06e11': '43bd3f861e85bc7e21dc4523e112d82a3193edd0', 'fim_s06e12': 'cee4185a9957ecbd00b6b6f374fa56715ef04fcd', 'fim_s06e13': 'e040a7ec92cf7139a415a5e27bff994c8604c320', 'fim_s06e14': 'b1f071de18a25d9ee6f70674ff3c00379ed44e09', 'fim_s06e15': '75473364424e5b4dd91e918657e41b5d4e7f0b61', 'fim_s06e16': 'a59a451317257474359cc85e523892e94c2f393c', 'fim_s06e17': '0bd07609e7209aac921e21d9f33f6a8b16172d65', 'fim_s06e18': '3d16b21da67c674735b61adddb831a0e2240d3b9', 'fim_s06e19': '3594101ff21359203054973ead72905fd09b5680', 'fim_s06e20': '562c8a5c548deef2a915c8fdd9f3ab069e1222ae', 'fim_s06e21': '38a558ff7551b56511cb9644dfe2ceb7b0c635ec', 'fim_s06e22': '5735868115acbe5c18d0370592eeff689402a3b3', 'fim_s06e23': '9a40a8b6b6c304d286f34d2cee80535dc46c618a', 'fim_s06e24': '8987aaca1bb4395673093c28ec00023b65abf451', 'fim_s06e25': 'f33e490c411fe249d90be1e23b455f422bbfea7d', 'fim_s06e26': '70a737ebe36d85801294b2d22a462bf41a211a77', 'fim_s07e01': 'unknown', 'fim_s07e02': 'unknown', 'fim_s07e03': 'unknown', 'fim_s07e04': 'unknown', 'fim_s07e05': 'unknown', 'fim_s07e06': 'unknown', 'fim_s07e07': 'unknown', 'fim_s07e08': 'unknown', 'fim_s07e09': 'unknown', 'fim_s07e10': 'unknown', 'fim_s07e11': 'unknown', 'fim_s07e12': 'unknown', 'fim_s07e13': 'unknown', 'fim_s07e14': 'unknown', 'fim_s07e15': 'unknown', 'fim_s07e16': 'unknown', 'fim_s07e17': 'unknown', 'fim_s07e18': 'unknown', 'fim_s07e19': 'unknown', 'fim_s07e20': 'unknown', 'fim_s07e21': 'unknown', 'fim_s07e22': 'unknown', 'fim_s07e23': 'unknown', 'fim_s07e24': 'unknown', 'fim_s07e25': 'unknown', 'fim_s07e26': 'unknown', 'fim_s08e01': 'unknown', 'fim_s08e02': 'unknown', 'fim_s08e03': 'unknown', 'fim_s08e04': 'unknown', 'fim_s08e05': 'unknown', 'fim_s08e06': 'unknown', 'fim_s08e07': 'unknown', 'fim_s08e08': 'unknown', 'fim_s08e09': 'unknown', 'fim_s08e10': 'unknown', 'fim_s08e11': 'unknown', 'fim_s08e12': 'unknown', 'fim_s08e13': 'unknown', 'fim_s08e14': 'unknown', 'fim_s08e15': 'unknown', 'fim_s08e16': 'unknown', 'fim_s08e17': 'unknown', 'fim_s08e18': 'unknown', 'fim_s08e19': 'unknown', 'fim_s08e20': 'unknown', 'fim_s08e21': 'unknown', 'fim_s08e22': 'unknown', 'fim_s08e23': 'unknown', 'fim_s08e24': 'unknown', 'fim_s08e25': 'unknown', 'fim_s08e26': 'unknown', 'fim_s09e01': 'unknown', 'fim_s09e02': 'unknown', 'fim_s09e03': 'unknown', 'fim_s09e04': 'unknown', 'fim_s09e05': 'unknown', 'fim_s09e06': 'unknown', 'fim_s09e07': 'unknown', 'fim_s09e08': 'unknown', 'fim_s09e09': 'unknown', 'fim_s09e10': 'unknown', 'fim_s09e11': 'unknown', 'fim_s09e12': 'unknown', 'fim_s09e13': 'unknown', 'fim_s09e14': 'unknown', 'fim_s09e15': 'unknown', 'fim_s09e16': 'unknown', 'fim_s09e17': 'unknown', 'fim_s09e18': 'unknown', 'fim_s09e19': 'unknown', 'fim_s09e20': 'unknown', 'fim_s09e21': 'unknown', 'fim_s09e22': 'eec65346f3f84a2200a5e5918e89d91a2a549a29', 'fim_s09e23': '1426f4afd21cc478d175cc89d342d4cb42d358b7', 'fim_s09e24': '14ac91b7eda5698feed15ec53084aee5cf0fb571', 'fim_s09e25': '60cbea49cec1cd14c94921c0990a42df754abf51', 'fim_s09e26': '9b2d98c2eb5e336a97e49b3e35bffee39238414c', 'eqg_original_movie': '5ecf9491a5808e7b32accabdf7c57273ad197192', 'eqg_friendship_games': '31097404640cced077169c41e7cdf925ced9f165', 'eqg_legend_of_everfree': '3104471033ef47b7cd303812dfeb720bd0d63f8a', 'eqg_rainbow_rocks': 'ff4e528045e846f2221229a3f38bababd5c0b733'}
class SpotUrls: token='85392160' CFID='459565' venice_morning_good='https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.20191103T162900647.mp4' venice_static='https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.20191027T235900139.mp4' lookup={'breakwater': 'http://www.surfline.com/surfdata/video-rewind/video_rewind.cfm?id=150603&CFID=459565&CFTOKEN=85392160', 'topanga': 'http://www.surfline.com/surfdata/video-rewind/video_rewind.cfm?id=150605&CFID=491164&CFTOKEN=82948697'} lookupmp4={'breakwater': "https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.", 'topanga': "https://camrewinds.cdn-surfline.com/live/wc-topangaclose.stream."}
class Spoturls: token = '85392160' cfid = '459565' venice_morning_good = 'https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.20191103T162900647.mp4' venice_static = 'https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.20191027T235900139.mp4' lookup = {'breakwater': 'http://www.surfline.com/surfdata/video-rewind/video_rewind.cfm?id=150603&CFID=459565&CFTOKEN=85392160', 'topanga': 'http://www.surfline.com/surfdata/video-rewind/video_rewind.cfm?id=150605&CFID=491164&CFTOKEN=82948697'} lookupmp4 = {'breakwater': 'https://camrewinds.cdn-surfline.com/live/wc-venicebeachclose.stream.', 'topanga': 'https://camrewinds.cdn-surfline.com/live/wc-topangaclose.stream.'}
s = input() n = len(s) formulas = s.split('+') ans = 0 for f in formulas: for i in range(len(f)): if f[i] == '0': break if i == len(f) - 1: ans += 1 print(ans)
s = input() n = len(s) formulas = s.split('+') ans = 0 for f in formulas: for i in range(len(f)): if f[i] == '0': break if i == len(f) - 1: ans += 1 print(ans)
x = int(input('Qual tabuada multiplicar: ')) print('-' * 15) print('{} x {:2} = {}'.format(x, 1, (x*1))) print('{} x {:2} = {}'.format(x, 2, (x*2))) print('{} x {:2} = {}'.format(x, 3, (x*3))) print('{} x {:2} = {}'.format(x, 4, (x*4))) print('{} x {:2} = {}'.format(x, 5, (x*5))) print('{} x {:2} = {}'.format(x, 6, (x*6))) print('{} x {:2} = {}'.format(x, 7, (x*7))) print('{} x {:2} = {}'.format(x, 8, (x*8))) print('{} x {:2} = {}'.format(x, 9, (x*9))) print('{} x {:2} = {}'.format(x, 10, (x*10))) print('-' * 15)
x = int(input('Qual tabuada multiplicar: ')) print('-' * 15) print('{} x {:2} = {}'.format(x, 1, x * 1)) print('{} x {:2} = {}'.format(x, 2, x * 2)) print('{} x {:2} = {}'.format(x, 3, x * 3)) print('{} x {:2} = {}'.format(x, 4, x * 4)) print('{} x {:2} = {}'.format(x, 5, x * 5)) print('{} x {:2} = {}'.format(x, 6, x * 6)) print('{} x {:2} = {}'.format(x, 7, x * 7)) print('{} x {:2} = {}'.format(x, 8, x * 8)) print('{} x {:2} = {}'.format(x, 9, x * 9)) print('{} x {:2} = {}'.format(x, 10, x * 10)) print('-' * 15)
def FibonacciSearch(arr, key): fib2 = 0 fib1 = 1 fib = fib1 + fib2 while (fib < len(arr)): fib2 = fib1 fib1 = fib fib = fib1 + fib2 index = -1 while (fib > 1): i = min(index + fib2, (len(arr)-1)) if (arr[i] < key): fib = fib1 fib1 = fib2 fib2 = fib - fib1 index = i elif (arr[i] > key): fib = fib2 fib1 = fib1 - fib2 fib2 = fib - fib1 else : return i if(fib1 and index < (len(arr)-1) and arr[index+1] == key): return index+1 return -1 key= 15 arr = [5, 10, 15, 20, 25, 30, 35] ans = FibonacciSearch(arr, key) print(ans) if (ans): print("Found at "+ str(ans+1) +" position") else: print("Not Found")
def fibonacci_search(arr, key): fib2 = 0 fib1 = 1 fib = fib1 + fib2 while fib < len(arr): fib2 = fib1 fib1 = fib fib = fib1 + fib2 index = -1 while fib > 1: i = min(index + fib2, len(arr) - 1) if arr[i] < key: fib = fib1 fib1 = fib2 fib2 = fib - fib1 index = i elif arr[i] > key: fib = fib2 fib1 = fib1 - fib2 fib2 = fib - fib1 else: return i if fib1 and index < len(arr) - 1 and (arr[index + 1] == key): return index + 1 return -1 key = 15 arr = [5, 10, 15, 20, 25, 30, 35] ans = fibonacci_search(arr, key) print(ans) if ans: print('Found at ' + str(ans + 1) + ' position') else: print('Not Found')
# from fluprodia import FluidPropertyDiagram def test_main(): pass
def test_main(): pass
a=0 pg=[[]] # input the number of chapters # input the maximum number of problems per page x,y=map(int,input().split(' ')) # input the number of problems in each chapter l=list(map(int,input().split(' '))) for i in l: k = [[] for _ in range(100)] for j in range(i): k[j//y].append(j+1) for i in k: if i != []: pg.append(i) for i in range(len(pg)): if i in pg[i]: a+=1 # Print the number of special problems in Lisa's workbook print(a)
a = 0 pg = [[]] (x, y) = map(int, input().split(' ')) l = list(map(int, input().split(' '))) for i in l: k = [[] for _ in range(100)] for j in range(i): k[j // y].append(j + 1) for i in k: if i != []: pg.append(i) for i in range(len(pg)): if i in pg[i]: a += 1 print(a)
# Import Data commands = [] with open('../input/day_2.txt') as f: lines = f.read().splitlines() for line in lines: splitline = line.split(" ") splitline[1] = int(splitline[1]) commands.append(splitline) # Process Data positionHorizontal = 0 positionVertical = 0 for command in commands: direction = command[0] amount = command[1] if direction == 'forward': positionHorizontal += amount elif direction == 'down': positionVertical += amount elif direction == 'up': positionVertical -= amount print(f'Horizontal Movement: {positionHorizontal}') print(f'Vertical Movement: {positionVertical}') print(f'Multiplied Movement: {positionHorizontal * positionVertical}')
commands = [] with open('../input/day_2.txt') as f: lines = f.read().splitlines() for line in lines: splitline = line.split(' ') splitline[1] = int(splitline[1]) commands.append(splitline) position_horizontal = 0 position_vertical = 0 for command in commands: direction = command[0] amount = command[1] if direction == 'forward': position_horizontal += amount elif direction == 'down': position_vertical += amount elif direction == 'up': position_vertical -= amount print(f'Horizontal Movement: {positionHorizontal}') print(f'Vertical Movement: {positionVertical}') print(f'Multiplied Movement: {positionHorizontal * positionVertical}')
def product(fracs): t = reduce(lambda x, y: x * y, fracs, 1) return t.numerator, t.denominator
def product(fracs): t = reduce(lambda x, y: x * y, fracs, 1) return (t.numerator, t.denominator)
#Copyright 2010 Google Inc. # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. #You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to in writing, software #distributed under the License is distributed on an "AS IS" BASIS, #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #See the License for the specific language governing permissions and #limitations under the License. def slugify(inStr): removelist = ["a", "an", "as", "at", "before", "but", "by", "for","from","is", "in", "into", "like", "of", "off", "on", "onto","per","since", "than", "the", "this", "that", "to", "up", "via","with"]; for a in removelist: aslug = re.sub(r'\b'+a+r'\b','',inStr) aslug = re.sub('[^\w\s-]', '', aslug).strip().lower() aslug = re.sub('\s+', '-', aslug) return aslug
def slugify(inStr): removelist = ['a', 'an', 'as', 'at', 'before', 'but', 'by', 'for', 'from', 'is', 'in', 'into', 'like', 'of', 'off', 'on', 'onto', 'per', 'since', 'than', 'the', 'this', 'that', 'to', 'up', 'via', 'with'] for a in removelist: aslug = re.sub('\\b' + a + '\\b', '', inStr) aslug = re.sub('[^\\w\\s-]', '', aslug).strip().lower() aslug = re.sub('\\s+', '-', aslug) return aslug
'this crashed pychecker from calendar.py in Python 2.2' class X: 'd' def test(self, item): return [e for e in item].__getslice__() # this crashed in 2.2, but not 2.3 def f(a): a.a = [x for x in range(2) if x > 1]
"""this crashed pychecker from calendar.py in Python 2.2""" class X: """d""" def test(self, item): return [e for e in item].__getslice__() def f(a): a.a = [x for x in range(2) if x > 1]
#!/usr/bin/env python3 def round_down_to_even(value): return value & ~1 for _ in range(int(input())): input() # don't need n a = list(map(int, input().split())) for i in range(0, round_down_to_even(len(a)), 2): if a[i] > a[i + 1]: a[i], a[i + 1] = a[i + 1], a[i] print(*a)
def round_down_to_even(value): return value & ~1 for _ in range(int(input())): input() a = list(map(int, input().split())) for i in range(0, round_down_to_even(len(a)), 2): if a[i] > a[i + 1]: (a[i], a[i + 1]) = (a[i + 1], a[i]) print(*a)
num = [int(x) for x in input("Enter the Numbers : ").split()] index=[int(x) for x in input("Enter the Index : ").split()] target=[] for i in range(len(num)): target.insert(index[i], num[i]) print("The Target array is :",target)
num = [int(x) for x in input('Enter the Numbers : ').split()] index = [int(x) for x in input('Enter the Index : ').split()] target = [] for i in range(len(num)): target.insert(index[i], num[i]) print('The Target array is :', target)
# Python Program to find Power of a Number number = int(input(" Please Enter any Positive Integer : ")) exponent = int(input(" Please Enter Exponent Value : ")) power = 1 for i in range(1, exponent + 1): power = power * number print("The Result of {0} Power {1} = {2}".format(number, exponent, power)) # by aditya
number = int(input(' Please Enter any Positive Integer : ')) exponent = int(input(' Please Enter Exponent Value : ')) power = 1 for i in range(1, exponent + 1): power = power * number print('The Result of {0} Power {1} = {2}'.format(number, exponent, power))
# anything above 0xa0 is printed as Unicode by CPython # the abobe is CPython implementation detail, stick to ASCII for c in range(0x80): print("0x%02x: %s" % (c, repr(chr(c)))) print("PASS")
for c in range(128): print('0x%02x: %s' % (c, repr(chr(c)))) print('PASS')
''' URL: https://leetcode.com/problems/reverse-words-in-a-string-iii/ Difficulty: Easy Description: Reverse Words in a String III Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. Example 1: Input: "Let's take LeetCode contest" Output: "s'teL ekat edoCteeL tsetnoc" Note: In the string, each word is separated by single space and there will not be any extra space in the string. ''' class Solution: def reverseWords(self, s): output = "" for word in s.split(" "): output += word[::-1] + " " return output[:-1]
""" URL: https://leetcode.com/problems/reverse-words-in-a-string-iii/ Difficulty: Easy Description: Reverse Words in a String III Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. Example 1: Input: "Let's take LeetCode contest" Output: "s'teL ekat edoCteeL tsetnoc" Note: In the string, each word is separated by single space and there will not be any extra space in the string. """ class Solution: def reverse_words(self, s): output = '' for word in s.split(' '): output += word[::-1] + ' ' return output[:-1]
# PROCURANDO UMA STRING DENTRO DA OUTRA nome = str(input('Digite seu nome: ').strip().lower()) print("silva" in nome.split()) # DESSA MANEIRA EVITA-SE QUE SILVA SEJA CONFUNDIDO DENTRO DE OUTRA STRING.
nome = str(input('Digite seu nome: ').strip().lower()) print('silva' in nome.split())
# # PySNMP MIB module HP-ICF-CONNECTION-RATE-FILTER (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-CONNECTION-RATE-FILTER # Produced by pysmi-0.3.4 at Wed May 1 13:33:37 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint") hpSwitch, = mibBuilder.importSymbols("HP-ICF-OID", "hpSwitch") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, MibIdentifier, Gauge32, NotificationType, IpAddress, Counter32, Integer32, Counter64, Bits, ObjectIdentity, Unsigned32, iso, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "MibIdentifier", "Gauge32", "NotificationType", "IpAddress", "Counter32", "Integer32", "Counter64", "Bits", "ObjectIdentity", "Unsigned32", "iso", "ModuleIdentity") TextualConvention, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue", "DisplayString") hpicfConnectionRateFilter = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24)) hpicfConnectionRateFilter.setRevisions(('2009-05-12 01:08', '2004-09-07 01:08',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfConnectionRateFilter.setRevisionsDescriptions(("Added 'hpicfConnectionRateFilterSensitivity', 'hpicfConnectionRateFilterIfModeValue'.", 'Added Connection Rate Filter MIBs.',)) if mibBuilder.loadTexts: hpicfConnectionRateFilter.setLastUpdated('200905120108Z') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setDescription('This MIB module describes objects for management of the Connection Rate Filter feature in the HP Switch product line.') hpicfConnectionRateFilterNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 0)) hpicfConnectionRateFilterNotificationControl = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1)) hpicfConnectionRateFilterObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2)) hpicfConnectionRateFilterConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3)) hpicfConnectionRateFilterIfModeConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4)) hpicfConnectionRateFilterNotification = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 0, 1)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterVlanId"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterInetAddress"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterInetAddressType"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterMode")) if mibBuilder.loadTexts: hpicfConnectionRateFilterNotification.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotification.setDescription('This Notification indicates that the host associated with the specified IP Address has been flagged by the connection rate filter and may have been throttled or blocked.') hpicifConnectionRateFilterVlanId = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicifConnectionRateFilterVlanId.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterVlanId.setDescription('This variable uniquely identifies the vlan on which the host was flagged by the connection rate filter.') hpicifConnectionRateFilterInetAddress = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 2), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddress.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddress.setDescription('This variable uniquely identifies the IP address of the host flagged by the connection rate filter.') hpicifConnectionRateFilterInetAddressType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 3), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddressType.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddressType.setDescription('This variable uniquely identifies the type of IP address of the host flagged by the connection rate filter.') hpicifConnectionRateFilterMode = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("inform", 0), ("throttle", 1), ("block", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicifConnectionRateFilterMode.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterMode.setDescription('This variable identifies the mode applied to the host flagged by the connection rate filter.') hpicfConnectionRateFilterIfModeConfigTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1), ) if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigTable.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigTable.setDescription('This table contains objects for configuring mode of the host flagged by the connection rate filter.') hpicfConnectionRateFilterIfModeConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigEntry.setDescription('An entry in the hpicfConnectionRateFilterIfModeConfigEntry contains objects for configuring mode of the host flagged by the connection rate filter.') hpicfConnectionRateFilterIfModeValue = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("inform", 1), ("throttle", 2), ("block", 3))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeValue.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeValue.setDescription('This variable identifies the mode applied to the host flagged by the connection rate filter.') hpicfConnectionRateFilterNotificationControlEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfConnectionRateFilterNotificationControlEnable.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotificationControlEnable.setDescription('This object controls, whether or not notifications from the agent are enabled. The value true(1) means that notifications are enabled; the value false(2) means that they are not. The default value is enabled.') hpicfConnectionRateFilterSensitivity = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("low", 1), ("medium", 2), ("high", 3), ("aggressive", 4))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfConnectionRateFilterSensitivity.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterSensitivity.setDescription('This variable is for setting the level of filtering required for connection-rate-filter.') hpicfConnectionRateFilterCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1)) hpicfConnectionRateFilterGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2)) hpicfConnectionRateFilterCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1, 1)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterNotifyGroup"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterObjectGroup"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterNotifyGroup"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterObjectGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfConnectionRateFilterCompliance = hpicfConnectionRateFilterCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterCompliance.setDescription('A compliance statement for HP Routing switches with Connection Rate Filtering capability') hpicfConnectionRateFilterCompliance1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1, 2)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterObjectGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfConnectionRateFilterCompliance1 = hpicfConnectionRateFilterCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterCompliance1.setDescription('A compliance statement for HP Routing switches with Connection Rate Filtering capability') hpicfConnectionRateFilterNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 1)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterNotification")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfConnectionRateFilterNotifyGroup = hpicfConnectionRateFilterNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotifyGroup.setDescription('A collection of notifications used to indicate changes in Connection Rate Filter status') hpicfConnectionRateFilterObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 2)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterNotificationControlEnable"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterIfModeValue"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicfConnectionRateFilterSensitivity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfConnectionRateFilterObjectGroup = hpicfConnectionRateFilterObjectGroup.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterObjectGroup.setDescription('A collection of objects for configuring the Connection Rate Filter.') hpicfConnectionRateFilterObjectGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 3)).setObjects(("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterVlanId"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterInetAddress"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterInetAddressType"), ("HP-ICF-CONNECTION-RATE-FILTER", "hpicifConnectionRateFilterMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfConnectionRateFilterObjectGroup1 = hpicfConnectionRateFilterObjectGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterObjectGroup1.setDescription('A collection of objects for configuring the Connection Rate Filter.') mibBuilder.exportSymbols("HP-ICF-CONNECTION-RATE-FILTER", hpicfConnectionRateFilterNotificationControl=hpicfConnectionRateFilterNotificationControl, hpicfConnectionRateFilterNotification=hpicfConnectionRateFilterNotification, hpicfConnectionRateFilterIfModeConfigEntry=hpicfConnectionRateFilterIfModeConfigEntry, hpicfConnectionRateFilter=hpicfConnectionRateFilter, hpicfConnectionRateFilterObjects=hpicfConnectionRateFilterObjects, PYSNMP_MODULE_ID=hpicfConnectionRateFilter, hpicfConnectionRateFilterIfModeConfig=hpicfConnectionRateFilterIfModeConfig, hpicfConnectionRateFilterNotifyGroup=hpicfConnectionRateFilterNotifyGroup, hpicifConnectionRateFilterInetAddress=hpicifConnectionRateFilterInetAddress, hpicfConnectionRateFilterObjectGroup1=hpicfConnectionRateFilterObjectGroup1, hpicfConnectionRateFilterObjectGroup=hpicfConnectionRateFilterObjectGroup, hpicfConnectionRateFilterNotificationControlEnable=hpicfConnectionRateFilterNotificationControlEnable, hpicifConnectionRateFilterMode=hpicifConnectionRateFilterMode, hpicfConnectionRateFilterCompliance1=hpicfConnectionRateFilterCompliance1, hpicfConnectionRateFilterGroups=hpicfConnectionRateFilterGroups, hpicfConnectionRateFilterConformance=hpicfConnectionRateFilterConformance, hpicfConnectionRateFilterSensitivity=hpicfConnectionRateFilterSensitivity, hpicfConnectionRateFilterCompliance=hpicfConnectionRateFilterCompliance, hpicfConnectionRateFilterIfModeValue=hpicfConnectionRateFilterIfModeValue, hpicifConnectionRateFilterInetAddressType=hpicifConnectionRateFilterInetAddressType, hpicfConnectionRateFilterCompliances=hpicfConnectionRateFilterCompliances, hpicifConnectionRateFilterVlanId=hpicifConnectionRateFilterVlanId, hpicfConnectionRateFilterIfModeConfigTable=hpicfConnectionRateFilterIfModeConfigTable, hpicfConnectionRateFilterNotifications=hpicfConnectionRateFilterNotifications)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, single_value_constraint, constraints_union, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint') (hp_switch,) = mibBuilder.importSymbols('HP-ICF-OID', 'hpSwitch') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, mib_identifier, gauge32, notification_type, ip_address, counter32, integer32, counter64, bits, object_identity, unsigned32, iso, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'MibIdentifier', 'Gauge32', 'NotificationType', 'IpAddress', 'Counter32', 'Integer32', 'Counter64', 'Bits', 'ObjectIdentity', 'Unsigned32', 'iso', 'ModuleIdentity') (textual_convention, truth_value, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'TruthValue', 'DisplayString') hpicf_connection_rate_filter = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24)) hpicfConnectionRateFilter.setRevisions(('2009-05-12 01:08', '2004-09-07 01:08')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfConnectionRateFilter.setRevisionsDescriptions(("Added 'hpicfConnectionRateFilterSensitivity', 'hpicfConnectionRateFilterIfModeValue'.", 'Added Connection Rate Filter MIBs.')) if mibBuilder.loadTexts: hpicfConnectionRateFilter.setLastUpdated('200905120108Z') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfConnectionRateFilter.setDescription('This MIB module describes objects for management of the Connection Rate Filter feature in the HP Switch product line.') hpicf_connection_rate_filter_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 0)) hpicf_connection_rate_filter_notification_control = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1)) hpicf_connection_rate_filter_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2)) hpicf_connection_rate_filter_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3)) hpicf_connection_rate_filter_if_mode_config = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4)) hpicf_connection_rate_filter_notification = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 0, 1)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterVlanId'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterInetAddress'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterInetAddressType'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterMode')) if mibBuilder.loadTexts: hpicfConnectionRateFilterNotification.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotification.setDescription('This Notification indicates that the host associated with the specified IP Address has been flagged by the connection rate filter and may have been throttled or blocked.') hpicif_connection_rate_filter_vlan_id = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicifConnectionRateFilterVlanId.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterVlanId.setDescription('This variable uniquely identifies the vlan on which the host was flagged by the connection rate filter.') hpicif_connection_rate_filter_inet_address = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 2), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddress.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddress.setDescription('This variable uniquely identifies the IP address of the host flagged by the connection rate filter.') hpicif_connection_rate_filter_inet_address_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 3), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddressType.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterInetAddressType.setDescription('This variable uniquely identifies the type of IP address of the host flagged by the connection rate filter.') hpicif_connection_rate_filter_mode = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('inform', 0), ('throttle', 1), ('block', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicifConnectionRateFilterMode.setStatus('current') if mibBuilder.loadTexts: hpicifConnectionRateFilterMode.setDescription('This variable identifies the mode applied to the host flagged by the connection rate filter.') hpicf_connection_rate_filter_if_mode_config_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1)) if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigTable.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigTable.setDescription('This table contains objects for configuring mode of the host flagged by the connection rate filter.') hpicf_connection_rate_filter_if_mode_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeConfigEntry.setDescription('An entry in the hpicfConnectionRateFilterIfModeConfigEntry contains objects for configuring mode of the host flagged by the connection rate filter.') hpicf_connection_rate_filter_if_mode_value = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 4, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('none', 0), ('inform', 1), ('throttle', 2), ('block', 3))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeValue.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterIfModeValue.setDescription('This variable identifies the mode applied to the host flagged by the connection rate filter.') hpicf_connection_rate_filter_notification_control_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotificationControlEnable.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotificationControlEnable.setDescription('This object controls, whether or not notifications from the agent are enabled. The value true(1) means that notifications are enabled; the value false(2) means that they are not. The default value is enabled.') hpicf_connection_rate_filter_sensitivity = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('none', 0), ('low', 1), ('medium', 2), ('high', 3), ('aggressive', 4))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfConnectionRateFilterSensitivity.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterSensitivity.setDescription('This variable is for setting the level of filtering required for connection-rate-filter.') hpicf_connection_rate_filter_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1)) hpicf_connection_rate_filter_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2)) hpicf_connection_rate_filter_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1, 1)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterNotifyGroup'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterObjectGroup'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterNotifyGroup'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterObjectGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_connection_rate_filter_compliance = hpicfConnectionRateFilterCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterCompliance.setDescription('A compliance statement for HP Routing switches with Connection Rate Filtering capability') hpicf_connection_rate_filter_compliance1 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 1, 2)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterObjectGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_connection_rate_filter_compliance1 = hpicfConnectionRateFilterCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterCompliance1.setDescription('A compliance statement for HP Routing switches with Connection Rate Filtering capability') hpicf_connection_rate_filter_notify_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 1)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterNotification')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_connection_rate_filter_notify_group = hpicfConnectionRateFilterNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterNotifyGroup.setDescription('A collection of notifications used to indicate changes in Connection Rate Filter status') hpicf_connection_rate_filter_object_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 2)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterNotificationControlEnable'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterIfModeValue'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicfConnectionRateFilterSensitivity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_connection_rate_filter_object_group = hpicfConnectionRateFilterObjectGroup.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterObjectGroup.setDescription('A collection of objects for configuring the Connection Rate Filter.') hpicf_connection_rate_filter_object_group1 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 24, 3, 2, 3)).setObjects(('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterVlanId'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterInetAddress'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterInetAddressType'), ('HP-ICF-CONNECTION-RATE-FILTER', 'hpicifConnectionRateFilterMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_connection_rate_filter_object_group1 = hpicfConnectionRateFilterObjectGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfConnectionRateFilterObjectGroup1.setDescription('A collection of objects for configuring the Connection Rate Filter.') mibBuilder.exportSymbols('HP-ICF-CONNECTION-RATE-FILTER', hpicfConnectionRateFilterNotificationControl=hpicfConnectionRateFilterNotificationControl, hpicfConnectionRateFilterNotification=hpicfConnectionRateFilterNotification, hpicfConnectionRateFilterIfModeConfigEntry=hpicfConnectionRateFilterIfModeConfigEntry, hpicfConnectionRateFilter=hpicfConnectionRateFilter, hpicfConnectionRateFilterObjects=hpicfConnectionRateFilterObjects, PYSNMP_MODULE_ID=hpicfConnectionRateFilter, hpicfConnectionRateFilterIfModeConfig=hpicfConnectionRateFilterIfModeConfig, hpicfConnectionRateFilterNotifyGroup=hpicfConnectionRateFilterNotifyGroup, hpicifConnectionRateFilterInetAddress=hpicifConnectionRateFilterInetAddress, hpicfConnectionRateFilterObjectGroup1=hpicfConnectionRateFilterObjectGroup1, hpicfConnectionRateFilterObjectGroup=hpicfConnectionRateFilterObjectGroup, hpicfConnectionRateFilterNotificationControlEnable=hpicfConnectionRateFilterNotificationControlEnable, hpicifConnectionRateFilterMode=hpicifConnectionRateFilterMode, hpicfConnectionRateFilterCompliance1=hpicfConnectionRateFilterCompliance1, hpicfConnectionRateFilterGroups=hpicfConnectionRateFilterGroups, hpicfConnectionRateFilterConformance=hpicfConnectionRateFilterConformance, hpicfConnectionRateFilterSensitivity=hpicfConnectionRateFilterSensitivity, hpicfConnectionRateFilterCompliance=hpicfConnectionRateFilterCompliance, hpicfConnectionRateFilterIfModeValue=hpicfConnectionRateFilterIfModeValue, hpicifConnectionRateFilterInetAddressType=hpicifConnectionRateFilterInetAddressType, hpicfConnectionRateFilterCompliances=hpicfConnectionRateFilterCompliances, hpicifConnectionRateFilterVlanId=hpicifConnectionRateFilterVlanId, hpicfConnectionRateFilterIfModeConfigTable=hpicfConnectionRateFilterIfModeConfigTable, hpicfConnectionRateFilterNotifications=hpicfConnectionRateFilterNotifications)
_base_ = [ '../_base_/datasets/togal.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py' ] # model settings norm_cfg = dict(type='BN', requires_grad=True) model = dict( type='EncoderDecoder', pretrained=None, backbone=dict( type='Unet', encoder_name="tu-tf_efficientnetv2_b3", encoder_depth=5 ), decode_head=dict( type='FCNHead', in_channels=16, in_index=-1, channels=16, num_convs=1, concat_input=False, dropout_ratio=0.1, num_classes=2, norm_cfg=norm_cfg, align_corners=False, loss_decode=dict( type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), # model training and testing settings train_cfg=dict(), test_cfg=dict(mode='slide', crop_size=(256, 256), stride=(170, 170)))
_base_ = ['../_base_/datasets/togal.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py'] norm_cfg = dict(type='BN', requires_grad=True) model = dict(type='EncoderDecoder', pretrained=None, backbone=dict(type='Unet', encoder_name='tu-tf_efficientnetv2_b3', encoder_depth=5), decode_head=dict(type='FCNHead', in_channels=16, in_index=-1, channels=16, num_convs=1, concat_input=False, dropout_ratio=0.1, num_classes=2, norm_cfg=norm_cfg, align_corners=False, loss_decode=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), train_cfg=dict(), test_cfg=dict(mode='slide', crop_size=(256, 256), stride=(170, 170)))
class DimFieldModel: def __init__( self, *kwargs, field_key: str, project_id: str, name: str, control_type: str, default_value: str = None, counted_character: bool, counted_character_date_from_key: int, counted_character_time_from_key: int, counted_character_date_to_key: int, counted_character_time_to_key: int, counted_character_from_timestamp: str, counted_character_to_timestamp: str, is_sub_field: bool = False, ): self.field_key = field_key self.project_id = project_id self.name = name self.control_type = control_type self.default_value = default_value self.counted_character = counted_character self.counted_character_date_from_key = counted_character_date_from_key self.counted_character_time_from_key = counted_character_time_from_key self.counted_character_date_to_key = counted_character_date_to_key self.counted_character_time_to_key = counted_character_time_to_key self.counted_character_from_timestamp = counted_character_from_timestamp self.counted_character_to_timestamp = counted_character_to_timestamp self.is_sub_field = is_sub_field
class Dimfieldmodel: def __init__(self, *kwargs, field_key: str, project_id: str, name: str, control_type: str, default_value: str=None, counted_character: bool, counted_character_date_from_key: int, counted_character_time_from_key: int, counted_character_date_to_key: int, counted_character_time_to_key: int, counted_character_from_timestamp: str, counted_character_to_timestamp: str, is_sub_field: bool=False): self.field_key = field_key self.project_id = project_id self.name = name self.control_type = control_type self.default_value = default_value self.counted_character = counted_character self.counted_character_date_from_key = counted_character_date_from_key self.counted_character_time_from_key = counted_character_time_from_key self.counted_character_date_to_key = counted_character_date_to_key self.counted_character_time_to_key = counted_character_time_to_key self.counted_character_from_timestamp = counted_character_from_timestamp self.counted_character_to_timestamp = counted_character_to_timestamp self.is_sub_field = is_sub_field
nome = input('what is your name? ') idade = input('how old are you ' + nome + '?') peso = input('what is your weight {}?'.format(nome) + '?') print('dados: {}'.format(nome) + ' Weight:' + peso + 'Idade:' + idade)
nome = input('what is your name? ') idade = input('how old are you ' + nome + '?') peso = input('what is your weight {}?'.format(nome) + '?') print('dados: {}'.format(nome) + ' Weight:' + peso + 'Idade:' + idade)
# common classes_file = './data/classes/voc.names' num_classes = 1 input_image_h = 448 input_image_w = 448 down_ratio = 4 max_objs = 150 ot_nodes = ['detector/hm/Sigmoid', "detector/wh/Relu", "detector/reg/Relu"] moving_ave_decay = 0.9995 # train train_data_file = './data/dataset/voc_train.txt' batch_size = 4 epochs = 80 # learning rate lr_type="exponential"# "exponential","piecewise","CosineAnnealing" lr = 1e-3 # exponential lr_decay_steps = 5000 # exponential lr_decay_rate = 0.95 # exponential lr_boundaries = [40000,60000] # piecewise lr_piecewise = [0.0001, 0.00001, 0.000001] # piecewise warm_up_epochs = 2 # CosineAnnealing init_lr= 1e-4 # CosineAnnealing end_lr = 1e-6 # CosineAnnealing pre_train = True depth = 1 # test test_data_file = './data/dataset/voc_test.txt' score_threshold = 0.3 use_nms = True nms_thresh = 0.4 weight_file = './checkpoint' write_image = True write_image_path = './eval/JPEGImages/' show_label = True
classes_file = './data/classes/voc.names' num_classes = 1 input_image_h = 448 input_image_w = 448 down_ratio = 4 max_objs = 150 ot_nodes = ['detector/hm/Sigmoid', 'detector/wh/Relu', 'detector/reg/Relu'] moving_ave_decay = 0.9995 train_data_file = './data/dataset/voc_train.txt' batch_size = 4 epochs = 80 lr_type = 'exponential' lr = 0.001 lr_decay_steps = 5000 lr_decay_rate = 0.95 lr_boundaries = [40000, 60000] lr_piecewise = [0.0001, 1e-05, 1e-06] warm_up_epochs = 2 init_lr = 0.0001 end_lr = 1e-06 pre_train = True depth = 1 test_data_file = './data/dataset/voc_test.txt' score_threshold = 0.3 use_nms = True nms_thresh = 0.4 weight_file = './checkpoint' write_image = True write_image_path = './eval/JPEGImages/' show_label = True
# _*_ coding=utf-8 _*_ class Config(): def __init__(self): self.device = '1' self.data_dir = '../data' self.logging_dir = 'log' self.samples_dir = 'samples' self.testing_dir = 'test_samples' self.checkpt_dir = 'checkpoints' self.max_srclen = 25 self.max_tgtlen = 25 self.vocab_path = '../data/vocab' #self.embed_path = '../data/vocab_embeddings' self.embed_path = None self.vocab_size = 20000 self.emb_dim = 512 self.graph_seed = 123456 self.enc_num_block = 6 self.enc_head = 8 self.dec_num_block = 6 self.dec_head = 8 self.d_model = 512 self.d_k = 64 self.d_q = 64 self.d_v = 64 self.d_ff = 2048 self.dropout = 0.1 self.lr = 1e-3 self.warmming_up = 2000 self.StepLR_size = 5 self.StepLR_gamma = 0.95 self.batch_size = 512 self.total_epoch_num = 100 self.eval_per_batch = None # set 'number' of 'None'
class Config: def __init__(self): self.device = '1' self.data_dir = '../data' self.logging_dir = 'log' self.samples_dir = 'samples' self.testing_dir = 'test_samples' self.checkpt_dir = 'checkpoints' self.max_srclen = 25 self.max_tgtlen = 25 self.vocab_path = '../data/vocab' self.embed_path = None self.vocab_size = 20000 self.emb_dim = 512 self.graph_seed = 123456 self.enc_num_block = 6 self.enc_head = 8 self.dec_num_block = 6 self.dec_head = 8 self.d_model = 512 self.d_k = 64 self.d_q = 64 self.d_v = 64 self.d_ff = 2048 self.dropout = 0.1 self.lr = 0.001 self.warmming_up = 2000 self.StepLR_size = 5 self.StepLR_gamma = 0.95 self.batch_size = 512 self.total_epoch_num = 100 self.eval_per_batch = None
t1 = ('OI', 2.0, [40, 50]) print(t1[2:]) t = 1, 4, "THiago" tupla1 = 1, 2, 3, 4, 5 tulpla2 = 6, 7, 8, 9, 10 print(tupla1 + tulpla2) # concatena
t1 = ('OI', 2.0, [40, 50]) print(t1[2:]) t = (1, 4, 'THiago') tupla1 = (1, 2, 3, 4, 5) tulpla2 = (6, 7, 8, 9, 10) print(tupla1 + tulpla2)
yformat = u"%(d1)i\xB0%(d2)02i'%(d3)02.2f''" xformat = u"%(hour)ih%(minute)02im%(second)02.2fs" def getFormatDict(tick): degree1 = int(tick) degree2 = int((tick * 100 - degree1 * 100)) degree3 = ((tick * 10000 - degree1 * 10000 - degree2 * 100)) tick = (tick + 360) % 360 totalhours = float(tick * 24.0 / 360) hours = int(totalhours) minutes = int((totalhours*60 - hours*60)) seconds = (totalhours * 3600 - hours * 3600 - minutes * 60) values = {"d1":degree1, "d2":degree2, "d3":degree3, "hour":hours, "minute":minutes, "second":seconds} return values def formatX(tick): values = getFormatDict(tick) return xformat % values def formatY(tick): values = getFormatDict(tick) return yformat % values
yformat = u"%(d1)i°%(d2)02i'%(d3)02.2f''" xformat = u'%(hour)ih%(minute)02im%(second)02.2fs' def get_format_dict(tick): degree1 = int(tick) degree2 = int(tick * 100 - degree1 * 100) degree3 = tick * 10000 - degree1 * 10000 - degree2 * 100 tick = (tick + 360) % 360 totalhours = float(tick * 24.0 / 360) hours = int(totalhours) minutes = int(totalhours * 60 - hours * 60) seconds = totalhours * 3600 - hours * 3600 - minutes * 60 values = {'d1': degree1, 'd2': degree2, 'd3': degree3, 'hour': hours, 'minute': minutes, 'second': seconds} return values def format_x(tick): values = get_format_dict(tick) return xformat % values def format_y(tick): values = get_format_dict(tick) return yformat % values
print('MyMy',end=' ') print('Popsicle') print('Balloon','Helium','Blimp',sep=' and ')
print('MyMy', end=' ') print('Popsicle') print('Balloon', 'Helium', 'Blimp', sep=' and ')
N,M=map(int,input().split()) A=[int(input()) for i in range(M)][::-1] ans=[] s=set() for a in A: if a not in s:ans.append(a) s.add(a) for i in range(1,N+1): if i not in s:ans.append(i) print(*ans,sep="\n")
(n, m) = map(int, input().split()) a = [int(input()) for i in range(M)][::-1] ans = [] s = set() for a in A: if a not in s: ans.append(a) s.add(a) for i in range(1, N + 1): if i not in s: ans.append(i) print(*ans, sep='\n')
#fix me.. but for now lets just pass the data back.. def compress(data): return data def decompress(data): return data
def compress(data): return data def decompress(data): return data
print('Hello World!!!') if True: print('FROM if') num = 1 while num <= 10: print(num) num += 1 list_ = [1, 2, 3, 4, 5] for i in range(1, 7): print(i)
print('Hello World!!!') if True: print('FROM if') num = 1 while num <= 10: print(num) num += 1 list_ = [1, 2, 3, 4, 5] for i in range(1, 7): print(i)
# # PySNMP MIB module LOWPAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LOWPAN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:58:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Integer32, IpAddress, NotificationType, ObjectIdentity, mib_2, Counter32, ModuleIdentity, iso, Gauge32, TimeTicks, Counter64, Unsigned32, Bits, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "IpAddress", "NotificationType", "ObjectIdentity", "mib-2", "Counter32", "ModuleIdentity", "iso", "Gauge32", "TimeTicks", "Counter64", "Unsigned32", "Bits", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") lowpanMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 226)) lowpanMIB.setRevisions(('2014-10-10 00:00',)) if mibBuilder.loadTexts: lowpanMIB.setLastUpdated('201410100000Z') if mibBuilder.loadTexts: lowpanMIB.setOrganization('IETF IPv6 over Networks of Resource-constrained Nodes Working Group') lowpanNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 0)) lowpanObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 1)) lowpanConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 2)) lowpanStats = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 1, 1)) lowpanReasmTimeout = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 1), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanReasmTimeout.setStatus('current') lowpanInReceives = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInReceives.setStatus('current') lowpanInHdrErrors = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInHdrErrors.setStatus('current') lowpanInMeshReceives = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInMeshReceives.setStatus('current') lowpanInMeshForwds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInMeshForwds.setStatus('current') lowpanInMeshDelivers = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInMeshDelivers.setStatus('current') lowpanInReasmReqds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInReasmReqds.setStatus('current') lowpanInReasmFails = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInReasmFails.setStatus('current') lowpanInReasmOKs = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInReasmOKs.setStatus('current') lowpanInCompReqds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInCompReqds.setStatus('current') lowpanInCompFails = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInCompFails.setStatus('current') lowpanInCompOKs = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInCompOKs.setStatus('current') lowpanInDiscards = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInDiscards.setStatus('current') lowpanInDelivers = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanInDelivers.setStatus('current') lowpanOutRequests = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutRequests.setStatus('current') lowpanOutCompReqds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutCompReqds.setStatus('current') lowpanOutCompFails = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutCompFails.setStatus('current') lowpanOutCompOKs = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutCompOKs.setStatus('current') lowpanOutFragReqds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutFragReqds.setStatus('current') lowpanOutFragFails = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutFragFails.setStatus('current') lowpanOutFragOKs = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutFragOKs.setStatus('current') lowpanOutFragCreates = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutFragCreates.setStatus('current') lowpanOutMeshHopLimitExceeds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutMeshHopLimitExceeds.setStatus('current') lowpanOutMeshNoRoutes = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutMeshNoRoutes.setStatus('current') lowpanOutMeshRequests = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutMeshRequests.setStatus('current') lowpanOutMeshForwds = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutMeshForwds.setStatus('current') lowpanOutMeshTransmits = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutMeshTransmits.setStatus('current') lowpanOutDiscards = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutDiscards.setStatus('current') lowpanOutTransmits = MibScalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanOutTransmits.setStatus('current') lowpanIfStatsTable = MibTable((1, 3, 6, 1, 2, 1, 226, 1, 2), ) if mibBuilder.loadTexts: lowpanIfStatsTable.setStatus('current') lowpanIfStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 226, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lowpanIfStatsEntry.setStatus('current') lowpanIfReasmTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 1), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfReasmTimeout.setStatus('current') lowpanIfInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInReceives.setStatus('current') lowpanIfInHdrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInHdrErrors.setStatus('current') lowpanIfInMeshReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInMeshReceives.setStatus('current') lowpanIfInMeshForwds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInMeshForwds.setStatus('current') lowpanIfInMeshDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInMeshDelivers.setStatus('current') lowpanIfInReasmReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInReasmReqds.setStatus('current') lowpanIfInReasmFails = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInReasmFails.setStatus('current') lowpanIfInReasmOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInReasmOKs.setStatus('current') lowpanIfInCompReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInCompReqds.setStatus('current') lowpanIfInCompFails = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInCompFails.setStatus('current') lowpanIfInCompOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInCompOKs.setStatus('current') lowpanIfInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInDiscards.setStatus('current') lowpanIfInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfInDelivers.setStatus('current') lowpanIfOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutRequests.setStatus('current') lowpanIfOutCompReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutCompReqds.setStatus('current') lowpanIfOutCompFails = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutCompFails.setStatus('current') lowpanIfOutCompOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutCompOKs.setStatus('current') lowpanIfOutFragReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutFragReqds.setStatus('current') lowpanIfOutFragFails = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutFragFails.setStatus('current') lowpanIfOutFragOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutFragOKs.setStatus('current') lowpanIfOutFragCreates = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutFragCreates.setStatus('current') lowpanIfOutMeshHopLimitExceeds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutMeshHopLimitExceeds.setStatus('current') lowpanIfOutMeshNoRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutMeshNoRoutes.setStatus('current') lowpanIfOutMeshRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutMeshRequests.setStatus('current') lowpanIfOutMeshForwds = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutMeshForwds.setStatus('current') lowpanIfOutMeshTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutMeshTransmits.setStatus('current') lowpanIfOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutDiscards.setStatus('current') lowpanIfOutTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lowpanIfOutTransmits.setStatus('current') lowpanGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 2, 1)) lowpanCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 226, 2, 2)) lowpanCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 226, 2, 2, 1)).setObjects(("LOWPAN-MIB", "lowpanStatsGroup"), ("LOWPAN-MIB", "lowpanStatsMeshGroup"), ("LOWPAN-MIB", "lowpanIfStatsGroup"), ("LOWPAN-MIB", "lowpanIfStatsMeshGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpanCompliance = lowpanCompliance.setStatus('current') lowpanStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 226, 2, 1, 1)).setObjects(("LOWPAN-MIB", "lowpanReasmTimeout"), ("LOWPAN-MIB", "lowpanInReceives"), ("LOWPAN-MIB", "lowpanInHdrErrors"), ("LOWPAN-MIB", "lowpanInMeshReceives"), ("LOWPAN-MIB", "lowpanInReasmReqds"), ("LOWPAN-MIB", "lowpanInReasmFails"), ("LOWPAN-MIB", "lowpanInReasmOKs"), ("LOWPAN-MIB", "lowpanInCompReqds"), ("LOWPAN-MIB", "lowpanInCompFails"), ("LOWPAN-MIB", "lowpanInCompOKs"), ("LOWPAN-MIB", "lowpanInDiscards"), ("LOWPAN-MIB", "lowpanInDelivers"), ("LOWPAN-MIB", "lowpanOutRequests"), ("LOWPAN-MIB", "lowpanOutCompReqds"), ("LOWPAN-MIB", "lowpanOutCompFails"), ("LOWPAN-MIB", "lowpanOutCompOKs"), ("LOWPAN-MIB", "lowpanOutFragReqds"), ("LOWPAN-MIB", "lowpanOutFragFails"), ("LOWPAN-MIB", "lowpanOutFragOKs"), ("LOWPAN-MIB", "lowpanOutFragCreates"), ("LOWPAN-MIB", "lowpanOutDiscards"), ("LOWPAN-MIB", "lowpanOutTransmits")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpanStatsGroup = lowpanStatsGroup.setStatus('current') lowpanStatsMeshGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 226, 2, 1, 2)).setObjects(("LOWPAN-MIB", "lowpanInMeshForwds"), ("LOWPAN-MIB", "lowpanInMeshDelivers"), ("LOWPAN-MIB", "lowpanOutMeshHopLimitExceeds"), ("LOWPAN-MIB", "lowpanOutMeshNoRoutes"), ("LOWPAN-MIB", "lowpanOutMeshRequests"), ("LOWPAN-MIB", "lowpanOutMeshForwds"), ("LOWPAN-MIB", "lowpanOutMeshTransmits")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpanStatsMeshGroup = lowpanStatsMeshGroup.setStatus('current') lowpanIfStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 226, 2, 1, 3)).setObjects(("LOWPAN-MIB", "lowpanIfReasmTimeout"), ("LOWPAN-MIB", "lowpanIfInReceives"), ("LOWPAN-MIB", "lowpanIfInHdrErrors"), ("LOWPAN-MIB", "lowpanIfInMeshReceives"), ("LOWPAN-MIB", "lowpanIfInReasmReqds"), ("LOWPAN-MIB", "lowpanIfInReasmFails"), ("LOWPAN-MIB", "lowpanIfInReasmOKs"), ("LOWPAN-MIB", "lowpanIfInCompReqds"), ("LOWPAN-MIB", "lowpanIfInCompFails"), ("LOWPAN-MIB", "lowpanIfInCompOKs"), ("LOWPAN-MIB", "lowpanIfInDiscards"), ("LOWPAN-MIB", "lowpanIfInDelivers"), ("LOWPAN-MIB", "lowpanIfOutRequests"), ("LOWPAN-MIB", "lowpanIfOutCompReqds"), ("LOWPAN-MIB", "lowpanIfOutCompFails"), ("LOWPAN-MIB", "lowpanIfOutCompOKs"), ("LOWPAN-MIB", "lowpanIfOutFragReqds"), ("LOWPAN-MIB", "lowpanIfOutFragFails"), ("LOWPAN-MIB", "lowpanIfOutFragOKs"), ("LOWPAN-MIB", "lowpanIfOutFragCreates"), ("LOWPAN-MIB", "lowpanIfOutDiscards"), ("LOWPAN-MIB", "lowpanIfOutTransmits")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpanIfStatsGroup = lowpanIfStatsGroup.setStatus('current') lowpanIfStatsMeshGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 226, 2, 1, 4)).setObjects(("LOWPAN-MIB", "lowpanIfInMeshForwds"), ("LOWPAN-MIB", "lowpanIfInMeshDelivers"), ("LOWPAN-MIB", "lowpanIfOutMeshHopLimitExceeds"), ("LOWPAN-MIB", "lowpanIfOutMeshNoRoutes"), ("LOWPAN-MIB", "lowpanIfOutMeshRequests"), ("LOWPAN-MIB", "lowpanIfOutMeshForwds"), ("LOWPAN-MIB", "lowpanIfOutMeshTransmits")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpanIfStatsMeshGroup = lowpanIfStatsMeshGroup.setStatus('current') mibBuilder.exportSymbols("LOWPAN-MIB", lowpanIfOutFragCreates=lowpanIfOutFragCreates, lowpanIfReasmTimeout=lowpanIfReasmTimeout, lowpanOutFragCreates=lowpanOutFragCreates, lowpanOutFragReqds=lowpanOutFragReqds, lowpanReasmTimeout=lowpanReasmTimeout, lowpanOutMeshHopLimitExceeds=lowpanOutMeshHopLimitExceeds, lowpanIfStatsTable=lowpanIfStatsTable, lowpanIfInCompReqds=lowpanIfInCompReqds, lowpanOutRequests=lowpanOutRequests, lowpanIfOutTransmits=lowpanIfOutTransmits, lowpanIfInReasmOKs=lowpanIfInReasmOKs, lowpanIfOutCompReqds=lowpanIfOutCompReqds, lowpanMIB=lowpanMIB, lowpanInReasmOKs=lowpanInReasmOKs, lowpanOutMeshRequests=lowpanOutMeshRequests, lowpanOutMeshTransmits=lowpanOutMeshTransmits, lowpanInHdrErrors=lowpanInHdrErrors, lowpanIfOutDiscards=lowpanIfOutDiscards, PYSNMP_MODULE_ID=lowpanMIB, lowpanNotifications=lowpanNotifications, lowpanInMeshReceives=lowpanInMeshReceives, lowpanOutMeshForwds=lowpanOutMeshForwds, lowpanIfOutFragReqds=lowpanIfOutFragReqds, lowpanInReasmFails=lowpanInReasmFails, lowpanIfOutRequests=lowpanIfOutRequests, lowpanInReceives=lowpanInReceives, lowpanIfStatsGroup=lowpanIfStatsGroup, lowpanInCompReqds=lowpanInCompReqds, lowpanInReasmReqds=lowpanInReasmReqds, lowpanOutDiscards=lowpanOutDiscards, lowpanInCompFails=lowpanInCompFails, lowpanIfInMeshDelivers=lowpanIfInMeshDelivers, lowpanCompliance=lowpanCompliance, lowpanInMeshDelivers=lowpanInMeshDelivers, lowpanIfStatsEntry=lowpanIfStatsEntry, lowpanOutCompReqds=lowpanOutCompReqds, lowpanIfOutFragFails=lowpanIfOutFragFails, lowpanObjects=lowpanObjects, lowpanStats=lowpanStats, lowpanOutFragFails=lowpanOutFragFails, lowpanIfInReasmReqds=lowpanIfInReasmReqds, lowpanInMeshForwds=lowpanInMeshForwds, lowpanIfOutCompFails=lowpanIfOutCompFails, lowpanIfOutCompOKs=lowpanIfOutCompOKs, lowpanConformance=lowpanConformance, lowpanIfInReceives=lowpanIfInReceives, lowpanOutFragOKs=lowpanOutFragOKs, lowpanOutCompFails=lowpanOutCompFails, lowpanIfInCompOKs=lowpanIfInCompOKs, lowpanIfInReasmFails=lowpanIfInReasmFails, lowpanStatsGroup=lowpanStatsGroup, lowpanIfOutMeshTransmits=lowpanIfOutMeshTransmits, lowpanStatsMeshGroup=lowpanStatsMeshGroup, lowpanIfInCompFails=lowpanIfInCompFails, lowpanIfOutMeshHopLimitExceeds=lowpanIfOutMeshHopLimitExceeds, lowpanGroups=lowpanGroups, lowpanIfOutFragOKs=lowpanIfOutFragOKs, lowpanInCompOKs=lowpanInCompOKs, lowpanOutCompOKs=lowpanOutCompOKs, lowpanIfInMeshForwds=lowpanIfInMeshForwds, lowpanIfInDelivers=lowpanIfInDelivers, lowpanCompliances=lowpanCompliances, lowpanIfOutMeshNoRoutes=lowpanIfOutMeshNoRoutes, lowpanInDiscards=lowpanInDiscards, lowpanIfOutMeshForwds=lowpanIfOutMeshForwds, lowpanIfInHdrErrors=lowpanIfInHdrErrors, lowpanInDelivers=lowpanInDelivers, lowpanIfInDiscards=lowpanIfInDiscards, lowpanOutMeshNoRoutes=lowpanOutMeshNoRoutes, lowpanOutTransmits=lowpanOutTransmits, lowpanIfOutMeshRequests=lowpanIfOutMeshRequests, lowpanIfStatsMeshGroup=lowpanIfStatsMeshGroup, lowpanIfInMeshReceives=lowpanIfInMeshReceives)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, constraints_union, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (integer32, ip_address, notification_type, object_identity, mib_2, counter32, module_identity, iso, gauge32, time_ticks, counter64, unsigned32, bits, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'IpAddress', 'NotificationType', 'ObjectIdentity', 'mib-2', 'Counter32', 'ModuleIdentity', 'iso', 'Gauge32', 'TimeTicks', 'Counter64', 'Unsigned32', 'Bits', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') lowpan_mib = module_identity((1, 3, 6, 1, 2, 1, 226)) lowpanMIB.setRevisions(('2014-10-10 00:00',)) if mibBuilder.loadTexts: lowpanMIB.setLastUpdated('201410100000Z') if mibBuilder.loadTexts: lowpanMIB.setOrganization('IETF IPv6 over Networks of Resource-constrained Nodes Working Group') lowpan_notifications = mib_identifier((1, 3, 6, 1, 2, 1, 226, 0)) lowpan_objects = mib_identifier((1, 3, 6, 1, 2, 1, 226, 1)) lowpan_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 226, 2)) lowpan_stats = mib_identifier((1, 3, 6, 1, 2, 1, 226, 1, 1)) lowpan_reasm_timeout = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 1), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanReasmTimeout.setStatus('current') lowpan_in_receives = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInReceives.setStatus('current') lowpan_in_hdr_errors = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInHdrErrors.setStatus('current') lowpan_in_mesh_receives = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInMeshReceives.setStatus('current') lowpan_in_mesh_forwds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInMeshForwds.setStatus('current') lowpan_in_mesh_delivers = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInMeshDelivers.setStatus('current') lowpan_in_reasm_reqds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInReasmReqds.setStatus('current') lowpan_in_reasm_fails = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInReasmFails.setStatus('current') lowpan_in_reasm_o_ks = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInReasmOKs.setStatus('current') lowpan_in_comp_reqds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInCompReqds.setStatus('current') lowpan_in_comp_fails = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInCompFails.setStatus('current') lowpan_in_comp_o_ks = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInCompOKs.setStatus('current') lowpan_in_discards = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInDiscards.setStatus('current') lowpan_in_delivers = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanInDelivers.setStatus('current') lowpan_out_requests = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutRequests.setStatus('current') lowpan_out_comp_reqds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutCompReqds.setStatus('current') lowpan_out_comp_fails = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutCompFails.setStatus('current') lowpan_out_comp_o_ks = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutCompOKs.setStatus('current') lowpan_out_frag_reqds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutFragReqds.setStatus('current') lowpan_out_frag_fails = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutFragFails.setStatus('current') lowpan_out_frag_o_ks = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutFragOKs.setStatus('current') lowpan_out_frag_creates = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutFragCreates.setStatus('current') lowpan_out_mesh_hop_limit_exceeds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutMeshHopLimitExceeds.setStatus('current') lowpan_out_mesh_no_routes = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutMeshNoRoutes.setStatus('current') lowpan_out_mesh_requests = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutMeshRequests.setStatus('current') lowpan_out_mesh_forwds = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutMeshForwds.setStatus('current') lowpan_out_mesh_transmits = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutMeshTransmits.setStatus('current') lowpan_out_discards = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutDiscards.setStatus('current') lowpan_out_transmits = mib_scalar((1, 3, 6, 1, 2, 1, 226, 1, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanOutTransmits.setStatus('current') lowpan_if_stats_table = mib_table((1, 3, 6, 1, 2, 1, 226, 1, 2)) if mibBuilder.loadTexts: lowpanIfStatsTable.setStatus('current') lowpan_if_stats_entry = mib_table_row((1, 3, 6, 1, 2, 1, 226, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: lowpanIfStatsEntry.setStatus('current') lowpan_if_reasm_timeout = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 1), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfReasmTimeout.setStatus('current') lowpan_if_in_receives = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInReceives.setStatus('current') lowpan_if_in_hdr_errors = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInHdrErrors.setStatus('current') lowpan_if_in_mesh_receives = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInMeshReceives.setStatus('current') lowpan_if_in_mesh_forwds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInMeshForwds.setStatus('current') lowpan_if_in_mesh_delivers = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInMeshDelivers.setStatus('current') lowpan_if_in_reasm_reqds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInReasmReqds.setStatus('current') lowpan_if_in_reasm_fails = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInReasmFails.setStatus('current') lowpan_if_in_reasm_o_ks = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInReasmOKs.setStatus('current') lowpan_if_in_comp_reqds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInCompReqds.setStatus('current') lowpan_if_in_comp_fails = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInCompFails.setStatus('current') lowpan_if_in_comp_o_ks = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInCompOKs.setStatus('current') lowpan_if_in_discards = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInDiscards.setStatus('current') lowpan_if_in_delivers = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfInDelivers.setStatus('current') lowpan_if_out_requests = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutRequests.setStatus('current') lowpan_if_out_comp_reqds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutCompReqds.setStatus('current') lowpan_if_out_comp_fails = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutCompFails.setStatus('current') lowpan_if_out_comp_o_ks = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutCompOKs.setStatus('current') lowpan_if_out_frag_reqds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutFragReqds.setStatus('current') lowpan_if_out_frag_fails = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutFragFails.setStatus('current') lowpan_if_out_frag_o_ks = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutFragOKs.setStatus('current') lowpan_if_out_frag_creates = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutFragCreates.setStatus('current') lowpan_if_out_mesh_hop_limit_exceeds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutMeshHopLimitExceeds.setStatus('current') lowpan_if_out_mesh_no_routes = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutMeshNoRoutes.setStatus('current') lowpan_if_out_mesh_requests = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutMeshRequests.setStatus('current') lowpan_if_out_mesh_forwds = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutMeshForwds.setStatus('current') lowpan_if_out_mesh_transmits = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutMeshTransmits.setStatus('current') lowpan_if_out_discards = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutDiscards.setStatus('current') lowpan_if_out_transmits = mib_table_column((1, 3, 6, 1, 2, 1, 226, 1, 2, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lowpanIfOutTransmits.setStatus('current') lowpan_groups = mib_identifier((1, 3, 6, 1, 2, 1, 226, 2, 1)) lowpan_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 226, 2, 2)) lowpan_compliance = module_compliance((1, 3, 6, 1, 2, 1, 226, 2, 2, 1)).setObjects(('LOWPAN-MIB', 'lowpanStatsGroup'), ('LOWPAN-MIB', 'lowpanStatsMeshGroup'), ('LOWPAN-MIB', 'lowpanIfStatsGroup'), ('LOWPAN-MIB', 'lowpanIfStatsMeshGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpan_compliance = lowpanCompliance.setStatus('current') lowpan_stats_group = object_group((1, 3, 6, 1, 2, 1, 226, 2, 1, 1)).setObjects(('LOWPAN-MIB', 'lowpanReasmTimeout'), ('LOWPAN-MIB', 'lowpanInReceives'), ('LOWPAN-MIB', 'lowpanInHdrErrors'), ('LOWPAN-MIB', 'lowpanInMeshReceives'), ('LOWPAN-MIB', 'lowpanInReasmReqds'), ('LOWPAN-MIB', 'lowpanInReasmFails'), ('LOWPAN-MIB', 'lowpanInReasmOKs'), ('LOWPAN-MIB', 'lowpanInCompReqds'), ('LOWPAN-MIB', 'lowpanInCompFails'), ('LOWPAN-MIB', 'lowpanInCompOKs'), ('LOWPAN-MIB', 'lowpanInDiscards'), ('LOWPAN-MIB', 'lowpanInDelivers'), ('LOWPAN-MIB', 'lowpanOutRequests'), ('LOWPAN-MIB', 'lowpanOutCompReqds'), ('LOWPAN-MIB', 'lowpanOutCompFails'), ('LOWPAN-MIB', 'lowpanOutCompOKs'), ('LOWPAN-MIB', 'lowpanOutFragReqds'), ('LOWPAN-MIB', 'lowpanOutFragFails'), ('LOWPAN-MIB', 'lowpanOutFragOKs'), ('LOWPAN-MIB', 'lowpanOutFragCreates'), ('LOWPAN-MIB', 'lowpanOutDiscards'), ('LOWPAN-MIB', 'lowpanOutTransmits')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpan_stats_group = lowpanStatsGroup.setStatus('current') lowpan_stats_mesh_group = object_group((1, 3, 6, 1, 2, 1, 226, 2, 1, 2)).setObjects(('LOWPAN-MIB', 'lowpanInMeshForwds'), ('LOWPAN-MIB', 'lowpanInMeshDelivers'), ('LOWPAN-MIB', 'lowpanOutMeshHopLimitExceeds'), ('LOWPAN-MIB', 'lowpanOutMeshNoRoutes'), ('LOWPAN-MIB', 'lowpanOutMeshRequests'), ('LOWPAN-MIB', 'lowpanOutMeshForwds'), ('LOWPAN-MIB', 'lowpanOutMeshTransmits')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpan_stats_mesh_group = lowpanStatsMeshGroup.setStatus('current') lowpan_if_stats_group = object_group((1, 3, 6, 1, 2, 1, 226, 2, 1, 3)).setObjects(('LOWPAN-MIB', 'lowpanIfReasmTimeout'), ('LOWPAN-MIB', 'lowpanIfInReceives'), ('LOWPAN-MIB', 'lowpanIfInHdrErrors'), ('LOWPAN-MIB', 'lowpanIfInMeshReceives'), ('LOWPAN-MIB', 'lowpanIfInReasmReqds'), ('LOWPAN-MIB', 'lowpanIfInReasmFails'), ('LOWPAN-MIB', 'lowpanIfInReasmOKs'), ('LOWPAN-MIB', 'lowpanIfInCompReqds'), ('LOWPAN-MIB', 'lowpanIfInCompFails'), ('LOWPAN-MIB', 'lowpanIfInCompOKs'), ('LOWPAN-MIB', 'lowpanIfInDiscards'), ('LOWPAN-MIB', 'lowpanIfInDelivers'), ('LOWPAN-MIB', 'lowpanIfOutRequests'), ('LOWPAN-MIB', 'lowpanIfOutCompReqds'), ('LOWPAN-MIB', 'lowpanIfOutCompFails'), ('LOWPAN-MIB', 'lowpanIfOutCompOKs'), ('LOWPAN-MIB', 'lowpanIfOutFragReqds'), ('LOWPAN-MIB', 'lowpanIfOutFragFails'), ('LOWPAN-MIB', 'lowpanIfOutFragOKs'), ('LOWPAN-MIB', 'lowpanIfOutFragCreates'), ('LOWPAN-MIB', 'lowpanIfOutDiscards'), ('LOWPAN-MIB', 'lowpanIfOutTransmits')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpan_if_stats_group = lowpanIfStatsGroup.setStatus('current') lowpan_if_stats_mesh_group = object_group((1, 3, 6, 1, 2, 1, 226, 2, 1, 4)).setObjects(('LOWPAN-MIB', 'lowpanIfInMeshForwds'), ('LOWPAN-MIB', 'lowpanIfInMeshDelivers'), ('LOWPAN-MIB', 'lowpanIfOutMeshHopLimitExceeds'), ('LOWPAN-MIB', 'lowpanIfOutMeshNoRoutes'), ('LOWPAN-MIB', 'lowpanIfOutMeshRequests'), ('LOWPAN-MIB', 'lowpanIfOutMeshForwds'), ('LOWPAN-MIB', 'lowpanIfOutMeshTransmits')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lowpan_if_stats_mesh_group = lowpanIfStatsMeshGroup.setStatus('current') mibBuilder.exportSymbols('LOWPAN-MIB', lowpanIfOutFragCreates=lowpanIfOutFragCreates, lowpanIfReasmTimeout=lowpanIfReasmTimeout, lowpanOutFragCreates=lowpanOutFragCreates, lowpanOutFragReqds=lowpanOutFragReqds, lowpanReasmTimeout=lowpanReasmTimeout, lowpanOutMeshHopLimitExceeds=lowpanOutMeshHopLimitExceeds, lowpanIfStatsTable=lowpanIfStatsTable, lowpanIfInCompReqds=lowpanIfInCompReqds, lowpanOutRequests=lowpanOutRequests, lowpanIfOutTransmits=lowpanIfOutTransmits, lowpanIfInReasmOKs=lowpanIfInReasmOKs, lowpanIfOutCompReqds=lowpanIfOutCompReqds, lowpanMIB=lowpanMIB, lowpanInReasmOKs=lowpanInReasmOKs, lowpanOutMeshRequests=lowpanOutMeshRequests, lowpanOutMeshTransmits=lowpanOutMeshTransmits, lowpanInHdrErrors=lowpanInHdrErrors, lowpanIfOutDiscards=lowpanIfOutDiscards, PYSNMP_MODULE_ID=lowpanMIB, lowpanNotifications=lowpanNotifications, lowpanInMeshReceives=lowpanInMeshReceives, lowpanOutMeshForwds=lowpanOutMeshForwds, lowpanIfOutFragReqds=lowpanIfOutFragReqds, lowpanInReasmFails=lowpanInReasmFails, lowpanIfOutRequests=lowpanIfOutRequests, lowpanInReceives=lowpanInReceives, lowpanIfStatsGroup=lowpanIfStatsGroup, lowpanInCompReqds=lowpanInCompReqds, lowpanInReasmReqds=lowpanInReasmReqds, lowpanOutDiscards=lowpanOutDiscards, lowpanInCompFails=lowpanInCompFails, lowpanIfInMeshDelivers=lowpanIfInMeshDelivers, lowpanCompliance=lowpanCompliance, lowpanInMeshDelivers=lowpanInMeshDelivers, lowpanIfStatsEntry=lowpanIfStatsEntry, lowpanOutCompReqds=lowpanOutCompReqds, lowpanIfOutFragFails=lowpanIfOutFragFails, lowpanObjects=lowpanObjects, lowpanStats=lowpanStats, lowpanOutFragFails=lowpanOutFragFails, lowpanIfInReasmReqds=lowpanIfInReasmReqds, lowpanInMeshForwds=lowpanInMeshForwds, lowpanIfOutCompFails=lowpanIfOutCompFails, lowpanIfOutCompOKs=lowpanIfOutCompOKs, lowpanConformance=lowpanConformance, lowpanIfInReceives=lowpanIfInReceives, lowpanOutFragOKs=lowpanOutFragOKs, lowpanOutCompFails=lowpanOutCompFails, lowpanIfInCompOKs=lowpanIfInCompOKs, lowpanIfInReasmFails=lowpanIfInReasmFails, lowpanStatsGroup=lowpanStatsGroup, lowpanIfOutMeshTransmits=lowpanIfOutMeshTransmits, lowpanStatsMeshGroup=lowpanStatsMeshGroup, lowpanIfInCompFails=lowpanIfInCompFails, lowpanIfOutMeshHopLimitExceeds=lowpanIfOutMeshHopLimitExceeds, lowpanGroups=lowpanGroups, lowpanIfOutFragOKs=lowpanIfOutFragOKs, lowpanInCompOKs=lowpanInCompOKs, lowpanOutCompOKs=lowpanOutCompOKs, lowpanIfInMeshForwds=lowpanIfInMeshForwds, lowpanIfInDelivers=lowpanIfInDelivers, lowpanCompliances=lowpanCompliances, lowpanIfOutMeshNoRoutes=lowpanIfOutMeshNoRoutes, lowpanInDiscards=lowpanInDiscards, lowpanIfOutMeshForwds=lowpanIfOutMeshForwds, lowpanIfInHdrErrors=lowpanIfInHdrErrors, lowpanInDelivers=lowpanInDelivers, lowpanIfInDiscards=lowpanIfInDiscards, lowpanOutMeshNoRoutes=lowpanOutMeshNoRoutes, lowpanOutTransmits=lowpanOutTransmits, lowpanIfOutMeshRequests=lowpanIfOutMeshRequests, lowpanIfStatsMeshGroup=lowpanIfStatsMeshGroup, lowpanIfInMeshReceives=lowpanIfInMeshReceives)
def split_targets(targets, target_sizes): results = [] offset = 0 for size in target_sizes: results.append(targets[offset:offset + size]) offset += size return results
def split_targets(targets, target_sizes): results = [] offset = 0 for size in target_sizes: results.append(targets[offset:offset + size]) offset += size return results
# This sample tests the case where a finally clause contains some conditional # logic that narrows the type of an expression. This narrowed type should # persist after the finally clause. def func1(): file = None try: file = open("test.txt") except Exception: return None finally: if file: file.close() reveal_type(file, expected_text="TextIOWrapper") def func2(): file = None try: file = open("test.txt") except Exception: pass finally: if file: file.close() reveal_type(file, expected_text="TextIOWrapper | None") def func3(): file = None try: file = open("test.txt") finally: pass reveal_type(file, expected_text="TextIOWrapper")
def func1(): file = None try: file = open('test.txt') except Exception: return None finally: if file: file.close() reveal_type(file, expected_text='TextIOWrapper') def func2(): file = None try: file = open('test.txt') except Exception: pass finally: if file: file.close() reveal_type(file, expected_text='TextIOWrapper | None') def func3(): file = None try: file = open('test.txt') finally: pass reveal_type(file, expected_text='TextIOWrapper')
def remove_passwords(instances): clean_instances = [] for instance in instances: clean_instance = {} for k in instance.keys(): if k != 'password': clean_instance[k] = instance[k] clean_instances.append(clean_instance) return clean_instances
def remove_passwords(instances): clean_instances = [] for instance in instances: clean_instance = {} for k in instance.keys(): if k != 'password': clean_instance[k] = instance[k] clean_instances.append(clean_instance) return clean_instances
class cURL: def __init__(self, url_='.'): self.url = url_ def replace(self, replaceURL_, start_, end_): ''' example: 'https://www.google.com/search' https:// -> -1 www.google.com -> 0 search -> 1 ''' if start_ == -1: start_ = 0 else: start_ +=2 end_ += 2 urllist = self.url.split('/') wrongURL = '/'.join(urllist[start_:end_]) newURL= self.url.replace(wrongURL,replaceURL_) return newURL
class Curl: def __init__(self, url_='.'): self.url = url_ def replace(self, replaceURL_, start_, end_): """ example: 'https://www.google.com/search' https:// -> -1 www.google.com -> 0 search -> 1 """ if start_ == -1: start_ = 0 else: start_ += 2 end_ += 2 urllist = self.url.split('/') wrong_url = '/'.join(urllist[start_:end_]) new_url = self.url.replace(wrongURL, replaceURL_) return newURL
def get_primes(n): # Based on Eratosthenes Sieve # Initially all numbers are prime until proven otherwise # False = Prime number, True = Compose number nonprimes = n * [False] count = 0 nonprimes[0] = nonprimes[1] = True prime_numbers = [] for i in range(2, n): if not nonprimes[i]: prime_numbers.append(i) count += 1 for j in range(2*i, n, i): nonprimes[j] = True return prime_numbers
def get_primes(n): nonprimes = n * [False] count = 0 nonprimes[0] = nonprimes[1] = True prime_numbers = [] for i in range(2, n): if not nonprimes[i]: prime_numbers.append(i) count += 1 for j in range(2 * i, n, i): nonprimes[j] = True return prime_numbers
'''DATALOADERS''' def LoadModel(name): # print(name) # classes = [] # D = 0 # H = 0 # W = 0 # Height = 0 # Width = 0 # Bands = 0 # samples = 0 if name == 'PaviaU': classes = [] #Size of 3D images D = 610 H = 340 W = 103 #Size of patches Height = 27 Width = 21 Bands = 103 samples = 2400 patch = 300000 elif name == 'IndianPines': classes = ["Undefined", "Alfalfa", "Corn-notill", "Corn-mintill", "Corn", "Grass-pasture", "Grass-trees", "Grass-pasture-mowed", "Hay-windrowed", "Oats", "Soybean-notill", "Soybean-mintill", "Soybean-clean", "Wheat", "Woods", "Buildings-Grass-Trees-Drives", "Stone-Steel-Towers"] #Size of 3D images D = 145 H = 145 W = 200 #Size of patches # Height = 17 # Width = 17 Height = 19 Width = 17 Bands = 200 samples = 4000 patch = 300000 elif name == 'Botswana': classes = ["Undefined", "Water", "Hippo grass", "Floodplain grasses 1", "Floodplain grasses 2", "Reeds", "Riparian", "Firescar", "Island interior", "Acacia woodlands", "Acacia shrublands", "Acacia grasslands", "Short mopane", "Mixed mopane", "Exposed soils"] #Size of 3D images D = 1476 H = 256 W = 145 #Size of patches Height = 31 Width = 21 Bands = 145 samples = 1500 patch = 30000 elif name == 'KSC': classes = ["Undefined", "Scrub", "Willow swamp", "Cabbage palm hammock", "Cabbage palm/oak hammock", "Slash pine", "Oak/broadleaf hammock", "Hardwood swamp", "Graminoid marsh", "Spartina marsh", "Cattail marsh", "Salt marsh", "Mud flats", "Wate"] #Size of 3D images D = 512 H = 614 W = 176 #Size of patches Height = 31 Width = 27 Bands = 176 samples = 2400 patch = 30000 elif name == 'Salinas': classes = [] #Size of 3D images D = 512 H = 217 W = 204 #Size of patches Height = 21 Width = 17 Bands = 204 samples = 2600 patch = 300000 elif name == 'SalinasA': classes = [] #Size of 3D images D = 83 H = 86 W = 204 #Size of patches Height = 15 Width = 11 Bands = 204 samples = 2400 patch = 300000 elif name == 'Samson': classes = [] #Size of 3D images D = 95 H = 95 W = 156 #Size of patches Height = 10 Width = 10 Bands = 156 samples = 1200 patch = 30000 return Width, Height, Bands, samples, D, H, W, classes, patch
"""DATALOADERS""" def load_model(name): if name == 'PaviaU': classes = [] d = 610 h = 340 w = 103 height = 27 width = 21 bands = 103 samples = 2400 patch = 300000 elif name == 'IndianPines': classes = ['Undefined', 'Alfalfa', 'Corn-notill', 'Corn-mintill', 'Corn', 'Grass-pasture', 'Grass-trees', 'Grass-pasture-mowed', 'Hay-windrowed', 'Oats', 'Soybean-notill', 'Soybean-mintill', 'Soybean-clean', 'Wheat', 'Woods', 'Buildings-Grass-Trees-Drives', 'Stone-Steel-Towers'] d = 145 h = 145 w = 200 height = 19 width = 17 bands = 200 samples = 4000 patch = 300000 elif name == 'Botswana': classes = ['Undefined', 'Water', 'Hippo grass', 'Floodplain grasses 1', 'Floodplain grasses 2', 'Reeds', 'Riparian', 'Firescar', 'Island interior', 'Acacia woodlands', 'Acacia shrublands', 'Acacia grasslands', 'Short mopane', 'Mixed mopane', 'Exposed soils'] d = 1476 h = 256 w = 145 height = 31 width = 21 bands = 145 samples = 1500 patch = 30000 elif name == 'KSC': classes = ['Undefined', 'Scrub', 'Willow swamp', 'Cabbage palm hammock', 'Cabbage palm/oak hammock', 'Slash pine', 'Oak/broadleaf hammock', 'Hardwood swamp', 'Graminoid marsh', 'Spartina marsh', 'Cattail marsh', 'Salt marsh', 'Mud flats', 'Wate'] d = 512 h = 614 w = 176 height = 31 width = 27 bands = 176 samples = 2400 patch = 30000 elif name == 'Salinas': classes = [] d = 512 h = 217 w = 204 height = 21 width = 17 bands = 204 samples = 2600 patch = 300000 elif name == 'SalinasA': classes = [] d = 83 h = 86 w = 204 height = 15 width = 11 bands = 204 samples = 2400 patch = 300000 elif name == 'Samson': classes = [] d = 95 h = 95 w = 156 height = 10 width = 10 bands = 156 samples = 1200 patch = 30000 return (Width, Height, Bands, samples, D, H, W, classes, patch)
parallel = dict( data=1, pipeline=1, tensor=dict(size=4, mode='2d'), )
parallel = dict(data=1, pipeline=1, tensor=dict(size=4, mode='2d'))
# -*- coding: utf-8 -*- project = "thumbtack-client" copyright = "2019, The MITRE Corporation" author = "The MITRE Corporation" version = "0.3.0" release = "0.3.0" extensions = [ "sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.viewcode", ] templates_path = ["_templates"] source_suffix = ".rst" master_doc = "index" language = None exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] pygments_style = "sphinx" 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': '', # Toc options "collapse_navigation": False, "sticky_navigation": True, "navigation_depth": 2, # 'includehidden': True, # 'titles_only': False } htmlhelp_basename = "thumbtack-clientdoc" latex_elements = {} latex_documents = [ ( master_doc, "thumbtack-client.tex", "thumbtack-client Documentation", "The MITRE Corporation", "manual", ), ] man_pages = [ (master_doc, "thumbtack-client", "thumbtack-client Documentation", [author], 1) ] texinfo_documents = [ ( master_doc, "thumbtack-client", "thumbtack-client Documentation", author, "thumbtack-client", "One line description of project.", "Miscellaneous", ), ]
project = 'thumbtack-client' copyright = '2019, The MITRE Corporation' author = 'The MITRE Corporation' version = '0.3.0' release = '0.3.0' extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode'] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' language = None exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] pygments_style = 'sphinx' html_theme = 'sphinx_rtd_theme' html_theme_options = {'display_version': True, 'prev_next_buttons_location': 'bottom', 'collapse_navigation': False, 'sticky_navigation': True, 'navigation_depth': 2} htmlhelp_basename = 'thumbtack-clientdoc' latex_elements = {} latex_documents = [(master_doc, 'thumbtack-client.tex', 'thumbtack-client Documentation', 'The MITRE Corporation', 'manual')] man_pages = [(master_doc, 'thumbtack-client', 'thumbtack-client Documentation', [author], 1)] texinfo_documents = [(master_doc, 'thumbtack-client', 'thumbtack-client Documentation', author, 'thumbtack-client', 'One line description of project.', 'Miscellaneous')]
def main(): result = 0 with open("input.txt") as input_file: for x in input_file: x = int(x) while True: x = x // 3 - 2 if x < 0: break result += x print(result) if __name__ == "__main__": main()
def main(): result = 0 with open('input.txt') as input_file: for x in input_file: x = int(x) while True: x = x // 3 - 2 if x < 0: break result += x print(result) if __name__ == '__main__': main()
DATAMART_AUGMENT_PROCESS = 'DATAMART_AUGMENT_PROCESS' # ---------------------------------------------- # Related to the "Add User Dataset" process # ---------------------------------------------- ADD_USER_DATASET_PROCESS = 'ADD_USER_DATASET_PROCESS' ADD_USER_DATASET_PROCESS_NO_WORKSPACE = 'ADD_USER_DATASET_PROCESS_NO_WORKSPACE' NEW_DATASET_DOC_PATH = 'new_dataset_doc_path' DATASET_NAME_FROM_UI = 'name' # from dataset.js DATASET_NAME = 'dataset_name' # from dataset.js SKIP_CREATE_NEW_CONFIG = 'SKIP_CREATE_NEW_CONFIG' # ---------------------------------------------- # Extensions # ---------------------------------------------- EXT_CSV = '.csv' EXT_TAB = '.tab' EXT_TSV = '.tsv' EXT_XLS = '.xls' EXT_XLSX = '.xlsx' VALID_EXTENSIONS = (EXT_CSV, EXT_TAB, EXT_TSV, EXT_XLS, EXT_XLSX) # ---------------------------------------------- # For creating a datasetDoc # ---------------------------------------------- DATASET_SCHEMA_VERSION = '4.0.0' # create a datasetDoc PROBLEM_SCHEMA_VERSION = '4.0.0' # Map Pandas types to the types used in the datasetDoc # mapping from: https://pbpython.com/pandas_dtypes.html # -> https://gitlab.datadrivendiscovery.org/MIT-LL/d3m_data_supply/blob/shared/schemas/datasetSchema.json DTYPES = { 'int64': 'integer', 'float64': 'real', 'bool': 'boolean', 'object': 'string', 'datetime64': 'dateTime', 'category': 'categorical' }
datamart_augment_process = 'DATAMART_AUGMENT_PROCESS' add_user_dataset_process = 'ADD_USER_DATASET_PROCESS' add_user_dataset_process_no_workspace = 'ADD_USER_DATASET_PROCESS_NO_WORKSPACE' new_dataset_doc_path = 'new_dataset_doc_path' dataset_name_from_ui = 'name' dataset_name = 'dataset_name' skip_create_new_config = 'SKIP_CREATE_NEW_CONFIG' ext_csv = '.csv' ext_tab = '.tab' ext_tsv = '.tsv' ext_xls = '.xls' ext_xlsx = '.xlsx' valid_extensions = (EXT_CSV, EXT_TAB, EXT_TSV, EXT_XLS, EXT_XLSX) dataset_schema_version = '4.0.0' problem_schema_version = '4.0.0' dtypes = {'int64': 'integer', 'float64': 'real', 'bool': 'boolean', 'object': 'string', 'datetime64': 'dateTime', 'category': 'categorical'}
alpha_num_dict = { 'a':1, 'b':2, 'c':3 } alpha_num_dict['a'] = 10 print(alpha_num_dict['a'])
alpha_num_dict = {'a': 1, 'b': 2, 'c': 3} alpha_num_dict['a'] = 10 print(alpha_num_dict['a'])
# https://leetcode.com/problems/minimum-size-subarray-sum/ class Solution: def minSubArrayLen(self, target: int, nums: list[int]) -> int: min_len = float('inf') curr_sum = 0 nums_added = 0 for idx in range(len(nums)): num = nums[idx] if num >= target: return 1 curr_sum += num nums_added += 1 while nums_added > 1 and ( curr_sum - nums[idx - nums_added + 1] >= target): curr_sum -= nums[idx - nums_added + 1] nums_added -= 1 if curr_sum >= target: min_len = min(min_len, nums_added) return 0 if min_len == float('inf') else min_len
class Solution: def min_sub_array_len(self, target: int, nums: list[int]) -> int: min_len = float('inf') curr_sum = 0 nums_added = 0 for idx in range(len(nums)): num = nums[idx] if num >= target: return 1 curr_sum += num nums_added += 1 while nums_added > 1 and curr_sum - nums[idx - nums_added + 1] >= target: curr_sum -= nums[idx - nums_added + 1] nums_added -= 1 if curr_sum >= target: min_len = min(min_len, nums_added) return 0 if min_len == float('inf') else min_len
class Solution: def sortArrayByParity(self, A: List[int]) -> List[int]: l = 0 r = len(A) - 1 while l < r: if A[l] % 2 == 1 and A[r] % 2 == 0: A[l], A[r] = A[r], A[l] if A[l] % 2 == 0: l += 1 if A[r] % 2 == 1: r -= 1 return A
class Solution: def sort_array_by_parity(self, A: List[int]) -> List[int]: l = 0 r = len(A) - 1 while l < r: if A[l] % 2 == 1 and A[r] % 2 == 0: (A[l], A[r]) = (A[r], A[l]) if A[l] % 2 == 0: l += 1 if A[r] % 2 == 1: r -= 1 return A
peso = float(input('Peso em Kilogramas: ')) altura = float(input('Altura em Centimetros: ')) imc = peso / ((altura / 100) ** 2) print('O IMC esta em {:.2f}'.format(imc)) if imc < 18.5: print('Abaixo do Peso!') elif imc <= 25: print('Peso Ideal') elif imc <= 30: print('Sobrepeso') elif imc <= 40: print('Obesidade') elif imc > 40: print('Obesidade Morbida')
peso = float(input('Peso em Kilogramas: ')) altura = float(input('Altura em Centimetros: ')) imc = peso / (altura / 100) ** 2 print('O IMC esta em {:.2f}'.format(imc)) if imc < 18.5: print('Abaixo do Peso!') elif imc <= 25: print('Peso Ideal') elif imc <= 30: print('Sobrepeso') elif imc <= 40: print('Obesidade') elif imc > 40: print('Obesidade Morbida')
class Menu(object): def __init__(self): gameList = None; def _populateGameList(self): pass def chooseGame(self): pass def start(self): pass
class Menu(object): def __init__(self): game_list = None def _populate_game_list(self): pass def choose_game(self): pass def start(self): pass
class Solution: # @param {integer[]} candidates # @param {integer} target # @return {integer[][]} def combinationSum2(self, candidates, target): self.results = [] candidates.sort() self.combination(candidates, target, 0, []) return self.results def combination(self,candidates, target, start, result): if target == 0 : self.results.append(result[:]) elif target > 0: for i in range(start, len(candidates)): if i > start and candidates[i] == candidates[i-1]: continue result.append(candidates[i]) self.combination(candidates, target-candidates[i], i + 1, result) result.pop()
class Solution: def combination_sum2(self, candidates, target): self.results = [] candidates.sort() self.combination(candidates, target, 0, []) return self.results def combination(self, candidates, target, start, result): if target == 0: self.results.append(result[:]) elif target > 0: for i in range(start, len(candidates)): if i > start and candidates[i] == candidates[i - 1]: continue result.append(candidates[i]) self.combination(candidates, target - candidates[i], i + 1, result) result.pop()
t = int(input()) def solve(): candy = 0 x = input() r, c = map(int, input().split()) a = [] for _ in range(r): a.append(input()) for i in range(r): for j in range(c - 2): if a[i][j] == '>' and a[i][j + 1] == 'o' and a[i][j + 2] == '<': candy += 1 for i in range(r - 2): for j in range(c): if a[i][j] == 'v' and a[i + 1][j] == 'o' and a[i + 2][j] == '^': candy += 1 print(candy) for _ in range(t): solve()
t = int(input()) def solve(): candy = 0 x = input() (r, c) = map(int, input().split()) a = [] for _ in range(r): a.append(input()) for i in range(r): for j in range(c - 2): if a[i][j] == '>' and a[i][j + 1] == 'o' and (a[i][j + 2] == '<'): candy += 1 for i in range(r - 2): for j in range(c): if a[i][j] == 'v' and a[i + 1][j] == 'o' and (a[i + 2][j] == '^'): candy += 1 print(candy) for _ in range(t): solve()
# Write_a_function # Created by JKChang # 14/08/2018, 10:58 # Tag: # Description: https://www.hackerrank.com/challenges/write-a-function/problem # In the Gregorian calendar three criteria must be taken into account to identify leap years: # The year can be evenly divided by 4, is a leap year, unless: # The year can be evenly divided by 100, it is NOT a leap year, unless: # The year is also evenly divisible by 400. Then it is a leap year. def is_leap(year): leap = False if year % 4 == 0 and year % 100 != 0 or year % 400 == 0: leap = True return leap year = int(input()) print(is_leap(year))
def is_leap(year): leap = False if year % 4 == 0 and year % 100 != 0 or year % 400 == 0: leap = True return leap year = int(input()) print(is_leap(year))
class NorthInDTO(object): def __init__(self): self.platformIp = None self.platformPort = None def getPlatformIp(self): return self.platformIp def setPlatformIp(self, platformIp): self.platformIp = platformIp def getPlatformPort(self): return self.platformPort def setPlatformPort(self, platformPort): self.platformPort = platformPort
class Northindto(object): def __init__(self): self.platformIp = None self.platformPort = None def get_platform_ip(self): return self.platformIp def set_platform_ip(self, platformIp): self.platformIp = platformIp def get_platform_port(self): return self.platformPort def set_platform_port(self, platformPort): self.platformPort = platformPort
h, m = map(int, input().split()) if h - 1 < 0: h = 23 m += 15 print(h,m) elif m - 45 < 0: h -= 1 m += 15 print(h, m) else: m -= 45 print(h, m)
(h, m) = map(int, input().split()) if h - 1 < 0: h = 23 m += 15 print(h, m) elif m - 45 < 0: h -= 1 m += 15 print(h, m) else: m -= 45 print(h, m)
class Pessoa: def __init__(self, nome, email, celular): self.nome = nome self.email = email self.celular = celular def get_nome(self): return f"Caro(a) {self.nome}" def get_email(self): return(self.email) def get_celular(self): return(self.celular) def set_nome(self, nome): self.nome = nome def set_email(self, email): self.email = email def set_celular(self, celular): self.celular = celular class Aluno(Pessoa): def __init__(self, nome, email, celular, sigla, m, r, d=[]): super().__init__(nome, email, celular) self.sigla = sigla self.mensalidade = m self.ra = r self.disciplina = d def __repr__(self): return 'Aluno: %s | Curso: %s' %(self.nome,self.sigla) ###Getando os atrigutos (Devolvendo os valores deles) def get_sigla(self): return(f"{self.sigla[0]},{self.sigla[1]},{self.sigla[2]}") def get_mensalidade(self): return 'R$ %.2f' %self.mensalidade def get_ra(self): return self.ra def get_disciplina(self): return self.disciplina #### setando os atributos ( Dando valor a eles.) def set_disciplina(self, m): self.disciplina.append(m) def set_mensalidade(self, mensalidade): self.mensalidade = mensalidade def set_sigla(self, sigla): self.sigla = sigla def set_ra(self, ra): self.ra = ra class Professor(Pessoa): def __init__(self, nome, email, celular, v): super().__init__(nome, email, celular) self.valor_hora = float(v) def __repr__(self): return 'Prof: %s ' %(self.nome) def get_nome(self): return f"Mestre {self.nome}" def get_valor_hora(self): return self.valor_hora def set_valor_hora(self, valor): self.valor_hora = float(valor) aluno = Aluno("tuiu","[email protected]",11961015070,"ADS",690.00,1800648) print(aluno) print(aluno.get_nome()) aluno.set_nome("Ricardo Martins") print(aluno.get_nome()) aluno1 = Aluno("tuiu","[email protected]",11961015070,"ADS",690.00,1800648,["logica","matematica"]) print(aluno1.get_disciplina()) aluno1.set_disciplina("aleluia") print(aluno1.get_disciplina()) prof = Professor("ilana","[email protected]",156,150) print (prof) print(prof.get_nome())
class Pessoa: def __init__(self, nome, email, celular): self.nome = nome self.email = email self.celular = celular def get_nome(self): return f'Caro(a) {self.nome}' def get_email(self): return self.email def get_celular(self): return self.celular def set_nome(self, nome): self.nome = nome def set_email(self, email): self.email = email def set_celular(self, celular): self.celular = celular class Aluno(Pessoa): def __init__(self, nome, email, celular, sigla, m, r, d=[]): super().__init__(nome, email, celular) self.sigla = sigla self.mensalidade = m self.ra = r self.disciplina = d def __repr__(self): return 'Aluno: %s | Curso: %s' % (self.nome, self.sigla) def get_sigla(self): return f'{self.sigla[0]},{self.sigla[1]},{self.sigla[2]}' def get_mensalidade(self): return 'R$ %.2f' % self.mensalidade def get_ra(self): return self.ra def get_disciplina(self): return self.disciplina def set_disciplina(self, m): self.disciplina.append(m) def set_mensalidade(self, mensalidade): self.mensalidade = mensalidade def set_sigla(self, sigla): self.sigla = sigla def set_ra(self, ra): self.ra = ra class Professor(Pessoa): def __init__(self, nome, email, celular, v): super().__init__(nome, email, celular) self.valor_hora = float(v) def __repr__(self): return 'Prof: %s ' % self.nome def get_nome(self): return f'Mestre {self.nome}' def get_valor_hora(self): return self.valor_hora def set_valor_hora(self, valor): self.valor_hora = float(valor) aluno = aluno('tuiu', '[email protected]', 11961015070, 'ADS', 690.0, 1800648) print(aluno) print(aluno.get_nome()) aluno.set_nome('Ricardo Martins') print(aluno.get_nome()) aluno1 = aluno('tuiu', '[email protected]', 11961015070, 'ADS', 690.0, 1800648, ['logica', 'matematica']) print(aluno1.get_disciplina()) aluno1.set_disciplina('aleluia') print(aluno1.get_disciplina()) prof = professor('ilana', '[email protected]', 156, 150) print(prof) print(prof.get_nome())