|
|
|
@ -67,7 +67,10 @@ namespace IEC61850
|
|
|
|
|
private static extern void MmsConnection_setLocalDetail (IntPtr self, Int32 localDetail);
|
|
|
|
|
|
|
|
|
|
[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;
|
|
|
|
@ -114,7 +117,12 @@ namespace IEC61850
|
|
|
|
|
|
|
|
|
|
public int GetLocalDetail() {
|
|
|
|
|
return MmsConnection_getLocalDetail (self);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetRequestTimeout(uint timeoutMs)
|
|
|
|
|
{
|
|
|
|
|
MmsConnection_setRequestTimeout(self, timeoutMs);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|