public IEnumerable <string> GetPortIdsByDeviceType(IoDeviceType deviceType) { return(Hub.GetPortsByDeviceType(deviceType).Select(h => h.PortID)); }
public PortSliderCheckboxController(Label label, Slider slider, CheckBox checkbox, IoDeviceType handledDeviceType) : base(label, slider, handledDeviceType) { _checkbox = checkbox; }
public IEnumerable <HubPort> GetPortsByDeviceType(IoDeviceType deviceType) { return(Ports.Where(p => p?.DeviceType.Code == deviceType.Code)); }
public PortSliderController(Label label, Slider slider, IoDeviceType iOType) { _label = label; _slider = slider; HandledDeviceType = iOType; }
public PortComboBoxController(Label label, ComboBox comboBox, IoDeviceType handledDeviceType) { _label = label; _comboBox = comboBox; HandledDeviceType = handledDeviceType; }