public static bool DLN2Write( byte slaveaddr, string device, byte[] tbuffer, byte nMemoryAddrLength) { DiolanU2C.addrSlave = slaveaddr; return(DiolanU2C.DLN2Write(device, tbuffer, nMemoryAddrLength)); }