Beckhoff / TF6000_ADS_DOTNET_V5_Samples

Sample code for the Version 6.X series of the TwinCAT ADS .NET Packages
https://infosys.beckhoff.com/content/1033/tc3_ads.net/9407515403.html?id=6770980177009971601
BSD Zero Clause License
37 stars 15 forks source link

SumSymbolWrite asks for IList<ISymbol> but casts to Symbol class causing exceptions #34

Closed maxxie85 closed 1 year ago

maxxie85 commented 1 year ago

The SumSymbolWrite commands requires a IList of ISymbols in it's constructor. However if this is not a Symbol class instance the command fails with an exception, appearing to violate the Liskov substitution principle.

RalfHeitmann commented 1 year ago

Please try out the Version 6.0.207. Should be better.

maxxie85 commented 1 year ago

Yes it's working as expected.

Thank you.