Closed dylandrush closed 1 year ago
I guess they should all be public, I'm not even sure why they aren't in the first place... Feel free to submit a PR, otherwise I might be taking it up soon.
Sorry for the delay, just released v0.19.0 with this change to NuGet.
When using
DataItem.FromAddress(addr)
, it callsPLCAddress.Parse
which can throw the exceptionInvalidAddressException
. Either the exceptions from PLCExcpetions.cs should be public, or in this case,DataItem.FromAddress
could wrap PLCAddress.Parse with a try/catch: