diff --git a/SlnMesnac.Common/GunHelper.cs b/SlnMesnac.Common/GunHelper.cs index 0e5d4db..3d5834e 100644 --- a/SlnMesnac.Common/GunHelper.cs +++ b/SlnMesnac.Common/GunHelper.cs @@ -45,10 +45,7 @@ namespace SlnMesnac.Common { try { - string[] data1 = new string[] { "123" }; - // string[] data = new string[] { "202408101111" }; - string aaa = fj500sF.SendData(data1, 1); - + //端口名 注:因为使用的是USB转RS232 所以去设备管理器中查看一下虚拟com口的名字 serialPort.PortName = "COM1";// portName; //波特率 霍尼威尔扫码枪115200,普通9600 @@ -107,9 +104,9 @@ namespace SlnMesnac.Common /// public void SendData(string data) { - string[] data1 = new string[] { "123" }; - // string[] data = new string[] { "202408101111" }; - fj500sF.SendData( data1, 2); + // string[] data1 = new string[] { "123" }; + //// string[] data = new string[] { "202408101111" }; + // fj500sF.SendData( data1, 2);