Пример #1
0
        private void fillingArraysOfDataNomenclatures(string fileName)
        {
            arrNomenclatures = new ArrayList();

            ExcelPackage   ep          = new ExcelPackage(new FileInfo(fileName));
            ExcelWorksheet ws          = ep.Workbook.Worksheets[1];
            int            countRow    = ws.Dimension.End.Row;
            int            countColumn = ws.Dimension.End.Column;

            for (int rowNum = 2; rowNum <= countRow; rowNum++)
            {
                nomenclatures n = new nomenclatures(Int32.Parse(ws.Cells[rowNum, 1].Value.ToString()), ws.Cells[rowNum, 2].Value.ToString());
                this.arrNomenclatures.Add(n);
            }
        }
Пример #2
0
        public nomenclatures nomenclatures; // Номенклатура в партии

        public parties(int id, nomenclatures nomenclatures)
        {
            this.idParties     = id;
            this.nomenclatures = nomenclatures;
        }
Пример #3
0
        public int iTime;                   // Время обработки

        public times(nomenclatures nomenclatures, int iTime)
        {
            this.nomenclatures = nomenclatures;
            this.iTime         = iTime;
        }