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

IMPORTS
	enterprises, NOTIFICATION-TYPE
		FROM SNMPV2-SMI;

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

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

    restoreSignal OBJECT-TYPE
    SYNTAX  INTEGER
    MAX-ACCESS  write-only
    STATUS  current
    DESCRIPTION
    "Restore settings
    1 - restore settings"
    ::= { signals 2 }
	
    rebootSignal OBJECT-TYPE
    SYNTAX  INTEGER
    MAX-ACCESS  write-only
    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 }
    
   	upsSerial OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "UPS serial" 
    ::= { signals 5 }
    
    upsVersion OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "UPS version" 
    ::= { signals 6 }
    
    batTest OBJECT-TYPE
    SYNTAX  INTEGER
    MAX-ACCESS  write-only
    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  write-only
    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 }
	
    intTemp OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Internal temperature" 
    ::= { signals 9 }
	
    inFreq OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Input frequency, Hz" 
    ::= { signals 10 }
	
    inVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Input voltage" 
    ::= { signals 11 }
	
    outVoltVAC OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Output voltage" 
    ::= { signals 12 }
	
    power OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Power, %" 
    ::= { signals 13 }
	
    batCap OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Battery capacity, %" 
    ::= { signals 14 }
    
    batTime OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Rest working time of battery, min" 
    ::= { signals 15 }
		
    connectMonitor OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Connect status:
	0 - normal;
	1 - connect fail" 
    ::= { signals 16 }
    
    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 17 }
    
    server1 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Get/set server1 for traps" 
    ::= { signals 18 }
    
    server2 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Get/set server2 for traps" 
    ::= { signals 19 }
    
    server3 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Get/set server3 for traps" 
    ::= { signals 20 }
    
    server4 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Get/set server4 for traps" 
    ::= { signals 21 }
    
    server5 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Get/set server5 for traps" 
    ::= { signals 22 }
    
    whiteListRange1 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "white List Range1" 
    ::= { signals 23 }
    
    whiteListRange2 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "white List Range2" 
    ::= { signals 24 }
    
    whiteListRange3 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "white List Range3" 
    ::= { signals 25 }
    
    whiteListRange4 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "white List Range4" 
    ::= { signals 26 }
    
    whiteListRange5 OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "white List Range5" 
    ::= { signals 27 }
    
    upsVoltCellMin OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "UPS voltage cell min" 
    ::= { signals 28 }
    
    upsVoltCellMax OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "UPS voltage cell max" 
    ::= { signals 29 }
    
    vacAlarmHighRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "VAC alarm high range" 
    ::= { signals 30 }
    
    vacAlarmLowRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "VAC alarm low range" 
    ::= { signals 31 }
    
    vacAlarmHistRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "VAC alarm hist range" 
    ::= { signals 32 }
    
    tempAlarmHighRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Temperature alarm high range" 
    ::= { signals 33 }
    
    tempAlarmLowRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Temprature alarm low range" 
    ::= { signals 34 }
    
    tempAlarmHistRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Temprature alarm hist range" 
    ::= { signals 35 }
    
    loadAlarmHighRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Load alarm high range" 
    ::= { signals 36 }
    
    loadAlarmHistRange OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Load alarm hist range" 
    ::= { signals 37 }

    sntpTimeZone OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Sntp time zone" 
    ::= { signals 38 }

    sntpState OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "SNTP synchronization state
    0 - disable
    1 - enable" 
    ::= { signals 39 }
    
    sntpServerIp OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Sntp server IP  address" 
    ::= { signals 40 }
    
    sntpLastData OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "SNTP last synchronization timestamp" 
    ::= { signals 41 }
    
    dateController OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Current date, YYYY-MM-DD" 
    ::= { signals 42 }
    
    timeController OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
    "Current time, hh:mm" 
    ::= { signals 43 }
    
    akbWorkTime OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Work time from AKB, minutes" 
    ::= { signals 44 }

    currInput OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "UPS input current, A" 
    ::= { signals 45 }

    currOutput OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "UPS output current, A" 
    ::= { signals 46 }

    voltAKB OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "AKB current voltage, V" 
    ::= { signals 47 }

    normCapacityAKB OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "AKB normal capacity, Ah" 
    ::= { signals 48 }

    changeDataAKB OBJECT-TYPE
    SYNTAX  OCTET STRING
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Data of change AKB" 
    ::= { signals 49 }    

-- 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 }

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

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

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

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

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

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

	ConnectMonitorAlarm  NOTIFICATION-TYPE
     OBJECTS              { connectMonitor }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 13 }
	 
     connectMonitorNorm  NOTIFICATION-TYPE
     OBJECTS              { connectMonitor }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 14 }
     
     batteryConnectAlarm  NOTIFICATION-TYPE
     OBJECTS              { batCap }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 15 }

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

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

     changeBatteryAlarm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 19 }

     changeBatteryNorm  NOTIFICATION-TYPE
     OBJECTS              { intTemp }
     STATUS               current
     DESCRIPTION ""
     ::= { traps 20 }
	
END

