2025-03-14 17:28:58 +08:00
|
|
|
|
using JiShe.CollectBus.Common.Enums;
|
2025-03-17 14:23:48 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities;
|
2025-03-14 17:28:58 +08:00
|
|
|
|
|
2025-03-17 14:23:48 +08:00
|
|
|
|
namespace JiShe.CollectBus.IotSystems.MessageIssueds
|
2025-03-14 17:28:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 定时抄读Kafka消息实体,1分钟、5分钟、15分钟
|
|
|
|
|
|
/// </summary>
|
2025-03-17 14:23:48 +08:00
|
|
|
|
public class ScheduledMeterReadingIssuedEventMessage : AggregateRoot<Guid>
|
2025-03-14 17:28:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 消息内容
|
|
|
|
|
|
/// </summary>
|
2025-03-18 15:58:37 +08:00
|
|
|
|
public string MessageHexString { get; set; }
|
2025-03-14 17:28:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 集中器编号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string DeviceNo { get; set; }
|
|
|
|
|
|
|
2025-03-17 14:23:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 采集时间间隔,通过Kafka主题区分(分钟,如15)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string TimeDensity { get; set; }
|
2025-03-14 17:28:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 消息Id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string MessageId { get; set; }
|
2025-03-17 14:23:48 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否下发成功
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool WasSuccessful { get; set; }
|
2025-03-18 15:58:37 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime CreationTime { get; set; }
|
2025-03-14 17:28:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|