You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.6 KiB
C#

2 months ago
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.lmm.Collection.Model.CoreCommunications.WhoIsThere
* FAE2B07F-0327-474C-B898-871F3D1D1EDF
*
* WenJY
*
* 2025-10-16 11:16:24
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Model.api.CoreCommunications.GetEndpointInformation.@enum;
namespace Sln.Iot.Model.api.CoreCommunications.WhoIsThere
{
/// <summary>
/// 支持的 Topic 信息
/// 描述设备支持的 CFX 通信主题和能力
/// </summary>
public class SupportedTopic
{
/// <summary>
/// 支援的 CFX 功能主题
/// 例如:"CFX.Production", "CFX.Production.Application", "CFX.ResourcePerformance"
/// </summary>
public string TopicName { get; set; }
/// <summary>
/// Topic 支持类型
/// 0=Publisher 1=Consumer 2=PublisherConsumer
/// </summary>
public TopicSupportType TopicSupportType { get; set; }
/// <summary>
/// 支援 CFX 消息的清单
/// 该 Topic 下支持的具体消息类型列表
/// </summary>
public List<string> SupportedMessages { get; set; }
}
}