Add Übernahme-Trog

This commit is contained in:
2026-07-16 00:09:26 +02:00
parent b8ac414673
commit 3f6fba36e0
7 changed files with 206 additions and 35 deletions
@@ -2,7 +2,6 @@
using PamhagenSysCtrl.Helpers.Pipeline;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
namespace PamhagenSysCtrl.Windows {
public partial class PlantSchemeWindow : Window {
@@ -58,6 +57,11 @@ namespace PamhagenSysCtrl.Windows {
} else {
_lastSource = null;
}
if (c is EntryTrough trough) {
trough.IsActive = !trough.IsActive;
} else if (c is Rebler rebler) {
rebler.IsActive = !rebler.IsActive;
}
}
UpdateScheme(pos, evt.LeftButton == MouseButtonState.Pressed);
}