private void GetShiftCodeMessageByBigSSCode() { //获取当前产线的所有班次 WatchPanelFacade watchPanelFacade = new WatchPanelFacade(this.DataProvider); object[] shiftCodeList = watchPanelFacade.QueryShiftCode(this.BigLine, string.Empty); //end if (shiftCodeList != null && shiftCodeList.Length > 0) { foreach (Shift obj in shiftCodeList) { _ShiftCodeList.Add(obj); } } }
//获取当前产线的所有班次 private ArrayList GetShiftCodeList(string bigSSCode) { ArrayList shiftCodeList = new ArrayList(); WatchPanelFacade watchPanelFacade = new WatchPanelFacade(this.DataProvider); object[] shiftCode = watchPanelFacade.QueryShiftCode(bigSSCode, string.Empty); if (shiftCode != null && shiftCode.Length > 0) { foreach (Shift obj in shiftCode) { shiftCodeList.Add(obj); } } return(shiftCodeList); }