danyill / oscd-tp-multicast-naming

Apache License 2.0
3 stars 2 forks source link

getProtectionNumber doesn't work for IEDname suffixes with more than one character #11

Closed jarradraumati closed 9 months ago

jarradraumati commented 9 months ago

An iedName naming convention is to append the protection system it is associated with:

e.g. XAT_232_P2.

However, when the suffix is say more than one character, the check fails and all IEDs are protection 1 by default:

e.g. XAT_232_MU2.

Easy fix. Pull request incoming.