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.
31 lines
724 B
C#
31 lines
724 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BarTenderPrint
|
|
{
|
|
/// <summary>
|
|
/// 纸箱打印
|
|
/// </summary>
|
|
public class CartonPrintEquip : PrintEquip
|
|
{
|
|
public override bool AddPara()
|
|
{
|
|
var para = base.ParaClass as BoxLable;
|
|
if (para != null)
|
|
{
|
|
Console.WriteLine("名称:" + para.MachineNam);
|
|
base.EngineFormat.SubStrings["CheckCode"].Value = para.MachineNam;
|
|
return true;
|
|
}
|
|
else
|
|
{
|
|
Console.WriteLine("纸箱标签参数错误");
|
|
return false;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|