[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TEXTUAL-CONVENTION and UNITS question



Hello,

I'm searching for a correct way to describe a voltage value in a mib.

The object is defined as:

dcVoltage OBJECT-TYPE
SYNTAX INTEGER
UNITS "0.01 Volt DC"				-- 5400 -----> 54.00 Volt DC
...
...

Now I want to change to SYNTAX from INTEGER to an own defined SYNTAX
(dcVolts):

dcVolts ::= TEXTUAL-CONVENTION
 DISPLAY-HINT "d-2"
 DESCRIPTION "This data type represents a dc voltage. 5400 represents 54.00
volt dc..."
 SYNTAX INTEGER (0..100000)

Now my question: Is the UNITS instruction still needed in the object
definition or is it not necessary because of the textual-convention?

Thanks,
Joerg