complexType ComparisonType
diagram SpaceSystemV1.2-27Feb2014-mods_p151.png
namespace http://www.omg.org/space/xtce
type extension of xtce:ParameterInstanceRefType
properties
base xtce:ParameterInstanceRefType
used by
elements CommandVerifierType/ComparisonList/Comparison CommandVerifierType/Comparison MatchCriteriaType/Comparison MatchCriteriaType/ComparisonList/Comparison
attributes
Name  Type  Use  Default  Fixed  Annotation
parameterRef  xtce:NameReferenceType  required      
instance  integer    0    
useCalibratedValue  boolean    true    
comparisonOperator  xtce:ComparisonOperatorsType    ==    
value  string  required      
annotation
documentation
A simple ParameterInstanceRef to value comparison.  The string supplied in the value attribute needs to be converted to a type matching the Parameter being compared to.  Numerical values are assumed to be base 10 unless proceeded by 0x (hexadecimal), 0o (octal), or 0b (binary).  The value is truncated  to use the least significant bits that match the bit size of the Parameter being compared to.
source <complexType name="ComparisonType">
 
<annotation>
   
<documentation xml:lang="en">A simple ParameterInstanceRef to value comparison.  The string supplied in the value attribute needs to be converted to a type matching the Parameter being compared to.  Numerical values are assumed to be base 10 unless proceeded by 0x (hexadecimal), 0o (octal), or 0b (binary).  The value is truncated  to use the least significant bits that match the bit size of the Parameter being compared to.</documentation>
 
</annotation>
 
<complexContent>
   
<extension base="xtce:ParameterInstanceRefType">
     
<attribute name="comparisonOperator" type="xtce:ComparisonOperatorsType" default="=="/>
     
<attribute name="value" type="string" use="required"/>
   
</extension>
 
</complexContent>
</complexType>

attribute ComparisonType/@comparisonOperator
type xtce:ComparisonOperatorsType
properties
default ==
facets
Kind Value Annotation
enumeration ==
enumeration !=
enumeration &lt;
enumeration &lt;=
enumeration >
enumeration >=
source <attribute name="comparisonOperator" type="xtce:ComparisonOperatorsType" default="=="/>

attribute ComparisonType/@value
type string
properties
use required
source <attribute name="value" type="string" use="required"/>


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