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);
        }
        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);
        }