|
|
@ -69,6 +69,9 @@ namespace IEC61850
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
private static extern Int32 MmsConnection_getLocalDetail (IntPtr self);
|
|
|
|
private static extern Int32 MmsConnection_getLocalDetail (IntPtr self);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
|
|
|
|
|
|
|
|
private static extern Int32 MmsConnection_setRequestTimeout(IntPtr self, UInt32 timeoutInMs);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private IntPtr self = IntPtr.Zero;
|
|
|
|
private IntPtr self = IntPtr.Zero;
|
|
|
|
private bool selfDestroy = false;
|
|
|
|
private bool selfDestroy = false;
|
|
|
@ -116,6 +119,11 @@ namespace IEC61850
|
|
|
|
return MmsConnection_getLocalDetail (self);
|
|
|
|
return MmsConnection_getLocalDetail (self);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void SetRequestTimeout(uint timeoutMs)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
MmsConnection_setRequestTimeout(self, timeoutMs);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|