Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IoTSensorData.cs
1
using
System
;
2
using
Waher.Content.Semantic
;
3
using
Waher.Runtime.Inventory
;
4
5
namespace
Waher.Things.Semantic.Ontologies
6
{
10
public
class
IoTSensorData
:
IOntology
11
{
15
public
IoTSensorData
()
16
{
17
}
18
22
public
string
OntologyNamespace
=>
Namespace
;
23
27
public
string
OntologyPrefix
=>
"sd"
;
28
32
public
bool
ShowByDefault
=>
true
;
33
39
public
Grade
Supports
(
string
Uri)
40
{
41
return
Uri.StartsWith(
Namespace
) ? Grade.Ok :
Grade
.NotAtAll;
42
}
43
47
public
const
string
Namespace
=
"urn:nf:iot:sd:1.0:"
;
48
52
public
const
string
UnitNamespace
=
Namespace
+
"unit:"
;
53
57
public
static
readonly Uri
timestamp
=
new
Uri(
Namespace
+
"timestamp"
);
58
62
public
static
readonly Uri
timestamps
=
new
Uri(
Namespace
+
"timestamps"
);
63
67
public
static
readonly Uri
fields
=
new
Uri(
Namespace
+
"fields"
);
68
72
public
static
readonly Uri
errors
=
new
Uri(
Namespace
+
"errros"
);
73
77
public
static
readonly Uri
qos
=
new
Uri(
Namespace
+
"qos"
);
78
82
public
static
readonly Uri
fieldType
=
new
Uri(
Namespace
+
"fieldType"
);
83
87
public
static
readonly Uri
value
=
new
Uri(
Namespace
+
"value"
);
88
89
}
90
}
Waher.Things.Semantic.Ontologies.IoTSensorData
IoT Sensor-Data Ontology
Definition:
IoTSensorData.cs:11
Waher.Things.Semantic.Ontologies.IoTSensorData.OntologyPrefix
string OntologyPrefix
Well-known ontology prefix.
Definition:
IoTSensorData.cs:27
Waher.Things.Semantic.Ontologies.IoTSensorData.fieldType
static readonly Uri fieldType
urn:nf:iot:sd:1.0:fieldType
Definition:
IoTSensorData.cs:82
Waher.Things.Semantic.Ontologies.IoTSensorData.OntologyNamespace
string OntologyNamespace
Ontology namespace.
Definition:
IoTSensorData.cs:22
Waher.Things.Semantic.Ontologies.IoTSensorData.timestamp
static readonly Uri timestamp
urn:nf:iot:sd:1.0:timestamp
Definition:
IoTSensorData.cs:57
Waher.Things.Semantic.Ontologies.IoTSensorData.timestamps
static readonly Uri timestamps
urn:nf:iot:sd:1.0:timestamps
Definition:
IoTSensorData.cs:62
Waher.Things.Semantic.Ontologies.IoTSensorData.value
static readonly Uri value
urn:nf:iot:concentrator:1.0:value
Definition:
IoTSensorData.cs:87
Waher.Things.Semantic.Ontologies.IoTSensorData.errors
static readonly Uri errors
urn:nf:iot:sd:1.0:errros
Definition:
IoTSensorData.cs:72
Waher.Things.Semantic.Ontologies.IoTSensorData.IoTSensorData
IoTSensorData()
IoT Sensor-Data Ontology
Definition:
IoTSensorData.cs:15
Waher.Things.Semantic.Ontologies.IoTSensorData.qos
static readonly Uri qos
urn:nf:iot:sd:1.0:qos
Definition:
IoTSensorData.cs:77
Waher.Things.Semantic.Ontologies.IoTSensorData.fields
static readonly Uri fields
urn:nf:iot:sd:1.0:fields
Definition:
IoTSensorData.cs:67
Waher.Things.Semantic.Ontologies.IoTSensorData.ShowByDefault
bool ShowByDefault
If the ontology should be shown by default in query interfaces.
Definition:
IoTSensorData.cs:32
Waher.Things.Semantic.Ontologies.IoTSensorData.Supports
Grade Supports(string Uri)
If the interface understands objects such as Uri .
Definition:
IoTSensorData.cs:39
Waher.Things.Semantic.Ontologies.IoTSensorData.Namespace
const string Namespace
urn:nf:iot:sd:1.0:
Definition:
IoTSensorData.cs:47
Waher.Things.Semantic.Ontologies.IoTSensorData.UnitNamespace
const string UnitNamespace
urn:nf:iot:sd:1.0:unit:
Definition:
IoTSensorData.cs:52
Waher.Content.Semantic.IOntology
Interface for semantic ontologies.
Definition:
IOntology.cs:9
System
Definition:
Adapters.g.cs:58
Waher.Content.Semantic
Definition:
BNode.cs:9
Waher.Runtime.Inventory
Definition:
TypesLoader.cs:9
Waher.Runtime.Inventory.Grade
Grade
Grade enumeration
Definition:
Grade.cs:7
Waher.Things.Semantic.Ontologies
Definition:
IoTConcentrator.cs:6
IoTGateway
Things
Waher.Things.Semantic
Ontologies
IoTSensorData.cs
Generated by
1.9.5