public PV6900DevicePanel( DeviceStorageService deviceStorageService, ProgramDashboardVM programDashboardVM ) { Device = deviceStorageService.Get() !; _programDashboardVM = programDashboardVM; }
/// <summary> /// Вернуть устройство по имени устройства. /// </summary> /// <param name="deviceName">Имя ус-ва, он же ключ к хранилищу</param> /// <returns>Верунть ус-во</returns> public Device <TIn> GetDevice(string deviceName) { var device = _deviceStorageService.Get(deviceName); return(device); }