RoTeK-swt-BT-BT-6703-signals-MIB DEFINITIONS ::= BEGIN

IMPORTS
	enterprises, NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY, Integer32
		FROM SNMPv2-SMI;

    rotek MODULE-IDENTITY
        LAST-UPDATED    "202205300000Z"
        ORGANIZATION    "Rotek"
        CONTACT-INFO    "
            Rotek Customer Support
            E-mail: support@rotek.ru"
        DESCRIPTION     "BT-6703"
        REVISION        "202205300000Z"
        DESCRIPTION     ""
                                      ::= { enterprises 41752 }
    swt             OBJECT IDENTIFIER ::= { rotek 911 }
    bt-6703         OBJECT IDENTIFIER ::= { swt 6}
    signals         OBJECT IDENTIFIER ::= { bt-6703 1 }
    traps           OBJECT IDENTIFIER ::= { bt-6703 2 }

	
    fwVersion OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "FWVersion" 
    ::= { signals 1 }

    restoreSignal OBJECT-TYPE
    SYNTAX  Integer32
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Restore settings
    1 - restore settings"
    ::= { signals 2 }
	
    rebootSignal OBJECT-TYPE
    SYNTAX  Integer32
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Reboot device: 
    1 - reboot"
    ::= { signals 3 }
    
    upsModel OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "UPS model" 
    ::= { signals 4 }
    
    do1 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - open relay1
    1 - close relay1" 
    ::= { signals 5 }
    
    do2 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - open relay2 
    1 - close relay2" 
    ::= { signals 6 }
    
    batTest OBJECT-TYPE
    SYNTAX  Integer32
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - cancel test
    1-99 - run test to x minutes
    100 - run test to 10 seconds
    999 - test till charging"
    ::= { signals 7 }
    
    shutdown OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Control of shut down UPS load:
	0 - stop shut down load
	n - shut down load in n minutes
	n: 0.2, 0.3, .., 1, 2, .., 10"
    ::= { signals 8 }
	
    di0 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "State of dry input
    0 - close dry input
    1 - open dry input" 
    ::= { signals 9 }
	
    intTemp OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Internal temperature" 
    ::= { signals 10 }
	
    inFreq OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Input frequency, Hz" 
    ::= { signals 11 }
	
    inVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Input voltage" 
    ::= { signals 12 }
	
    outVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Output voltage" 
    ::= { signals 13 }
	
    power OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Power, %" 
    ::= { signals 14 }
	
    batCap OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Battery capacity, %" 
    ::= { signals 15 }
    
    batTime OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Rest working time of battery, min" 
    ::= { signals 16 }
		
    connectMonitor OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Connect status:
	0 - normal;
	1 - connect fail" 
    ::= { signals 17 }
    
    alarms OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "bit 7 - utility fail
	bit 6 - battery low
	bit 5 - bypass/boost or buck active
	bit 4 - UPS fail
	bit 3 - UPS Type is Standby (0 is On_line)
	bit 2 - Test in Progress
	bit 1 - Shutdown Active
	bit 0 - Beeper On" 
    ::= { signals 18 }

-- DEVICE TRAPS

     fwVersionUpdate  NOTIFICATION-TYPE
     OBJECTS              { fwVersion }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 1 }

    fwVersionUpdated  NOTIFICATION-TYPE
     OBJECTS              { fwVersion }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 2 }

     deviceRestored  NOTIFICATION-TYPE
     OBJECTS              { restoreSignal }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 3 }

    deviceRebooted  NOTIFICATION-TYPE
     OBJECTS              { rebootSignal }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 4 }

     di0Norm  NOTIFICATION-TYPE
     OBJECTS              { di0 }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 5 }

    di0Alarm  NOTIFICATION-TYPE
     OBJECTS              { di0 }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 6 }
     
     do1Toggled  NOTIFICATION-TYPE
     OBJECTS              { do1 }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 7 }

    do2Toggled  NOTIFICATION-TYPE
     OBJECTS              { do2 }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 8 }

     batteryTemperatureHighNorm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 9 }

    batteryTemperatureHighAlarm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 10 }
	 
     lineAlarm  NOTIFICATION-TYPE
     OBJECTS              { inVoltVAC }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 11 }

    lineNorm  NOTIFICATION-TYPE
     OBJECTS              { inVoltVAC }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 12 } 

     lowBatAlarm  NOTIFICATION-TYPE
     OBJECTS              { batCap }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 13 }

     lowBatNorm  NOTIFICATION-TYPE
     OBJECTS              { batCap }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 14 }
	 
     powerAlarm  NOTIFICATION-TYPE
     OBJECTS              { power }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 15 }

    powerNorm  NOTIFICATION-TYPE
     OBJECTS              { power }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 16 }

	connectMonitorAlarm  NOTIFICATION-TYPE
     OBJECTS              { connectMonitor }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 17 }
	 
     connectMonitorNorm  NOTIFICATION-TYPE
     OBJECTS              { connectMonitor }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 18 }
     
     batteryConnectAlarm  NOTIFICATION-TYPE
     OBJECTS              { batCap }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 19 }

    batteryConnectNorm  NOTIFICATION-TYPE
     OBJECTS              { batCap }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 20 }	
     
     batteryTemperatureLowNorm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 21 }

     batteryTemperatureLowAlarm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 22 }
	
END

