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

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

Documentation
			The event 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 should be sent out using:
			1. A block of Python code existing within this element where the last line 
			corresponds to an event. An example could be something similar to:

joe = FRIDGE.temperatureDataEvent(7L)
joe

			2. A random instance of the event type generated by the simulator framework.
			
			Event also allows end-users to send events on a given frequency. Finally,
			an attribute exists which allows setting the probability that the event will not be 
			sent at all.
			
Properties
This component is not nillable.

Model
<...
  Channel = xs:string
  Frequency = xs:float : 0
  ID = xs:string>

</...>


Attribute Summary
 xs:stringChannel
          Name of the channel we will send events to. 
 xs:floatFrequency
          The floating point number of seconds the simulator framework should wait before sending an event after the previous event. 
 xs:stringID
          The IDL id of the ALMA event we will send an event to. 

Attribute Detail

Channel

Name of the channel we will send events to. For example, "SCHEDULING_CHANNEL".

Type:
xs:string
Use:
required
Form:
unqualified

Frequency

The floating point number of seconds the simulator framework should wait before sending an event after the previous event. The default value of 0 implies the framework should only send one event and then stop.

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

ID

The IDL id of the ALMA event we will send an event to. For example, "IDL:alma/FRIDGE/temperatureDataEvent:1.0". If the event element contains some text, the simulator framework will not create a random instance of this event but will instead evaluate the element's text to produce the event.

Type:
xs:string
Use:
required
Form:
unqualified

Source
<xs:complexType mixed="true" name="event">
<xs:attribute name="Channel" type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="ID" type="xs:string" use="required">
</xs:attribute>
<xs:attribute default="0" name="Frequency" use="optional">
<xs:simpleType>
<xs:restriction base="xs:float">
<xs:minInclusive value="0"/>
</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.