Add value property to quality .NET (#217)

- Added ushort quality  property.

Co-authored-by: Andrew Moorcroft <andrew.moorcroft@nortechonline.co.uk>
pull/228/head
andy1547 6 years ago committed by GitHub
parent ff53028ec4
commit efe889d567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -178,7 +178,7 @@ namespace IEC61850
/// </summary>
public class Quality
{
private UInt16 value;
private UInt16 value;
private const UInt16 QUALITY_DETAIL_OVERFLOW = 4;
private const UInt16 QUALITY_DETAIL_OUT_OF_RANGE = 8;
@ -193,6 +193,8 @@ namespace IEC61850
private const UInt16 QUALITY_OPERATOR_BLOCKED = 4096;
private const UInt16 QUALITY_DERIVED = 8192;
public ushort Value => value;
public override string ToString ()
{
return GetValidity ().ToString ();

Loading…
Cancel
Save