diff --git a/UserClass/AsyncSerialPortClient.cs b/UserClass/AsyncSerialPortClient.cs index db1fdbf..0290bc1 100644 --- a/UserClass/AsyncSerialPortClient.cs +++ b/UserClass/AsyncSerialPortClient.cs @@ -236,6 +236,14 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass } catch (Exception ex) { LogGing.LogGingDATA("[ERR='" + ex + "']=Exception"); MainWindowViewModel.ERR_c++; } }//系统设置表 + else if (SYSAPI == "SC859") + { + try + { + + } + catch (Exception ex) { LogGing.LogGingDATA("[ERR='" + ex + "']=Exception"); MainWindowViewModel.ERR_c++; } + }//信息 else if (SYSAPI == "SC910") { try @@ -263,6 +271,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass }; await portclient.SetupAsync(new TouchSocketConfig() .SetMaxBufferSize(1024 * 1024 * 100) + .SetMinBufferSize(1024 * 1024 * 10) .SetSerialPortOption(new SerialPortOption() { BaudRate = BAUD,//波特率 diff --git a/View/MachinesView.xaml.cs b/View/MachinesView.xaml.cs index aa713d5..b85be03 100644 --- a/View/MachinesView.xaml.cs +++ b/View/MachinesView.xaml.cs @@ -158,6 +158,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View } else {//串口 + } } } @@ -254,6 +255,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View } else {//串口 + } } SysSet_view = true; @@ -283,6 +285,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View } else {//串口 + } } ParameterSet_view = true;