using System.Windows.Controls; namespace PamhagenSysCtrl.Helpers.Pipeline { public class Trough : INode, ISource { public double CenterX { get; set; } public double CenterY { get; set; } public string Label { get; set; } public bool IsFilled => CallbackIsFilled(); protected Func CallbackIsFilled; public Trough(string label, double x, double y, Func cbFilled) { CenterX = x; CenterY = y; Label = label; CallbackIsFilled = cbFilled; } public void Draw(Canvas canvas) { } } }