Files
shgxtzcjhoudaosaomadayinwpf/RIZO_Application/RIZO_Application.Core/Event/PrintEvent.cs
2025-05-15 14:40:05 +08:00

49 lines
1.4 KiB
C#

using System;
using Prism.Events;
namespace RIZO_Application.Core
{
public class PrintEvent : PubSubEvent<PrintDto>
{
}
public class PrintDto
{
// btw文件路径
public string Path { get; set; } = "";
// 站点号
public string SiteNo { get; set; } = "";
// 识别内容名称(内部)
public string Name { get; set; } = "";
// 零件号
public string PartNumber { get; set; } = "";
// 产品名称
public string Description { get; set; } = "";
// 颜色
public string Color { get; set; } = "";
// 规格
public string Sepcification { get; set; } = "";
// 工单号
public string WorkOrder { get; set; } = "";
// 箱号
public string PackageCode { get; set; } = "";
// 班组
public string Team { get; set; } = "A";
// 流水号
public int Sort { get; set; } = 1;
// 生产时间
public string ProductionTime { get; set; } = "";
// 批次号
public string BatchCode { get; set; } = "";
// 满箱数
public int PackageNum { get; set; } = 24;
// 标签内容
public int LabelCode { get; set; } = 1;
// 标签区别
public int LabelType { get; set; } = 1;
// 发送时间
public string CreatedTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}
}