|
|
@ -34,7 +34,6 @@ namespace NDSD_Screwdriver
|
|
|
|
SqlLiteTool.CreateTable(AppTool.GetDb());
|
|
|
|
SqlLiteTool.CreateTable(AppTool.GetDb());
|
|
|
|
Init();
|
|
|
|
Init();
|
|
|
|
|
|
|
|
|
|
|
|
SerialPortClientFactory.Init();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -199,7 +198,7 @@ namespace NDSD_Screwdriver
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
byte [] bytes=new byte[]{0x00,0x03,0x00,0x1C,0x00,0x04,0x84,0x1E};
|
|
|
|
byte [] bytes=new byte[]{0x00,0x03,0x00,0x1C,0x00,0x04,0x84,0x1E};
|
|
|
|
SerialPortClientFactory.Send(bytes);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|