Updated connection validation logic to allow CSR, CSCR, CSIR #1422

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-15 12:06:59 +00:00

View File

@@ -315,7 +315,7 @@ class MotorTestingMasterImporter extends Importer
if (Str::length($frequency) <= 0 || ! is_numeric($frequency)) { if (Str::length($frequency) <= 0 || ! is_numeric($frequency)) {
$warnMsg[] = 'Invalid frequency found'; $warnMsg[] = 'Invalid frequency found';
} }
if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta')) { if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta' && $connection != 'CSR' && $connection != 'CSCR' && $connection != 'CSIR')) {
$warnMsg[] = 'Invalid connection found'; $warnMsg[] = 'Invalid connection found';
} }
if (Str::length($insResLimit) <= 0 || ! is_numeric($insResLimit)) { if (Str::length($insResLimit) <= 0 || ! is_numeric($insResLimit)) {