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