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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* 版权所有 (c) 2025 WenJY 保留所有权利。
* CLR版本: 4.0.30319.42000
* 机器名称: Mr.Wen's MacBook Pro
* 命名空间: Sln.lmm.Collection.Model.CoreCommunications.Heartbeat
* 唯一标识: 05978FBB-8F1C-44EB-B850-D359A415F0F0
*
* 创建者: WenJY
* 电子邮箱:
* 创建时间: 2025-10-16 11:21:04
* 版本: V1.0.0
* 描述:
*
*--------------------------------------------------------------------
* 修改人:
* 时间:
* 修改说明:
*
* 版本: V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Model.api.Common.Fault ;
namespace Sln.Iot.Model.api.CoreCommunications.Heartbeat
{
/// <summary>
/// 5.4.1.7 - 心跳事件
/// 设备需定时发送心跳状态,默认 1 分钟发送一次
/// </summary>
public class Heartbeat
{
/// <summary>
/// 设备 CFX 名称的上报
/// </summary>
public string CFXHandle { get ; set ; }
/// <summary>
/// 上报频率,默认 00:01:00
/// </summary>
public TimeSpan HeartbeatFrequency { get ; set ; }
/// <summary>
/// 当前发生故障( null 代表无法识别,为空代表无故障发生)
/// 与 6.4.1.1 FaultOccurred 上报数据结构一致
/// </summary>
public List < Fault > ActiveFaults { get ; set ; }
/// <summary>
/// 当前启用配方( null 代表无法识别,为空代表无配方启用)
/// 与 6.3.1.1 RecipeActivated 上报配方一致
/// </summary>
public List < ActiveRecipe > ActiveRecipes { get ; set ; }
}
}