common/Logic/ProductionOrderCore/OrderData/PickingCompareItem.cs
2026-04-23 17:50:07 +02:00

96 lines
2.6 KiB
C#

using System;
using System.Collections.Generic;
namespace Xylem.Common.Logic.ProductionOrderCore.OrderData
{
/// <summary>
/// Picking check and process state.
/// </summary>
public class PickingCompareItem
{
/// <summary>
/// Ctor
/// </summary>
/// <param name="meterSize"></param>
/// <param name="frequencyIndicator"></param>
/// <param name="pressurePresent"></param>
/// <param name="checkAppsIdVersion"></param>
public PickingCompareItem(UInt32 meterSize, UInt32 frequencyIndicator, Boolean pressurePresent, Dictionary<UInt32, UInt32> checkAppsIdVersion)
{
MeterSize = meterSize;
FrequencyIndicator = frequencyIndicator;
PressurePresent = pressurePresent;
CheckAppsIdVersion = checkAppsIdVersion;
}
/// <summary>
/// Meter size number.
/// </summary>
public UInt32 MeterSize { get; }
/// <summary>
/// Frequency
/// </summary>
public UInt32 FrequencyIndicator { get; }
/// <summary>
/// Pressure sensor attached.
/// </summary>
public Boolean PressurePresent { get; }
/// <summary>
/// Pulse module assembled.
/// </summary>
public Boolean PulseModule { get; set; }
/// <summary>
/// Applications installed.
/// </summary>
public Dictionary<UInt32, UInt32> CheckAppsIdVersion { get; }
/// <summary>
/// LUT file identification.
/// </summary>
public Int32 StrLutFileId { get; set; }
/// <summary>
/// LUT version.
/// </summary>
public UInt16 LutVersion { get; set; }
/// <summary>
/// LUT file CRC.
/// </summary>
public UInt16 LutFileCrc { get; set; }
/// <summary>
/// Order count of Cordonels.
/// </summary>
public UInt32 OrderCount { get; set; }
/// <summary>
/// Assigned Cordonels to order number.
/// </summary>
public UInt32 OrderAssignedCount { get; set; }
}
public class OrderOverViewCordonelWithPicking
{
/// <summary>
/// Overview of Cordonels on assembly line tests
/// /// </summary>
public OrderOverViewCordonel OrderOverViewCordonel { get; set; }
/// <summary>
///
/// </summary>
public PickingCompareItem PickingCompareItem { get; set; }
/// <summary>
/// KITRON production data
/// </summary>
public DateTime KitronProductionDate { get; set; }
}
}