JiShe.CollectBus/src/JiShe.CollectBus.Domain/IotSystems/MessageIssueds/ScheduledMeterReadingIssuedEventMessage.cs
2025-03-17 14:23:48 +08:00

38 lines
979 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using JiShe.CollectBus.Common.Enums;
using System;
using Volo.Abp.Domain.Entities;
namespace JiShe.CollectBus.IotSystems.MessageIssueds
{
/// <summary>
/// 定时抄读Kafka消息实体1分钟、5分钟、15分钟
/// </summary>
public class ScheduledMeterReadingIssuedEventMessage : AggregateRoot<Guid>
{
/// <summary>
/// 消息内容
/// </summary>
public byte[] Message { get; set; }
/// <summary>
/// 集中器编号
/// </summary>
public string DeviceNo { get; set; }
/// <summary>
/// 采集时间间隔通过Kafka主题区分(分钟如15)
/// </summary>
public string TimeDensity { get; set; }
/// <summary>
/// 消息Id
/// </summary>
public string MessageId { get; set; }
/// <summary>
/// 是否下发成功
/// </summary>
public bool WasSuccessful { get; set; }
}
}