调整scan
This commit is contained in:
@@ -111,11 +111,11 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
|
||||
throw new ObjectDisposedException(nameof(ScanControlViewModel));
|
||||
|
||||
|
||||
//if (SerialConfigs.Current != null)
|
||||
//{
|
||||
// comName = SerialConfigs.Current.ComName ?? string.Empty;
|
||||
// baudRate = SerialConfigs.Current.BaudRate ?? 9600;
|
||||
//}
|
||||
if (SerialConfigs.Current != null)
|
||||
{
|
||||
comName = SerialConfigs.Current.ComName ?? string.Empty;
|
||||
baudRate = SerialConfigs.Current.BaudRate ?? 9600;
|
||||
}
|
||||
|
||||
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"串口扫码枪初始化……串口:{comName} 波特率:{baudRate}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user