-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
OpenNettyMqttAttributes.cs
78 lines (64 loc) · 2.1 KB
/
OpenNettyMqttAttributes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/opennetty/opennetty-core for more information concerning
* the license and the contributors participating to this project.
*/
namespace OpenNetty.Mqtt;
/// <summary>
/// Exposes common attributes supported by the OpenNetty MQTT integration.
/// </summary>
public static class OpenNettyMqttAttributes
{
/// <summary>
/// Battery.
/// </summary>
public const string Battery = "battery";
/// <summary>
/// Brightness.
/// </summary>
public const string Brightness = "brightness";
/// <summary>
/// Dimming step.
/// </summary>
public const string DimmingStep = "dimming_step";
/// <summary>
/// Pilot wire derogation mode.
/// </summary>
public const string PilotWireDerogationMode = "pilot_wire_derogation_mode";
/// <summary>
/// Pilot wire setpoint mode.
/// </summary>
public const string PilotWireSetpointMode = "pilot_wire_setpoint_mode";
/// <summary>
/// Scenario.
/// </summary>
public const string Scenario = "scenario";
/// <summary>
/// Smart meter indexes.
/// </summary>
public const string SmartMeterIndexes = "smart_meter_indexes";
/// <summary>
/// Smart meter power cut mode.
/// </summary>
public const string SmartMeterPowerCutMode = "smart_meter_power_cut_mode";
/// <summary>
/// Smart meter rate type.
/// </summary>
public const string SmartMeterRateType = "smart_meter_rate_type";
/// <summary>
/// Switch state.
/// </summary>
public const string SwitchState = "switch_state";
/// <summary>
/// Water heater state.
/// </summary>
public const string WaterHeaterState = "water_heater_state";
/// <summary>
/// Water heater setpoint mode.
/// </summary>
public const string WaterHeaterSetpointMode = "water_heater_setpoint_mode";
/// <summary>
/// Wireless burglar alarm state.
/// </summary>
public const string WirelessBurglarAlarmState = "wireless_burglar_alarm_state";
}