使用新框架与技术代替旧框架与技术,实现涂装车间后道标签扫码程序
This commit is contained in:
35
RIZO_Application/RIZO_Application.Core/Event/PrintEvent.cs
Normal file
35
RIZO_Application/RIZO_Application.Core/Event/PrintEvent.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Prism.Events;
|
||||
|
||||
namespace RIZO_Application.Core
|
||||
{
|
||||
public class PrintEvent : PubSubEvent<PrintDto>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class PrintDto
|
||||
{
|
||||
public string Path { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string Team { get; set; } = "A";
|
||||
|
||||
public int Sort { get; set; } = 1;
|
||||
|
||||
public string BatchCode { get; set; }
|
||||
|
||||
public int PackageNum { get; set; } = 24;
|
||||
|
||||
public int LabelType { get; set; } = 1;
|
||||
|
||||
public string CreatedTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user