S7NetPlus / s7netplus

S7.NET+ -- A .NET library to connect to Siemens Step7 devices
MIT License
1.35k stars 595 forks source link

Added support for serializing TimeSpan #490

Closed bonk-dev closed 1 year ago

bonk-dev commented 1 year ago

TimeSpan can now be serialized to S7 Time (IEC), which is 4 bytes long. The serialization works in structs too. Tested on S7-1200.

mycroes commented 1 year ago

Thanks @bonk-dev, this will be included in the next release.