using Prism.Mvvm; namespace TeamAAS.ViewModels { public class ChannelBrightnessInfo : BindableBase { private int _channel; public int Channel { get { return _channel; } set { SetProperty(ref _channel, value); } } private string _channelName; public string ChannelName { get { return _channelName; } set { SetProperty(ref _channelName, value); } } private int _brightness; public int Brightness { get { return _brightness; } set { SetProperty(ref _brightness, value); } } private bool _isOn; public bool IsOn { get { return _isOn; } set { if (SetProperty(ref _isOn, value)) RaisePropertyChanged(nameof(StatusText)); } } public string StatusText => _isOn ? "💡 ON" : "⚫ OFF"; } }