Add dotnetAPI: UpdateBitStringAttributeValue

pull/345/head
Kevin Jhang 4 years ago
parent 3ed4b237e4
commit eea08ab8ed

@ -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);

Loading…
Cancel
Save