/// <summary> /// 获取上层皮带流水号对应的客户代码 /// </summary> /// <returns></returns> private void GetUpCustIndex() { try { upindexno = PutInfo.GetUpPutIndex();// PrintBarCodes.GetPrintIndex(); } catch { } uppindexno = upindexno + 1; }
private void GetDownCustIndex() { try { downindexno = PutInfo.GetDownPutIndex();// PrintBarCodes.GetPrintIndex(); } catch { } downpindexno = downindexno + 1; }
private static void SaveUPDownPutIndexno() { try { try { OperateOpcAndSoft operateOpcAndSoft = new OperateOpcAndSoft(); int upindexno = operateOpcAndSoft.GetUpPutIndexno(); PutInfo.SaveUpPutIndex(upindexno); int downindexno = operateOpcAndSoft.GetDownPutIndexno(); PutInfo.SaveDownPutIndex(downindexno); } catch { } } catch { } }