complexType TriggerType
diagram plmxml_diagrams/plmxml_p916.png
namespace http://www.plmxml.org/Schemas/PLMXMLSchema
type extension of plm:AttribOwnerBase
properties
base plm:AttribOwnerBase
children plm:Description plm:ApplicationRef plm:Attribute
used by
element Trigger
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xsd:ID  optional      
name  xsd:string  optional      
nameRef  plm:anyURIType  optional      
descriptionTextRef  plm:anyURIType  optional      
attributeRefs  xsd:IDREFS  optional      
sensorRef  plm:anyURIType  optional      
threshold  xsd:double    0.0    
condition  plm:ConditionEnum  optional      
delay  xsd:double  optional      
alwaysMonitored  xsd:boolean    false    
annotation
documentation

          A trigger for a Step based on the value of a Sensor, SensorInstance or
          SensorOccurrence.

          Attributes:

          sensorRef:    A reference to a SensorInstance or SensorOccurrence. If
                        sensorRef is set, condition should also be set but delay
                        should not be set.
          threshold:    The value of the SensorInstance or SensorOccurrence, at
                        which the value of the Trigger changes.
          condition:    The binary operator between the value of the Sensor,
                        SensorInstance or SensorOccurrence and threshold (in
                        that order). The expression so formed is the boolean
                        value of the Trigger. If condition is set, sensorRef
                        should also be set but delay should not be set.
          delay:        The time in seconds, after the start of its enclosing
                        TimingFunction, at which the Trigger becomes true. If
                        delay is set, sensorRef and condition should not be set.
          alwaysMonitored: When alwaysMonitored is true, the Step is triggered
                        if the value of the Trigger becomes true any time after
                        the start of the TimingFunction, even if it then becomes
                        false before the start of the Step. When alwaysMonitored
                        is false (the default value) the Step is triggered when
                        the value of the Trigger becomes true after the start of
                        the Step.
         
source <xsd:complexType name="TriggerType">
 
<xsd:annotation>
   
<xsd:documentation>
          A trigger for a Step based on the value of a Sensor, SensorInstance or
          SensorOccurrence.

          Attributes:

          sensorRef:    A reference to a SensorInstance or SensorOccurrence. If
                        sensorRef is set, condition should also be set but delay
                        should not be set.
          threshold:    The value of the SensorInstance or SensorOccurrence, at
                        which the value of the Trigger changes.
          condition:    The binary operator between the value of the Sensor,
                        SensorInstance or SensorOccurrence and threshold (in
                        that order). The expression so formed is the boolean
                        value of the Trigger. If condition is set, sensorRef
                        should also be set but delay should not be set.
          delay:        The time in seconds, after the start of its enclosing
                        TimingFunction, at which the Trigger becomes true. If
                        delay is set, sensorRef and condition should not be set.
          alwaysMonitored: When alwaysMonitored is true, the Step is triggered
                        if the value of the Trigger becomes true any time after
                        the start of the TimingFunction, even if it then becomes
                        false before the start of the Step. When alwaysMonitored
                        is false (the default value) the Step is triggered when
                        the value of the Trigger becomes true after the start of
                        the Step.
         
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="plm:AttribOwnerBase">
     
<xsd:attribute name="sensorRef" type="plm:anyURIType" use="optional"/>
     
<xsd:attribute name="threshold" type="xsd:double" default="0.0"/>
     
<xsd:attribute name="condition" type="plm:ConditionEnum" use="optional"/>
     
<xsd:attribute name="delay" type="xsd:double" use="optional"/>
     
<xsd:attribute name="alwaysMonitored" type="xsd:boolean" default="false"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

attribute TriggerType/@sensorRef
type plm:anyURIType
properties
use optional
source <xsd:attribute name="sensorRef" type="plm:anyURIType" use="optional"/>

attribute TriggerType/@threshold
type xsd:double
properties
default 0.0
source <xsd:attribute name="threshold" type="xsd:double" default="0.0"/>

attribute TriggerType/@condition
type plm:ConditionEnum
properties
use optional
facets
Kind Value Annotation
enumeration greaterThan
enumeration greaterThanOrEqual
enumeration lessThan
enumeration lessThanOrEqual
source <xsd:attribute name="condition" type="plm:ConditionEnum" use="optional"/>

attribute TriggerType/@delay
type xsd:double
properties
use optional
source <xsd:attribute name="delay" type="xsd:double" use="optional"/>

attribute TriggerType/@alwaysMonitored
type xsd:boolean
properties
default false
source <xsd:attribute name="alwaysMonitored" type="xsd:boolean" default="false"/>


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