diff --git a/dotnet/IEC61850forCSharp/IedServerConfig.cs b/dotnet/IEC61850forCSharp/IedServerConfig.cs
index 13588af4..aa8dc6c9 100644
--- a/dotnet/IEC61850forCSharp/IedServerConfig.cs
+++ b/dotnet/IEC61850forCSharp/IedServerConfig.cs
@@ -50,6 +50,13 @@ namespace IEC61850.Server
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr IedServerConfig_getFileServiceBasePath(IntPtr self);
+ [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
+ static extern void IedServerConfig_enableFileService(IntPtr self, [MarshalAs(UnmanagedType.I1)] bool enable);
+
+ [return: MarshalAs(UnmanagedType.I1)]
+ [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
+ static extern bool IedServerConfig_isFileServiceEnabled(IntPtr self);
+
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
static extern void IedServerConfig_setEdition(IntPtr self, byte edition);
@@ -87,6 +94,13 @@ namespace IEC61850.Server
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
static extern int IedServerConfig_getMaxDatasSetEntries(IntPtr self);
+ [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
+ static extern void IedServerConfig_enableLogService(IntPtr self, [MarshalAs(UnmanagedType.I1)] bool enable);
+
+ [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
+ [return: MarshalAs(UnmanagedType.I1)]
+ static extern bool IedServerConfig_isLogServiceEnabled(IntPtr self);
+
internal IntPtr self;
public IedServerConfig ()
@@ -122,6 +136,22 @@ namespace IEC61850.Server
}
}
+ ///
+ /// Enable/Disable file service for MMS
+ ///
+ /// true if file service is enabled; otherwise, false.
+ public bool FileServiceEnabled
+ {
+ get
+ {
+ return IedServerConfig_isFileServiceEnabled(self);
+ }
+ set
+ {
+ IedServerConfig_enableFileService(self, value);
+ }
+ }
+
///
/// Gets or sets the edition of the IEC 61850 standard to use
///
@@ -206,6 +236,22 @@ namespace IEC61850.Server
}
}
+ ///
+ /// Enable/Disable log service for MMS
+ ///
+ /// true if log service is enabled; otherwise, false.
+ public bool LogServiceEnabled
+ {
+ get
+ {
+ return IedServerConfig_isLogServiceEnabled(self);
+ }
+ set
+ {
+ IedServerConfig_enableLogService(self, value);
+ }
+ }
+
///
/// Releases all resource used by the object.
///