simpleType dsrc:BrakeAppliedStatus-item
namespace http://www.DSRC-Draft-02-00-15
type union of (restriction of xs:int, restriction of xs:string)
used by
simpleType dsrc:BrakeAppliedStatus
annotation
appinfo

            allOff (0) -- B'0000  The condition All Off
            leftFront (1) -- B'0001  Left Front Active
            leftRear (2) -- B'0010  Left Rear Active
            rightFront (4) -- B'0100  Right Front Active
            rightRear (8) -- B'1000  Right Rear Active
            allOn (15) -- B'1111  The condition All On
        
documentation
      
            to fit in 4 bits
        
source <xs:simpleType name="BrakeAppliedStatus-item">
 
<xs:annotation>
   
<xs:appinfo>
            allOff (0) -- B&apos;0000  The condition All Off
            leftFront (1) -- B&apos;0001  Left Front Active
            leftRear (2) -- B&apos;0010  Left Rear Active
            rightFront (4) -- B&apos;0100  Right Front Active
            rightRear (8) -- B&apos;1000  Right Rear Active
            allOn (15) -- B&apos;1111  The condition All On
        
</xs:appinfo>
   
<xs:documentation>      
            to fit in 4 bits
        
</xs:documentation>
 
</xs:annotation>
 
<xs:union>
   
<xs:simpleType>
     
<xs:restriction base="xs:int">
       
<xs:minInclusive value="0"/>
       
<xs:maxInclusive value="15"/>
     
</xs:restriction>
   
</xs:simpleType>
   
<xs:simpleType>
     
<xs:restriction base="xs:string">
       
<xs:enumeration value="allOff"/>
       
<xs:enumeration value="leftFront"/>
       
<xs:enumeration value="leftRear"/>
       
<xs:enumeration value="rightFront"/>
       
<xs:enumeration value="rightRear"/>
       
<xs:enumeration value="allOn"/>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:union>
</xs:simpleType>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy