]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation.ontology/graph/History.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.simulation.ontology / graph / History.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 SIMU = <http://www.simantics.org/Simulation-1.1>
3
4 HIS = SIMU.History : L0.Library
5     L0.HasResourceClass "org.simantics.simulation.ontology.HistoryResource"
6
7 HIS.History <T L0.Entity
8     @L0.singleProperty L0.HasName // ID, Typically GUID
9     @L0.property L0.ConsistsOf // HIS.History.Item
10     >-- HIS.History.size --> L0.Long <R L0.HasProperty : L0.FunctionalRelation
11         L0.HasLabel "Total size of all history items in bytes"
12
13 // Time series stream
14 HIS.History.Item <T L0.Entity
15     @L0.singleProperty L0.HasName // Identifier
16     @L0.singleProperty HIS.History.Item.Series
17     @L0.singleProperty HIS.History.Item.Info   
18     >-- HIS.History.Item.size --> L0.Long <R L0.HasProperty : L0.FunctionalRelation
19         L0.HasLabel "Size of history item in bytes"
20
21 // The actual data - time series
22 HIS.History.Item.Series <R L0.HasProperty : L0.FunctionalRelation
23     --> L0.Variant
24     
25 // CollectorState.Item - Collector data for the item
26 HIS.History.Item.Info <R L0.HasProperty : L0.FunctionalRelation
27     --> L0.Variant
28
29 // The complete archived+compressed history data
30 HIS.History.archive <R L0.HasProperty : L0.FunctionalRelation
31     --> L0.ByteArray
32
33 //
34 // Below this line -- UNUSED //
35 //
36
37 HIS.History.Item.Format <R L0.HasProperty : L0.FunctionalRelation
38     --> L0.DataType
39
40 HIS.History.Item.FormatId <R L0.HasProperty : L0.FunctionalRelation
41     --> L0.String
42
43 HIS.History.Item.VariableId <R L0.HasProperty : L0.FunctionalRelation
44     --> L0.String
45
46 HIS.History.Item.Deadband <R L0.HasProperty : L0.FunctionalRelation
47     --> L0.Double
48
49 HIS.History.Item.Interval <R L0.HasProperty : L0.FunctionalRelation
50     --> L0.Double
51
52 HIS.History.Item.Gain <R L0.HasProperty : L0.FunctionalRelation
53     --> L0.Double
54
55 HIS.History.Item.Bias <R L0.HasProperty : L0.FunctionalRelation
56     --> L0.Double
57
58 HIS.History.Item.Enabled <R L0.HasProperty : L0.FunctionalRelation
59     --> L0.Boolean
60
61 HIS.History.Item.GroupId <R L0.HasProperty : L0.FunctionalRelation
62     --> L0.String
63
64 HIS.History.Item.GroupItemId <R L0.HasProperty : L0.FunctionalRelation
65     --> L0.Variant
66     
67 HIS.History.Item.CollectorState <R L0.HasProperty : L0.FunctionalRelation
68     --> L0.Variant