From aa5e5fa6525a45b7355390efca8cc269220a7320 Mon Sep 17 00:00:00 2001 From: Andrew Moorcroft Date: Fri, 6 Mar 2020 17:01:14 +0000 Subject: [PATCH] Added ushort quality getter. --- dotnet/IEC61850forCSharp/IEC61850CommonAPI.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotnet/IEC61850forCSharp/IEC61850CommonAPI.cs b/dotnet/IEC61850forCSharp/IEC61850CommonAPI.cs index 19acd559..b25bbc3c 100644 --- a/dotnet/IEC61850forCSharp/IEC61850CommonAPI.cs +++ b/dotnet/IEC61850forCSharp/IEC61850CommonAPI.cs @@ -360,6 +360,11 @@ namespace IEC61850 this.value = (ushort) ((int) this.value & (~QUALITY_DERIVED)); } } + + public ushort GetValue() + { + return value; + } } ///