|
|
@ -68,6 +68,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);
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
|
|
|
|
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
|
|
|
|
private static extern IntPtr MmsConnection_readMultipleVariables(IntPtr self, out int mmsError,
|
|
|
|
private static extern IntPtr MmsConnection_readMultipleVariables(IntPtr self, out int mmsError,
|
|
|
|
string domainId, IntPtr items);
|
|
|
|
string domainId, IntPtr items);
|
|
|
@ -162,6 +165,15 @@ namespace IEC61850
|
|
|
|
return MmsConnection_getLocalDetail(self);
|
|
|
|
return MmsConnection_getLocalDetail(self);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Sets the request timeout
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <param name="timeoutMs">request timeout in milliseconds</param>
|
|
|
|
|
|
|
|
public void SetRequestTimeout(uint timeoutMs)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
MmsConnection_setRequestTimeout(self, timeoutMs);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Reads multipe MMS variables from the same domain
|
|
|
|
/// Reads multipe MMS variables from the same domain
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|