增加COM设置及界面
This commit is contained in:
1 parent
16586d67aa
commit
f1e0412c01
16 files changed
+1513
-831
No files matched your search
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod.database
|
||||
{
|
||||
[Table("serialport")]
|
||||
public class t_serialport
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// COM口
|
||||
/// </summary>
|
||||
public string portName { get; set; }
|
||||
/// <summary>
|
||||
/// 波特率
|
||||
/// </summary>
|
||||
public int baudRate { get; set; }
|
||||
/// <summary>
|
||||
/// 奇偶校验
|
||||
/// </summary>
|
||||
public string parity { get; set; }
|
||||
/// <summary>
|
||||
/// 数据位
|
||||
/// </summary>
|
||||
public int dataBits { get; set; }
|
||||
public string reamrk { get; set; }
|
||||
public bool enable { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user