You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EEC.Utils.Print
|
|
{
|
|
public class PrintTubeBarCode
|
|
{
|
|
const int PaperTubeNum = 20;
|
|
/// <summary>
|
|
/// 喷码
|
|
/// </summary>
|
|
/// <param name="equipNo">设备号</param>
|
|
/// <param name="number">喷码数量</param>
|
|
/// <returns></returns>
|
|
public static bool PrintBarCode(string equipNo,int number) {
|
|
//....待处理
|
|
return true;
|
|
}
|
|
/// <summary>
|
|
/// 喷码
|
|
/// </summary>
|
|
/// <param name="equipNo"></param>
|
|
/// <param name="barCodeList"></param>
|
|
/// <returns></returns>
|
|
public static bool PrintBarCode(string equipNo, List<string> barCodeList)
|
|
{
|
|
FileUnit.Log("【待处理】 PrintTubeBarCode.PrintBarCode=" + equipNo + "..20 .OK");
|
|
//....待处理
|
|
return true;
|
|
}
|
|
/// <summary>
|
|
/// 打印一桶
|
|
/// </summary>
|
|
/// <param name="equipNo"></param>
|
|
/// <returns></returns>
|
|
public static bool PrintOneTube(string equipNo)
|
|
{
|
|
|
|
return PrintBarCode(equipNo, PaperTubeNum);
|
|
}
|
|
}
|
|
}
|
|
|