public static extern short emtWrite_PLC_BYTE(ref LECOMPPPARAM lpPortParam, [MarshalAs(UnmanagedType.LPArray)] Byte[] lpBuf, Int16 byNumber);
public static extern short emtClose(ref LECOMPPPARAM lpEcomParam);
public static extern short emtWrite_PLC(ref LECOMPPPARAM lpPortParam, [MarshalAs(UnmanagedType.LPArray)] ushort[] lpBuf, short byNumber);
public static extern short emtOpen(ref LECOMPPPARAM lpEcomParam);