Project

General

Profile

Bug #4256 ยป block.xml

Christopher Brooks, 07/22/2009 10:19 AM

 
1
<?xml version="1.0" standalone="no"?>
2
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
3
    "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
4
<entity name="block" class="ptolemy.actor.TypedCompositeActor">
5
    <property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.0.beta">
6
    </property>
7
    <property name="PN Director" class="ptolemy.domains.pn.kernel.PNDirector">
8
        <property name="maximumQueueCapacity" class="ptolemy.data.expr.Parameter" value="1">
9
        </property>
10
        <property name="_location" class="ptolemy.kernel.util.Location" value="{80.0, 45.0}">
11
        </property>
12
    </property>
13
    <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={313, 195, 813, 510}, maximized=false}">
14
    </property>
15
    <property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[600, 400]">
16
    </property>
17
    <property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
18
    </property>
19
    <property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{300.0, 200.0}">
20
    </property>
21
    <entity name="Const" class="ptolemy.actor.lib.Const">
22
        <property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="1">
23
        </property>
24
        <property name="value" class="ptolemy.data.expr.Parameter" value="{1,2,3,4,5}">
25
        </property>
26
        <doc>Create a constant sequence.</doc>
27
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
28
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
29
            </property>
30
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
31
            </property>
32
        </property>
33
        <property name="_location" class="ptolemy.kernel.util.Location" value="[70.0, 145.0]">
34
        </property>
35
    </entity>
36
    <entity name="ArrayToSequence" class="ptolemy.domains.sdf.lib.ArrayToSequence">
37
        <property name="enforceArrayLength" class="ptolemy.data.expr.Parameter" value="false">
38
        </property>
39
        <property name="_location" class="ptolemy.kernel.util.Location" value="[210.0, 145.0]">
40
        </property>
41
    </entity>
42
    <entity name="Equals" class="ptolemy.actor.lib.logic.Equals">
43
        <property name="_location" class="ptolemy.kernel.util.Location" value="{455.0, 140.0}">
44
        </property>
45
    </entity>
46
    <entity name="Expression" class="ptolemy.actor.lib.Expression">
47
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="in">
48
        </property>
49
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
50
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
51
            </property>
52
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
53
            </property>
54
            <property name="displayHeight" class="ptolemy.data.expr.Parameter" value="10">
55
            </property>
56
        </property>
57
        <property name="_location" class="ptolemy.kernel.util.Location" value="[330.0, 185.0]">
58
        </property>
59
        <port name="in" class="ptolemy.actor.TypedIOPort">
60
            <property name="input"/>
61
        </port>
62
    </entity>
63
    <entity name="Expression2" class="ptolemy.actor.lib.Expression">
64
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="in">
65
        </property>
66
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
67
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
68
            </property>
69
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
70
            </property>
71
            <property name="displayHeight" class="ptolemy.data.expr.Parameter" value="10">
72
            </property>
73
        </property>
74
        <property name="_location" class="ptolemy.kernel.util.Location" value="[330.0, 95.0]">
75
        </property>
76
        <port name="in" class="ptolemy.actor.TypedIOPort">
77
            <property name="input"/>
78
        </port>
79
    </entity>
80
    <relation name="relation" class="ptolemy.actor.TypedIORelation">
81
        <property name="width" class="ptolemy.data.expr.Parameter" value="Auto">
82
        </property>
83
    </relation>
84
    <relation name="relation2" class="ptolemy.actor.TypedIORelation">
85
        <property name="width" class="ptolemy.data.expr.Parameter" value="Auto">
86
        </property>
87
        <vertex name="vertex1" value="[285.0, 145.0]">
88
        </vertex>
89
    </relation>
90
    <relation name="relation3" class="ptolemy.actor.TypedIORelation">
91
        <property name="width" class="ptolemy.data.expr.Parameter" value="Auto">
92
        </property>
93
    </relation>
94
    <relation name="relation4" class="ptolemy.actor.TypedIORelation">
95
        <property name="width" class="ptolemy.data.expr.Parameter" value="Auto">
96
        </property>
97
    </relation>
98
    <link port="Const.output" relation="relation"/>
99
    <link port="ArrayToSequence.input" relation="relation"/>
100
    <link port="ArrayToSequence.output" relation="relation2"/>
101
    <link port="Equals.input" relation="relation3"/>
102
    <link port="Equals.input" relation="relation4"/>
103
    <link port="Expression.output" relation="relation4"/>
104
    <link port="Expression.in" relation="relation2"/>
105
    <link port="Expression2.output" relation="relation3"/>
106
    <link port="Expression2.in" relation="relation2"/>
107
</entity>
    (1-1/1)