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

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

SensorType

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

public string SensorType { get; set; }

Property Value

String

TopicSettingId

Gets or sets the unique identifier for the TopicSetting entity.

public int TopicSettingId { get; set; }

Property Value

Int32

Constructors

TopicSetting()

public TopicSetting()