|
|
@ -62,6 +62,13 @@ namespace IEC61850
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
private static extern void MmsServerIdentity_destroy(IntPtr self);
|
|
|
|
private static extern void MmsServerIdentity_destroy(IntPtr self);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
|
|
|
|
private static extern void MmsConnection_setLocalDetail (IntPtr self, Int32 localDetail);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DllImport ("iec61850", CallingConvention=CallingConvention.Cdecl)]
|
|
|
|
|
|
|
|
private static extern Int32 MmsConnection_getLocalDetail (IntPtr self);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private IntPtr self = IntPtr.Zero;
|
|
|
|
private IntPtr self = IntPtr.Zero;
|
|
|
|
private bool selfDestroy = false;
|
|
|
|
private bool selfDestroy = false;
|
|
|
|
|
|
|
|
|
|
|
@ -100,6 +107,14 @@ namespace IEC61850
|
|
|
|
return serverIdentity;
|
|
|
|
return serverIdentity;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void SetLocalDetail(int localDetail) {
|
|
|
|
|
|
|
|
MmsConnection_setLocalDetail (self, localDetail);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int GetLocalDetail() {
|
|
|
|
|
|
|
|
return MmsConnection_getLocalDetail (self);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|