修改S7设备的关闭,和开启

This commit is contained in:
2025-07-16 11:12:03 +08:00
parent 23bb60c836
commit b742067c39
5 changed files with 333 additions and 273 deletions

View File

@@ -143,11 +143,11 @@ public partial class SettingViewModel : ViewModelBase
_connectionSettings.Save();
if (value)
{
_s7BackgroundService.StartService();
// _s7BackgroundService.StartService();
}
else
{
_s7BackgroundService.StopService();
// _s7BackgroundService.StopService();
}
}
}