|
|
@ -27,20 +27,11 @@ namespace NDSD_Screwdriver
|
|
|
|
public FrmSetting()
|
|
|
|
public FrmSetting()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var body = "00 03 08 E0 04 01 50 B8 C1 39 3A".ToHex();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var ssss = CRC16.ToModbus(body).ToHex(" ");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SqlLiteTool.CreateTable(AppTool.GetDb());
|
|
|
|
SqlLiteTool.CreateTable(AppTool.GetDb());
|
|
|
|
Init();
|
|
|
|
Init();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void Init()
|
|
|
|
public void Init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dataGridView1.AutoGenerateColumns = false;
|
|
|
|
dataGridView1.AutoGenerateColumns = false;
|
|
|
|