You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
1017 B
C#
16 lines
1017 B
C#
namespace OPCDA.Interface
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[ComImport, Guid("39c13a70-011e-11d0-9675-0020afd8adb3"), ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
internal interface IOPCDataCallback
|
|
{
|
|
void OnDataChange([In] int dwTransid, [In] int hGroup, [In] int hrMasterquality, [In] int hrMastererror, [In] int dwCount, [In] IntPtr phClientItems, [In] IntPtr pvValues, [In] IntPtr pwQualities, [In] IntPtr pftTimeStamps, [In] IntPtr ppErrors);
|
|
void OnReadComplete([In] int dwTransid, [In] int hGroup, [In] int hrMasterquality, [In] int hrMastererror, [In] int dwCount, [In] IntPtr phClientItems, [In] IntPtr pvValues, [In] IntPtr pwQualities, [In] IntPtr pftTimeStamps, [In] IntPtr ppErrors);
|
|
void OnWriteComplete([In] int dwTransid, [In] int hGroup, [In] int hrMastererr, [In] int dwCount, [In] IntPtr pClienthandles, [In] IntPtr ppErrors);
|
|
void OnCancelComplete([In] int dwTransid, [In] int hGroup);
|
|
}
|
|
}
|
|
|