次の方法で共有


DiscoveredDataPoint Class

Definition

Defines the data point properties.

public class DiscoveredDataPoint : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.DiscoveredDataPoint>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.DiscoveredDataPoint>
type DiscoveredDataPoint = class
    interface IJsonModel<DiscoveredDataPoint>
    interface IPersistableModel<DiscoveredDataPoint>
Public Class DiscoveredDataPoint
Implements IJsonModel(Of DiscoveredDataPoint), IPersistableModel(Of DiscoveredDataPoint)
Inheritance
DiscoveredDataPoint
Implements

Constructors

DiscoveredDataPoint(String, String)

Initializes a new instance of DiscoveredDataPoint.

Properties

DataPointConfiguration

Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.

DataSource

The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.

LastUpdatedOn

UTC timestamp indicating when the data point was added or modified.

Name

The name of the data point.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiscoveredDataPoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DiscoveredDataPoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiscoveredDataPoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiscoveredDataPoint>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DiscoveredDataPoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to