2024-12-19 16:07:07 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.Protocol.Contracts
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ProtocolConst
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string SubscriberGroup = "jishe.collectbus";
|
|
|
|
|
|
public const string SubscriberIssuedEventName = "issued.event";
|
|
|
|
|
|
public const string SubscriberReceivedEventName = "received.event";
|
|
|
|
|
|
public const string SubscriberReceivedHeartbeatEventName = "received.heartbeat.event";
|
|
|
|
|
|
public const string SubscriberReceivedLoginEventName = "received.login.event";
|
|
|
|
|
|
|
2025-03-12 09:58:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 1分钟采集电表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
2025-03-13 10:51:16 +08:00
|
|
|
|
public const string AmmeterSubscriberWorkerOneMinuteIssuedEventName = "issued.one.ammeter.event";
|
2025-03-12 09:58:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 5分钟采集电表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
2025-03-13 10:51:16 +08:00
|
|
|
|
public const string AmmeterSubscriberWorkerFiveMinuteIssuedEventName = "issued.five.ammeter.event";
|
2025-03-12 09:58:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 15分钟采集电表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
2025-03-13 10:51:16 +08:00
|
|
|
|
public const string AmmeterSubscriberWorkerFifteenMinuteIssuedEventName = "issued.fifteen.ammeter.event";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 1分钟采集水表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string WatermeterSubscriberWorkerOneMinuteIssuedEventName = "issued.one.watermeter.event";
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 5分钟采集水表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string WatermeterSubscriberWorkerFiveMinuteIssuedEventName = "issued.five.watermeter.event";
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 15分钟采集水表数据下行消息主题
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string WatermeterSubscriberWorkerFifteenMinuteIssuedEventName = "issued.fifteen.watermeter.event";
|
2025-03-12 09:58:37 +08:00
|
|
|
|
|
2024-12-19 16:07:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|