using HH.WCS.Mobox3.YNJT_BZP.models.other;
using HH.WCS.Mobox3.YNJT_BZP.util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static HH.WCS.Mobox3.YNJT_BZP.dispatch.NDC;
namespace HH.WCS.Mobox3.YNJT_BZP.wms {
///
/// 容器帮助类
///
internal class ContainerHelper {
internal static string GenerateCntrNo() {
var id = SYSHelper.GetSerialNumber("托盘号", "TP");
var date = DateTime.Now.ToString("yyMMdd");
return $"TP{date}{id.ToString().PadLeft(4, '0')}";
}
///
/// 判断容器是否有物料信息
///
///
///
internal static bool CheckEmpty(string cntr) {
//1.0 查货位容器表
var db = new SqlHelper