1、合并master与2021.1

This commit is contained in:
xiejunjie
2021-12-03 11:25:35 +08:00
parent dc07b8879b
commit 4bd7d1b80b
981 changed files with 384342 additions and 6470 deletions
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace Sys
{
public partial class RS232_API
{
[DllImport("RS232_DLL.dll", EntryPoint = "init_rs232",
SetLastError = true, CharSet = CharSet.Unicode,
ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
public static extern bool init_rs232(IntPtr hwnd, UInt16 com_type, UInt16 baud);
[DllImport("RS232_DLL.dll", EntryPoint = "Write_Com",
SetLastError = true, CharSet = CharSet.Unicode,
ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
public static extern void Write_Com(byte[] Str, int len);
}
}