This commit is contained in:
2025-05-13 16:32:44 +03:30
parent 4a39f09fae
commit 8a329570a5
2 changed files with 26 additions and 15 deletions
+11
View File
@@ -1226,6 +1226,17 @@ bool DetectDecisionZone(
dir = X_DIRECTION_NONE;
}
//
// Check Box Size ...
double range = box.GetRange();
double maxAllowedBoxRange = 400;
double ponts = GetPoints(box.symbol);
bool isTooLarget = range > (maxAllowedBoxRange * points);
if (isTooLarget)
{
Print("Too Large ...");
}
//
// Check Box is Prepared or Not ...
result = box.IsValid();