1 L0 = <http://www.simantics.org/Layer0-1.1>
\r
2 MOD = <http://www.simantics.org/Modeling-1.2>
\r
3 SEL = <http://www.simantics.org/SelectionView-1.2>
\r
5 MOD.Subscription <T L0.Entity
\r
6 @L0.singlePropertyDefault MOD.Subscription.Enabled true
\r
7 @L0.singleProperty L0.HasName
\r
8 @L0.singleProperty L0.HasLabel
\r
9 @L0.property L0.ConsistsOf
\r
10 // TODO [L0.ConsistsOf all SubscriptionItem]
\r
12 MOD.Subscription.Enabled <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
13 L0.HasLabel "Is Enabled"
\r
14 L0.HasRange L0.Boolean
\r
16 MOD.Subscription.Item <T L0.Entity
\r
17 @L0.singleProperty L0.HasName
\r
18 @L0.assert L0.HasLabel ""
\r
19 @L0.optionalProperty MOD.Subscription.Item.VariableId
\r
20 @L0.optionalProperty MOD.Subscription.Item.Datatype
\r
21 @L0.optionalProperty MOD.Subscription.Item.Deadband
\r
22 @L0.optionalProperty MOD.Subscription.Item.Gain
\r
23 @L0.optionalProperty MOD.Subscription.Item.Bias
\r
24 @L0.assert MOD.Subscription.Item.Deadband 0.0
\r
25 @L0.assert MOD.Subscription.Item.Gain 1.0
\r
26 @L0.assert MOD.Subscription.Item.Bias 0.0
\r
27 @L0.optionalProperty MOD.Subscription.Item.SamplingInterval
\r
28 @L0.assert MOD.Subscription.Item.SamplingInterval 0.0
\r
29 @L0.optionalProperty MOD.Subscription.Item.Unit
\r
30 @L0.assert MOD.Subscription.Item.Unit ""
\r
31 //@L0.optionalProperty MOD.Chart.Item.Min
\r
32 //@L0.optionalProperty MOD.Chart.Item.Max
\r
33 //@L0.optionalProperty MOD.Chart.Item.EU
\r
35 MOD.Subscription.Item.Unit <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
37 L0.HasRange L0.String
\r
39 MOD.Subscription.Item.VariableId <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
40 L0.HasLabel "Variable Id"
\r
43 SEL.HasDisplayValue MOD.Functions.variableIdDisplayValue : L0.Function
\r
45 MOD.Subscription.Item.Datatype <R L0.HasProperty : L0.FunctionalRelation
\r
46 L0.HasLabel "Datatype"
\r
50 MOD.Subscription.Item.Deadband <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
51 L0.HasLabel "Deadband"
\r
55 MOD.Subscription.Item.Gain <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
59 MOD.Subscription.Item.Bias <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
63 MOD.Subscription.Item.SamplingInterval <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericParameterType
\r
64 L0.HasLabel "Sampling Interval"
\r
69 MOD.Chart.Item.Min <R L0.HasProperty : L0.FunctionalRelation
\r
70 L0.HasLabel "Assumed Min value"
\r
73 MOD.Chart.Item.Max <R L0.HasProperty : L0.FunctionalRelation
\r
74 L0.HasLabel "Assumed Max value"
\r
77 MOD.Chart.Item.EU <R L0.HasProperty : L0.FunctionalRelation
\r
78 L0.HasLabel "Engineering Uint"
\r