Files
barcodeManager/LibShapes/Core/Print/PrintItem.cs
2026-01-24 08:45:54 +08:00

56 lines
1.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/**
* 外部往里边传入这个变量,
* 内部把这个拆分成一张纸比如一张纸上有10个模板那么就10个变量集合不用打印数量,打印机了。
*
* */
namespace Io.Github.Kerwinxu.LibShapes.Core.Print
{
/// <summary>
/// 打印项目
/// </summary>
public class PrintItem
{
/// <summary>
/// 打印机名称
/// </summary>
public string PrinterName { get; set; }
/// <summary>
/// 图形
/// </summary>
public Shapes Shapes { get; set; }
/// <summary>
/// 变量的集合
/// </summary>
public List<Dictionary<string, string>> Valss { get; set; }
/// <summary>
/// 打印数量
/// </summary>
public List<int> PrintCounts { get; set; }
/// <summary>
/// 是否充满打印,
/// </summary>
public bool isFullPrint { get; set; }
/// <summary>
/// 构造函数
/// </summary>
public PrintItem()
{
// 初始化变量
Valss = new List<Dictionary<string, string>>();
PrintCounts = new List<int>();
}
}
}