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.

66 lines
1.9 KiB
C#

2 months ago
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.lmm.Collection.Model.TrackAndTrace.WIPIdentification.WorkStarted
* 19C1D0C4-6BC5-4EC4-9260-A9A27A6117F6
*
* WenJY
*
* 2025-10-16 14:01:30
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Model.api.Common.UnitPosition;
namespace Sln.Iot.Model.api.TrackAndTrace.WIPIdentification.WorkStarted
{
/// <summary>
/// 5.4.2.2.1 - 工作开始事件 (WIP Identification 版本)
/// 设备使用扫码枪或其他方式准确获取产品条码时上报
/// </summary>
public class WorkStarted
{
/// <summary>
/// 指定后续加工过程唯一事务 ID
/// </summary>
public Guid TransactionID { get; set; }
/// <summary>
/// 生产通道序号
/// </summary>
public int Lane { get; set; }
/// <summary>
/// 产品数量
/// </summary>
public int UnitCount { get; set; }
/// <summary>
/// 产品信息列表 - 不可为空,且与 PrimaryIdentifier 相关联
/// </summary>
public List<UnitPosition> Units { get; set; }
/// <summary>
/// 单个或一组产品的唯一条码
/// </summary>
public string PrimaryIdentifier { get; set; }
/// <summary>
/// 单个或一组产品的唯一条码 (Hermes 设备传输)
/// </summary>
public string HermesIdentifier { get; set; }
}
}