Skip to content

Commit

Permalink
Added MQTT topic constants
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickRitchie committed Dec 12, 2023
1 parent 0dbe897 commit db237b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/MTConnect.NET-MQTT/MTConnectMqttDocumentServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ namespace MTConnect
{
public class MTConnectMqttDocumentServer
{
public const string ProbeTopic = "Probe";
public const string CurrentTopic = "Current";
public const string SampleTopic = "Sample";
public const string AssetTopic = "Asset";


private readonly IMTConnectAgentBroker _mtconnectAgent;
private readonly IMTConnectMqttServerConfiguration _configuration;
private CancellationTokenSource _stop;
Expand Down

0 comments on commit db237b5

Please sign in to comment.