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.

63 lines
1.9 KiB
C#

This file contains ambiguous Unicode characters!

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.TrackAndTrace.UnitInitialization.UnitsInitialized
* 唯一标识8DCB7DDE-637C-481B-B338-D35FA0A55AB5
*
* 创建者WenJY
* 电子邮箱:
* 创建时间2025-10-16 14:03:07
* 版本V1.0.0
* 描述:
*
*--------------------------------------------------------------------
* 修改人:
* 时间:
* 修改说明:
*
* 版本V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Model.api.Common.UnitPosition;
using Sln.Iot.Model.api.Common.WorkOrderIdentifier;
namespace Sln.Iot.Model.api.TrackAndTrace.UnitInitialization.UnitsInitialized
{
/// <summary>
/// 当自动 Link、分板机与雷雕机等设备赋予产品 ID 时,上报记录产品信息
/// 5.4.2.3: Units 仅能有一笔产品信息
/// </summary>
public class UnitsInitialized
{
/// <summary>
/// 产品信息列表
/// 5.4.2.3: 仅能有单笔
/// </summary>
public List<UnitPosition> Units { get; set; }
/// <summary>
/// 工单号码
/// </summary>
public WorkOrderIdentifier WorkOrderIdentifier { get; set; }
/// <summary>
/// 由 WorkStarted 消息指定的相关事务 ID
/// </summary>
public Guid? TransactionID { get; set; }
/// <summary>
/// 单个或一组产品的唯一条码
/// </summary>
public string PrimaryIdentifier { get; set; }
/// <summary>
/// 单个或一组产品的唯一条码 (Hermes 设备传输)
/// </summary>
public string HermesIdentifier { get; set; }
}
}