Skip to content

TopicSetting

Namespace: Database.EntityFramework.Models

Represents the settings for a specific MQTT topic, including default path, group, and sensor information.

public class TopicSetting

Inheritance ObjectTopicSetting

Properties

CoordinateMapping

Navigation property for the related CoordinateMapping entity.

public CoordinateMapping CoordinateMapping { get; set; }

Property Value

CoordinateMapping

CoordinateMappingId

Gets or sets the foreign key for the related CoordinateMapping entity.

public int CoordinateMappingId { get; set; }

Property Value

Int32

DefaultTopicPath

Gets or sets the default MQTT topic path for this setting.

public string DefaultTopicPath { get; set; }

Property Value

String

GroupId

Gets or sets the group identifier associated with this topic setting.

public int GroupId { get; set; }

Property Value

Int32

HasRecovery

Gets or sets a value indicating whether this topic setting has recovery enabled.

public bool HasRecovery { get; set; }

Property Value

Boolean

SensorLocation

Gets or sets the location of the sensor.

public string SensorLocation { get; set; }

Property Value

String

SensorName

Gets or sets the name of the sensor.

public string SensorName { get; set; }

Property Value

String

SensorTypeEnum

Gets or sets the type of sensor (e.g., temperature, humidity).

public SensorType SensorTypeEnum { get; set; }

Property Value

SensorType

TopicSettingId

Gets or sets the unique identifier for the TopicSetting entity.

public int TopicSettingId { get; set; }

Property Value

Int32

Constructors

TopicSetting()

public TopicSetting()