Updated connection validation logic to allow CSR, CSCR, CSIR #1422
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user