/// <summary> /// 从数据库里取板号,并赋给标签对象。 /// 如果取出的空的,就新产生一个板号。 /// </summary> /// <param name="lc">标签</param> /// <param name="dateShiftNo">任务码</param> /// <returns></returns> public static PanelInfo GetPanelNo(LableCode lc, string dateShiftNo) { var pf = LableCode.GetTolactionCurrPanelNo(lc.ToLocation, dateShiftNo); lc.SetupPanelInfo(pf); return(pf); }