urn:schemas-cosylab-com:SimulatedComponent:1.0
complexType eventResponse

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{urn:schemas-cosylab-com:SimulatedComponent:1.0}eventResponse (restriction)

Documentation
			The eventResponse type is an XML element describing ALMA events and channels. 
			What this element does is tell the simulator framework that a given event type on a 
			given channel name should be subscribed to and when an event of the correct type
			is received:
			1. A block of Python code existing within this element should be executed and/or
			2. Another event should be sent out as a response.
			
Properties
This component is not nillable.

Model
<...
  Delay = xs:double : 1
  IncomingChannel = xs:string
  IncomingID = xs:string
  MissedEventChance = xs:double : 0
  OutgoingChannel = xs:string
  OutgoingID = xs:string>

</...>


Attribute Summary
 xs:doubleDelay
          The floating point number of seconds the simulator framework should wait before sending an event in response to receiving an event of IncomingEventId type. 
 xs:stringIncomingChannel
          Name of the channel we will subscribe to. 
 xs:stringIncomingID
          The IDL id of the ALMA event we are subscribing to. 
 xs:doubleMissedEventChance
          
 xs:stringOutgoingChannel
          Name of the channel we will send an event to as a response to an incoming event. 
 xs:stringOutgoingID
          The IDL id of the ALMA event we will send out as a response to an incoming event. 

Attribute Detail

Delay

The floating point number of seconds the simulator framework should wait before sending an event in response to receiving an event of IncomingEventId type. This attribute is ignored if OutgoingEventId has not been changed from its default value.

Type:
xs:double
Default:
1
Use:
optional
Form:
unqualified

IncomingChannel

Name of the channel we will subscribe to. For example, "CONTROL_CHANNEL".

Type:
xs:string
Use:
required
Form:
unqualified

IncomingID

The IDL id of the ALMA event we are subscribing to. For example, "IDL:alma/FRIDGE/temperatureDataEvent:1.0".

Type:
xs:string
Use:
required
Form:
unqualified

MissedEventChance

Type:
based on
with :
Default:
0
Use:
optional
Form:
unqualified

OutgoingChannel

Name of the channel we will send an event to as a response to an incoming event. For example, "SCHEDULING_CHANNEL". This attribute is not used unless the OutgoingEventId attribute is modified from the default value.

Type:
xs:string
Use:
optional
Form:
unqualified

OutgoingID

The IDL id of the ALMA event we will send out as a response to an incoming event. For example, "IDL:alma/FRIDGE/temperatureDataEvent:1.0". If the OutgoingChannel attribute is not modified from the default value, the event will be sent to the IncomingChannel.

Type:
xs:string
Use:
optional
Form:
unqualified

Source
<xs:complexType mixed="true" name="eventResponse">
<xs:attribute name="IncomingChannel" type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="IncomingID" type="xs:string" use="required">
</xs:attribute>
<xs:attribute default="" name="OutgoingChannel" type="xs:string" use="optional">
</xs:attribute>
<xs:attribute default="" name="OutgoingID" type="xs:string" use="optional">
</xs:attribute>
<xs:attribute default="1" name="Delay" type="xs:double" use="optional">
</xs:attribute>
<xs:attribute default="0" name="MissedEventChance" use="optional">
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0"/>
<xs:maxExclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.