public HomeViewModel(Settings settings, TelegrammList telegrammList, INotificationManager manager) { _settings = settings; _manager = manager; _settings.PropertyChanged += SettingsOnPropertyChanged; Knx.Falcon.Logging.Logger.Factory = new MyLoggerFactory(); _bus = new KnxBus(CreateParameter()); Telegramms = telegrammList; ConnectCommand = new Command(OnConnect); WriteCommand = new Command(OnWrite); TargetWriteAddress = "01/1/001"; WriteValue = "true"; }
public ExportViewModel(Settings settings, TelegrammList telegrammList) { _settings = settings; _telegrammList = telegrammList; ExportCommand = new Command(ExecuteExport); }