public DaveInterface(FD fd, string name, int localMPI, PLCEnum.Protocols useProto, PLCEnum.ProfiBusSpeed speed)
 {
     Pointer = API.DaveNewInterface(fd, name, localMPI, (int)useProto, (int)speed);
 }
Esempio n. 2
0
 private static extern IntPtr daveNewInterface(
     [MarshalAs(UnmanagedType.Struct)] FD fd,
     [MarshalAs(UnmanagedType.LPStr)] string name,
     int localMPI,
     int useProto,
     int speed);