diff --git a/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs b/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs index 9b423ffc..b24c0e11 100644 --- a/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs +++ b/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs @@ -2166,6 +2166,9 @@ namespace IEC61850 [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)] static extern void IedServer_updateFloatAttributeValue(IntPtr self, IntPtr dataAttribute, float value); + [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)] + static extern void IedServer_updateBitStringAttributeValue(IntPtr self, IntPtr dataAttribute, uint value); + [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)] static extern void IedServer_updateVisibleStringAttributeValue(IntPtr self, IntPtr dataAttribute, string value); @@ -2811,6 +2814,11 @@ namespace IEC61850 IedServer_updateInt64AttributeValue (self, dataAttr.self, value); } + public void UpdateBitStringAttributeValue(DataAttribute dataAttr, uint value) + { + IedServer_updateBitStringAttributeValue(self, dataAttr.self, value); + } + public void UpdateVisibleStringAttributeValue(DataAttribute dataAttr, string value) { IedServer_updateVisibleStringAttributeValue(self, dataAttr.self, value);