To jest stara wersja strony!
Opis
Spotkania
08.02.26
08.03.11
080318
próba opisu całego ARD z TPH przy pomocy
HML jako p. wyjścia dla XMI
080401
Projekt
package ARD {
class Wlasnosc {
attribute name : String;
reference atrybuty[*] container : Atrybut opposite of wlasnocAtrybut;
reference dependency container : Wlasnosc opposite of dependencyAtrybut;
reference dependencyWlasnosc[*] : Wlasnosc opposite of dependency;
}
class Atrybut {
attribute name : String;
reference wlasnoscAtrybut[0-1] : Wlasnosc opposite of atrybuty;
}
}
package Primitive Types {
datatype String;
}
<Ard name="thermostat">
<property name="month"/>
<property name="day"/>
<property name="hour"/>
<property name="today">
<dependency name="day"/>
</property>
<property name="operation">
<dependency name="today"/>
<dependency name="hour"/>
</property>
...
</Ard>
<hml name = "termostat">
<attribute_set>
<att name = "thermostat" id = "att_0"/>
<att name = "time" id = "att_1"/>
<att name = "temperature" id = "att_2"/>
<att name = "date" id = "att_3"/>
<att name = "thermostat_settings" id = "att_4"/>
<att name = "operation" id = "att_5"/>
<att name = "season" id = "att_6"/>
<att name = "today" id = "att_7"/>
<att name = "hour" id = "att_8"/>
<att name = "month" id = "att_9"/>
<att name = "day" id = "att_10"/>
</attribute_set>
<property_set>
<property name = "thermostat_pr" id="prp_0">
<attref ref = "att_0"/>
</property>
<property name = "time_temp_pr" id="prp_1">
<attref ref = "att_1"/>
<attref ref = "att_2"/>
</property>
<property name = "time_pr" id="prp_2">
<attref ref = "att_1"/>
</property>
<property name = "temperature" id="prp_3">
<attref ref = "att_2"/>
</property>
<property name = "date_hour_seasion_operation_pr" id="prp_4">
<attref ref = "att_3"/>
<attref ref = "att_8"/>
<attref ref = "att_6"/>
<attref ref = "att_5"/>
</property>
<property name = "date_hour_pr" id="prp_5">
<attref ref = "att_3"/>
<attref ref = "att_8"/>
</property>
<property name = "season_operation_pr" id="prp_6">
<attref ref = "att_6"/>
<attref ref = "att_5"/>
</property>
<property name = "day_month_today_pr" id="prp_7">
<attref ref = "att_10"/>
<attref ref = "att_9"/>
<attref ref = "att_7"/>
</property>
<property name = "day_today_pr" id="prp_8">
<attref ref = "att_10"/>
<attref ref = "att_7"/>
</property>
<property name = "thermostat_settings_pr" id="prp_9">
<attref ref = "att_0"/>
</property>
<property name = "operation_pr" id="prp_10">
<attref ref="att_1"/>
</property>
<property name = "season_pr" id="prp_11">
<attref ref="att_2"/>
</property>
<property name = "today_pr" id="prp_12">
<attref ref="att_3"/>
</property>
<property name = "hour_pr" id="prp_13">
<attref ref="att_4"/>
</property>
<property name = "month_pr" id = "prp_14">
<attref ref = "att_5"/>
</property>
<property name = "day_pr" id = "prp_15">
<attref ref = "att_6"/>
</property>
<property name = "date" id = "prp_16">
<attref ref = "att_3"/>
</property>
</property_set>
<tph>
<trans src="prp_0" dst="prp_1"/>
<trans src="prp_1" dst="prp_2"/>
<trans src="prp_1" dst="prp_3"/>
<trans src="prp_2" dst="prp_4"/>
<trans src="prp_3" dst="prp_9"/>
<trans src="prp_4" dst="prp_5"/>
<trans src="prp_4" dst="prp_6"/>
<trans src="prp_5" dst="prp_13"/>
<trans src="prp_5" dst="prp_16"/>
<trans src="prp_6" dst="prp_10"/>
<trans src="prp_6" dst="prp_11"/>
<trans src="prp_16" dst="prp_7"/>
<trans src="prp_7" dst="prp_14"/>
<trans src="prp_7" dst="prp_8"/>
<trans src="prp_8" dst="prp_15"/>
<trans src="prp_8" dst="prp_12"/>
</tph>
<ard>
<dep independent="prp_15" dependent="prp_12"/>
<dep independent="prp_14" dependent="prp_11"/>
<dep independent="prp_13" dependent="prp_10"/>
<dep independent="prp_12" dependent="prp_10"/>
<dep independent="prp_10" dependent="prp_9"/>
<dep independent="prp_11" dependent="prp_9"/>
</ard>
</hml>
Sprawozdanie
Materiały