摘要:
public class StudentInfo { public static StudentInfo studentLazy = new Lazy<StudentInfo>(() => new StudentInfo()).Value; public int StudentID{ get; se 阅读全文
摘要:
在工具箱内搜索SerialPort控件,拖到自己项目即可; 添加Serialport接收信息事件 Serialport接收信息事件 int num = serialPort.BytesToRead; byte[] data = new byte[num]; serialPort.Read(data, 阅读全文