using System.Runtime.InteropServices; using System.ServiceModel; namespace AVEVA.Historian.Client.Wcf.Contracts; [ServiceContract(Name = HistorianWcfServiceNames.Status, Namespace = HistorianWcfServiceNames.Namespace)] internal interface IStatusServiceContract2 : IStatusServiceContract { [OperationContract] uint GetTimeZoneNames(uint clientHandle, ref uint sequence, out uint bufferSize, out byte[] buffer); [OperationContract] uint IsLicenseFeatureEnabled(uint clientHandle, int feature, out bool isEnabled); [OperationContract] [return: MarshalAs(UnmanagedType.U1)] bool GetSystemParameter( uint clientHandle, string parameterName, out string parameterValue, out uint errorSize, out byte[] errorBuffer); [OperationContract(Name = "GETHI")] [return: MarshalAs(UnmanagedType.U1)] bool GetHistorianInfo( string handle, [MessageParameter(Name = "pRequestBuff")] byte[] requestBuffer, [MessageParameter(Name = "pResponseBuff")] out byte[] responseBuffer, out byte[] errorBuffer); [OperationContract(Name = "GETRP")] [return: MarshalAs(UnmanagedType.U1)] bool GetRuntimeParameter( string handle, [MessageParameter(Name = "pRequestBuff")] byte[] requestBuffer, [MessageParameter(Name = "pResponseBuff")] out byte[] responseBuffer, out byte[] errorBuffer); [OperationContract(Name = "PNGS")] [return: MarshalAs(UnmanagedType.U1)] bool PingServer(string handle, string pipeName, uint timeout, ref byte[] errorBuffer); [OperationContract(Name = "PNGP")] [return: MarshalAs(UnmanagedType.U1)] bool PingPipe(string handle, string pipeName, ref byte[] errorBuffer); }