OperationalStateProperty Class

A reference class that describes valid operational state properties

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public class OperationalStateProperty
Inheritance
Object    OperationalStateProperty

Properties

DataType Data type of the operational state property.
DeviceType ASCOM device type that supplies this operational property.
Name Name of the operational state property.

Methods

Clean Helper method to ensure that Value properties are of the expected type after de=serialisation by DeserializeTValue(String, JsonSerializerOptions)
GetAllOperationalProperties Returns the list of operational state property names and return types for all devices as a list of OperationalStateProperty values
GetOperationalPropertiesForDeviceType Returns a list of operational state property names and return types for the specified device type as a list of OperationalStateProperty values

Version Information

.NET Standard

Supported in: 2.0

See Also