using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("C0D60B4B-C503-43FB-884D-BB3C06777348")] public interface IMxSupervisoryConnection2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void SupervisoryGetAttribute2([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.Interface)] MxValue ppMxValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void GetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void GetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void GetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void SupervisorySetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void SupervisoryGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.Interface)] MxValue ppMxValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void GetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void GetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double value); }