2025-10-11 18:25:59 +08:00

30 lines
717 B
C#
Raw Permalink 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.

namespace XiaoZhiSharp.MQTT.Common
{
/// <summary>
/// 信息载体
/// </summary>
public class ResultMqtt
{
/// <summary>
/// 结果Code
/// 正常1其他为异常0不作为回复结果
/// </summary>
public int ResultCode { get; set; } = 0;
/// <summary>
/// 结果信息
/// </summary>
public string ResultMsg { get; set; } = string.Empty;
/// <summary>
/// 扩展1
/// </summary>
public object ResultObject1 { get; set; } = string.Empty;
/// <summary>
/// 扩展2
/// </summary>
public object ResultObject2 { get; set; } = string.Empty;
}
}