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

    rotek           OBJECT IDENTIFIER ::= { enterprises 41752 }
    swt             OBJECT IDENTIFIER ::= { rotek 911 }
    BT-6702         OBJECT IDENTIFIER ::= { swt 3 }
    signals         OBJECT IDENTIFIER ::= { BT-6702 1 }
    traps           OBJECT IDENTIFIER ::= { BT-6702 2 }

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

	RestoreSignal OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  write
    STATUS  current
    DESCRIPTION
    "Restore settings
    1 - restore settings"
    ::= { signals 2 }
	
	RebootSignal OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  write
    STATUS  current
    DESCRIPTION
    "Reboot device: 
    1 - reboot"
    ::= { signals 3 }
    
    UPSModel OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "UPS model" 
    ::= { signals 4 }
    
    DO1 OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - open relay1
    1 - close relay1" 
    ::= { signals 5 }
    
    DO2 OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - open relay2 
    1 - close relay2" 
    ::= { signals 6 }
    
    BatTest OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  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
    ACCESS  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
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "State of dry input
    0 - close dry input
    1 - open dry input" 
    ::= { signals 9 }
	
	IntTemp OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Internal temperature" 
    ::= { signals 10 }
	
	InFreq OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Input frequency, Hz" 
    ::= { signals 11 }
	
	InVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Input voltage" 
    ::= { signals 12 }
	
	OutVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Output voltage" 
    ::= { signals 13 }
	
	Power OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Power, %" 
    ::= { signals 14 }
	
	BatCap OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Battery capacity, %" 
    ::= { signals 15 }
    
    BatTime OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Rest working time of battery, min" 
    ::= { signals 16 }
		
	ConnectMonitor OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    STATUS  current
    DESCRIPTION
    "Connect status:
	0 - normal;
	1 - connect fail" 
    ::= { signals 17 }
    
    Alarms OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read
    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 }

    DO3 OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "0 - open relay2 
    1 - close relay2" 
    ::= { signals 19 }

-- DEVICE TRAPS

	FWVersionUpdate  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { FWVersion }
     DESCRIPTION
     ::= { traps 1 }

    FWVersionUpdated  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { FWVersion }
     DESCRIPTION
     ::= { traps 2 }

	DeviceRestored  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { RestoreSignal }
     DESCRIPTION
     ::= { traps 3 }

    DeviceRebooted  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { RebootSignal }
     DESCRIPTION
     ::= { traps 4 }

	DI0Norm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { DI0 }
     DESCRIPTION
     ::= { traps 5 }

    DI0Alarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { DI0 }
     DESCRIPTION
     ::= { traps 6 }
     
     DO1Toggled  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { DO1 }
     DESCRIPTION
     ::= { traps 7 }

    DO2Toggled  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { DO2 }
     DESCRIPTION
     ::= { traps 8 }

    DO3Toggled  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { DO3 }
     DESCRIPTION
     ::= { traps 9 }

	BatteryTemperatureNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { IntTemp }
     DESCRIPTION
     ::= { traps 10 }

    BatteryTemperatureAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { IntTemp }
     DESCRIPTION
     ::= { traps 11 }
	 
	LineAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { InVoltVAC }
     DESCRIPTION
     ::= { traps 12 }

    LineNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { InVoltVAC }
     DESCRIPTION
     ::= { traps 13 } 

	LowBatAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { BatCap }
     DESCRIPTION
     ::= { traps 14 }

    LowBatNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { BatCap }
     DESCRIPTION
     ::= { traps 15 }
	 
	PowerAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { Power }
     DESCRIPTION
     ::= { traps 16 }

    PowerNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { Power }
     DESCRIPTION
     ::= { traps 17 }

	ConnectMonitorAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { ConnectMonitor }
     DESCRIPTION
     ::= { traps 18 }
	 
	ConnectMonitorNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { ConnectMonitor }
     DESCRIPTION
     ::= { traps 19 }
     
     BatteryConnectAlarm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { BatCap }
     DESCRIPTION
     ::= { traps 20 }

    BatteryConnectNorm  NOTIFICATION-TYPE
     STATUS               current
     ENTERPRISE           traps
     OBJECTS              { BatCap }
     DESCRIPTION
     ::= { traps 21 }	
	
END


