Tune amount column find
This commit is contained in:
parent
0e15ad7cd4
commit
8b125e475e
@ -142,15 +142,13 @@ public class GuessReader : IReader
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (++successCounter > 1)
|
if (++successCounter > 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (column.Rows.Count > 1 && successCounter > 0)
|
|
||||||
|| successCounter > 1;
|
|
||||||
}
|
}
|
||||||
|
return successCounter > 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Dictionary<Product, double> GetDictionaryFromColumns(Range productColumn, Range amountColumn)
|
private Dictionary<Product, double> GetDictionaryFromColumns(Range productColumn, Range amountColumn)
|
||||||
|
Loading…
Reference in New Issue
Block a user