Esempio n. 1
0
        private void ToClosedTbl(DbCore db, DateTime dtClosed, DateTime dtOpen, string SN, string dev, string name, int err)
        {
            ClosedTable closedTable;

            if (err == 0)
            {
                closedTable = new ClosedTable("Закрытые", db);
            }
            else
            {
                closedTable = new ClosedTable("Брак", db);
            }
            closedTable.AddProduct(dtClosed, dtOpen, SN, dev, name, err);
        }
Esempio n. 2
0
        private void ToTestTbl(DbCore db, DateTime dtClosed, DateTime dtOpen, string SN, string dev, string name, int err)
        {
            ClosedTable table = new ClosedTable("Поверка", db);

            table.AddProduct(dtClosed, dtOpen, SN, dev, name, err);
        }