Class Device
A device.
Namespace: Unity.DigitalTwins.Live.Sdk.Models
Assembly: solution.dll
Syntax
[Serializable]
public class Device
Fields
DeviceType
The type of device.
Declaration
public string DeviceType
Field Value
Type | Description |
---|---|
String |
FacilityId
The ID of the facility the device belongs to.
Declaration
public string FacilityId
Field Value
Type | Description |
---|---|
String |
Geometry
Key-value pairs of geometry IDs and their corresponding values.
Declaration
public IDictionary<string, string> Geometry
Field Value
Type | Description |
---|---|
IDictionary<String, String> |
Id
The ID of the device.
Declaration
public string Id
Field Value
Type | Description |
---|---|
String |
IotSourceId
The ID of the device within its source system.
Declaration
public string IotSourceId
Field Value
Type | Description |
---|---|
String |
Properties
Key-value pairs (string,string) that represent custom properties of the device, as defined within the device's source system.
Declaration
public IDictionary<string, string> Properties
Field Value
Type | Description |
---|---|
IDictionary<String, String> |
TelemetryNames
A list of telemetries that the device supports.
Declaration
public string[] TelemetryNames
Field Value
Type | Description |
---|---|
String[] |
WorkspaceId
The ID of the workspace where the device exists.
Declaration
public string WorkspaceId
Field Value
Type | Description |
---|---|
String |
Properties
DateCreated
The date on which the device was created, in UTC.
Declaration
public DateTimeOffset DateCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
DateModified
The date on which the device was modified, in UTC.
Declaration
public DateTimeOffset DateModified { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |