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.

80 lines
2.1 KiB
C#

2 months ago
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.lmm.Collection.Model.Common
* 73FF90DE-1968-458D-BA43-6AD5FB7D41AC
*
* WenJY
*
* 2025-10-16 13:42:01
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Iot.Model.api.Common.UnitPosition
{
/// <summary>
/// 产品位置信息
/// 描述产品在设备中的位置和状态
/// </summary>
public class UnitPosition
{
/// <summary>
/// 产品、板子或载具 ID
/// </summary>
public string UnitIdentifier { get; set; }
/// <summary>
/// 加工位置顺序
/// </summary>
public int PositionNumber { get; set; }
/// <summary>
/// 加工位置名称
/// </summary>
public string PositionName { get; set; }
/// <summary>
/// 产品原点 X 坐标 (mm)
/// </summary>
public double X { get; set; }
/// <summary>
/// 产品原点 Y 坐标 (mm)
/// </summary>
public double Y { get; set; }
/// <summary>
/// 产品旋转角度
/// </summary>
public double Rotation { get; set; }
/// <summary>
/// 产品是否在 X 方向翻转
/// </summary>
public bool FlipX { get; set; }
/// <summary>
/// 产品是否在 Y 方向翻转
/// </summary>
public bool FlipY { get; set; }
/// <summary>
/// 产品状态
/// 0: Pass (加工完成) 1: Fail (加工失败,可以返修) 2: Scrap (报废) 3: Skip (不需要加工)
/// </summary>
public UnitStatus Status { get; set; }
}
}