public void Open() { Caps.Clear(); var rc = DS.Open(); if (rc == ReturnCode.Success) { foreach (var c in DS.Capabilities.CapSupportedCaps.GetValues().Select(o => new CapVM(DS, o))) { Caps.Add(c); } } }