|
|
@ -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,//波特率
|
|
|
|