修改S7设备的关闭,和开启
This commit is contained in:
@@ -143,11 +143,11 @@ public partial class SettingViewModel : ViewModelBase
|
||||
_connectionSettings.Save();
|
||||
if (value)
|
||||
{
|
||||
_s7BackgroundService.StartService();
|
||||
// _s7BackgroundService.StartService();
|
||||
}
|
||||
else
|
||||
{
|
||||
_s7BackgroundService.StopService();
|
||||
// _s7BackgroundService.StopService();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user