Added reviewing of results in graphic mode

This commit is contained in:
Evgeny Redikultsev
2022-09-10 20:16:05 +05:00
parent c12e9f70f9
commit 78ec7bdc6f
26 changed files with 389 additions and 85 deletions

View File

@@ -20,10 +20,11 @@ namespace FieldVisualizer.Services.ValueRanges
else
{
double dVal = (valueRange.TopValue - valueRange.BottomValue) / divisionNumber;
double currentBottom = valueRange.BottomValue;
double startBottom = valueRange.BottomValue;
for (int i = 0; i < divisionNumber; i++ )
{
currentBottom = i * dVal;
double currentBottom = startBottom + i * dVal;
var newRange = new ValueRange() { BottomValue = currentBottom, TopValue = currentBottom + dVal };
valueRanges.Add(newRange);
}