Releases: hylasoft-usa/h-opc
Releases · hylasoft-usa/h-opc
Get quality and timestamp on monitor & UA client opt bug fix
New Feature:
- You can now get the quality and timestamp of the tags you monitor (see README).
Bug fix:
- The UA client options constructor was private; making the code shown in the README invalid. It has been made public.
Custom UA Client Options
New constructor for UaClient allows custom options to be passed in
Bug fixes
GetDataType / Bug Fixes
Added the function GetDataType to the IClient (and UA and DA) class. Now you can get the C# data type of a tag using _client.GetDataType(tagName);
This function allowed me to correct an issue in h-opc-cli where writing a tag was malfunctioning with BadTypeMismatch.
New Options & Duplicate Key Error Fix
In this commit new options were added for the UaClient which could potentially help with timeout or timing issues. A longer default timeout was added as well.
In this commit a duplicate key issue was fixed which may occur when exploring a node multiple times.
UA Client Bug Fixes
- WriteAsync would not ever advance from task.Wait
- Fixed by setting task result
- client.Reconnect and client.Recreate would not do anything if the client.Status was NotConnected
- I do not see this as expected behavior and I removed those conditions
- Code coverage at 89%
(Accidentally tagged once without pulling locally. Won't happen again)
UA Client Bug Fixes
- WriteAsync would not ever advance from task.Wait
- Fixed by setting task result
- client.Reconnect and client.Recreate would not do anything if the client.Status was NotConnected
- I do not see this as expected behavior and I removed those conditions
- Code coverage at 89%
v0.4.0
v0.3.0
Fixes
- fixed the
Dispose
method of DA and UA when the connection hasn't been initialized - Streamlined namespaces by removing the
Common.Nodes
namespace and incorportating it into theCommon
namespace
Features
- Added
readOrDefault
extension method for clients. With this method, if the read fail for an OPC error, a default value will be provided without throwing the OPC exception