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.
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------
|
|
|
|
|
|
* 版权所有 (c) 2025 WenJY 保留所有权利。
|
|
|
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
|
|
|
* 机器名称:Mr.Wen's MacBook Pro
|
|
|
|
|
|
* 命名空间:Sln.lmm.Collection.Model.CoreCommunications.Heartbeat
|
|
|
|
|
|
* 唯一标识:0323D00B-274E-4A6A-885B-88835D63F95C
|
|
|
|
|
|
*
|
|
|
|
|
|
* 创建者:WenJY
|
|
|
|
|
|
* 电子邮箱:
|
|
|
|
|
|
* 创建时间:2025-10-16 11:26:50
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
* 描述:
|
|
|
|
|
|
*
|
|
|
|
|
|
*--------------------------------------------------------------------
|
|
|
|
|
|
* 修改人:
|
|
|
|
|
|
* 时间:
|
|
|
|
|
|
* 修改说明:
|
|
|
|
|
|
*
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
*--------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
|
|
using Sln.Iot.Model.api.Common.Enum;
|
|
|
|
|
|
using Sln.Iot.Model.api.Common.Stage;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sln.Iot.Model.api.CoreCommunications.Heartbeat;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 激活的配方信息
|
|
|
|
|
|
/// 用于心跳事件中报告当前正在使用的配方
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class ActiveRecipe
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 生产通道序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Lane { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工位信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Stage Stage { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 详细配方信息(与 RecipeIdentifier 择一上报)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Recipe Recipe { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 基础配方信息(与 Recipe 择一上报)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public RecipeIdentifier RecipeIdentifier { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方激活时间
|
|
|
|
|
|
/// 配方被启用的时间戳
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime ActivatedAt { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 使用次数统计
|
|
|
|
|
|
/// 该配方在当前会话中的使用次数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int UsageCount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方状态
|
|
|
|
|
|
/// 配方的当前运行状态
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public RecipeStatus Status { get; set; }
|
|
|
|
|
|
}
|